[asterisk-users] resending cause codes
marek cervenka
cervajs at fpf.slu.cz
Mon Nov 29 04:23:06 CST 2010
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
=======================================
More information about the asterisk-users
mailing list