Thank for you your effort to help me out,
In Voicmail IVR there are options, all options works fine,
Example press 4 to send Voicemail to Email.
7 to Delete the recording, 2 to save the recording
Press 8 to forward the message to another user.
Everything
works, Press 4 and VM get forwarded to email. Only things that does not
work is 8, forward to another user. Its the Voicemail Application, that
forgets the domainname after pressing 8.
Here is my Dial plan for Voicemail.
<extension name="Voicemail_check">
<condition field="caller_id_number" expression="^(${destination_number})$">
<action application="set" data="voicemail_domain=${domain_name}"/>
<action application="answer"/>
<action application="voicemail" data="check default ${domain_name} $1"/>
</condition>
</extension>
Here is Directory
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="directory">
<domain name="
domain.companyname.com">
<user id="142" cidr="" number-alias="">
<params>
<param name="password" value="notopentopublic"/>
<param name="vm-enabled" value="true"/>
<param name="vm-password" value="142"/>
<param name="vm-email-all-messages" value="true"/>
<param name="vm-attach-file" value="true"/>
<param name="vm-keep-local-after-email" value="true"/>
<param name="vm-mailto" value="
email@gmail.com"/>
<param name="MWI-Account" value="
142@domain.companyname.com"/>
<param name="timezone" value="America/Los_Angeles"/>
<param name="dial-string" value="{sip_invite_domain=
domain.companyname.com,presence_id=
142@domain.companyname.com}${sofia_contact(
142@domain.companyname.com)}"/>
</params>
<variables>
<variable name="domain_uuid" value=""/>
<variable name="domain_name" value="
domain.companyname.com"/>
<variable name="caller_id_name" value=""/>
<variable name="caller_id_number" value=""/>
<variable name="call_group" value="sales"/>
<variable name="accountcode" value="55555555"/>
<variable name="user_context" value=""/>
<variable name="effective_caller_id_name" value="Jai"/>
<variable name="outbound_caller_id_name" value="somename"/>
<variable name="outbound_caller_id_name" value="somename"/>
<variable name="outbound_caller_id_number" value="000000000"/>
<variable name="directory_full_name" value="Name"/>
<variable name="recording" value="off"/>
<variable name="callscreening" value="off"/>
<variable name="limit_max" value="2"/>
<variable name="record_stereo" value="true"/>
<variable name="transfer_fallback_extension" value="operator"/>
<variable name="export_vars" value="domain_name"/>
</variables>
</user>
</domain>
</section>
</document>
In Voicmail IVR there are options, all options works fine,
Example press 4 to send Voicemail to Email.
7 to Delete the recording
Press 8 to forward the message to another user.
Everything works, Press 4 and VM get forwarded to email. Only things that does not work is 8, forward to another user. Its the Voicemail Application, that forgets the domainname after pressing 8.
What else I can collect and share to get any help/suggestion.
Best,