[asterisk-users] "Contact header appears incorrect on this invite" Asterisk registering with another PBX

Mike A. Leonetti mleonetti at evolutionce.com
Fri May 7 10:50:18 CDT 2010


On 05/07/10 11:52, Gareth Blades wrote:
> Mike A. Leonetti wrote:
>   
>> 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/${arg1}@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_user}@broadsmart.net>;tag=as6376d669'
>>
>> The people on the other end sent me this e-mail:
>>     
> The register command has one set of credentials but if you are dialing 
> using Dial(SIP/${arg1}@broadsmart,60) then the credentials will be 
> looked up in the [broadsmart] section within sip.conf
>
>   
So is there a way to dial out using what is already registered?



More information about the asterisk-users mailing list