hello,

i'm testing sending ISDN cause codes to customer pbx (test scenario for 
unallocated number)

topology:
PSTN-E1-AsteriskA-AsteriskB-SOMEPBX

INVITE from SOMEPBX to PSTN

AsteriskA sends to AsteriskB
Status-Line: SIP/2.0 503 Service Unavailable
  X-Asterisk-HangupCause: Unallocated (unassigned) number
  X-Asterisk-HangupCauseCode: 1

how can i resend HangupCauseCode from AsteriskB to SOMEPBX?

i'm tried this on AsteriskB
exten => _X.,1,Dial(SIP/AsteriskA,${EXTEN})
exten => _X.,n,Hangup(${SIP_HEADER(X-Asterisk-HangupCauseCode)})

thanks

-- 
---------------------------------------
Marek Cervenka
=======================================


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to