Hello ALl, I have Asterisk up and running. Now I want to set it up as sip proxy registrar. I have few machines with xlite and linphone sip UA's. How do i register these UA's in asterisk ? My Asterisk server IP is 10.0.0.2 and my sip UA's IP addresses are 10.0.0.3,10.0.0.4,and 10.0.0.5 When my sip ua's sends reigstration request to Asterisk server, On the Asterisk console it displays error NOTICE saying GOT SIP RESPONSE 403 "Forbidden" back from 10.0.0.2 Please let me know if there are any documentation on setting up soft phones like linphone/xlite with asterisk. Thanks in advance, Anand My sip.conf file looks like this.. ; ; SIP Configuration for Asterisk ; [general] port = 5060 ; Port to bind to bindaddr = 10.0.0.2 ; Address to bind to context = sip ; Default for incoming calls srvlookups=yes dtmfmode=inband allow=all tos = lowdelay register => clienta@10.0.0.3/1000 register => sourabha@10.0.0.4/1001 register => salisd@10.0.0.5/1002 [sourabha] type=friend secret=oneday host=dynamic defaultip=10.0.0.3 username=1001 [clienta] type=friend secret=oneday host=dynamic defaultip=10.0.0.4 username=1000 [salisd] type=friend ;insecure=yes username=1002 secret=oneday host=dynamic defaultip=10.0.0.4 --------------------------- $extensions.conf file [globals] clienta=SIP/1000 sourabha=SIP/1001 salisd=SIP/1002 [incoming] exten => s,1,Dial,Zap/1,3 exten => s,2,Playback(vm-nobodyavail) [sip] ;calls to SIP UAs exten => 1000,1,Dial(${CLIENTA}) exten => 1001,1,Dial(${SOURABHA}) exten => 1002,1,Dial(${SALISD}) -------------------
I think on the register you have to add also the password ... "oneday" ! e.g.: register => xxxx:password@sip_proxy rgrds "Anand S. Katti" <askatti@ece.iisc.ernet.in> wrote: Hello ALl, I have Asterisk up and running. Now I want to set it up as sip proxy registrar. I have few machines with xlite and linphone sip UA's. How do i register these UA's in asterisk ? My Asterisk server IP is 10.0.0.2 and my sip UA's IP addresses are 10.0.0.3,10.0.0.4,and 10.0.0.5 When my sip ua's sends reigstration request to Asterisk server, On the Asterisk console it displays error NOTICE saying GOT SIP RESPONSE 403 "Forbidden" back from 10.0.0.2 Please let me know if there are any documentation on setting up soft phones like linphone/xlite with asterisk. Thanks in advance, Anand My sip.conf file looks like this.. ; ; SIP Configuration for Asterisk ; [general] port = 5060 ; Port to bind to bindaddr = 10.0.0.2 ; Address to bind to context = sip ; Default for incoming calls srvlookups=yes dtmfmode=inband allow=all tos = lowdelay register => clienta@10.0.0.3/1000 register => sourabha@10.0.0.4/1001 register => salisd@10.0.0.5/1002 [sourabha] type=friend secret=oneday host=dynamic defaultip=10.0.0.3 username=1001 [clienta] type=friend secret=oneday host=dynamic defaultip=10.0.0.4 username=1000 [salisd] type=friend ;insecure=yes username=1002 secret=oneday host=dynamic defaultip=10.0.0.4 --------------------------- $extensions.conf file [globals] clienta=SIP/1000 sourabha=SIP/1001 salisd=SIP/1002 [incoming] exten => s,1,Dial,Zap/1,3 exten => s,2,Playback(vm-nobodyavail) [sip] ;calls to SIP UAs exten => 1000,1,Dial(${CLIENTA}) exten => 1001,1,Dial(${SOURABHA}) exten => 1002,1,Dial(${SALISD}) ------------------- _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041104/0c48459e/attachment.htm
Hello, --- "Anand S. Katti" <askatti@ece.iisc.ernet.in> wrote:> register => clienta@10.0.0.3/1000 > register => sourabha@10.0.0.4/1001 > register => salisd@10.0.0.5/1002Remove these register lines. You dont need them as your UACs are trying to register with Asterisk.> [sourabha] > username=1001The context name and username should be the same. Try making these changes and it should be up. Regards, Girish __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com