Osmo-sip-connector » History » Revision 3
Revision 2 (msuraev, 06/02/2016 04:59 PM) → Revision 3/87 (msuraev, 06/02/2016 05:01 PM)
h1. Osmo-sip-connector
osmo-sip-connector translates between MNCC and SIP protocols. It does not handle RTP by itself but with the help of external SIP server it can be used for tests.
Sample configuration:
<pre>
app
mncc
socket-path /tmp/bsc_mncc
sip
local 10.9.10.105 5069
remote 10.9.10.105 5060
</pre>
Running osmo-sip-connector:
<pre>
osmo-sip-connector -c ~/.config/osmocom/osmo-sip-connector.cfg
</pre>
Running NITB:
<pre>
./src/osmo-nitb/osmo-nitb -c ~/.config/osmocom/open-bsc.cfg -l ~/.config/osmocom/hlr.sqlite3 -d DLMUX:DRTP -m
</pre>
The configuration above assumes that SIP server is running on the same machine. Attached is example configuration file for Kamailio SIP server which can be used to route calls between mobile phones. It also handles 2 special numbers 500 (routed to sip:music@iptel.org) and 600 (routed to sip:echo@iptel.org): by dialing them you can use echo test or hear nice music from your mobile.
N. B: Those numbers are meant only as an example for quick tests - please consider running your own Asterisk instance if you expect more than couple of calls.
TODO: Add asterisk configuration example.