call between tenants

Status
Not open for further replies.

akruger

New Member
Jan 29, 2020
10
0
1
64
I have set up a dial plan to dial between one tenant and another by dialing *66*[ext] here is the problem when I dial from my extension lets say 100 and I dial the extension in the tenant that is also 100 I end up in the voicemail.

My dial plan looks like this.
<extension name="oa_extensions" continue="false" uuid="9a68c95d-d2ea-XXXX-ad34-XXXXXXb7f815">
<condition field="destination_number" expression="^\*66\*(\d{3})$">
<action application="set" data="sip_h_X-accountcode=${accountcode}"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="inherit_codec=true"/>
<action application="set" data="ignore_display_updates=true"/>
<action application="set" data="callee_id_number=$1"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="domain_name=oa.XXX.com"/>
<action application="set" data="domain_uuid=7286d116-XXXX-4124-92a0-XXXXXXXXXXX"/>
<action application="transfer" data="$1 XML ${domain_name)"/>
</condition>
</extension>

Any insight would be much appreciated
 

markjcrane

Active Member
Staff member
Jul 22, 2018
448
162
43
49
domain_name inline needs to be set to true and <action application="transfer" data="$1 XML ${domain_name}"/>
or use the domain name for the context like this <action application="transfer" data="$1 XML oa.XXX.com"/>
 

akruger

New Member
Jan 29, 2020
10
0
1
64
I tried both suggestions and still the same issue ... it works for all other extension just not one with the same extension number in the second tenant ... thanks for the suggestions though.
 
Status
Not open for further replies.