Some Loopback endpoint support (#4937)
* Some Loopback endpoint support Leg B won't have the variable domain_name filled correctly, regardless if you do the right loopback/user/domain values. however, the context variable is filled correctly. This will allow us to let all the dial plans run correctly. * Update 010_user_exists.xml
This commit is contained in:
parent
9961ebb148
commit
f3a5387853
|
|
@ -1,5 +1,8 @@
|
|||
<context name="${domain_name}">
|
||||
<extension name="user_exists" number="" continue="true" app_uuid="897845b0-1f13-444c-84fe-432fd47338ca" global="true" order="10">
|
||||
<condition field="${loopback_leg}" expression="^B$" break="never">
|
||||
<action application="set" data="domain_name=${context}" inline="true"/>
|
||||
</condition>
|
||||
<condition field="" expression="" break="">
|
||||
<action application="set" data="user_exists=${user_exists id ${destination_number} ${domain_name}}" inline="true"/>
|
||||
<action application="set" data="from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}" inline="true"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue