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.kell...@telenet.be > > > > <mailto:jonas.kell...@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 . -- _____________________________________________________________________ -- 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