<font class="Apple-style-span" face="verdana, sans-serif">There is a mistake in the last email . Please ignore. </font><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><div>
Dialplan sending calls to voicemail</div><div><br></div><div><action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div><div><br></div><div>voicemail.conf.xml</div>
<div><br></div><div> <param name="operator-extension" value="operator XML features"/></div><div> <param name="operator-key" value="9"/></div><div><br></div><div>features.xml</div>
<div><br></div><div> <extension name="operator"></div><div> <condition field="destination_number" expression="^(operator|0)$"></div><div> <action application="set" data="transfer_ringback=$${hold_music}"/></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><action application="transfer" data="operator XML ${domain_name}"/></div><div> </condition></div><div> </extension></div>
<div><br></div><div><br></div><div>Domain Name - <a href="http://compaya.com">compaya.com</a> </div><div><br></div><div>pressing 9 .... voice mail operator extension transfer to features context. But ${domain_name} lost the value <a href="http://compaya.com">compaya.com</a> , but now the ${ domain_name} have the IP address.</div>
<div><br></div><div>How to get the ${domain_name} value in features context?</div><div><br></div><div><br></div><div><br></div><div>Thanks and regards,</div><div>Lloyd</div><div><br></div></font><br><div class="gmail_quote">
On Sat, Jan 1, 2011 at 8:51 PM, Aloysius Lloyd <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font face="verdana, sans-serif"><div>Dialplan sending calls to voicemail</div><div class="im"><div><br></div><div><action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div>
<div><br></div></div><div>voicemail.conf.xml</div></font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><div> <param name="operator-extension" value="operator XML features"/></div>
<div> <param name="operator-key" value="9"/></div><div><br></div><div>features.xml</div><div><br></div><div><div> <extension name="operator"></div><div> <condition field="destination_number" expression="^(operator|0)$"></div>
<div> <action application="set" data="transfer_ringback=$${hold_music}"/></div><div><span style="white-space:pre-wrap">                </span><action application="transfer" data="1000 XML features"/></div>
<div class="im">
<div> <action application="transfer" data="operator XML ${domain_name}"/></div><div> </condition></div><div> </extension></div></div></div><div><br></div><div><br></div>
<div>
Domain Name - <a href="http://compaya.com" target="_blank">compaya.com</a> </div><div><br></div><div>pressing 9 .... voice mail operator extension transfer to features context. But ${domain_name} lost the value <a href="http://compaya.com" target="_blank">compaya.com</a> , but now the ${ domain_name} have the IP address.</div>
<div><br></div><div>How to get the ${domain_name} value in features context?</div><div><br></div><div><br></div></font>
<div><br></div>Thanks and regards,</div><div>Lloyd<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Dec 28, 2010 at 5:44 PM, Aloysius Lloyd <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="verdana, sans-serif">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.</font><div>
<font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">xml_curl .... right now I am using xml_curl. All users defined in mysql, then I use a php script for the user informations.</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">How to use xml_curl for voicemail ? please let me know if there any help/docs on this.</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thanks</font></div><div><font face="verdana, sans-serif">LLoyd<br>
</font>
<br><br><div class="gmail_quote"><div><div></div><div>On Tue, Dec 28, 2010 at 4:29 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
<br><br><div class="gmail_quote"><div>On Tue, Dec 28, 2010 at 9:57 AM, Aloysius Lloyd <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="verdana, sans-serif">Michael,</font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thank you for the suggestion but this is not working . I think because of the the </font> <param name="callback-context" value="default"/></div>
</blockquote><div><br></div></div><div>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.</div>
<div>-MC</div><div><br></div></div>
<br></div></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>