Confusion About Hangupcause, How To Get Asterisk To Reply With 480 Or 409?

Home » Asterisk Users » Confusion About Hangupcause, How To Get Asterisk To Reply With 480 Or 409?
Asterisk Users No Comments

Hi List

We want to be able to reject some pjsip calls with a ‘temporary’
failure so that the PBX of the caller plays an announcement in the language of the caller, that the call can temporarily not reach the destination.

https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause+Mappings

Case 41 seems right…

Haugup(41) causes the call to be rejected with ‘603’ causing the message ‘your call has been administratively barred’ to be played.

Hangup(19) is also a candidate, as it would return 480.

Nope, 504 is being sent, also playing the wrong message to the caller.

How can I more precisely define what SIP code I want to returned to the caller? How do the documented hangup causes not match with my observation?


Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar

I m p r o W a r e A G – Leiter Commerce Kunden