Benoît Panizzon
2020-Jun-25 14:38 UTC
[asterisk-users] Confusion about Hangupcause, how to get asterisk to reply with 480 or 409?
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 ______________________________________________________
Reasonably Related Threads
- RFC4733 (2833) payload during early audio 183?
- Opus: No translation path after upgrade ubuntu focal => jammy
- Asterisk translates 200 OK + SDP into 488 not acceptable here after both side agreed on codec.
- ICE Candidate collision on dualstack hosts?
- res_pjsip.c:3461 ast_sip_set_tpselector_from_transport_name: Unable to retrieve PJSIP transport 'transport-name'