Hi all,
I installed OpenBTS 2.4 on fedora 9 ( guest OS: fedora 9 and host OS: Mac X by parallels
desktop). In other words, I use a virtual machine to run OpenBTS.
Zoiper cannot register with Asterisk in the setting. I ran ./OpenBTS and my handset got
"You're doing it wrong! Welcome anyway!" I found this message in OpenBTS.config. I think
this migiht be because my Asterisk setting is not right. I setup the asterisk according to
http://gnuradio.org/trac/wiki/OpenBTS/SettingUpAsterisk .
I am wondering why the Zoiper cannot register with Asterisk. Is it because I run the
OpenBTS on virtual machine? I tried to use differnt domain, such as 127.0.0.1 or the real IP
address. However, I got the same results.
I added information to sip.conf as follows:
[sip.zoiper2]
username=sip.zoiper2
secret=my_pass234
context=zoiper_tests
type=friend
host=dynamic
callerid=8765431
[SIPTestPhone]
callerid=2105
canreinvite=no
type=friend
context=sip-external
allow=ulaw
allow=gsm
host=dynamic
secret=1234
[310410219581951]
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic
I added information to extensions.conf as follows:
[zoiper_tests]
exten => 1001,1,Dial(SIP/sip.zoiper2,20)
exten => 1001,2,VoiceMail(501@default)
exten => 1001,n,HangUp()
exten => 1002,1,Dial(IAX2/iax.zoiper2,20)
exten => 1002,2,VoiceMail(502@default)
exten => 1002,n,HangUp()
exten => 111001,1,Answer()
exten => 111001,2,VoiceMailMain(501@default)
exten => 111001,n,HangUp()
exten => 111002,1,Answer()
exten => 111002,2,VoiceMailMain(502@default)
exten => 111002,n,HangUp()
[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 => 2105,1,Macro(dialGSM,SIPTestPhone)
exten => 2114,1,Macro(dialGSM,310410219581951)
In the ZoIPER:
Domain: 127.0.0.1
Username: sip.zoiper2
Password:my_pass234
Call ID Name: sip.zoiper2
Any suggestions or help will be appreciated!!!
Thank you,
Jane
|