Can you pastebin the relevant dp entries from both public.xml and default.xml? It will be easier to troubleshoot that. Be sure also to make a test call and capture the debug output. Make sure that you turn on debugging by pressing F8 or typing &quot;console loglevel debug&quot; at the CLI...<br>
<br>-MC<br><br><div class="gmail_quote">On Mon, Apr 20, 2009 at 12:35 PM, winday <span dir="ltr">&lt;<a href="mailto:winday0215@yahoo.com">winday0215@yahoo.com</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;">
<br>
I use () in public.xml and I got this:<br>
2009-04-20 15:33:05 [NOTICE] switch_channel.c:592 switch_channel_set_name()<br>
<div class="im">New Channel sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a><br>
</div>[11d6eeca-2de2-11de-b7d7-f5179b281d4d]<br>
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing<br>
<div class="im">Cell Phone   FL-&gt;winday in context public<br>
</div>2009-04-20 15:33:05 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()<br>
Transfer sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a> to XML[winday0215@default]<br>
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing<br>
Cell Phone   FL-&gt;winday in context default<br>
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:1296 sofia_receive_message()<br>
Ring-Ready sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a>!<br>
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:414 ring_ready_function() Ring<br>
Ready sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a>!<br>
2009-04-20 15:33:05 [ERR] mod_sofia.c:2493 sofia_outgoing_channel() Invalid<br>
Profile<br>
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:2622 sofia_outgoing_channel() Close<br>
Channel N/A [CS_NEW]<br>
2009-04-20 15:33:05 [ERR] switch_ivr_originate.c:1483 switch_ivr_originate()<br>
Cannot create outgoing channel of type [sofia] cause:<br>
[DESTINATION_OUT_OF_ORDER]<br>
2009-04-20 15:33:05 [INFO] mod_dptools.c:2036 audio_bridge_function()<br>
Originate Failed.  Cause: DESTINATION_OUT_OF_ORDER<br>
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:2068 audio_bridge_function()<br>
Hangup sofia/external/<a href="mailto:3528713122@8.17.37.23">3528713122@8.17.37.23</a> [CS_EXECUTE]<br>
[DESTINATION_OUT_OF_ORDER]<br>
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1019<br>
switch_core_session_thread() Session 3<br>
<div class="im">(sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a>) Ended<br>
</div>2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1021<br>
<div class="im">switch_core_session_thread() Close Channel<br>
sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a> [CS_DONE]<br>
<br>
<br>
</div><div class="im">winday wrote:<br>
&gt;<br>
&gt; I want to config a system use extension 1001-1005. When a call come in,<br>
&gt; all these five extensions will ring together. But when one picks up the<br>
&gt; call,others will stop to ring.<br>
&gt; Right now, I can config all the inbound calls ring on extension 1001. I<br>
&gt; want to add other extensions in.<br>
&gt;<br>
&gt; The configuration in public.xml is like this:<br>
&gt;<br>
&gt; &lt;extension name=&quot;teliax&quot;&gt;   &lt;!-- your provider or any name you&#39;d like to<br>
&gt; call it --&gt;<br>
&gt;     &lt;condition field=&quot;destination_number&quot; expression=&quot;^winday$&quot;&gt;  &lt;!--<br>
&gt; your DID for this gateway--&gt;<br>
</div><div><div></div><div class="h5">&gt;        &lt;!--&lt;action application=&quot;transfer&quot; data=&quot;$1 XML default&quot;/&gt;--&gt;<br>
&gt;       &lt;!----&gt;<br>
&gt;     &lt;action application=&quot;transfer&quot; data=&quot;$1 XML default&quot;/&gt;<br>
&gt;<br>
&gt;     &lt;/condition&gt;<br>
&gt;    &lt;/extension&gt;<br>
&gt;<br>
&gt; And the configuration in default.xml is as following:<br>
&gt;<br>
&gt;  &lt;extension name=&quot;Inbound&quot;&gt;<br>
&gt;     &lt;!-- EDIT: change the DID to your inbound DID (DN) number     --&gt;<br>
&gt;     &lt;!--       Note - you can use regx pattern matching if needed --&gt;<br>
&gt;     &lt;condition field=&quot;destination_number&quot; expression=&quot;^winday$&quot;&gt;<br>
&gt;      &lt;!-- If you are going to ring multiple extensions you should send<br>
&gt; back --&gt;<br>
&gt;      &lt;!-- a 180 ringing message to the provider.<br>
&gt; --&gt;<br>
&gt;     &lt;action application=&quot;ring_ready&quot; /&gt;<br>
&gt;<br>
&gt;      &lt;!-- Set the maximum amount of time you want to ring the extensions<br>
&gt; (seconds) --&gt;<br>
&gt;       &lt;action application=&quot;set&quot; data=&quot;call_timeout=20&quot;/&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         &lt;!-- Sample single extension bridge --&gt;<br>
&gt;        &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;sofia/sip/1001%${domain_name},sofia/sip/1002%${domain_name},sofia/sip/1003%${domain_name},sofia/sip/1004%${domain_name},sofia/sip/1005%${domain_name},sofia/sip/1006%${domain_name}&quot;/&gt;<br>
&gt;<br>
&gt;      &lt;!-- No one answered so launch the answering machine application --&gt;<br>
&gt;      &lt;action application=&quot;javascript&quot;<br>
&gt; data=&quot;/usr/local/freeswitch/scripts/answermachine.js&quot;/&gt;<br>
&gt;<br>
&gt;     &lt;/condition&gt;<br>
&gt;    &lt;/extension&gt;<br>
&gt;<br>
&gt; I got this log from my freeswitch console:<br>
&gt;<br>
&gt; 2009-04-20 15:09:56 [NOTICE] switch_channel.c:592<br>
&gt; switch_channel_set_name() New Channel sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a><br>
&gt; [d5d30fce-2dde-11de-8a55-e3aa5c861d72]<br>
&gt; 2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()<br>
&gt; Processing Cell Phone   FL-&gt;winday in context public<br>
&gt; 2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345<br>
&gt; switch_ivr_session_transfer() Transfer<br>
&gt; sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a> to XML[$1@default]<br>
&gt; 2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()<br>
&gt; Processing Cell Phone   FL-&gt;$1 in context default<br>
&gt; 2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345<br>
&gt; switch_ivr_session_transfer() Transfer<br>
&gt; sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a> to enum[$1@default]<br>
&gt; 2009-04-20 15:09:56 [INFO] switch_core_state_machine.c:129<br>
&gt; switch_core_standard_on_routing() No Route, Aborting<br>
&gt; 2009-04-20 15:09:56 [NOTICE] switch_core_state_machine.c:130<br>
&gt; switch_core_standard_on_routing() Hangup<br>
&gt; sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a> [CS_ROUTING] [NO_ROUTE_DESTINATION]<br>
&gt; 2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1019<br>
&gt; switch_core_session_thread() Session 21<br>
&gt; (sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a>) Ended<br>
&gt; 2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1021<br>
&gt; switch_core_session_thread() Close Channel<br>
&gt; sofia/external/<a href="mailto:3521111111@8.17.37.23">3521111111@8.17.37.23</a> [CS_DONE]<br>
&gt;<br>
&gt; Can anyone tell me what the problem is?<br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143409.html" target="_blank">http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143409.html</a><br>

<div><div></div><div class="h5">Sent from the Freeswitch-users mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br>