In an attempt to connect our Asterisk 1.6 phone system with another phone system called "Broadsmart", they gave me credentials to register to.
Connected to Asterisk 1.6.2.5 currently running on watermelon (pid = 10365) watermelon*CLI> sip show registry Host dnsmgr Username Refresh State Reg.Time {broadsmart_ip}:5060 N {broadsmart_user} 3317 Registered Fri, 07 May 2010 11:21:41 1 SIP registrations. It shows that I am registered. But when I go to make a call using: exten => 706,1,Macro(broadsmart,706) and the Macro [macro-broadsmart] exten => s,1,Dial(SIP/${ar...@broadsmart,60) Asterisk reports: [May 7 11:34:45] WARNING[10402]: chan_sip.c:17775 handle_response_invite: Received response: "Forbidden" from '"Mike A. Leonetti" <sip:{broadsmart_us...@broadsmart.net>;tag=as6376d669' The people on the other end sent me this e-mail: > > Your registration looks all wrong. The contact header appears > incorrect on this invite. Please make it read > > > > Contact: <sip:{broadsmart_us...@{our_ip}:5060> > > > > This is probably the userid or auth user id. > > > > > > REGISTER sip:{broadsmart_ip} SIP/2.0 > > Via: SIP/2.0/UDP {our_ip}:5060;branch=z9hG4bK1e85dd83;rport > > Max-Forwards: 70 > > From: <sip:{broadsmart_us...@{broadsmart_ip}>;tag=as3bafb590 > > To: <sip:{broadsmart_us...@{broadsmart_ip}> > > Call-ID: 13545ba119fb96b707e90636720df...@127.0.0.1 > > CSeq: 102 REGISTER > > User-Agent: Asterisk PBX 1.6.2.5 > > Expires: 120 > > Contact: <sip:s...@{our_ip}> > > Content-Length: 0 > > > > Please change expires to what we are configured which is 3600 seconds. I'm not sure what it is that may be causing the "Contact" to show up as "s". Here are the associated configs. sip.conf [general] register => {broadsmart_user}:{broadsmart_passwo...@{broadsmart_ip} [broadsmart] host={broadsmart_ip} port=5060 type=peer disallow=all allow=ulaw dtmfmode=rfc2833 nat=no fromuser={broadsmart_user} secret={broadsmart_password} fromdomain=broadsmart.net quality=3600 canreinvite=no Sorry for the long request. Admittedly I'm lost. -- Mike A. Leonetti As warm as green tea
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users