Re: [Freeswitch-users] start_tone_detect, but no event is fired
Hi Henry, You can switch the event reporting on using this command for the event you would like to listen to "event [xml/json etc.] LIST/ALL" On Fri, Apr 5, 2013 at 11:55 AM, < freeswitch-users-request@lists.freeswitch.org> wrote:
Send FreeSWITCH-users mailing list submissions to freeswitch-users@lists.freeswitch.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request@lists.freeswitch.org
You can reach the person managing the list at freeswitch-users-owner@lists.freeswitch.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:
1. Re: start_tone_detect, but no event is fired (henry.houfeng) 2. Re: Call not originated through event socket (Ashish gautam)
---------- Forwarded message ---------- From: "henry.houfeng" <henry.houfeng@gmail.com> To: freeswitch-users@lists.freeswitch.org Cc: Date: Thu, 4 Apr 2013 19:16:24 -0700 (PDT) Subject: Re: [Freeswitch-users] start_tone_detect, but no event is fired Anyone can help me? Thanks!
Regards, Henry
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/start-tone-detect-but-no-event... Sent from the freeswitch-users mailing list archive at Nabble.com.
---------- Forwarded message ---------- From: Ashish gautam <ashish@nms.co.in> To: freeswitch-users@lists.freeswitch.org Cc: Date: Fri, 5 Apr 2013 11:54:48 +0530 Subject: Re: [Freeswitch-users] Call not originated through event socket Hi Steven,
Thanks for responding.
I am checking the console at debug level and getting [NORMAL_CIRCUIT_CONGESTION] error. This must not happen as the number of calls I am generating is only 4. What is happening is, the ES generates calls to all the numbers except the last one (it always fails for the last number and shows NORMAL_CIRCUIT_CONGESTION). If the problem would be in originate dialstring, calls to other numbers would also be unsuccessful but they are working fine.
Thanks. -Ashish
On Fri, Apr 5, 2013 at 12:17 AM, < freeswitch-users-request@lists.freeswitch.org> wrote:
Send FreeSWITCH-users mailing list submissions to freeswitch-users@lists.freeswitch.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeswitch.org/mailman/listinfo/freeswitch-users or, via email, send a message with subject or body 'help' to freeswitch-users-request@lists.freeswitch.org
You can reach the person managing the list at freeswitch-users-owner@lists.freeswitch.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:
1. Re: One of my extensions Caller ID says Anonymous! (Vik Killa) 2. Re: freeswitch say application currency in multipal language (Michael Collins) 3. Re: One of my extensions Caller ID says Anonymous! (Avi Marcus) 4. Re: Call not originated through event socket (Steven Ayre)
---------- Forwarded message ---------- From: Vik Killa <vipkilla@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Thu, 4 Apr 2013 14:13:26 -0400 Subject: Re: [Freeswitch-users] One of my extensions Caller ID says Anonymous! Please let us know if and how you get it resolved. I'll do the same if I can figure it out. Thanks.
<snip>
---------- Forwarded message ---------- From: Michael Collins <msc@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Thu, 4 Apr 2013 11:14:52 -0700 Subject: Re: [Freeswitch-users] freeswitch say application currency in multipal language I don't believe that there is currently a way to do this easily right now. We just spoke about languages on yesterday's conference call and this is a prime example of the kinds of things that we will need to overcome.
Additionally I don't believe that I have any currencies other than dollar.wav and dollars.wav for the English sounds. I'll be glad to get them ordered. Could the community at large send me some ideas for units of currency? Here are a few ideas:
euro, euros franc, francs Canadian, Australian, US dollar/dollars pound, pounds
Send me some more ideas and I will get them added to the to-be-recorded list.
-MC
On Thu, Apr 4, 2013 at 1:52 AM, bhavik patel <bhavikpatel14388@gmail.com>wrote:
Hi all, I use free switch and i want to play sounds file like if user has credit in USD then doller.wav file play and EUR then another file will be play.
Currently it play doller.wav by default in /usr/local/freeswitch/sounds/currency/en/doller.wav but i want to play EUR so how can this possible.
Is that any easy way to do this thing in multi language currency play in say application.
i use this syntax in my free-switch dial plan $dialstring = "<action application=\"say\" data=\"en CURRENCY PRONOUNCED $credit_balance\"/>";
Thanks In advance...
-- Thanks, Bhavik Patel
_________________________________________________________________________ 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
---------- Forwarded message ---------- From: Avi Marcus <avi@avimarcus.net> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Thu, 4 Apr 2013 21:16:04 +0300 Subject: Re: [Freeswitch-users] One of my extensions Caller ID says Anonymous! Indeed, outbound_caller_id_name is just a variable.
To use it you have to tell the dialplan to set effective_caller_id_name=${outbound_caller_id_name}. effective_caller_id_name IS a variable that actually gets used. (The default dialplan does this.)
-Avi Marcus BestFone
On Thu, Apr 4, 2013 at 8:26 PM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
In my directory, I set the variable "effective_caller_id_name" instead of "internal_caller_id_name". (I also set the "outbound_caller_id_name" variable just like your example, although that never seems to get sent to the PSTN.)
-- Steve
_________________________________________________________________________ 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
---------- Forwarded message ---------- From: Steven Ayre <steveayre@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Thu, 4 Apr 2013 19:46:22 +0100 Subject: Re: [Freeswitch-users] Call not originated through event socket +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
_______________________________________________ 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
_______________________________________________ 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
Thanks for your reply. Yes, I already turned on ALL events list this: $con->events('plain','all'); And I am watching the log as well. I have set loglevel to 9 like this: sofia loglevel all 9 I captured IP packets with wireshark. The voice codec is G711U. And the RTP stream of early media can be replayed by wireshark. But no event is fired. Regards, Henry -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/start-tone-detect-but-no-event... Sent from the freeswitch-users mailing list archive at Nabble.com.
How are you invoking tone_detect? Perhaps the frequencies you're after are t present in the call, or its too noisy Steve On 5 Apr 2013, at 09:50, "henry.houfeng" <henry.houfeng@gmail.com> wrote:
Thanks for your reply.
Yes, I already turned on ALL events list this: $con->events('plain','all');
And I am watching the log as well. I have set loglevel to 9 like this: sofia loglevel all 9
I captured IP packets with wireshark. The voice codec is G711U. And the RTP stream of early media can be replayed by wireshark. But no event is fired.
Regards, Henry
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/start-tone-detect-but-no-event... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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 (3)
-
Ashish gautam
-
henry.houfeng
-
Steven Ayre