and this is not enough for you?<br><br>      &lt;!--- The<span style="background-color: rgb(255, 255, 0);"> </span><b style="color: rgb(0, 0, 153); background-color: rgb(255, 255, 0);">%</b><span style="background-color: rgb(255, 255, 0);"> </span>behind the username tells FS to lookup the user in it&#39;s local sip_registration database --&gt;<br>
      &lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}<span style="background-color: rgb(255, 255, 0);">@</span>${domain_name}&quot;/&gt;<br>      &lt;!--- x.x.x.x in the line above is the IP address to the FreeSWITCH server/device --&gt;<br>
      &lt;!--- If you don&#39;t want to bridge a call to a local registered user, but to a SIP URI, use the <span style="background-color: rgb(255, 255, 0);">@</span> instead of <span style="background-color: rgb(255, 255, 0);">%</span>:<br>
      &lt;action application=&quot;bridge&quot; data=&quot;sofia/profilename/500<span style="background-color: rgb(255, 255, 0);">@</span>x.x.x.x&quot;/&gt; --&gt;<br><br>T.<br><br><br><div class="gmail_quote">On Tue, Sep 22, 2009 at 1:52 PM, Filip Lyncker <span dir="ltr">&lt;<a href="mailto:lyncker@lyth.de">lyncker@lyth.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear List,<br>
<br>
I read the documentation, but Im still confused about how to dial a<br>
internal registered sip user.<br>
<br>
I configured the both sip phones in the directory in my local.xml file :<br>
<br>
&lt;include&gt;<br>
&lt;domain name=&quot;$${domain}&quot;&gt;<br>
  &lt;user id=&quot;22&quot; mailbox=&quot;22&quot;&gt;<br>
    &lt;params&gt;<br>
      &lt;param name=&quot;password&quot; value=&quot;Xk21%&quot;&gt;&lt;/param&gt;<br>
      &lt;param name=&quot;vm-password&quot; value=&quot;22&quot;&gt;&lt;/param&gt;<br>
      &lt;param name=&quot;sip-port&quot; value=&quot;5060&quot;&gt;&lt;/param&gt;<br>
<br>
    &lt;/params&gt;<br>
    &lt;variables&gt;<br>
      &lt;variable name=&quot;accountcode&quot; value=&quot;22&quot;&gt;&lt;/variable&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;&gt;&lt;/variable&gt;<br>
      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension<br>
22&quot;&gt;&lt;/variable&gt;<br>
      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;22&quot;&gt;&lt;/variable&gt;<br>
    &lt;/variables&gt;<br>
  &lt;/user&gt;<br>
  &lt;user id=&quot;24&quot; mailbox=&quot;24&quot;&gt;<br>
    &lt;params&gt;<br>
      &lt;param name=&quot;password&quot; value=&quot;dudeldum&quot;&gt;&lt;/param&gt;<br>
      &lt;param name=&quot;vm-password&quot; value=&quot;24&quot;&gt;&lt;/param&gt;<br>
      &lt;param name=&quot;sip-port&quot; value=&quot;5060&quot;&gt;&lt;/param&gt;<br>
<br>
    &lt;/params&gt;<br>
    &lt;variables&gt;<br>
      &lt;variable name=&quot;accountcode&quot; value=&quot;24&quot;&gt;&lt;/variable&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;&gt;&lt;/variable&gt;<br>
      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension<br>
24&quot;&gt;&lt;/variable&gt;<br>
      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;24&quot;&gt;&lt;/variable&gt;<br>
    &lt;/variables&gt;<br>
  &lt;/user&gt;<br>
  &lt;/domain&gt;<br>
&lt;/include&gt;<br>
<br>
It seems, that they can connect to the freeswitch.<br>
<br>
I configured the dialplan like following :<br>
<br>
&lt;include&gt;<br>
  &lt;context name=&quot;default&quot;&gt;<br>
   &lt;extension name=&quot;diallocal&quot;&gt;<br>
   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(2[0-9])$&quot;&gt;<br>
       &lt;!--- The % behind the username tells FS to lookup the user in<br>
it&#39;s local sip_registration database --&gt;<br>
      &lt;action application=&quot;bridge&quot;<br>
data=&quot;user/${dialed_extension}@${domain_name}&quot;&gt;&lt;/action&gt;<br>
       &lt;!--- x.x.x.x in the line above is the IP address to the<br>
FreeSWITCH server/device --&gt;<br>
       &lt;!--- If you don&#39;t want to bridge a call to a local registered<br>
user, but to a SIP URI, use the @ instead of %:<br>
       &lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/profilename/500@x.x.x.x&quot;/&gt; --&gt;<br>
   &lt;/condition&gt;<br>
   &lt;/extension&gt;<br>
...<br>
<br>
<br>
If I call from the sip user 24 to 22 , freeswitch logs the following and<br>
gives an busy tone immediately:<br>
<br>
freeswitch@Bigfish&gt; 2009-09-22 13:50:29.367114 [NOTICE]<br>
switch_channel.c:602 New Channel sofia/internal/<a href="mailto:24@192.168.1.34">24@192.168.1.34</a><br>
[decc119c-a973-6b4c-bf11-ec251c653cda]<br>
2009-09-22 13:50:29.372973 [INFO] mod_dialplan_xml.c:315 Processing<br>
24-&gt;22 in context default<br>
2009-09-22 13:50:29.372973 [WARNING] mod_dptools.c:2365 Can&#39;t find user<br>
[@<a href="http://192.168.1.34" target="_blank">192.168.1.34</a>]<br>
2009-09-22 13:50:29.372973 [ERR] switch_ivr_originate.c:1510 Cannot<br>
create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]<br>
2009-09-22 13:50:29.372973 [INFO] mod_dptools.c:2093 Originate Failed.<br>
Cause: SUBSCRIBER_ABSENT<br>
2009-09-22 13:50:29.372973 [NOTICE] mod_dptools.c:2125 Hangup<br>
sofia/internal/<a href="mailto:24@192.168.1.34">24@192.168.1.34</a> [CS_EXECUTE] [SUBSCRIBER_ABSENT]<br>
2009-09-22 13:50:29.390550 [NOTICE] switch_core_session.c:1086 Session<br>
13 (sofia/internal/<a href="mailto:24@192.168.1.34">24@192.168.1.34</a>) Ended<br>
2009-09-22 13:50:29.390550 [NOTICE] switch_core_session.c:1088 Close<br>
Channel sofia/internal/<a href="mailto:24@192.168.1.34">24@192.168.1.34</a> [CS_DESTROY]<br>
<br>
thanks again for your help ...<br>
<br>
<br>
regards,<br>
<br>
Filip<br>
<br>
<br>
--<br>
_________________________________<br>
Filip Lyncker, Dipl.-Inform. (FH)<br>
<br>
<br>
Lyncker &amp; Theis GmbH<br>
Wilhelmstr. 16<br>
65185 Wiesbaden<br>
Germany<br>
<br>
Fon +49 611/9006951<br>
Fax +49 611/9406125<br>
<br>
<br>
Handelsregister: HRB 23156 Amtsgericht Wiesbaden<br>
Steuernummer: 4023897051<br>
USt-IdNr.: DE255806399<br>
<br>
Geschäftsführer:<br>
Filip Lyncker,<br>
Armin Theis<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>