VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
gshfreesw at gmail.com Guest
|
Posted: Thu Sep 17, 2009 1:44 pm Post subject: [Freeswitch-users] Event socket library bug on hangup? |
|
|
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
|
Posted: Thu Sep 17, 2009 2:13 pm Post subject: [Freeswitch-users] Event socket library bug on hangup? |
|
|
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:
--
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
|
Posted: Thu Sep 17, 2009 2:25 pm Post subject: [Freeswitch-users] Event socket library bug on hangup? |
|
|
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:
|
|
Back to top |
|
|
gshfreesw at gmail.com Guest
|
Posted: Thu Sep 17, 2009 3:56 pm Post subject: [Freeswitch-users] Event socket library bug on hangup? |
|
|
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:
|
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Sep 17, 2009 3:59 pm Post subject: [Freeswitch-users] Event socket library bug on hangup? |
|
|
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
|
Posted: Thu Sep 17, 2009 5:36 pm Post subject: [Freeswitch-users] Event socket library bug on hangup? |
|
|
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:
--
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 |
|
|
|
|
|
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
|