VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
gerry at pstn2.net Guest
|
Posted: Thu May 28, 2009 4:23 pm Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
[img]../../mail/images/cleardot.gif[/img]
[img]../../mail/images/cleardot.gif[/img] |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu May 28, 2009 4:38 pm Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
Please report bugs to http://jira.freeswitch.org
/b
On May 28, 2009, at 4:20 PM, Gerry Hull wrote:
Quote: | Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu May 28, 2009 6:08 pm Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
and attach the patch in question
On Thu, May 28, 2009 at 4:36 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: | Please report bugs to http://jira.freeswitch.org
/b
On May 28, 2009, at 4:20 PM, Gerry Hull wrote:
Quote: | Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________
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/
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 |
|
|
anthony.minessale at g... Guest
|
Posted: Thu May 28, 2009 6:35 pm Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
I dug up patch and it' clearly not the right patch and is only a self serving kludge for jonas.
There is nothing wrong with that except he never tested our proper patch that only has on possible problem: the timeout being too short.
I have updated the timeout to a much higher value
please retest revision r13496 or greater
On Thu, May 28, 2009 at 6:05 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | and attach the patch in question
On Thu, May 28, 2009 at 4:36 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: |
Please report bugs to http://jira.freeswitch.org
/b
On May 28, 2009, at 4:20 PM, Gerry Hull wrote:
Quote: | Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________
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/
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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 |
|
|
gerry at pstn2.net Guest
|
Posted: Thu May 28, 2009 7:42 pm Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
Thanks much Anthony, I'll do just that and report back.
Gerry
On Thu, May 28, 2009 at 7:33 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | I dug up patch and it' clearly not the right patch and is only a self serving kludge for jonas.
There is nothing wrong with that except he never tested our proper patch that only has on possible problem: the timeout being too short.
I have updated the timeout to a much higher value
please retest revision r13496 or greater
On Thu, May 28, 2009 at 6:05 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | and attach the patch in question
On Thu, May 28, 2009 at 4:36 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: |
Please report bugs to http://jira.freeswitch.org
/b
On May 28, 2009, at 4:20 PM, Gerry Hull wrote:
Quote: | Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________
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/
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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 |
|
|
gerry at pstn2.net Guest
|
Posted: Fri May 29, 2009 10:39 am Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
Hi Anthony,
I updated to rev 13496 -- now I have a different problem... I connect to the event socket interface, ask for all events... then never receive any events!
From telnet:
"
Content-Type: auth/request
auth ClueCon
Content-Type: command/reply
Reply-Text: +OK accepted
events plain all
Content-Type: command/reply
Reply-Text: +OK event listener enabled plain
"
After this point I receive no events even though I make FS do lots of things.
Am I doing something stupid, or is something broken?
Gerry
On Thu, May 28, 2009 at 7:33 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | I dug up patch and it' clearly not the right patch and is only a self serving kludge for jonas.
There is nothing wrong with that except he never tested our proper patch that only has on possible problem: the timeout being too short.
I have updated the timeout to a much higher value
please retest revision r13496 or greater
On Thu, May 28, 2009 at 6:05 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | and attach the patch in question
On Thu, May 28, 2009 at 4:36 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: |
Please report bugs to http://jira.freeswitch.org
/b
On May 28, 2009, at 4:20 PM, Gerry Hull wrote:
Quote: | Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________
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/
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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 |
|
|
dujinfang at gmail.com Guest
|
Posted: Sun May 31, 2009 9:15 am Post subject: [Freeswitch-users] Missing Events in mod_event_socket |
|
|
On May 29, 2009, at 11:33 PM, Gerry Hull wrote: Quote: | Hi Anthony,
I updated to rev 13496 -- now I have a different problem... I connect to the event socket interface, ask for all events... then never receive any events!
From telnet:
"
Content-Type: auth/request
auth ClueCon
Content-Type: command/reply
Reply-Text: +OK accepted
events plain all
|
all or ALL ?
Quote: | Content-Type: command/reply
Reply-Text: +OK event listener enabled plain
"
After this point I receive no events even though I make FS do lots of things.
Am I doing something stupid, or is something broken?
Gerry
On Thu, May 28, 2009 at 7:33 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | I dug up patch and it' clearly not the right patch and is only a self serving kludge for jonas.
There is nothing wrong with that except he never tested our proper patch that only has on possible problem: the timeout being too short.
I have updated the timeout to a much higher value
please retest revision r13496 or greater
On Thu, May 28, 2009 at 6:05 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | and attach the patch in question
On Thu, May 28, 2009 at 4:36 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: |
Please report bugs to http://jira.freeswitch.org
/b
On May 28, 2009, at 4:20 PM, Gerry Hull wrote:
Quote: | Hello,
I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.
Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.
However, their is a persistent, nasty bug I'm seeing:
On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.
Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.
The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,
but executing the linger command does not help.
Jonas made the following comment on the issue:
"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still
running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."
Well, I have no idea how to apply the patch.
I've downloaded the latest code from trunk at files.freeswitch.org, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.
I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.
Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.
Regards,
Gerry
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________
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/
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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
|
|
|
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
|