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
______________________________________________________

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to