From: Tomas K. <de...@vo...> - 2011-09-09 10:36:12
|
Hi, you have to fix the config like that: sip.conf [IMSI404450510904785] ; IMSI chars must be added to digits, its OpenBTS hardcoded (from OpenBTS 2.5, if I'm right) callerid=1001 canreinvite=no type=friend context=sip-external ;secret=1234 ; don't use password on handset, it uses different type of authentication ;allow=ulaw ; use gsm codec allow=gsm extensions.conf: [sip-external] exten => 1000,1,Dial(SIP/1000) exten => 1001,1,Dial(SIP/IMSI404450510904785) Check OpenBTS/AsteriskConfig for samples. You don't need smqueue for calls, Asterisk handle that. Tomas > Hi, > > I am trying to set up a GSM base station with OpenBTS, GNURadio and > USRP2. All the installations have gone through fine, except for > smqueue build. I am using one softphone (Twinkle) and one mobile phone > (IMSI known). I start asterisk, and the softphone. I run OpenBTS. I am > able to detect the OpenBTS network on my handset. When I try > registering to the network manually, the phone says registered but > nothing seems to happen in the OpenBTS console. When I try calling the > mobile phone from the softphone (through Asterisk), the call doesn't > go through. My Asterisk console says: > CLI> [Sep 8 11:40:38] WARNING[2714]: app_dial.c:2196 dial_exec_full: > Unable to create channel of type 'SIP' (cause 20 - Unknown) > > I need to place a call between the phones. I am having issues in > building smqueue. > > Below are my asterisk configurations > > extensions.conf: > [macro-dialGSM] > exten => s,1,Dial(SIP/${ARG1}) > exten => s,2,Goto(s-${DIALSTATUS},1) > exten => s-CANCEL,1,Hangup > exten => s-NOANSWER,1,Hangup > exten => s-BUSY,1,Busy(30) > exten => s-CONGESTION,1,Congestion(30) > > exten => s-CHANUNAVAIL,1,playback(ss-noservice) > exten => s-CANCEL,1,Hangup > > > [sip-external] > exten => 1000,1,Dial(SIP,1000) > exten => 1001,1,Macro(dialGSM,404450510904785) > > sip.conf: > [general] > > rtpstart=16386 > rtpend=16482 > relaxdtmf=yes > context=default > aalowoverlap=no > bindport=5060 > bindaddr=0.0.0.0 > > [1000] > callerid=1000 > canreinvite=no > type=friend > > context=sip-external > secret=1234 > allow=ulaw > allow=gsm > host=dynamic > > > [404450510904785] > callerid=1001 > canreinvite=no > type=friend > context=sip-external > secret=1234 > allow=ulaw > allow=gsm > > host=dynamic > > Kindly guide me through. Thanks. > > Regards, > Sma > > > ------------------------------------------------------------------------------ > Why Cloud-Based Security and Archiving Make Sense > Osterman Research conducted this study that outlines how and why cloud > computing security and archiving is rapidly being adopted across the IT > space for its ease of implementation, lower cost, and increased > reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ > > > _______________________________________________ > Openbts-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbts-discuss |