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 <[email protected]> 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 < > [email protected]> wrote: > >> try sending the linger command >> >> linger\n\n >> >> >> >> >> On Thu, Sep 17, 2009 at 1:40 PM, Shameem Shiek <[email protected]>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 >>> [email protected] >>> 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:[email protected] <msn%[email protected]> >> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:[email protected] <sip%[email protected]> >> iax:[email protected]/888 >> googletalk:[email protected]<googletalk%3aconf%[email protected]> >> pstn:213-799-1400 >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> [email protected] >> 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 > [email protected] > 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:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> iax:[email protected]/888 googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
