Hi list!<div><br></div><div>I'm trying make calls between sip phones and mobiles throw OpenBSC but doesn't works. I've registered extensions in Asterisk and mobile phones in OpenBSC. When I try call inter mobile phones and LCR shows (error in red):</div>
<div><br></div><div><div><i>000000 DEBUG (in Port() line 149): new port of type 4625, name 'GSM-1-in'</i></div><div><i>000000 DEBUG (in PmISDN() line 182): Created new mISDNPort(GSM-1-in). Currently 1 objects use, port #1</i></div>
<div><i>000000 DEBUG (in Pgsm() line 151): Created new GSMPort(GSM-1-in).</i></div><div><i>000000 DEBUG (in Pgsm_bs() line 54): Created new GSMBSPort(GSM-1-in).</i></div><div><i>000000 TRACE 25.06.12 18:48:30.344 CH(18): MT_NEW_L3ID INDICATION  port 1  callref new=0x8000000c</i></div>
<div><i>000000 TRACE 25.06.12 18:48:30.344 CH(18): CHANNEL SELECTION (setup)  port 1  channel reserved=0  conclusion 'channel available'  connect channel=1</i></div><div><i>000000 DEBUG (in seize_bchannel() line 1028): PmISDN(GSM-1-in) seizing bchannel 1 (index 0)</i></div>
<div><i><font class="Apple-style-span" color="#ff0000">000000 ERROR (in _bchannel_create() line 415): Error: Failed to bind bchannel-socket for index 0 with mISDN-DSP layer (errno=92). Did you load mISDN_dsp.ko?</font></i></div>
<div><i>000000 DEBUG (in bchannel_open() line 228): Activating GSM side channel index 0.</i></div><div><i>000000 TRACE 25.06.12 18:48:30.345 CH(18): MNCC_SETUP_IND LCR<->BSC  port 1  calling number=29848 imsi=460003113237934  dialing number=02000</i></div>
<div><i>000000 DEBUG (in Endpoint() line 48): EPOINT(18): Allocating enpoint 18 and connecting it with: ioport</i></div><div><i>000000 DEBUG (in portlist_new() line 146): EPOINT(18) allocating port_list.</i></div><div><i>000000 DEBUG (in epointlist_new() line 125): PORT(18) allocating epoint_list.</i></div>
<div><i>000000 TRACE 25.06.12 18:48:30.345 CH(18): unknown LCR<->BSC  port 1  mode 0x01</i></div><div><i>000000 TRACE 25.06.12 18:48:30.345 CH(18): MNCC_CALL_PROC_REQ LCR<->BSC  port 1  progress coding=3 location=1 descr=8</i></div>
<div><i>000000 DEBUG (in new_state() line 252): PORT(GSM-1-in) new state PORT_STATE_IDLE --> PORT_STATE_IN_PROCEEDING</i></div><div><i>000000 TRACE 25.06.12 18:48:30.345 CH(18): unknown LCR<->BSC  port 1</i></div>
<div><i>000000 DEBUG (in message_put() line 61): message MESSAGE_SETUP written from 18 to 18 (memory 8ccc588)</i></div><div><i>000000 DEBUG (in message_get() line 107): message MESSAGE_SETUP reading from 18 to 18 (memory 8ccc588)</i></div>
<div><i>000000 DEBUG (in ea_message_port() line 2649): EPOINT(18) incoming call from callerid=29848, dialing=02000</i></div><div><i>000000 TRACE 25.06.12 18:48:30.345 EP(18): SETUP  from CH(18)  caller id number=29848 present=allowed  dialing 02000  complete true</i></div>
<div><i>000000 DEBUG (in port_setup() line 1535): EPOINT(18) incoming call is external or voip</i></div><div><i>000000 DEBUG (in port_setup() line 1616): EPOINT(18) call from external port</i></div><div><i>000000 DEBUG (in message_put() line 61): message MESSAGE_TONE written from 18 to 18 (memory 8ccfe40)</i></div>
<div><i>000000 TRACE 25.06.12 18:48:30.345 EP(18): TONE  to CH(18)  directory default  name dialing</i></div><div><i>000000 DEBUG (in process_dialing() line 2300): EPOINT(18): terminal '' dialing: '02000', checking matching rule of ruleset 'main'</i></div>
<div><i>000000 DEBUG (in route() line 1914): parsing ruleset 'main'</i></div><div><i>000000 DEBUG (in route() line 1916): checking rule in line 8</i></div><div><i>000000 TRACE 25.06.12 18:48:30.345 EP(18): ACTION (match)  action remote  line 8</i></div>
<div><i>000000 DEBUG (in process_dialing() line 2324): EPOINT(18): a rule with action 'remote' matches.</i></div><div><i>000000 DEBUG (in process_dialing() line 2361): EPOINT(18): terminal : current action 'remote' has a init function, so we call it...</i></div>
<div><i>000000 DEBUG (in process_dialing() line 2372): EPOINT(18): terminal '' action: remote (dialing '02000')</i></div><div><i>000000 DEBUG (in process_dialing() line 2375): EPOINT(18): terminal : current action 'remote' has a dialing function, so we call it...</i></div>
<div><i>000000 DEBUG (in _action_init_call() line 34): EPOINT(18): Creating new join instance.</i></div><div><i>000000 TRACE 25.06.12 18:48:30.346 EP(18): ACTION remote (not available)  applicatio astersik</i></div><div><i>000000 DEBUG (in message_put() line 61): message MESSAGE_DISCONNECT written from 18 to 18 (memory 8cd36f8)</i></div>
<div><i>000000 TRACE 25.06.12 18:48:30.346 EP(18): DISCONNECT  to CH(18)  cause value=27 location=1-Local-PBX</i></div><div><i>000000 DEBUG (in message_put() line 61): message MESSAGE_TONE written from 18 to 18 (memory 8cd6fb0)</i></div>
<div><i>000000 TRACE 25.06.12 18:48:30.346 EP(18): TONE  to CH(18)  directory default  name cause_1b</i></div><div><i>000000 DEBUG (in message_get() line 107): message MESSAGE_TONE reading from 18 to 18 (memory 8ccfe40)</i></div>
<div><i>000000 DEBUG (in message_epoint() line 602): PORT(GSM-1-in) isdn port with (caller id 29848) setting tone 'dialing' dir ''</i></div><div><i>000000 DEBUG (in set_tone() line 1532): isdn port now plays tone:'dialing'.</i></div>
<div><i>000000 DEBUG (in message_get() line 107): message MESSAGE_DISCONNECT reading from 18 to 18 (memory 8cd36f8)</i></div><div><i>000000 TRACE 25.06.12 18:48:30.346 CH(18): MNCC_DISC_REQ LCR<->BSC  port 1  progress coding=3 location=1 descr=8  cause coding=3 location=1 value=27</i></div>
<div><i>000000 DEBUG (in new_state() line 252): PORT(GSM-1-in) new state PORT_STATE_IN_PROCEEDING --> PORT_STATE_OUT_DISCONNECT</i></div><div><i>000000 DEBUG (in message_epoint() line 778): Pgsm_bs(GSM-1-in) gsm port with (caller id 29848) received unhandled nessage: 11</i></div>
<div><i>000000 DEBUG (in message_get() line 107): message MESSAGE_TONE reading from 18 to 18 (memory 8cd6fb0)</i></div><div><i>000000 DEBUG (in message_epoint() line 602): PORT(GSM-1-in) isdn port with (caller id 29848) setting tone 'cause_1b' dir ''</i></div>
<div><i>000000 DEBUG (in set_tone() line 1532): isdn port now plays tone:'cause_1b'.</i></div><div><i>000000 TRACE 25.06.12 18:48:40.552 CH(18): MNCC_REL_IND LCR<->BSC  port 1  cause coding=3 location=0 value=16</i></div>
<div><i>000000 DEBUG (in message_put() line 61): message MESSAGE_RELEASE written from 18 to 18 (memory 8ccaf90)</i></div><div><i>000000 DEBUG (in free_epointlist() line 81): PORT(18) removed epoint from port</i></div><div>
<i>000000 DEBUG (in new_state() line 252): PORT(GSM-1-in) new state PORT_STATE_OUT_DISCONNECT --> PORT_STATE_RELEASE</i></div><div><i>000000 DEBUG (in message_get() line 107): message MESSAGE_RELEASE reading from 18 to 18 (memory 8ccaf90)</i></div>
<div><i>000000 DEBUG (in ea_message_port() line 2735): EPOINT(18) release with cause=16 location=0 (terminal '', caller id '29848')</i></div><div><i>000000 TRACE 25.06.12 18:48:40.552 EP(18): RELEASE  from CH(18)  cause value=16 location=0-User</i></div>
<div><i>000000 DEBUG (in port_disconnect_release() line 2207): EPOINT(18) current multipoint cause 0 location 0, received cause 16 location 0.</i></div><div><i>000000 DEBUG (in port_disconnect_release() line 2209): EPOINT(18) new multipoint cause 16 location 0.</i></div>
<div><i>000000 DEBUG (in process_hangup() line 2420): EPOINT(18): terminal ''</i></div><div><i>000000 DEBUG (in process_hangup() line 2500): EPOINT(18): terminal : current action 'remote' has a hangup function, so we call it...</i></div>
<div><i>000000 TRACE 25.06.12 18:48:40.553 EP(18): ACTION hangup</i></div><div><i>000000 DEBUG (in free_portlist() line 185): EPOINT(18) removed port_list from endpoint</i></div><div><i>000000 DEBUG (in release() line 215): EPOINT(18): do pending release (joincause 16 location 0)</i></div>
<div><i>000000 DEBUG (in release() line 233): EPOINT(18) do pending release (portcause 16 portlocation)</i></div><div><i>000000 DEBUG (in release() line 310): EPOINT(18) do pending release of epoint itself.</i></div><div>
<i>000000 DEBUG (in ~Pgsm_bs() line 62): Destroyed GSM BS process(GSM-1-in).</i></div><div><i>000000 DEBUG (in ~Pgsm() line 159): Destroyed GSM process(GSM-1-in).</i></div><div><i>000000 DEBUG (in drop_bchannel() line 1063): PmISDN(GSM-1-in) dropping bchannel</i></div>
<div><i>000000 DEBUG (in ~PmISDN() line 213): destroyed mISDNPort(GSM-1-in). Currently 0 objects</i></div><div><i>000000 DEBUG (in ~Port() line 210): removing port of type 4625, name 'GSM-1-in'</i></div><div><i>000000 DEBUG (in ~Endpoint() line 134): removed endpoint 18.</i></div>
</div><div><i><br></i></div><div>I've tried:</div><div><br></div><div><i>rivas@pfc:/etc/asterisk$ sudo modprobe mISDN_dsp</i></div><div><i>FATAL: Error inserting mISDN_dsp (/lib/modules/3.2.0-24-generic-pae/extra/mISDN_dsp.ko): Unknown symbol in module, or unknown parameter (see dmesg) </i></div>
<div><br></div><div>Osmo-NITB shows:</div><div><br></div><div><div><i><000b> bsc_api.c:349 Sending ChanModify for speech 1 1</i></div><div><i><0001> gsm_04_08.c:1575 Error: RTP proxy is disabled</i></div><div>
<i><000b> osmo_msc.c:73 Assignment complete should not have been reached.</i></div></div><div><i><br></i></div><div>In Asterisk I've configure extensions like the howto:</div><div><br></div><div><div><i>exten => _02X.,1,GotoIf($[${CALLERID(name)} != ""]?4)</i></div>
<div><i>exten => _02X.,2,Set(CALLIDORIG=${CALLERID(num)})</i></div><div><i>exten => _02X.,3,Set(CALLERID(num)=02${CALLIDORIG})</i></div><div><i>exten => _02X.,4,Dial(LCR/GSM/${EXTEN:2},120)</i></div></div><div><i><br>
</i></div><div>Extensions number are 02000 and 02001 respectively.</div><div><br></div><div>Please help me. I believe that the problem is not in asterisk because its CLI doesn't shows anything.</div><div><br></div><div>
Thank you!</div>