Displaying matched extension during a call
Hi All, I am new to Freeswitch. So please bear with me if I ask any silly questions. * Can anyone of you please tell me how to display the extension name which has matched an incoming/outgoing call. * And can you please elaborate what does '<action application="info"/>' mean. * Suppose we have set a variable in the extension of the dialplan XML. Is there anyway we can display this variable on CLI for our debugging purposes. Regards, -- Anil Kumar S. R. http://sranil.googlepages.com/ "The best way to succeed in this world is to act on the advice you give to others."
Hello Anil On Mon, Sep 21, Anil Kumar S. R. wrote:
* Can anyone of you please tell me how to display the extension name which has matched an incoming/outgoing call.
In the log you will find something like this 2009-09-21 14:36:15.574827 [INFO] mod_dialplan_xml.c:315 Processing fs->03977304 in context default
* And can you please elaborate what does '<action application="info"/>' mean.
Please see http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_info HTH --FC
On Mon, Sep 21, 2009 at 11:27 AM, Anil Kumar S. R. <sranil@gmail.com> wrote:
Hi All,
I am new to Freeswitch. So please bear with me if I ask any silly questions.
* Can anyone of you please tell me how to display the extension name which has matched an incoming/outgoing call. * And can you please elaborate what does '<action application="info"/>' mean. * Suppose we have set a variable in the extension of the dialplan XML. Is there anyway we can display this variable on CLI for our debugging purposes.
Anil, Here are few links to get started: Handy tutorial: http://www.linuxpromagazine.com/Issues/2009/106/TALK-SOFT Chan vars: http://wiki.freeswitch.org/wiki/Channel_Variables Log app: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_log Note: the info app dumps all sorts of information to the console and is a great way to learn about many of the channel variables that FS has. The log app will make it easy for you to pinpoint just a single channel variable: <action application="log" data="INFO Dialed extension is ${dialed_ext}"/> Have fun! -MC
Thanks Michael for your links. Till now I was working on the command line which we get on executing the 'freeswitch' command. I didn't know abt the 'fs_cli' command. The fs_cli gives lot more information that will be helpful for novice user like me. Thanks, Anil 2009/9/22 Michael Collins <msc@freeswitch.org>
On Mon, Sep 21, 2009 at 11:27 AM, Anil Kumar S. R. <sranil@gmail.com>wrote:
Hi All,
I am new to Freeswitch. So please bear with me if I ask any silly questions.
* Can anyone of you please tell me how to display the extension name which has matched an incoming/outgoing call. * And can you please elaborate what does '<action application="info"/>' mean. * Suppose we have set a variable in the extension of the dialplan XML. Is there anyway we can display this variable on CLI for our debugging purposes.
Anil,
Here are few links to get started: Handy tutorial: http://www.linuxpromagazine.com/Issues/2009/106/TALK-SOFT Chan vars: http://wiki.freeswitch.org/wiki/Channel_Variables Log app: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_log
Note: the info app dumps all sorts of information to the console and is a great way to learn about many of the channel variables that FS has. The log app will make it easy for you to pinpoint just a single channel variable: <action application="log" data="INFO Dialed extension is ${dialed_ext}"/>
Have fun! -MC
_______________________________________________ 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
-- Anil Kumar S. R. http://sranil.googlepages.com/ "The best way to succeed in this world is to act on the advice you give to others."
participants (3)
-
Anil Kumar S. R.
-
Frank Carmickle
-
Michael Collins