Hello,
I have a situation where a call comes in to my Asterisk server B. This
call comes from another Asterisk server A. I want to tell to this server
A why my server B hangs up.
So just before hanging up, I add a custom SIP-header :
exten => s,n,SIPAddHeader(X-My-Hangup: MaxChan)
exten => s,n,Hangup()
But I notice that this extra SIP-header is not send within the SIP-reponse :
SIP/2.0 603 Declined
Via: SIP/2.0/UDP
xx.xx.xx.98:5060;branch=z9hG4bK168884d7;received=xx.xx.xx.98;rport=5060
From: "5006" <sip:[email protected]>;tag=as50c98b4c
To: <sip:[email protected]>;tag=as3c6e57b0
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Server: myasterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
How can I make this work ?
Thanks.
Jonas.
--
_____________________________________________________________________
-- 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