I have defined a user as :<br><br><user id="2099"><br> <params><br> <param name="password" value="1234"/><br> <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/><br>
<param name="mwi-account" value="2099@voicemail"/><br> <param name="vm-password" value="1234"/><br> <param name="vm-email-all-messages" value="true"/><br>
<!--param name="vm-attach-file" value="true"/--><br> <!--param name="vm-mailto" value=""/--><br> </params><br> <variables><br> <variable name="user_context" value="inter"/><br>
<variable name="force_transfer_context" value="inter"/><br> <variable name="accountcode" value="2099"/><br> <variable name="internal_caller_id_name" value="2099"/><br>
<variable name="internal_caller_id_number" value="2099"/><br> <variable name="callgroup" value="1"/><br> <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/><br>
</variables><br><br><br>and in the dialplan i have <br><br><context name="inter"><br><br><extension name="2099"><br> <condition field="destination_number" expression="^(2099)"><br>
<action application="set" data="call_timeout=30"/><br> <action application="set" data="dialed_extension=$1"/><br> <action application="export" data="dialed_extension=$1"/><br>
<action application="set" data="transfer_ringback=$${hold_music}"/><br> <action application="set" data="hangup_after_bridge=true"/><br> <action application="set" data="continue_on_fail=true"/><br>
<action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/><br> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/><br> <action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/><br>
<action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/><br> <action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/><br>
<action application="bridge" data="{sip_invite_domain=$${domain}}user/${dialed_extension}@${domain_name}"/><br> </condition><br> </extension><br><br></context><br>
<br><br>Now extension 2075 is also made on above lines in the same context for user and dialplan, here the call when initiated from 2075 to 2099 searches for context public instead of context inter<br><br>mod_dialplan_xml.c:331 Processing 2075 <2075>->2099 in context public<br>
<br>any reason why ?<br><br>Regards<br>Sam<br>