Dialplan sending calls to voicemail <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/> voicemail.conf.xml <param name="operator-extension" value="operator XML features"/> <param name="operator-key" value="9"/> features.xml <extension name="operator"> <condition field="destination_number" expression="^(operator|0)$"> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="transfer" data="1000 XML features"/> <action application="transfer" data="operator XML ${domain_name}"/> </condition> </extension> Domain Name - compaya.com pressing 9 .... voice mail operator extension transfer to features context. But ${domain_name} lost the value compaya.com , but now the ${ domain_name} have the IP address. How to get the ${domain_name} value in features context? Thanks and regards, Lloyd On Tue, Dec 28, 2010 at 5:44 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com>wrote:
When I press 9 the call get transfered to the default context. Then I try get the ${domain_name} that is giving the default domain_name. I could not find a way to get the correct voicemal domain_name from the from default context.
xml_curl .... right now I am using xml_curl. All users defined in mysql, then I use a php script for the user informations.
How to use xml_curl for voicemail ? please let me know if there any help/docs on this.
Thanks LLoyd
On Tue, Dec 28, 2010 at 4:29 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, Dec 28, 2010 at 9:57 AM, Aloysius Lloyd <lloyd.aloysius@gmail.com
wrote:
Michael,
Thank you for the suggestion but this is not working . I think because of the the <param name="callback-context" value="default"/>
Please define "not working" - either you press 9 and the call is x-fer'd or it is not. Once it is x-fer'd to the dialplan you should be able to do whatever you want with the call. Or do what bkw says and use xml_curl. -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