Audio "clicks" between playback of audio files
I'm implementing an IVR solution for FreeSWITCH, but I have a little problem with audio playback. I'm just calling into application park, and then handle the flow using the event socket. All my audio phrases are .PCMA (8KHz a-law), and I play lots of files after eachother. Between each file I can sometimes here a little "click", even though I'm 100% sure that this is not from my files. My guess is that it might be caused of the fact that no RTP is sent at all when the phrase is not playing. If I merge the files together before playing them it sounds just fine. Is it possible to make FreeSWITCH send silence frames, even when not needed? I know this is a waste of resources, but it will still make the solution sound much better. Regards Peter Olsson
Have you tried wav files? /b On May 11, 2009, at 8:34 AM, Peter Olsson wrote:
I’m implementing an IVR solution for FreeSWITCH, but I have a little problem with audio playback. I’m just calling into application park, and then handle the flow using the event socket.
All my audio phrases are .PCMA (8KHz a-law), and I play lots of files after eachother. Between each file I can sometimes here a little “click”, even though I’m 100% sure that this is not from my files. My guess is that it might be caused of the fact that no RTP is sent at all when the phrase is not playing. If I merge the files together before playing them it sounds just fine.
Is it possible to make FreeSWITCH send silence frames, even when not needed? I know this is a waste of resources, but it will still make the solution sound much better.
Regards
Peter Olsson
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Brian, Thanks for the response. No, I didn't try wav files - and I'd prefer to keep the current codec if that's possible. But I could give it a try and see what happens. Do you think it might only be related to the native files in FS? //Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West Skickat: den 11 maj 2009 16:09 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Audio "clicks" between playback of audio files Have you tried wav files? /b On May 11, 2009, at 8:34 AM, Peter Olsson wrote: I'm implementing an IVR solution for FreeSWITCH, but I have a little problem with audio playback. I'm just calling into application park, and then handle the flow using the event socket. All my audio phrases are .PCMA (8KHz a-law), and I play lots of files after eachother. Between each file I can sometimes here a little "click", even though I'm 100% sure that this is not from my files. My guess is that it might be caused of the fact that no RTP is sent at all when the phrase is not playing. If I merge the files together before playing them it sounds just fine. Is it possible to make FreeSWITCH send silence frames, even when not needed? I know this is a waste of resources, but it will still make the solution sound much better. Regards Peter Olsson Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> !DSPAM:4a08332632931845617996!
I'm not sure. Can you provide me a test file and a known case that you can produce this issue with? /b On May 11, 2009, at 9:20 AM, Peter Olsson wrote:
Brian,
Thanks for the response. No, I didn’t try wav files – and I’d prefer to keep the current codec if that’s possible. But I could give it a try and see what happens.
Do you think it might only be related to the native files in FS?
//Peter
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
The problem is that it's not 100% reproducable. Sometimes I can play 2-3-4 files, and it sounds great, sometimes it "clicks" louder, somtimes not so much. I could get a Wireshark dump for you, could that help? Regards, Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West Skickat: den 11 maj 2009 16:24 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Audio "clicks" between playback of audio files I'm not sure. Can you provide me a test file and a known case that you can produce this issue with? /b On May 11, 2009, at 9:20 AM, Peter Olsson wrote: Brian, Thanks for the response. No, I didn't try wav files - and I'd prefer to keep the current codec if that's possible. But I could give it a try and see what happens. Do you think it might only be related to the native files in FS? //Peter Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> !DSPAM:4a08362532934700715407!
What phone are you using? /b On May 11, 2009, at 9:40 AM, Peter Olsson wrote:
The problem is that it’s not 100% reproducable. Sometimes I can play 2-3-4 files, and it sounds great, sometimes it “clicks” louder, somtimes not so much. I could get a Wireshark dump for you, could that help?
Regards,
Peter
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
In this case I'm using Avaya Phones connected to a Avaya CM PBX, which talks SIP to FreeSWITCH. But I'll try to connect a SIP phone directly as well - to see if it makes any difference. I Have a Polycom IP550 I can use for some testing. I've used the exact same setup using yate, and that worked fine, but I think one difference is that it sends rtp even when not playing files, so that's why I thought that could be an issue. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West Skickat: den 11 maj 2009 16:43 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Audio "clicks" between playback of audio files What phone are you using? /b On May 11, 2009, at 9:40 AM, Peter Olsson wrote: The problem is that it's not 100% reproducable. Sometimes I can play 2-3-4 files, and it sounds great, sometimes it "clicks" louder, somtimes not so much. I could get a Wireshark dump for you, could that help? Regards, Peter Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> !DSPAM:4a083a8d32932061814324!
I am having difficulty making an outbound call. I have read the wiki many times, but I am missing something. First, after setting up a gateway xml file, should that gateway show in the FS console after issuing the 'reloadxml' command? It does not. Can anyone give me a push? Thanks, Lars API CALL [sofia(status)] output: Name Type Data State ============================================================================ ===================== external profile sip:mod_sofia@64.105.128.82:5080 RUNNING (0) example.com gateway sip:joeuser@example.com NOREG internal profile sip:mod_sofia@192.168.10.29:5090 RUNNING (0) 192.168.10.29 alias internal ALIASED internal-ipv6 profile sip:mod_sofia@[::1]:5090 RUNNING (0) default alias internal ALIASED nat alias external ALIASED outbound alias external ALIASED in conf/directory/default/flowroute.com.xml: <include> <gateway name="flowroute"> <param name="username" value="flowrouteAccount"/> <param name="from-domain" value="sip.flowroute.com"/> <param name="password" value="password"/> <param name="extension" value="flowrouteAccount"/> <param name="realm" value="sip.flowroute.com"/> <param name="proxy" value="sip.flowroute.com"/> <param name="expire-seconds" value="3600"/> <param name="register" value="true"/> <param name="retry-seconds" value="3600"/> <param name="caller-id-in-from" value="true"/> </gateway> </include> in conf/dialplan/default/02_long_distance.xml: <!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here --> <extension name="Long Distance - flowroute"> <condition field="destination_number" expression="^(1{0,1}\d{10})$"> <action application="set" data="effective_caller_id_number=10000000000"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/flowroute/flowrouteAccount#$1"/> </condition> </extension> Dialplan: sofia/internal/1000@192.168.10.29:5090 Regex (PASS) [Long Distance - flowroute] destination_number(3235551212) =~ /^(1{0,1}\d{10})$/ break=on-false Dialplan: sofia/internal/1000@192.168.10.29:5090 Action set(effective_caller_id_number=10000000000) Dialplan: sofia/internal/1000@192.168.10.29:5090 Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/internal/1000@192.168.10.29:5090 Action bridge(sofia/gateway/flowroute/flowrouteAccount#3235551212) 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:114 switch_core_standard_on_routing() (sofia/internal/1000@192.168.10.29:5090) State Change CS_ROUTING -> CS_EXECUTE 2009-05-11 14:05:41 [DEBUG] switch_core_session.c:933 switch_core_session_signal_state_change() Send signal sofia/internal/1000@192.168.10.29:5090 [BREAK] 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:483 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) State ROUTING going to sleep 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) Running State Change CS_EXECUTE 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:490 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) State EXECUTE 2009-05-11 14:05:41 [DEBUG] mod_sofia.c:173 sofia_on_execute() sofia/internal/1000@192.168.10.29:5090 SOFIA EXECUTE 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:151 switch_core_standard_on_execute() sofia/internal/1000@192.168.10.29:5090 Standard EXECUTE EXECUTE sofia/internal/1000@192.168.10.29:5090 set(open=true) 2009-05-11 14:05:41 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [open]=[true] EXECUTE sofia/internal/1000@192.168.10.29:5090 set(use_profile=nat) 2009-05-11 14:05:41 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [use_profile]=[nat] EXECUTE sofia/internal/1000@192.168.10.29:5090 set_user(default@192.168.10.29) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/192.168.10.29-spymap/1000/7c7baffc-3e6f-11de-9b6b-7ba002f89c82) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/192.168.10.29-last_dial/1000/3235551212) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/192.168.10.29-last_dial/global/7c7baffc-3e6f-11de-9b6b-7ba002f89 c82) EXECUTE sofia/internal/1000@192.168.10.29:5090 set(effective_caller_id_number=10000000000) 2009-05-11 14:05:41 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [effective_caller_id_number]=[10000000000] EXECUTE sofia/internal/1000@192.168.10.29:5090 set(effective_caller_id_name=FreeSWITCH) 2009-05-11 14:05:41 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [effective_caller_id_name]=[FreeSWITCH] EXECUTE sofia/internal/1000@192.168.10.29:5090 bridge(sofia/gateway/flowroute/flowrouteAccount#3235551212) 2009-05-11 14:05:41 [ERR] mod_sofia.c:2531 sofia_outgoing_channel() Invalid Gateway 2009-05-11 14:05:41 [NOTICE] mod_sofia.c:2744 sofia_outgoing_channel() Close Channel N/A [CS_NEW] 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (N/A) State DESTROY 2009-05-11 14:05:41 [DEBUG] mod_sofia.c:240 sofia_on_destroy() N/A SOFIA DESTROY 2009-05-11 14:05:41 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (N/A) State DESTROY going to sleep 2009-05-11 14:05:41 [ERR] switch_ivr_originate.c:1494 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
Try this ^1?(\d{10})$ and this sofia/gateway/flowroute/flowrouteAccount#1$1 /b On May 11, 2009, at 4:38 PM, Lars Zeb wrote:
in conf/dialplan/default/02_long_distance.xml: <!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here --> <extension name="Long Distance - flowroute"> <condition field="destination_number" expression="^(1{0,1}\d{10}) $"> <action application="set" data="effective_caller_id_number=10000000000"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/flowroute/ flowrouteAccount#$1"/> </condition> </extension>
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
I'm sorry, but do not understand what it is that I should try. Are you saying to change the data attribute in the action command of the dialplan? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, May 11, 2009 2:58 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Can't configure outbound call Try this ^1?(\d{10})$ and this sofia/gateway/flowroute/flowrouteAccount#1$1 /b On May 11, 2009, at 4:38 PM, Lars Zeb wrote:
in conf/dialplan/default/02_long_distance.xml: <!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here --> <extension name="Long Distance - flowroute"> <condition field="destination_number" expression="^(1{0,1}\d{10}) $"> <action application="set" data="effective_caller_id_number=10000000000"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/flowroute/ flowrouteAccount#$1"/> </condition> </extension>
Brian West brian@freeswitch.org -- Meet us at ClueCon! 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
You want to collect 11 or 10 digits and send it out flowroute which requires 1+ number. The 1? makes the one optional. So now we only collect 10 digits and append the on in the bridge line. <extension name="Long Distance - flowroute"> <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="effective_caller_id_number=10000000000"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/flowroute/ flowrouteAccount#1$1"/> </condition> </extension> /b On May 11, 2009, at 5:23 PM, Lars Zeb wrote:
I'm sorry, but do not understand what it is that I should try. Are you saying to change the data attribute in the action command of the dialplan?
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Thanks for the clarification. It made sense, but the results remain the same. The log still says 'Invalid Gateway' and 'sofia status' at the console does not show flowroute. Dialplan: sofia/internal/1000@192.168.10.29:5090 Regex (PASS) [Long Distance - flowroute] destination_number(3235551212) =~ /^1?(\d{10})$/ break=on-false Dialplan: sofia/internal/1000@192.168.10.29:5090 Action set(effective_caller_id_number=13235555555) Dialplan: sofia/internal/1000@192.168.10.29:5090 Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/internal/1000@192.168.10.29:5090 Action bridge(sofia/gateway/flowroute/flowrouteAccount#13235551212) 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:114 switch_core_standard_on_routing() (sofia/internal/1000@192.168.10.29:5090) State Change CS_ROUTING -> CS_EXECUTE 2009-05-11 16:43:47 [DEBUG] switch_core_session.c:933 switch_core_session_signal_state_change() Send signal sofia/internal/1000@192.168.10.29:5090 [BREAK] 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:483 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) State ROUTING going to sleep 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) Running State Change CS_EXECUTE 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:490 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) State EXECUTE 2009-05-11 16:43:47 [DEBUG] mod_sofia.c:173 sofia_on_execute() sofia/internal/1000@192.168.10.29:5090 SOFIA EXECUTE 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:151 switch_core_standard_on_execute() sofia/internal/1000@192.168.10.29:5090 Standard EXECUTE EXECUTE sofia/internal/1000@192.168.10.29:5090 set(open=true) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [open]=[true] EXECUTE sofia/internal/1000@192.168.10.29:5090 set(use_profile=nat) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [use_profile]=[nat] EXECUTE sofia/internal/1000@192.168.10.29:5090 set_user(default@192.168.10.29) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/192.168.10.29-spymap/1000/924426fa-3e85-11de-9b6b-7ba002f89c82) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/192.168.10.29-last_dial/1000/3235551212) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/192.168.10.29-last_dial/global/924426fa-3e85-11de-9b6b-7ba002f89 c82) EXECUTE sofia/internal/1000@192.168.10.29:5090 set(effective_caller_id_number=13235555555) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [effective_caller_id_number]=[13235555555] EXECUTE sofia/internal/1000@192.168.10.29:5090 set(effective_caller_id_name=FreeSWITCH) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29:5090 SET [effective_caller_id_name]=[FreeSWITCH] EXECUTE sofia/internal/1000@192.168.10.29:5090 bridge(sofia/gateway/flowroute/flowrouteAccount#13235551212) 2009-05-11 16:43:47 [ERR] mod_sofia.c:2531 sofia_outgoing_channel() Invalid Gateway 2009-05-11 16:43:47 [NOTICE] mod_sofia.c:2744 sofia_outgoing_channel() Close Channel N/A [CS_NEW] 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (N/A) State DESTROY 2009-05-11 16:43:47 [DEBUG] mod_sofia.c:240 sofia_on_destroy() N/A SOFIA DESTROY 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (N/A) State DESTROY going to sleep 2009-05-11 16:43:47 [ERR] switch_ivr_originate.c:1494 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT] From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, May 11, 2009 3:28 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Can't configure outbound call You want to collect 11 or 10 digits and send it out flowroute which requires 1+ number. The 1? makes the one optional. So now we only collect 10 digits and append the on in the bridge line. <extension name="Long Distance - flowroute"> <condition field="destination_number" expression="^1?(\d{10})$"> <action application="set" data="effective_caller_id_number=10000000000"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/flowroute/flowrouteAccount#1$1"/> </condition> </extension> /b On May 11, 2009, at 5:23 PM, Lars Zeb wrote: I'm sorry, but do not understand what it is that I should try. Are you saying to change the data attribute in the action command of the dialplan? Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Please contact your provider for assistance. I can't guess what they might want! /b On May 11, 2009, at 6:51 PM, Lars Zeb wrote:
Thanks for the clarification. It made sense, but the results remain the same. The log still says ‘Invalid Gateway’ and ‘sofia status’ at the console does not show flowroute.
Dialplan: sofia/internal/1000@192.168.10.29:5090 Regex (PASS) [Long Distance - flowroute] destination_number(3235551212) =~ /^1?(\d{10}) $/ break=on-false Dialplan: sofia/internal/1000@192.168.10.29:5090 Action set(effective_caller_id_number=13235555555) Dialplan: sofia/internal/1000@192.168.10.29:5090 Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/internal/1000@192.168.10.29:5090 Action bridge(sofia/ gateway/flowroute/flowrouteAccount#13235551212) 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:114 switch_core_standard_on_routing() (sofia/internal/ 1000@192.168.10.29:5090) State Change CS_ROUTING -> CS_EXECUTE 2009-05-11 16:43:47 [DEBUG] switch_core_session.c:933 switch_core_session_signal_state_change() Send signal sofia/internal/1000@192.168.10.29 :5090 [BREAK] 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:483 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) State ROUTING going to sleep 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:397 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) Running State Change CS_EXECUTE 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:490 switch_core_session_run() (sofia/internal/1000@192.168.10.29:5090) State EXECUTE 2009-05-11 16:43:47 [DEBUG] mod_sofia.c:173 sofia_on_execute() sofia/internal/1000@192.168.10.29 :5090 SOFIA EXECUTE 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:151 switch_core_standard_on_execute() sofia/internal/ 1000@192.168.10.29:5090 Standard EXECUTE EXECUTE sofia/internal/1000@192.168.10.29:5090 set(open=true) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29 :5090 SET [open]=[true] EXECUTE sofia/internal/1000@192.168.10.29:5090 set(use_profile=nat) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29 :5090 SET [use_profile]=[nat] EXECUTE sofia/internal/1000@192.168.10.29:5090 set_user(default@192.168.10.29 ) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/ 192.168.10.29-spymap/1000/924426fa-3e85-11de-9b6b-7ba002f89c82) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/ 192.168.10.29-last_dial/1000/3235551212) EXECUTE sofia/internal/1000@192.168.10.29:5090 hash(insert/ 192.168.10.29-last_dial/global/924426fa-3e85-11de-9b6b-7ba002f89c82) EXECUTE sofia/internal/1000@192.168.10.29:5090 set(effective_caller_id_number=13235555555) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29 :5090 SET [effective_caller_id_number]=[13235555555] EXECUTE sofia/internal/1000@192.168.10.29:5090 set(effective_caller_id_name=FreeSWITCH) 2009-05-11 16:43:47 [DEBUG] mod_dptools.c:748 set_function() sofia/internal/1000@192.168.10.29 :5090 SET [effective_caller_id_name]=[FreeSWITCH] EXECUTE sofia/internal/1000@192.168.10.29:5090 bridge(sofia/gateway/ flowroute/flowrouteAccount#13235551212) 2009-05-11 16:43:47 [ERR] mod_sofia.c:2531 sofia_outgoing_channel() Invalid Gateway 2009-05-11 16:43:47 [NOTICE] mod_sofia.c:2744 sofia_outgoing_channel() Close Channel N/A [CS_NEW] 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (N/A) State DESTROY 2009-05-11 16:43:47 [DEBUG] mod_sofia.c:240 sofia_on_destroy() N/A SOFIA DESTROY 2009-05-11 16:43:47 [DEBUG] switch_core_state_machine.c:559 switch_core_session_destroy_state() (N/A) State DESTROY going to sleep 2009-05-11 16:43:47 [ERR] switch_ivr_originate.c:1494 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
On May 11, 2009, at 7:51 PM, Lars Zeb wrote:
Thanks for the clarification. It made sense, but the results remain the same. The log still says ‘Invalid Gateway’ and ‘sofia status’ at the console does not show flowroute.
It sounds like sofia hasn't picked up your new gateway yet. Have you tried something like the below yet? sofia profile external rescan reloadxml -Dale
I am a total newbie. I have set up FS on CentOS with this group's help. I can make an outbound call via an ITSP (flowroute). I have struggled receiving a call. Freeswitch does not answer when I dial the DID from outside. I already have an Asterisk box on the LAN with SIP port at 5060. So I asked the group what to do and the reply was to change the sip port in vars.xml, which I did. But ignorantly (I think) I set the internal_sip_port=5090, rather than the external_sip_port. It dawned on me that I might have made this mistake when I look at: freeswitch@fs> sofia status API CALL [sofia(status)] output: Name Type Data State ============================================================================ ===================== internal profile sip:mod_sofia@192.168.10.29:5090 RUNNING (0) external profile sip:mod_sofia@64.105.128.82:5080 RUNNING (0) example.com gateway sip:joeuser@example.com NOREG flowroute gateway sip:77505382@sip.flowroute.com REGED 192.168.10.29 alias internal ALIASED internal-ipv6 profile sip:mod_sofia@[::1]:5090 RUNNING (0) default alias internal ALIASED nat alias external ALIASED outbound alias external ALIASED ============================================================================ ===================== 3 profiles 4 aliases So if I change external_sip_port=5090, I think I should be OK. However, the 64.105.128.82 is not correct. Since I had to create a new SIP port at 5090, I had to tell my hardware firewall about it. So I created SIP=5090 at 64.105.128.83 (the Asterisk box is sitting at 64.105.128.82). How is FS getting 64.105.128.82 in 'sofia status' and how can I change that to 64.105.128.83? Thanks, Lars
Its guessing the IP you'll have to set it to the IP you want by opening up the sofia profile in sip_profiles/internal.xml and external.xml and specify the EXACT IP to use. On another note please stop hijacking threads. /b On May 14, 2009, at 3:21 PM, Lars Zeb wrote:
How is FS getting 64.105.128.82 in ‘sofia status’ and how can I change that to 64.105.128.83?
Thanks, Lars
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Sorry about hijacking, but please tell me how I did that so I can avoid it in the future. I merely sent a message to freeswitch-users@lists.freeswitch.org with a subject of 'Help configuring external profile'. If there's another to post a question, I'd be glad to do it. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, May 14, 2009 1:27 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Help configuring external profile Its guessing the IP you'll have to set it to the IP you want by opening up the sofia profile in sip_profiles/internal.xml and external.xml and specify the EXACT IP to use. On another note please stop hijacking threads. /b On May 14, 2009, at 3:21 PM, Lars Zeb wrote: How is FS getting 64.105.128.82 in 'sofia status' and how can I change that to 64.105.128.83? Thanks, Lars Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Make sure you click new message and input the address... If you click reply.. change the subject and the body thats how you end up hijacking threads! ;) /b On May 14, 2009, at 3:39 PM, Lars Zeb wrote:
Sorry about hijacking, but please tell me how I did that so I can avoid it in the future. I merely sent a message to freeswitch-users@lists.freeswitch.org with a subject of ‘Help configuring external profile’. If there’s another to post a question, I’d be glad to do it.
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Lars, just start a new message and type in the address instead of editing an existing message to the list. On Thu, May 14, 2009 at 2:39 PM, Lars Zeb <larclap@yahoo.com> wrote:
Sorry about hijacking, but please tell me how I did that so I can avoid it in the future. I merely sent a message to freeswitch-users@lists.freeswitch.org with a subject of ‘Help configuring external profile’. If there’s another to post a question, I’d be glad to do it.
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Brian West *Sent:* Thursday, May 14, 2009 1:27 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Help configuring external profile
Its guessing the IP you'll have to set it to the IP you want by opening up the sofia profile in sip_profiles/internal.xml and external.xml and specify the EXACT IP to use.
On another note please stop hijacking threads.
/b
On May 14, 2009, at 3:21 PM, Lars Zeb wrote:
How is FS getting 64.105.128.82 in ‘sofia status’ and how can I change that to 64.105.128.83?
Thanks, Lars
Brian West
brian@freeswitch.org
-- Meet us at ClueCon! 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
The one you emailed anthony about the invite... 487 repeat stuff.. can you give me more details on what might be going on? /b On May 11, 2009, at 5:23 PM, Lars Zeb wrote:
I'm sorry, but do not understand what it is that I should try. Are you saying to change the data attribute in the action command of the dialplan?
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
I believe you're talking about the FS sending out an ICMP in response to the client's invite, which resulted in 'ICMP Destination unreachable'. He told me to turn iptables off, which I did. Then the Eyebeam registered successfully. I don't know what the '487 repeat stuff' was. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, May 11, 2009 7:59 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Can't configure outbound call The one you emailed anthony about the invite... 487 repeat stuff.. can you give me more details on what might be going on? /b On May 11, 2009, at 5:23 PM, Lars Zeb wrote: I'm sorry, but do not understand what it is that I should try. Are you saying to change the data attribute in the action command of the dialplan? Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Haha that's ok I sent that email to you by mistake .... I wondered where that email went! /b Sent from my iPhone On May 11, 2009, at 11:29 PM, "Lars Zeb" <larclap@yahoo.com> wrote:
I believe you’re talking about the FS sending out an ICMP in respons e to the client’s invite, which resulted in ‘ICMP Destination unreachable’. He told me to turn iptables off, which I did. Then th e Eyebeam registered successfully. I don’t know what the ‘487 repeat stuff’ was.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, May 11, 2009 7:59 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Can't configure outbound call
The one you emailed anthony about the invite... 487 repeat stuff.. can you give me more details on what might be going on?
/b
On May 11, 2009, at 5:23 PM, Lars Zeb wrote:
I'm sorry, but do not understand what it is that I should try. Are you saying to change the data attribute in the action command of the dialplan?
Brian West
brian@freeswitch.org
-- Meet us at ClueCon! 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
Brian, After converting all the files to .wav it works great. And it also solved my issue for recording messages. This is good enough for me - even though I guess there might be some issues with native files i FreeSWITCH. Thanks for all your help! /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West Skickat: den 11 maj 2009 16:24 Till: freeswitch-users@lists.freeswitch.org Ämne: Re: [Freeswitch-users] Audio "clicks" between playback of audio files I'm not sure. Can you provide me a test file and a known case that you can produce this issue with? /b On May 11, 2009, at 9:20 AM, Peter Olsson wrote: Brian, Thanks for the response. No, I didn't try wav files - and I'd prefer to keep the current codec if that's possible. But I could give it a try and see what happens. Do you think it might only be related to the native files in FS? //Peter Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> -- Meet us at ClueCon! http://www.cluecon.com<http://www.cluecon.com/> !DSPAM:4a08362532934700715407!
participants (5)
-
Brian West
-
Dale
-
Lars Zeb
-
Luis F Urrea
-
Peter Olsson