<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 5:05 AM, Raymond Chan <span dir="ltr"><<a href="mailto:raymondchan@commverge.com">raymondchan@commverge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> I am not sure where is the problem. All the call forwarded from
the gateway is going to FS. However, it seems the call cannot go to the correct
SIP phone. All are in public context. What dialplan should I put?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">The following are not work examples. All are in public folder.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <extension name="NWT_DID_31754101"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <condition field="destination_number"
expression="31754101"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <action application="bridge"
data="sofia/external/<a href="mailto:31754101@203.194.134.91" target="_blank">31754101@203.194.134.91</a>"/></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </condition></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </extension></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"></span></p></div></div></blockquote><div><br></div><div>This is going to loop. You really need to put the phones in a different context than the incoming if you want it to register with the same # as the destination number. This is assuming that IP is the same host that is taking the original call (based on your reply to Steven Ayre).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <extension name="NWT_DID_31754102"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <condition field="context"
expression="public"/></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <condition field="destination_number"
expression="31754102"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <action application="transfer"
data="$31754102 XML default"/></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </condition></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </extension></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"></span></p></div></div></blockquote><div><br></div><div>This routes the call to the default context. It would assume that your phones are registered on the default context. </div>
</div><br clear="all"><br>-- <br>-Rupa<br>