[Freeswitch-users] voicemail operator-extension - Multi-tenantEnvironment

Aloysius Lloyd lloyd.aloysius at gmail.com
Sun Jan 2 04:51:46 MSK 2011


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 at 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 at freeswitch.org>wrote:
>
>>
>>
>> On Tue, Dec 28, 2010 at 9:57 AM, Aloysius Lloyd <lloyd.aloysius at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110101/2fd20e58/attachment.html 


More information about the FreeSWITCH-users mailing list