VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
uv at yuvalhertzog.com Guest
|
Posted: Sat Feb 07, 2009 8:30 am Post subject: [Freeswitch-users] Global Variables forgotten through thepub |
|
|
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? |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sat Feb 07, 2009 8:33 am Post subject: [Freeswitch-users] Global Variables forgotten through thepub |
|
|
Please do... also make sure you have a context param on your gateway.
/b
On Feb 7, 2009, at 7:30 AM, UV wrote:
Quote: | 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.
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|