[asterisk-users] SIP Reason
Steve Langstaff
steve.langstaff at citel.com
Tue Jan 15 08:39:30 CST 2008
Won't SIP_HEADER(reason) do that for you?
e.g.
exten => 1996,1,Answer
exten => 1996,n,Set(sip_reason=${SIP_HEADER(reason)})
exten => 1996,n,NoOp(sip_reason)
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Johansson Olle E
> Sent: 15 January 2008 13:35
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] SIP Reason
>
>
> 15 jan 2008 kl. 14.01 skrev Carles Pina i Estany:
>
> >
> > Hello,
> >
> > I'm sniffing traffic between Asterisk and a Softswitch. I
> see that, in
> > "Decline" SIP packages, there is a header called "Reason"
> and I would
> > like to access to the content of this header from Asterisk.
> >
> > How I can access to Reason header content?
> >
> > I would like to access here using ASterisk 1.4 and 1.2, but if it's
> > only with Asterisk 1.4 will not be a big problem.
>
> There's currently no way to access that header in Asterisk.
>
> /O
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list