Hi, I am generating calls through event socket using originate action to multiple numbers to PSTN network. ES is returning '+OK' for the call not generated. Still the call is not generated. Any help is appreciated. Thanks. -Ashish
+OK doesn't mean the call was generated, it just means that FreeSWITCH received (and processed) the command. You should probably be better served by listening to the events for each one of these calls. There are a few handful events that can tell you if the channel was created, the call was originated, if it was answered and when it was dropped with the drop reason. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ashish gautam Sent: Thursday, April 04, 2013 5:26 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Call not originated through event socket Hi, I am generating calls through event socket using originate action to multiple numbers to PSTN network. ES is returning '+OK' for the call not generated. Still the call is not generated. Any help is appreciated. Thanks. -Ashish
You could also just hop on fs_cli and watch the output while you make a test call with the event socket. Most likely you'll see what's going on. -MC On Thu, Apr 4, 2013 at 10:39 AM, Hector Geraldino < Hector.Geraldino@ipsoft.com> wrote:
+OK doesn’t mean the call was generated, it just means that FreeSWITCH received (and processed) the command.****
** **
You should probably be better served by listening to the events for each one of these calls. There are a few handful events that can tell you if the channel was created, the call was originated, if it was answered and when it was dropped with the drop reason.****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Ashish gautam *Sent:* Thursday, April 04, 2013 5:26 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Call not originated through event socket****
** **
Hi,****
** **
I am generating calls through event socket using originate action to multiple numbers to PSTN network. ES is returning '+OK' for the call not generated. Still the call is not generated.****
** **
Any help is appreciated.****
** **
Thanks.****
** **
-Ashish****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
+1 '/log 9' and watch the debug output. It'll be very clear about what's happening. Most likely there's something wrong about your usage of originate. -Steve On 4 April 2013 19:08, Michael Collins <msc@freeswitch.org> wrote:
You could also just hop on fs_cli and watch the output while you make a test call with the event socket. Most likely you'll see what's going on.
-MC
On Thu, Apr 4, 2013 at 10:39 AM, Hector Geraldino < Hector.Geraldino@ipsoft.com> wrote:
+OK doesn’t mean the call was generated, it just means that FreeSWITCH received (and processed) the command.****
** **
You should probably be better served by listening to the events for each one of these calls. There are a few handful events that can tell you if the channel was created, the call was originated, if it was answered and when it was dropped with the drop reason.****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Ashish gautam *Sent:* Thursday, April 04, 2013 5:26 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Call not originated through event socket*** *
** **
Hi,****
** **
I am generating calls through event socket using originate action to multiple numbers to PSTN network. ES is returning '+OK' for the call not generated. Still the call is not generated.****
** **
Any help is appreciated.****
** **
Thanks.****
** **
-Ashish****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
participants (4)
-
Ashish gautam
-
Hector Geraldino
-
Michael Collins
-
Steven Ayre