[asterisk-users] Custom SIP-header not present in call Asterisk to Asterisk

A J Stiles asterisk_list at earthshod.co.uk
Tue Sep 2 05:08:00 CDT 2014


On Tuesday 02 Sep 2014, Jonas Kellens wrote:
> On 02-09-14 11:34, Steven Howes wrote:
> > On 2 Sep 2014, at 09:03, Jonas Kellens <jonas.kellens at telenet.be
> > 
> > <mailto:jonas.kellens at telenet.be>> wrote:
> >> So just before hanging up, I add a custom SIP-header :
> >> 
> >> exten => s,n,SIPAddHeader(X-My-Hangup: MaxChan)
> >> exten => s,n,Hangup()
> > 
> > SIPAddHeader only works for INVITE as far as I know.
> > 
> > Steve
> 
> OK.
> 
> Then how can I let another Asterisk server know the custom reason of
> hangup ? If it is not possible with custom SIP-header, then how ?

Fire off an AGI script which will  (somehow)  send the necessary message to the 
other Asterisk server.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .



More information about the asterisk-users mailing list