[Freeswitch-users] Access to Cause filed in Reason header

Michael Collins msc at freeswitch.org
Thu May 31 22:16:46 MSD 2012


I believe that information is available in other channel variables. I'd do
an info dump right after the bridge and see what shakes out.
-MC

On Thu, May 31, 2012 at 8:51 AM, Javier Gallart <jgallartm at gmail.com> wrote:

> Hello list
>
> some of our providers include a Reason header in negative replies to an
> INVITE. For instance, they might include a cause=65 inside a Sip 503 reply.
> We need to react upon some of those ISDN causes: in this particular case
> with if Reason header were absent we would simply do nothing but let FS to
> send the response upstream; but if cause=65 in present we want to resend
> the call to the same provider with a different set of offered codecs. Is
> there any way to access to the content of that header?. Our applicatiion
> listens to the event socket in inbound mode but I haven't found a way to do
> this. Any help would be appreciated.
>
> Regards
>
> Javi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120531/887481fe/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list