[Freeswitch-users] enable-3pcc=proxy behavior

Anthony Minessale anthony.minessale at gmail.com
Wed Dec 21 02:31:30 MSK 2016


We could possible add a patch where, if we do not have the sdp from the
variable that, at that moment we can generate a local sdp instead.
You would have to file a JIRA so we don't forget.


On Tue, Dec 20, 2016 at 4:53 PM, Sharath Kumar <shakumarsoftware at gmail.com>
wrote:

> Ok. You are right the =true works but It gives me the unpleasant side
> effect of auto-answering the call even before the user has answered the
> call. So I thought the =proxy will help and give me the control over
> providing the answer by the user(200 OK) rather than Fs supplying it. Do
> you know if I can hook up an API for generating the local SDP and setting
> the m_sdp variable ? I can contribute it back if it useful for other FS
> endpoint users who don't use verto. Or is this something that can be done
> in verto ?
> -Shaks
>
> On Tue, Dec 20, 2016 at 3:45 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> The whole point of =proxy is to place another outbound call and use the
>> SDP from that outbound call in the answer to the INVITE.
>> If you don't need that, then you should just use the =true mode.
>>
>>
>> On Tue, Dec 20, 2016 at 4:39 PM, Sharath Kumar <
>> shakumarsoftware at gmail.com> wrote:
>>
>>> There is no outbound leg. It is just my application answering.(just like
>>> a FS client) So I guess I will have to set the inbound leg with the local
>>> sdp. I am not sure if I can actually make it out of thin air .ie session id
>>> and ports etc ? Is there an API for me to generate the local SDP ? Or Am I
>>> completely missing something basic here!
>>>
>>> thank you so much!
>>> -Sharath
>>>
>>>
>>> On Tue, Dec 20, 2016 at 3:20 PM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>>> What channel type is the outgoing leg?
>>>>
>>>> The inbound leg needs the variable switch_m_sdp set with the SDP of the
>>>> outbound leg at the time when the outbound leg is answered.
>>>> In the case of mod_verto a patch was added today to set that variable.
>>>> If you are using something non-standard you will have to set that variable
>>>> yourself.
>>>>
>>>>
>>>> On Tue, Dec 20, 2016 at 4:11 PM, Sharath Kumar <
>>>> shakumarsoftware at gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am using FS as an endpoint. I need some clarification the below
>>>>> scenario -
>>>>>
>>>>> When I receive an INV w/o SDP and enable-3pcc=proxy, the FS sends out
>>>>> a 18x and then when I answer the call it indicates in the logs that it is
>>>>> sending a 200 OK i.e[3PCC-PROXY, Sent a 200 OK, waiting for ACK] but the
>>>>> call fails with  "SIP/2.0 500 No session set by user".
>>>>>
>>>>> Should I be setting the local-sdp somewhere from my application? I
>>>>> know this is not a very common usage of FS. I would've tried this with the
>>>>> FS client to confirm the behavior but I don't think it supports 3pcc=pxoxy
>>>>> only 3pcc=true.
>>>>>
>>>>> Thank you,
>>>>> Shaks
>>>>>
>>>>> ____________________________________________________________
>>>>> _____________
>>>>> 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/free
>>>>> switch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>>>
>>>>http://freeswitch.org/http://cluecon.com/>>>> http://twitter.com/FreeSWITCH
>>>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>>>> <http://freeswitch.org/g+>*
>>>>
>>>> ClueCon Weekly Development Call
>>>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900 <(919)%20386-9900>
>>>>
>>>> https://www.youtube.com/watch?v=9XXgW34t40s
>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> 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/free
>>>> switch-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
>>>
>>
>>
>>
>> --
>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>
>>http://freeswitch.org/http://cluecon.com/>> http://twitter.com/FreeSWITCH
>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>> <http://freeswitch.org/g+>*
>>
>> ClueCon Weekly Development Call
>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900 <(919)%20386-9900>
>>
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>
>> _________________________________________________________________________
>> 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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161220/805fab18/attachment.html 


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