Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gshfreesw at gmail.com
Guest





PostPosted: Thu Sep 17, 2009 1:44 pm    Post subject: [Freeswitch-users] Event socket library bug on hangup? Reply with quote

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.
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Sep 17, 2009 2:13 pm    Post subject: [Freeswitch-users] Event socket library bug on hangup? Reply with quote

try sending the linger command

linger\n\n




On Thu, Sep 17, 2009 at 1:40 PM, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:
Quote:
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@lists.freeswitch.org (FreeSWITCH-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
gshfreesw at gmail.com
Guest





PostPosted: Thu Sep 17, 2009 2:25 pm    Post subject: [Freeswitch-users] Event socket library bug on hangup? Reply with quote

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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
try sending the linger command

linger\n\n




On Thu, Sep 17, 2009 at 1:40 PM, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:

Quote:
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@lists.freeswitch.org (FreeSWITCH-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
gshfreesw at gmail.com
Guest





PostPosted: Thu Sep 17, 2009 3:56 pm    Post subject: [Freeswitch-users] Event socket library bug on hangup? Reply with quote

I found the linger command on a old freeswitch user's email thread. Updated the Event socket outbound wiki with the command.

On Thu, Sep 17, 2009 at 3:08 PM, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:
Quote:
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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
try sending the linger command

linger\n\n




On Thu, Sep 17, 2009 at 1:40 PM, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:

Quote:
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@lists.freeswitch.org (FreeSWITCH-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





Back to top
msc at freeswitch.org
Guest





PostPosted: Thu Sep 17, 2009 3:59 pm    Post subject: [Freeswitch-users] Event socket library bug on hangup? Reply with quote

On Thu, Sep 17, 2009 at 1:48 PM, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:
Quote:
I found the linger command on a old freeswitch user's email thread. Updated the Event socket outbound wiki with the command.




http://wiki.freeswitch.org/wiki/Event_socket_outbound#Events

Look for "linger" in the events section of that page...
-MC
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Sep 17, 2009 5:36 pm    Post subject: [Freeswitch-users] Event socket library bug on hangup? Reply with quote

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@gmail.com (gshfreesw@gmail.com)> wrote:
Quote:
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@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
try sending the linger command

linger\n\n




On Thu, Sep 17, 2009 at 1:40 PM, Shameem Shiek <gshfreesw@gmail.com (gshfreesw@gmail.com)> wrote:

Quote:
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@lists.freeswitch.org (FreeSWITCH-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@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@lists.freeswitch.org (FreeSWITCH-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services