[asterisk-users] Confusion about Hangupcause, how to get asterisk to reply with 480 or 409?
Benoît Panizzon
benoit.panizzon at imp.ch
Thu Jun 25 09:38:13 CDT 2020
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
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
More information about the asterisk-users
mailing list