Global Variables forgotten through the public context?
Another question: When I try routing calls through the public context to the default context, global variables (set in vars.xml) seem to be “forgotten” and appear blank. I’m trying a very simple scenario of an incoming call on the public context routed to a phone number which is rightfully captured at “local.example.com” but all three variables ${outbound_caller_id_number}, ${outbound_caller_id_name} and ${default_gateway} appear to be blanked out (according to the console debug output). Again, any idea what am I doing wrong?
No the vars are there can you provide more detail on what exactly you're doing? The default config uses the call_debug variable and its a global set in vars.xml. /b On Feb 7, 2009, at 3:40 AM, UV wrote:
Another question: When I try routing calls through the public context to the default context, global variables (set in vars.xml) seem to be “forgotten” and appear blank. I’m trying a very simple scenario of an incoming call on the public context routed to a phone number which is rightfully captured at “local.example.com” but all three variables $ {outbound_caller_id_number}, ${outbound_caller_id_name} and $ {default_gateway} appear to be blanked out (according to the console debug output).
Again, any idea what am I doing wrong?
I took the out-of-the-box public context dialplan, added an entry to dial a 10 digit number through the default context and when it ran, I noticed in the console log that all the values below are either null or empty. To be more specific: In the public context I’ve added this extension in the beginning: <extension name="UV_caller"> <condition field="destination_number" expression="^123456$"> <action application="transfer" data="1555123456 XML default"/> </condition> </extension> If you want, I can pastebin the log for you to see. It would be easier for you to replicate it yourself and see. It’s quite easy to replicate. _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, February 07, 2009 8:51 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Global Variables forgotten through thepublic context? No the vars are there can you provide more detail on what exactly you're doing? The default config uses the call_debug variable and its a global set in vars.xml. /b On Feb 7, 2009, at 3:40 AM, UV wrote: Another question: When I try routing calls through the public context to the default context, global variables (set in vars.xml) seem to be “forgotten” and appear blank. I’m trying a very simple scenario of an incoming call on the public context routed to a phone number which is rightfully captured at “local.example.com” but all three variables ${outbound_caller_id_number}, ${outbound_caller_id_name} and ${default_gateway} appear to be blanked out (according to the console debug output). Again, any idea what am I doing wrong? No virus found in this incoming message. Checked by AVG i www.avg.com Version: 8.0.233 / Virus Database: 270.10.18/1937 i Release Date: 02/06/09 11:31:00
Please do... also make sure you have a context param on your gateway. /b On Feb 7, 2009, at 7:30 AM, UV wrote:
I took the out-of-the-box public context dialplan, added an entry to dial a 10 digit number through the default context and when it ran, I noticed in the console log that all the values below are either null or empty.
To be more specific: In the public context I’ve added this extension in the beginning: <extension name="UV_caller"> <condition field="destination_number" expression="^123456$"> <action application="transfer" data="1555123456 XML default"/> </condition> </extension>
If you want, I can pastebin the log for you to see. It would be easier for you to replicate it yourself and see. It’s quite easy to replicate.
Will do. Now I have a little problem delaying me as the latest build changed something with the sound file playing and now the FS can’t find any local file to play (adds mysterious \16000\ to the file location…). I’ll try to isolate this first then get back to this issue. _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Sunday, February 08, 2009 12:33 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Global Variables forgotten through thepubliccontext? Please do... also make sure you have a context param on your gateway. /b On Feb 7, 2009, at 7:30 AM, UV wrote: I took the out-of-the-box public context dialplan, added an entry to dial a 10 digit number through the default context and when it ran, I noticed in the console log that all the values below are either null or empty. To be more specific: In the public context I’ve added this extension in the beginning: <extension name="UV_caller"> <condition field="destination_number" expression="^123456$"> <action application="transfer" data="1555123456 XML default"/> </condition> </extension> If you want, I can pastebin the log for you to see. It would be easier for you to replicate it yourself and see. It’s quite easy to replicate. No virus found in this incoming message. Checked by AVG i www.avg.com Version: 8.0.233 / Virus Database: 270.10.18/1937 i Release Date: 02/06/09 11:31:00
Its trying to open the file to match the current channel rate... you can install the 16k files via "make hd-sounds-install hd-moh-install" /b On Feb 7, 2009, at 9:26 AM, UV wrote:
Will do. Now I have a little problem delaying me as the latest build changed something with the sound file playing and now the FS can’t find any local file to play (adds mysterious \16000\ to the file location…). I’ll try to isolate this first then get back to this issue.
Yeah, I have all the sounds installed. I don’t think it’s that. I’m getting error messages such as “[ERR] mod_sndfile.c:185 sndfile_file_open() Error Opening File [E:\FS/sounds/en/us/callie\voicemail/8000\16000\vm-goodbye.w] [System error : The system cannot find the path specified.]” all across the board. The only thing still working is MoH… This started from one of yesterday’s builds (r11665 – 11678). _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Sunday, February 08, 2009 5:31 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Global Variables forgotten throughthepubliccontext? Its trying to open the file to match the current channel rate... you can install the 16k files via "make hd-sounds-install hd-moh-install" /b On Feb 7, 2009, at 9:26 AM, UV wrote: Will do. Now I have a little problem delaying me as the latest build changed something with the sound file playing and now the FS can’t find any local file to play (adds mysterious \16000\ to the file location…). I’ll try to isolate this first then get back to this issue. No virus found in this incoming message. Checked by AVG i www.avg.com Version: 8.0.233 / Virus Database: 270.10.18/1937 i Release Date: 02/06/09 11:31:00
You have a \ somewhere in your path... which doesn't make sense... you're on windows. Can you open a jira... I think this was the cause http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/formats/mod_sndfile/... /b On Feb 7, 2009, at 6:46 PM, UV wrote:
Yeah, I have all the sounds installed. I don’t think it’s that. I’m getting error messages such as “[ERR] mod_sndfile.c:185 sndfile_file_open() Error Opening File [E:\FS/sounds/en/us/callie \voicemail/8000\16000\vm-goodbye.w] [System error : The system cannot find the path specified.]” all across the board. The only thing still working is MoH… This started from one of yesterday’s builds (r11665 – 11678).
should be fixed in latest trunk On Sat, Feb 7, 2009 at 7:56 PM, Brian West <brian@freeswitch.org> wrote:
You have a \ somewhere in your path... which doesn't make sense... you're on windows.
Can you open a jira... I think this was the cause http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/formats/mod_sndfile/...
/b
On Feb 7, 2009, at 6:46 PM, UV wrote:
Yeah, I have all the sounds installed. I don't think it's that. I'm getting error messages such as "[ERR] mod_sndfile.c:185 sndfile_file_open() Error Opening File [E:\FS/sounds/en/us/callie\voicemail/ *8000\16000*\vm-goodbye.w] [System error : The system cannot find the path specified.]" all across the board. The only thing still working is MoH… This started from one of yesterday's builds (r11665 – 11678).
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
this was the wrong thread, i have no idea if this is fixed or is even a real issue. On Mon, Feb 9, 2009 at 2:03 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
should be fixed in latest trunk
On Sat, Feb 7, 2009 at 7:56 PM, Brian West <brian@freeswitch.org> wrote:
You have a \ somewhere in your path... which doesn't make sense... you're on windows.
Can you open a jira... I think this was the cause http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/formats/mod_sndfile/...
/b
On Feb 7, 2009, at 6:46 PM, UV wrote:
Yeah, I have all the sounds installed. I don't think it's that. I'm getting error messages such as "[ERR] mod_sndfile.c:185 sndfile_file_open() Error Opening File [E:\FS/sounds/en/us/callie\voicemail/ *8000\16000*\vm-goodbye.w] [System error : The system cannot find the path specified.]" all across the board. The only thing still working is MoH… This started from one of yesterday's builds (r11665 – 11678).
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Brian West
-
UV