[Freeswitch-users] Event socket library bug on hangup?

Anthony Minessale anthony.minessale at gmail.com
Thu Sep 17 15:29:19 PDT 2009


it's a race between getting the event or getting the disconnect from the
socket where if you need to get the channel hangup event instead of just
getting the socket disconnect you can send linger which makes the socket
connection wait for the hangup event to disconnect.


On Thu, Sep 17, 2009 at 2:08 PM, Shameem Shiek <gshfreesw at gmail.com> wrote:

> What does "linger" do? I do not see it documented anywhere.
>
> Why would I get a SERVER_DISCONNECTED instead of CHANNEL_HANGUP ? By the
> way the BUG does not happen every time and normally I *DO* see the
> CHANNEL_HANGUP come through in most cases.
>
> Thanks for the help.
>
>
> On Thu, Sep 17, 2009 at 2:56 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> try sending the linger command
>>
>> linger\n\n
>>
>>
>>
>>
>> On Thu, Sep 17, 2009 at 1:40 PM, Shameem Shiek <gshfreesw at gmail.com>wrote:
>>
>>> When a call is hangup, I get SERVER_DISCONNECTED Event over and over
>>> again instead of CHANNEL_HANGUP event. Has anyone else experienced this? I
>>> am using freeswitch 1.04.
>>>
>>>
>>>
>>> _______________________________________________
>>> 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:213-799-1400
>>
>> _______________________________________________
>> 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:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090917/55368cff/attachment-0002.html 


More information about the FreeSWITCH-users mailing list