What is the difference between something@$${domain} and something${domain} ? Both seem to work . Rgds Henk
If you notice in the config you have $${something} its expanded in the config and parsed at load time.... ${something} will be parsed every time its seen ie when you traverse the dialplan. So the config file is parsed and written out to log/ freeswitch.xml.fsxml which is where the $${domain} would be expanded to the value of domain. /b On Aug 15, 2008, at 1:12 PM, Henk Oegema wrote:
What is the difference between something@$${domain} and something${domain} ?
Both seem to work .
Rgds Henk
Brian West sip:brian@freeswitch.org
On Friday 15 August 2008 20:17:59 Brian West wrote:
If you notice in the config you have $${something} its expanded in the config and parsed at load time.... ${something} will be parsed every time its seen ie when you traverse the dialplan.
So the config file is parsed and written out to log/ freeswitch.xml.fsxml which is where the $${domain} would be expanded to the value of domain.
Thanks Brian. It's clear now. Henk
On Fri, 2008-08-15 at 13:17 -0500, Brian West wrote:
If you notice in the config you have $${something} its expanded in the config and parsed at load time.... ${something} will be parsed every time its seen ie when you traverse the dialplan.
is this somewhere explained in the wiki? (in such a clear way?)
So the config file is parsed and written out to log/ freeswitch.xml.fsxml which is where the $${domain} would be expanded to the value of domain.
wow, both very useful informations for me. a guess the lineumber if i reloadxml refers to that freeswitch.xml.fsxml. it would be great if freeswitch had told me this. somthing like: %< freeswitch@voice> reloadxml API CALL [reloadxml()] output: +OK [[error: look near line 145 in log/freeswitch.xml.fsxml for details]: unexpected closing tag </caller-controls>]
%
t.
t wrote:
On Fri, 2008-08-15 at 13:17 -0500, Brian West wrote:
If you notice in the config you have $${something} its expanded in the config and parsed at load time.... ${something} will be parsed every time its seen ie when you traverse the dialplan.
is this somewhere explained in the wiki? (in such a clear way?)
Yes, although I have today clarified based on Brian's comments above: http://wiki.freeswitch.org/wiki/Channel_Variables and click "2 ${variable} vs. $${variable}" Hopefully my text is accurate. You are forgiven for not finding this document. I have spent all morning finding useful nuggets of information and attempting to cross-link related pages on the wiki. James
participants (4)
-
Brian West
-
Henk Oegema
-
James Green
-
t