From: Ellen A. <ell...@go...> - 2012-08-02 06:32:46
|
Hey Muhammad, which HowTo do you use? I think I have seen this in a HowTo as I installed OpenBTS. There is something wrong in this part. On Wed, Aug 1, 2012 at 11:19 PM, Muhammad JUNAID <m_j...@ya...>wrote: > Dose any one now this error? > call from CLI to Cell works > SMS from CLI to Cell Works > Asterisk eco-test by dialing 600 works well on cell. > Now the problem is i edit to config files sip.config > and extension.config > /etc/asterisk/extensions.conf and /etc/asterisk/sip.conf. > Basically, at the end of extensions.conf, add one extension per mobile > phone you want to add to your network: > in extension.conf i add > > [sip-local] > exten => 2102,1,Macro(dialSIP,IMSI410035107679653) > exten => 2103,1,Macro(dialSIP,IMSI410033112494557) > > In the extensions.conf you should use the same context you are using in the sip.conf. That means you should rename your [sip-local] in your extensions.conf in [sip-external] or your sip-external in your sip.conf in [sip-local]. Both should be the same because you want to use the context which is described in extensions.conf for your user profile you described in your sip.conf. I hope this is clear for you. > in sip.conf i add > > [IMSI410035107679653] ; Junaid SIM card IMSI > canreinvite=no > type=friend > context=sip-external > allow=gsm > host=dynamic > > [IMSI410033112494557] ; Awais SIM card IMSI > canreinvite=no > type=friend > context=sip-external > allow=gsm > host=dynamic > > So, the yellow words should be the same in both files. ;-) > Error while calling from one Cell to another Cell on Asterisk. > > Asterisk Ready. > == Parsing '/etc/asterisk/cli.conf': == Found > *CLI> == Using SIP RTP CoS mark 5 > [Aug 2 01:15:08] NOTICE[2453]: chan_sip.c:22622 handle_request_invite: Call > from 'IMSI410035107679653' (127.0.0.1:5062) to extension '2102' rejected > because extension not found in context 'sip-external'. > If you read the error message you see that this is why Asterisk don't work correctly. You use the wrong context because in your extensions.conf there is no context which is named sip-external. > == Using SIP RTP CoS mark 5 > [Aug 2 01:15:19] NOTICE[2453]: chan_sip.c:22622 handle_request_invite: > Call from 'IMSI410035107679653' (127.0.0.1:5062) to extension '2102' > rejected because extension not found in context 'sip-external'. > == Using SIP RTP CoS mark 5 > [Aug 2 01:15:27] NOTICE[2453]: chan_sip.c:22622 handle_request_invite: > Call from 'IMSI410035107679653' (127.0.0.1:5062) to extension '2103' > rejected because extension not found in context 'sip-external'. > == Using SIP RTP CoS mark 5 > [Aug 2 01:15:43] NOTICE[2453]: chan_sip.c:22622 handle_request_invite: > Call from 'IMSI410033112494557' (127.0.0.1:5062) to extension '2103' > rejected because extension not found in context 'sip-external'. > == Using SIP RTP CoS mark 5 > [Aug 2 01:15:58] NOTICE[2453]: chan_sip.c:22622 handle_request_invite: > Call from 'IMSI410033112494557' (127.0.0.1:5062) to extension '2102' > rejected because extension not found in context 'sip-external'. > > Hardware is USRP2 and WBX, Software is OpenBTS 2.8p, Asterisk 1.8.14.1, > kal uhd on Ubuntu 12.04 LTS. > Thanks in advance > > > Regards > Muhammad Junaid > m_j...@ya... > Regards Ellen PS: If you would have asked Google the first hit [1] had helped you faster than asking the mailinglist. ;-) [1] http://forums.digium.com/viewtopic.php?p=71892sid=5c1350975a08b74bd40a0a54b09b4de8 ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Openbts-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbts-discuss > > |