[Freeswitch-users] Hold is broken in trunk 16055

Anthony Minessale anthony.minessale at gmail.com
Wed Dec 30 07:19:26 PST 2009


I was wondering if you read my last email?
your phone is not sending an SDP, but you expect FS to magically pass it on
with an SDP?
Did you try anything I said?  I feel that you have ignored my 2 paragraph
explanation.


On Wed, Dec 30, 2009 at 8:38 AM, Lei Tang <lei.tlfly at gmail.com> wrote:

> Hi Anthony and Brian, I have grep some sip trace log, Could you please take
> a look at the attachments? lega.pcap is the log of a leg, legb.pcap is the
> log of b leg. It seems fs never sent the reinvite request to b, and sent
> 200ok response without sdp content to a immediately.
> My scenario is as follow, and I'm using proxy media mode.
>
>        invite  <bridge>  invite
> a <------------> FS<---------------> b
>
> 2009/12/30 Anthony Minessale <anthony.minessale at gmail.com>
>
> We now disable sofia SOA mode during proxy calls.
>> This means that sofia will not try to get involved in the media
>> negotiation at all which is the optimal behavior.
>> Previous versions would butt in and try to fix the error but now it just
>> stays out of the way.
>>
>> You can see in your trace that the device sends a packet with no SDP
>> therefore so does sofia.
>>
>> You can either turn off  proxy-media or post a bounty for me to go hack a
>> workaround into the patch I spent many hours on getting things to work
>> right.  Whatever you experienced with 1.0.4 was a happy coincidence where
>> sofia was fixing a bug in your phone for you.
>>
>>
>>
>>
>> On Tue, Dec 29, 2009 at 10:08 AM, Michael Jerris <mike at jerris.com> wrote:
>>
>>> This means there was no sdp sent.  Did you confirm this with siptrace?
>>>
>>> On Dec 29, 2009, at 10:37 AM, Lei Tang <lei.tlfly at gmail.com> wrote:
>>>
>>> Hi Brian, I don't think so, I have debuged fs, If I'm not wrong,
>>> following code in sofia.c send the 200ok response
>>> sofia.c
>>> function sofia_handle_sip_i_state ....
>>>    .........
>>>     switch(ss_state)
>>>          ................
>>>         case nua_callstate_received:
>>>              .....................
>>>              else if (tech_pvt && sofia_test_flag(tech_pvt, TFLAG_SDP) &&
>>> !r_sdp) {
>>>                   nua_respond(tech_pvt->nh, SIP_200_OK, TAG_END());
>>>                   sofia_set_flag_locked(tech_pvt, TFLAG_NOSDP_REINVITE);
>>>                   goto done;
>>>              }
>>>
>>> The cause is r_sdp is null, but I don't known why tl_gets don't return
>>> remote sdp tag, it's quite strange.
>>>
>>> 2009/12/29 Brian West < <brian at freeswitch.org>brian at freeswitch.org>
>>>
>>>> the 200ok is not from FS.. its from the end point... so its not us thats
>>>> not putting the SDP into the 200ok but the device you're talking to because
>>>> in proxy media they are passed as is.
>>>>
>>>> /b
>>>>
>>>> On Dec 29, 2009, at 8:53 AM, Lei Tang wrote:
>>>>
>>>> > Hi Brian, thanks for your help, I am using FS in proxy media mode. the
>>>> sip agent I'm using is x-lite and wxCommunicator.
>>>> > I will test if trunk 16055 work when I set proxy media mode to false
>>>> tomorrow.
>>>>
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-users mailing list
>>>>  <FreeSWITCH-users at lists.freeswitch.org>
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>  <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>  <http://www.freeswitch.org>http://www.freeswitch.org
>>>>
>>>
>>>
>>>
>>> --
>>> Lei.Tang
>>> <lei.tlfly at gmail.com>lei.tlfly at gmail.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
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>> pstn:+19193869900
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Lei.Tang
> lei.tlfly at gmail.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

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091230/5c16463a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list