<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>&lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</div><div><br></div><div>voicemail.conf.xml</div>

<div><br></div><div> &lt;param name=&quot;operator-extension&quot; value=&quot;operator XML features&quot;/&gt;</div><div> &lt;param name=&quot;operator-key&quot; value=&quot;9&quot;/&gt;</div><div><br></div><div>features.xml</div>

<div><br></div><div>    &lt;extension name=&quot;operator&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(operator|0)$&quot;&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div>

<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;action application=&quot;transfer&quot; data=&quot;operator XML ${domain_name}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</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">&lt;<a href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>&gt;</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>&lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</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> &lt;param name=&quot;operator-extension&quot; value=&quot;operator XML features&quot;/&gt;</div>


<div> &lt;param name=&quot;operator-key&quot; value=&quot;9&quot;/&gt;</div><div><br></div><div>features.xml</div><div><br></div><div><div>    &lt;extension name=&quot;operator&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(operator|0)$&quot;&gt;</div>


<div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;transfer&quot; data=&quot;1000 XML features&quot;/&gt;</div>

<div class="im">
<div>        &lt;action application=&quot;transfer&quot; data=&quot;operator XML ${domain_name}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</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">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</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">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</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">&lt;<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>&gt;</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> &lt;param name=&quot;callback-context&quot; value=&quot;default&quot;/&gt;</div>




</blockquote><div><br></div></div><div>Please define &quot;not working&quot; - either you press 9 and the call is x-fer&#39;d or it is not. Once it is x-fer&#39;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>