[Freeswitch-users] Issue in handling 300 Multiple choices

Brian West brian at freeswitch.org
Wed Apr 5 18:48:08 MSD 2017


sip_redirect_dialstring is ALL the choices.

On Wed, Apr 5, 2017 at 1:22 AM, John Nash <john.nash778 at gmail.com> wrote:

> Hello Brian,
>
> Thank you for replying. I have following in default.xml
> <include>
>     <context name="default">
>         <X-PRE-PROCESS cmd="include" data="default/*.xml"/>
>     </context>
>     <context name="redirected">
>         <extension name="redirected">
>             <condition>
>                 <action application="log" data="INFO handling redirect to
> ${sip_redirect_dialstring}" inline="true"/>
>                 <action application="bridge" data="${sip_redirect_
> dialstring};fs_path=sip:192.168.103.2:5064"/>
>             </condition>
>         </extension>
>     </context>
> </include>
>
>
> I am printing log but when 302 is received It is not even going inside the
> redirected context.
>
> On Wed, Apr 5, 2017 at 2:19 AM, Brian West <brian at freeswitch.org> wrote:
>
>> Should probably put in a log of what is going on, I can only guess you're
>> not using the correct variable since it sets _1 _2 and so on for each
>> contact.
>>
>>
>> On Tue, Apr 4, 2017 at 2:58 PM, John Nash <john.nash778 at gmail.com> wrote:
>>
>>> I am sending call to a Redirect server (Routing) I have a context named
>>> "redirected" in default.xml
>>>
>>> When I receive an Invite I send it to redirect server and receive 300
>>> Multiple Choices from redirect server, but this redirect is not being
>>> transfered to "redirected" context rather freeswitch tries to send Invite
>>> as per contact in 300 response.
>>>
>>> I also have <param name="manual-redirect" value="true"/>  in my sip
>>> profiles
>>>
>>> I dont know why it behaves in such a way. I am using freeswitch 1.6
>>>
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.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
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>>
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> Allison prompts for FreeSWITCH:
>>
>> *https://www.gofundme.com/allison-prompts-for-freeswitch*
>> <https://www.gofundme.com/allison-prompts-for-freeswitch>
>>
>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
>> | *M:*+1918424WEST (9378)
>> *Skype:*briankwest
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 

*Brian West*
brian at freeswitch.org

*Twitter: @FreeSWITCH , @briankwest*

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Allison prompts for FreeSWITCH:

*https://www.gofundme.com/allison-prompts-for-freeswitch*
<https://www.gofundme.com/allison-prompts-for-freeswitch>

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170405/80f76e3f/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list