[asterisk-dev] Forwarding of SIP response codes

Kevin P. Fleming kpfleming at digium.com
Thu Feb 9 08:44:51 MST 2006

Deti Fliegl wrote:

> If the SIP gateway answers 404 asterisk converts this into 503 and sends
> it to the calling SIP phone. The additional header
> "X-Asterisk-HangupCause: Unallocated (unassigned) number" is nice but
> does not help the SIP phone to display the correct hangup cause.
> Is there any way to just forward the original response code? Did I miss
> something in the documentation to get this working?

Everyone say it with me now...

"Asterisk is not a SIP proxy!"

There is no legitimate reason for Asterisk to work in this way, and
trying to do breaks down in situations like forked dialing, dialing to
multiple channel technologies, 'bridging' applications like
chan_agent/app_queue, etc.

More information about the asterisk-dev mailing list