[Freeswitch-users] Reason header in SIP 180 / 183
Avi Marcus
avi at avimarcus.net
Fri Jul 5 10:50:28 MSD 2013
Well, there's execute_on_preanswer<http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_preanswer>
Can you get the it as a channel variable then? I presume hangup codes don't
get set until the end. But if it's there you can act upton it.
-Avi
On Fri, Jul 5, 2013 at 9:33 AM, jay binks <jaybinks at gmail.com> wrote:
> Hey all...
> I need to tap the collective knowledge of all.
>
> In the scenario where I can get a Reason header in a Progress response (
> 180 / 183 )
> how can I control how Freeswitch will respond.
>
> I can see 3 possible scenarios here, but it would be great to control
> which scenario was used.
>
> 1) Freeswitch just passes through the 180/183 with reason header...
> without doing anything with it.
>
> 2) Freeswitch can remove the reason header from the 180/183 and just play
> back the media stream that is accompanied.
>
> 3) Freeswitch can act upon the reason, and hangup the call .. ( if its a
> Q850 Cause code 1 for example )
>
> now... where is this useful.
> well, what if I had a carrier that gave Q850 cause codes in ISDN progress
> messages ( number unallocated ) but then they played an RVA saying "number
> dialed is not connected".
>
> They have done it this way to allow customer to choose how to handle the
> RVA ( do you want the RVA or not ) but does FS give me the ability to truly
> control this ?
>
> ( without needing to go as far as complex ESL applications )
>
> --
> Sincerely
>
> Jay
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130705/9b387087/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list