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

Aloysius Lloyd lloyd.aloysius at gmail.com
Mon Jan 3 18:28:16 MSK 2011


I solved the problem using the following dial plan

 <action application="voicemail" data="default ${domain_name}
${dialed_extension}"/>

But loopback/app  ... behave differently  and not carry the correct
${domain_name} value and it is default to the default domain name.

Thanks
Lloyd

On Sat, Jan 1, 2011 at 8:56 PM, Aloysius Lloyd <lloyd.aloysius at gmail.com>wrote:

> There is a mistake in the last email . Please ignore.
>
>  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="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 Sat, Jan 1, 2011 at 8:51 PM, Aloysius Lloyd <lloyd.aloysius at gmail.com>wrote:
>
>> 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/20110103/9148e58f/attachment.html 


More information about the FreeSWITCH-users mailing list