[asterisk-users] Forbidden call

Steve Edwards asterisk.org at sedwards.com
Thu Jun 11 15:45:16 CDT 2020


On Thu, 11 Jun 2020, Jerry Geis wrote:

> I have a call from a call file:

This looks a lot more like an AMI event than a call file. In any case, it 
doesn't matter.

> Action: Originate
> Async: yes
> Channel: SIP/2012
> Codecs: ulaw,alaw,gsm
> Context: dialout
> Exten: callprogress
> Priority: 1
> Timeout: 20000
> Variable: SIPADDHEADER="Alert-Info: Ring Answer"
> ActionID: 100014
> CallerID: Axis < 525 >

> The SIP/2012 is a IP Speaker on the computer. The error is:
> [Jun 11 15:44:45] WARNING[8132]: chan_sip.c:24191 handle_response_invite: Received response: "Forbidden" 
> 
> Why am I getting "Forbidden" ? Its a call file on my server

It's not a call file permissions thing. That would be a different error 
and reported by something before chan_sip.

> the speaker is directly connected to my server.

How is an IP speaker 'directly connected?' Do you mean directly from the 
Ethernet on the speaker to a NIC on the computer? It doesn't matter, just 
curious :)

The only thing that will tell you what is going on is the packets. Crank 
up 'sip set debug on' and see if that yields a clue.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
             https://www.linkedin.com/in/steve-edwards-4244281


More information about the asterisk-users mailing list