[Freeswitch-dev] DTMF event being broadcast to different session?
Hi, I'm puzzling with a dtmf problem on my applications. basically, i have a dialplan that run "start_dtmf" and then execute "socket" to my controller apps. * <action application="sleep" data="2000"/> <action application="start_dtmf" data="true"/> <action application="socket" data="192.168.150.52:8084 async full"/>
From the controller applications, I will detect the dtmf event. When the call to system one by one, the application detect dtmf event correctly on each session.
But the problem arise when there is 2 or more simultanous call in the system. One caller press digits, and both or all socket sessions receive the dtmf events. I believe this is the cases, but not sure what is the easier way to proof it. Any suggestion on how to troubleshoot or simple way to make sure each sessions don't receive dtmf events. Thanks, Johny K. *
What are you saying to the call when it connects to your app via the socket? /b On Sep 5, 2008, at 2:10 PM, Johny Kadarisman wrote:
Hi,
I'm puzzling with a dtmf problem on my applications. basically, i have a dialplan that run "start_dtmf" and then execute "socket" to my controller apps.
<action application="sleep" data="2000"/> <action application="start_dtmf" data="true"/> <action application="socket" data="192.168.150.52:8084 async full"/>
From the controller applications, I will detect the dtmf event. When the call to system one by one, the application detect dtmf event correctly on each session.
But the problem arise when there is 2 or more simultanous call in the system. One caller press digits, and both or all socket sessions receive the dtmf events. I believe this is the cases, but not sure what is the easier way to proof it.
Any suggestion on how to troubleshoot or simple way to make sure each sessions don't receive dtmf events.
Thanks,
Johny K.
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Brian West sip:brian@freeswitch.org
i say ;) connect event text all sendmsg call-command: execute execute-app-name: answer Johny K. On Fri, Sep 5, 2008 at 3:14 PM, Brian West <brian@freeswitch.org> wrote:
What are you saying to the call when it connects to your app via the socket? /b
On Sep 5, 2008, at 2:10 PM, Johny Kadarisman wrote:
Hi,
I'm puzzling with a dtmf problem on my applications. basically, i have a dialplan that run "start_dtmf" and then execute "socket" to my controller apps.
* <action application="sleep" data="2000"/> <action application="start_dtmf" data="true"/> <action application="socket" data="192.168.150.52:8084 async full"/>
From the controller applications, I will detect the dtmf event. When the call to system one by one, the application detect dtmf event correctly on each session.
But the problem arise when there is 2 or more simultanous call in the system. One caller press digits, and both or all socket sessions receive the dtmf events. I believe this is the cases, but not sure what is the easier way to proof it.
Any suggestion on how to troubleshoot or simple way to make sure each sessions don't receive dtmf events.
Thanks,
Johny K. *
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Brian West sip:brian@freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
This would be why... try "myevents" instead of "event text all" See you allowed full access but you don't want all events you only want your own channels events so that will fix it. It did exactly what you told it to do. ;) /b On Sep 5, 2008, at 2:25 PM, Johny Kadarisman wrote:
event text all
Brian West sip:brian@freeswitch.org
Thanks a lot for quick reply, this fixes my problems. I almost pull my hair out trying to troubleshoot the socket apps. I though i have some kind of problem with thread handling. Is this documented somewhere in wiki, don't see any reference for this command in outbound socket section? should i put it there. Thanks again. On Fri, Sep 5, 2008 at 3:29 PM, Brian West <brian@freeswitch.org> wrote:
This would be why... try "myevents" instead of "event text all"
See you allowed full access but you don't want all events you only want your own channels events so that will fix it. It did exactly what you told it to do. ;)
/b
On Sep 5, 2008, at 2:25 PM, Johny Kadarisman wrote:
event text all
Brian West sip:brian@freeswitch.org <sip%3Abrian@freeswitch.org>
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Yes, please update any documentation that wasn't clear. On Sep 5, 2008, at 3:23 PM, Johny Kadarisman wrote:
Is this documented somewhere in wiki, don't see any reference for this command in outbound socket section? should i put it there.
Brian West sip:brian@freeswitch.org
Done http://wiki.freeswitch.org/wiki/Event_socket_outbound On Fri, Sep 5, 2008 at 4:33 PM, Brian West <brian@freeswitch.org> wrote:
Yes, please update any documentation that wasn't clear.
On Sep 5, 2008, at 3:23 PM, Johny Kadarisman wrote:
Is this documented somewhere in wiki, don't see any reference for this command in outbound socket section? should i put it there.
Brian West sip:brian@freeswitch.org <sip%3Abrian@freeswitch.org>
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Brian West
-
Johny Kadarisman