VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
winday0215 at yahoo.com Guest
|
Posted: Mon Apr 20, 2009 2:23 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
I want to config a system use extension 1001-1005. When a call come in, all
these five extensions will ring together. But when one picks up the
call,others will stop to ring.
Right now, I can config all the inbound calls ring on extension 1001. I want
to add other extensions in.
The configuration in public.xml is like this:
<extension name="teliax"> <!-- your provider or any name you'd like to
call it -->
<condition field="destination_number" expression="^winday$"> <!-- your
DID for this gateway-->
<!--<action application="transfer" data="$1 XML default"/>-->
<!---->
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
And the configuration in default.xml is as following:
<extension name="Inbound">
<!-- EDIT: change the DID to your inbound DID (DN) number -->
<!-- Note - you can use regx pattern matching if needed -->
<condition field="destination_number" expression="^winday$">
<!-- If you are going to ring multiple extensions you should send back
-->
<!-- a 180 ringing message to the provider.
-->
<action application="ring_ready" />
<!-- Set the maximum amount of time you want to ring the extensions
(seconds) -->
<action application="set" data="call_timeout=20"/>
<!-- Sample single extension bridge -->
<action application="bridge"
data="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}"/>
<!-- No one answered so launch the answering machine application -->
<action application="javascript"
data="/usr/local/freeswitch/scripts/answermachine.js"/>
</condition>
</extension>
I got this log from my freeswitch console:
2009-04-20 15:09:56 [NOTICE] switch_channel.c:592 switch_channel_set_name()
New Channel sofia/external/3521111111@8.17.37.23
[d5d30fce-2dde-11de-8a55-e3aa5c861d72]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context public
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 to XML[$1@default]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->$1 in context default
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 to enum[$1@default]
2009-04-20 15:09:56 [INFO] switch_core_state_machine.c:129
switch_core_standard_on_routing() No Route, Aborting
2009-04-20 15:09:56 [NOTICE] switch_core_state_machine.c:130
switch_core_standard_on_routing() Hangup
sofia/external/3521111111@8.17.37.23 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 21
(sofia/external/3521111111@8.17.37.23) Ended
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 [CS_DONE]
Can anyone tell me what the problem is?
--
View this message in context: http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143108.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Apr 20, 2009 2:25 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
On Mon, Apr 20, 2009 at 12:16 PM, winday <winday0215@yahoo.com (winday0215@yahoo.com)> wrote:
Quote: |
I want to config a system use extension 1001-1005. When a call come in, all
these five extensions will ring together. But when one picks up the
call,others will stop to ring.
Right now, I can config all the inbound calls ring on extension 1001. I want
to add other extensions in.
The configuration in public.xml is like this:
<extension name="teliax"> <!-- your provider or any name you'd like to
call it -->
<condition field="destination_number" expression="^winday$"> <!-- your
DID for this gateway--> |
You need to put winday in parens:
<condition field="destination_number" expression="^(winday)$">
The parentheses will "capture" the value "winday" and put it in the variable $1. Without them the variable $1 will never have any value.
-MC
Quote: |
<!--<action application="transfer" data="$1 XML default"/>-->
<!---->
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
And the configuration in default.xml is as following:
<extension name="Inbound">
<!-- EDIT: change the DID to your inbound DID (DN) number -->
<!-- Note - you can use regx pattern matching if needed -->
<condition field="destination_number" expression="^winday$">
<!-- If you are going to ring multiple extensions you should send back
-->
<!-- a 180 ringing message to the provider.
-->
<action application="ring_ready" />
<!-- Set the maximum amount of time you want to ring the extensions
(seconds) -->
<action application="set" data="call_timeout=20"/>
<!-- Sample single extension bridge -->
<action application="bridge"
data="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}"/>
<!-- No one answered so launch the answering machine application -->
<action application="javascript"
data="/usr/local/freeswitch/scripts/answermachine.js"/>
</condition>
</extension>
I got this log from my freeswitch console:
2009-04-20 15:09:56 [NOTICE] switch_channel.c:592 switch_channel_set_name()
New Channel sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)
[d5d30fce-2dde-11de-8a55-e3aa5c861d72]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context public
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) to XML[$1@default]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->$1 in context default
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) to enum[$1@default]
2009-04-20 15:09:56 [INFO] switch_core_state_machine.c:129
switch_core_standard_on_routing() No Route, Aborting
2009-04-20 15:09:56 [NOTICE] switch_core_state_machine.c:130
switch_core_standard_on_routing() Hangup
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) [CS_ROUTING] [NO_ROUTE_DESTINATION]
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 21
(sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)) Ended
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) [CS_DONE]
Can anyone tell me what the problem is?
--
View this message in context: http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143108.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
winday0215 at yahoo.com Guest
|
Posted: Mon Apr 20, 2009 2:41 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
I use () in public.xml and I got this:
2009-04-20 15:33:05 [NOTICE] switch_channel.c:592 switch_channel_set_name()
New Channel sofia/external/3521111111@8.17.37.23
[11d6eeca-2de2-11de-b7d7-f5179b281d4d]
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context public
2009-04-20 15:33:05 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 to XML[winday0215@default]
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context default
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:1296 sofia_receive_message()
Ring-Ready sofia/external/3521111111@8.17.37.23!
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:414 ring_ready_function() Ring
Ready sofia/external/3521111111@8.17.37.23!
2009-04-20 15:33:05 [ERR] mod_sofia.c:2493 sofia_outgoing_channel() Invalid
Profile
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:2622 sofia_outgoing_channel() Close
Channel N/A [CS_NEW]
2009-04-20 15:33:05 [ERR] switch_ivr_originate.c:1483 switch_ivr_originate()
Cannot create outgoing channel of type [sofia] cause:
[DESTINATION_OUT_OF_ORDER]
2009-04-20 15:33:05 [INFO] mod_dptools.c:2036 audio_bridge_function()
Originate Failed. Cause: DESTINATION_OUT_OF_ORDER
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:2068 audio_bridge_function()
Hangup sofia/external/3528713122@8.17.37.23 [CS_EXECUTE]
[DESTINATION_OUT_OF_ORDER]
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 3
(sofia/external/3521111111@8.17.37.23) Ended
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 [CS_DONE]
winday wrote:
Quote: |
I want to config a system use extension 1001-1005. When a call come in,
all these five extensions will ring together. But when one picks up the
call,others will stop to ring.
Right now, I can config all the inbound calls ring on extension 1001. I
want to add other extensions in.
The configuration in public.xml is like this:
<extension name="teliax"> <!-- your provider or any name you'd like to
call it -->
<condition field="destination_number" expression="^winday$"> <!--
your DID for this gateway-->
<!--<action application="transfer" data="$1 XML default"/>-->
<!---->
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
And the configuration in default.xml is as following:
<extension name="Inbound">
<!-- EDIT: change the DID to your inbound DID (DN) number -->
<!-- Note - you can use regx pattern matching if needed -->
<condition field="destination_number" expression="^winday$">
<!-- If you are going to ring multiple extensions you should send
back -->
<!-- a 180 ringing message to the provider.
-->
<action application="ring_ready" />
<!-- Set the maximum amount of time you want to ring the extensions
(seconds) -->
<action application="set" data="call_timeout=20"/>
<!-- Sample single extension bridge -->
<action application="bridge"
data="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}"/>
<!-- No one answered so launch the answering machine application -->
<action application="javascript"
data="/usr/local/freeswitch/scripts/answermachine.js"/>
</condition>
</extension>
I got this log from my freeswitch console:
2009-04-20 15:09:56 [NOTICE] switch_channel.c:592
switch_channel_set_name() New Channel sofia/external/3521111111@8.17.37.23
[d5d30fce-2dde-11de-8a55-e3aa5c861d72]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing Cell Phone FL->winday in context public
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer() Transfer
sofia/external/3521111111@8.17.37.23 to XML[$1@default]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing Cell Phone FL->$1 in context default
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer() Transfer
sofia/external/3521111111@8.17.37.23 to enum[$1@default]
2009-04-20 15:09:56 [INFO] switch_core_state_machine.c:129
switch_core_standard_on_routing() No Route, Aborting
2009-04-20 15:09:56 [NOTICE] switch_core_state_machine.c:130
switch_core_standard_on_routing() Hangup
sofia/external/3521111111@8.17.37.23 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 21
(sofia/external/3521111111@8.17.37.23) Ended
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 [CS_DONE]
Can anyone tell me what the problem is?
|
--
View this message in context: http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143409.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Apr 20, 2009 3:04 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
You're trying to dial out a profile that is doesn't exist.
/b
On Apr 20, 2009, at 2:35 PM, winday wrote:
Quote: | 2009-04-20 15:33:05 [ERR] mod_sofia.c:2493 sofia_outgoing_channel() Invalid
Profile |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Apr 20, 2009 3:13 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
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 "console loglevel debug" at the CLI...
-MC
On Mon, Apr 20, 2009 at 12:35 PM, winday <winday0215@yahoo.com (winday0215@yahoo.com)> wrote:
Quote: |
I use () in public.xml and I got this:
2009-04-20 15:33:05 [NOTICE] switch_channel.c:592 switch_channel_set_name()
New Channel sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)
[11d6eeca-2de2-11de-b7d7-f5179b281d4d]
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context public
2009-04-20 15:33:05 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) to XML[winday0215@default]
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context default
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:1296 sofia_receive_message()
Ring-Ready sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)!
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:414 ring_ready_function() Ring
Ready sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)!
2009-04-20 15:33:05 [ERR] mod_sofia.c:2493 sofia_outgoing_channel() Invalid
Profile
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:2622 sofia_outgoing_channel() Close
Channel N/A [CS_NEW]
2009-04-20 15:33:05 [ERR] switch_ivr_originate.c:1483 switch_ivr_originate()
Cannot create outgoing channel of type [sofia] cause:
[DESTINATION_OUT_OF_ORDER]
2009-04-20 15:33:05 [INFO] mod_dptools.c:2036 audio_bridge_function()
Originate Failed. Cause: DESTINATION_OUT_OF_ORDER
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:2068 audio_bridge_function()
Hangup sofia/external/3528713122@8.17.37.23 (3528713122@8.17.37.23) [CS_EXECUTE]
[DESTINATION_OUT_OF_ORDER]
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 3
(sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)) Ended
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) [CS_DONE]
winday wrote:
Quote: |
I want to config a system use extension 1001-1005. When a call come in,
all these five extensions will ring together. But when one picks up the
call,others will stop to ring.
Right now, I can config all the inbound calls ring on extension 1001. I
want to add other extensions in.
The configuration in public.xml is like this:
<extension name="teliax"> <!-- your provider or any name you'd like to
call it -->
<condition field="destination_number" expression="^winday$"> <!--
your DID for this gateway-->
|
Quote: | <!--<action application="transfer" data="$1 XML default"/>-->
<!---->
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
And the configuration in default.xml is as following:
<extension name="Inbound">
<!-- EDIT: change the DID to your inbound DID (DN) number -->
<!-- Note - you can use regx pattern matching if needed -->
<condition field="destination_number" expression="^winday$">
<!-- If you are going to ring multiple extensions you should send
back -->
<!-- a 180 ringing message to the provider.
-->
<action application="ring_ready" />
<!-- Set the maximum amount of time you want to ring the extensions
(seconds) -->
<action application="set" data="call_timeout=20"/>
<!-- Sample single extension bridge -->
<action application="bridge"
data="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}"/>
<!-- No one answered so launch the answering machine application -->
<action application="javascript"
data="/usr/local/freeswitch/scripts/answermachine.js"/>
</condition>
</extension>
I got this log from my freeswitch console:
2009-04-20 15:09:56 [NOTICE] switch_channel.c:592
switch_channel_set_name() New Channel sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)
[d5d30fce-2dde-11de-8a55-e3aa5c861d72]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing Cell Phone FL->winday in context public
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer() Transfer
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) to XML[$1@default]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing Cell Phone FL->$1 in context default
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer() Transfer
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) to enum[$1@default]
2009-04-20 15:09:56 [INFO] switch_core_state_machine.c:129
switch_core_standard_on_routing() No Route, Aborting
2009-04-20 15:09:56 [NOTICE] switch_core_state_machine.c:130
switch_core_standard_on_routing() Hangup
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) [CS_ROUTING] [NO_ROUTE_DESTINATION]
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 21
(sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23)) Ended
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 (3521111111@8.17.37.23) [CS_DONE]
Can anyone tell me what the problem is?
|
--
View this message in context: http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143409.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
winday0215 at yahoo.com Guest
|
Posted: Mon Apr 20, 2009 3:33 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
It's a long log file....
2009-04-20 16:09:24 [DEBUG] sofia_glue.c:2608 sofia_glue_negotiate_sdp()
Audio Codec Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]
2009-04-20 16:09:24 [DEBUG] sofia_glue.c:1742 sofia_glue_tech_set_codec()
Set Codec sofia/external/4085649924@8.17.37.23 PCMU/8000 20 ms 160 samples
2009-04-20 16:09:24 [DEBUG] sofia_glue.c:2568 sofia_glue_negotiate_sdp() Set
2833 dtmf payload to 101
2009-04-20 16:09:24 [DEBUG] sofia.c:2962 sofia_handle_sip_i_state()
(sofia/external/4085649924@8.17.37.23) State Change CS_NEW -> CS_INIT
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_INIT
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:469
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State INIT
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:83 sofia_on_init()
sofia/external/4085649924@8.17.37.23 SOFIA INIT
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:111 sofia_on_init()
(sofia/external/4085649924@8.17.37.23) State Change CS_INIT -> CS_ROUTING
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:469
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State INIT
going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_ROUTING
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:472
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
ROUTING
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:130 sofia_on_routing()
sofia/external/4085649924@8.17.37.23 SOFIA ROUTING
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:71
switch_core_standard_on_routing() sofia/external/4085649924@8.17.37.23
Standard ROUTING
2009-04-20 16:09:24 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone CA->winday0215 in context public
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [public->unloop]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [unloop]
${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [unloop]
${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[public->outside_call] continue=true
Dialplan: sofia/external/4085649924@8.17.37.23 Absolute Condition
[outside_call]
Dialplan: sofia/external/4085649924@8.17.37.23 Action set(outside_call=true)
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [public->call_debug]
continue=true
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [call_debug]
${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[public->public_extensions] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL)
[public_extensions] destination_number(winday0215) =~ /^(10[01][0-9])$/
break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [public->teliax]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [teliax]
destination_number(winday0215) =~ /^(winday0215)$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 Action transfer(winday0215
XML default)
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:107
switch_core_standard_on_routing() (sofia/external/4085649924@8.17.37.23)
State Change CS_ROUTING -> CS_EXECUTE
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:472
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
ROUTING going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_EXECUTE
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:479
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
EXECUTE
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/external/4085649924@8.17.37.23 SOFIA EXECUTE
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:144
switch_core_standard_on_execute() sofia/external/4085649924@8.17.37.23
Standard EXECUTE
EXECUTE sofia/external/4085649924@8.17.37.23 set(outside_call=true)
2009-04-20 16:09:24 [DEBUG] mod_dptools.c:747 set_function()
sofia/external/4085649924@8.17.37.23 SET [outside_call]=[true]
EXECUTE sofia/external/4085649924@8.17.37.23 transfer(winday0215 XML
default)
2009-04-20 16:09:24 [DEBUG] switch_ivr.c:1339 switch_ivr_session_transfer()
(sofia/external/4085649924@8.17.37.23) State Change CS_EXECUTE -> CS_ROUTING
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_ivr.c:1343 switch_ivr_session_transfer()
sofia/external/4085649924@8.17.37.23 receive message [TRANSFER]
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:572
switch_core_session_perform_receive_message() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [NOTICE] switch_ivr.c:1345 switch_ivr_session_transfer()
Transfer sofia/external/4085649924@8.17.37.23 to XML[winday0215@default]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:479
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
EXECUTE going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_ROUTING
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:472
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
ROUTING
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:130 sofia_on_routing()
sofia/external/4085649924@8.17.37.23 SOFIA ROUTING
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:71
switch_core_standard_on_routing() sofia/external/4085649924@8.17.37.23
Standard ROUTING
2009-04-20 16:09:24 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone CA->winday0215 in context default
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->unloop]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [unloop]
${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [unloop]
${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->tod_example] continue=true
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [tod_example]
${strftime(%w)}(1) =~ /^([1-5])$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [tod_example]
${strftime(%H%M)}(1609) =~ /^((09|1[0-7])[0-5][0-9]|1800)$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 Action set(open=true)
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->global-intercept] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL)
[global-intercept] destination_number(winday0215) =~ /^886$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->group-intercept] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL)
[group-intercept] destination_number(winday0215) =~ /^\*8$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->intercept-ext] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [intercept-ext]
destination_number(winday0215) =~ /^\*\*(\d+)$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->redial]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [redial]
destination_number(winday0215) =~ /^870$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->global]
continue=true
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [global]
${network_addr}(8.17.37.23) =~ /^$/ break=never
Dialplan: sofia/external/4085649924@8.17.37.23 ANTI-Action
set(use_profile=${cond(${acl(${network_addr} rfc1918)} == true ? nat :
default)})
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [global]
${numbering_plan}() =~ /^$/ break=never
Dialplan: sofia/external/4085649924@8.17.37.23 Action
set_user(default@${domain_name})
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [global]
${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [global]
${sip_has_crypto}() =~ /^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$/
break=never
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [global]
${sip_secure_media}() =~ /^true$/ break=never
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [global]
${sip_user_agent}(Teliaware2.0.2) =~
/^PolycomSound(Point|Station)IP-S(S|P)IP_\d{3,4}-UA\/((3).(\d).(\d).(\d{4}))$/
break=never
Dialplan: sofia/external/4085649924@8.17.37.23 Absolute Condition [global]
Dialplan: sofia/external/4085649924@8.17.37.23 Action
hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
Dialplan: sofia/external/4085649924@8.17.37.23 Action
hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/external/4085649924@8.17.37.23 Action
hash(insert/${domain_name}-last_dial/global/${uuid})
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->snom-demo-2] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [snom-demo-2]
destination_number(winday0215) =~ /^9001$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->snom-demo-1] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [snom-demo-1]
destination_number(winday0215) =~ /^9000$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->eavesdrop]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [eavesdrop]
destination_number(winday0215) =~ /^88(.*)$|^\*0(.*)$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->eavesdrop]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [eavesdrop]
destination_number(winday0215) =~ /^779$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->call_return] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [call_return]
destination_number(winday0215) =~ /^\*69$|^869$|^lcr$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->del-group]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [del-group]
destination_number(winday0215) =~ /^80(\d{2})$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->add-group]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL) [add-group]
destination_number(winday0215) =~ /^81(\d{2})$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->call-group-simo] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL)
[call-group-simo] destination_number(winday0215) =~ /^82(\d{2})$/
break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->call-group-order] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL)
[call-group-order] destination_number(winday0215) =~ /^83(\d{2})$/
break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing
[default->extension-intercom] continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (FAIL)
[extension-intercom] destination_number(winday0215) =~ /^8(10[01][0-9])$/
break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 parsing [default->Inbound]
continue=false
Dialplan: sofia/external/4085649924@8.17.37.23 Regex (PASS) [Inbound]
destination_number(winday0215) =~ /^(winday0215)$/ break=on-false
Dialplan: sofia/external/4085649924@8.17.37.23 Action ring_ready()
Dialplan: sofia/external/4085649924@8.17.37.23 Action set(call_timeout=20)
Dialplan: sofia/external/4085649924@8.17.37.23 Action
bridge(sofia/sip/1001@10.227.80.214)
Dialplan: sofia/external/4085649924@8.17.37.23 Action
javascript(/usr/local/freeswitch/scripts/answermachine.js)
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:107
switch_core_standard_on_routing() (sofia/external/4085649924@8.17.37.23)
State Change CS_ROUTING -> CS_EXECUTE
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:472
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
ROUTING going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_EXECUTE
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:479
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
EXECUTE
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/external/4085649924@8.17.37.23 SOFIA EXECUTE
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:144
switch_core_standard_on_execute() sofia/external/4085649924@8.17.37.23
Standard EXECUTE
EXECUTE sofia/external/4085649924@8.17.37.23 set(open=true)
2009-04-20 16:09:24 [DEBUG] mod_dptools.c:747 set_function()
sofia/external/4085649924@8.17.37.23 SET [open]=[true]
EXECUTE sofia/external/4085649924@8.17.37.23 set(use_profile=default)
2009-04-20 16:09:24 [DEBUG] mod_dptools.c:747 set_function()
sofia/external/4085649924@8.17.37.23 SET [use_profile]=[default]
EXECUTE sofia/external/4085649924@8.17.37.23 set_user(default@10.227.80.214)
EXECUTE sofia/external/4085649924@8.17.37.23
hash(insert/10.227.80.214-spymap/4085649924/24dba6be-2de7-11de-84b3-cba2dde76462)
EXECUTE sofia/external/4085649924@8.17.37.23
hash(insert/10.227.80.214-last_dial/4085649924/winday0215)
EXECUTE sofia/external/4085649924@8.17.37.23
hash(insert/10.227.80.214-last_dial/global/24dba6be-2de7-11de-84b3-cba2dde76462)
EXECUTE sofia/external/4085649924@8.17.37.23 ring_ready()
2009-04-20 16:09:24 [DEBUG] mod_dptools.c:414 ring_ready_function()
sofia/external/4085649924@8.17.37.23 receive message [RINGING]
2009-04-20 16:09:24 [NOTICE] mod_sofia.c:1296 sofia_receive_message()
Ring-Ready sofia/external/4085649924@8.17.37.23!
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:572
switch_core_session_perform_receive_message() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [NOTICE] mod_dptools.c:414 ring_ready_function() Ring
Ready sofia/external/4085649924@8.17.37.23!
EXECUTE sofia/external/4085649924@8.17.37.23 set(call_timeout=20)
2009-04-20 16:09:24 [DEBUG] sofia.c:2806 sofia_handle_sip_i_state() Channel
sofia/external/4085649924@8.17.37.23 entering state [early]
2009-04-20 16:09:24 [DEBUG] mod_dptools.c:747 set_function()
sofia/external/4085649924@8.17.37.23 SET [call_timeout]=[20]
EXECUTE sofia/external/4085649924@8.17.37.23
bridge(sofia/sip/1001@10.227.80.214)
2009-04-20 16:09:24 [ERR] mod_sofia.c:2493 sofia_outgoing_channel() Invalid
Profile
2009-04-20 16:09:24 [NOTICE] mod_sofia.c:2622 sofia_outgoing_channel() Close
Channel N/A [CS_NEW]
2009-04-20 16:09:24 [ERR] switch_ivr_originate.c:1483 switch_ivr_originate()
Cannot create outgoing channel of type [sofia] cause:
[DESTINATION_OUT_OF_ORDER]
2009-04-20 16:09:24 [DEBUG] switch_ivr_originate.c:2081
switch_ivr_originate() Originate Resulted in Error Cause: 27
[DESTINATION_OUT_OF_ORDER]
2009-04-20 16:09:24 [INFO] mod_dptools.c:2036 audio_bridge_function()
Originate Failed. Cause: DESTINATION_OUT_OF_ORDER
2009-04-20 16:09:24 [NOTICE] mod_dptools.c:2068 audio_bridge_function()
Hangup sofia/external/4085649924@8.17.37.23 [CS_EXECUTE]
[DESTINATION_OUT_OF_ORDER]
2009-04-20 16:09:24 [DEBUG] switch_channel.c:1612
switch_channel_perform_hangup() Send signal
sofia/external/4085649924@8.17.37.23 [KILL]
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:479
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
EXECUTE going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_HANGUP
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:430
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
HANGUP
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:287 sofia_on_hangup() Channel
sofia/external/4085649924@8.17.37.23 hanging up, cause:
DESTINATION_OUT_OF_ORDER
2009-04-20 16:09:24 [DEBUG] mod_sofia.c:361 sofia_on_hangup() Responding to
INVITE with: 502
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:46
switch_core_standard_on_hangup() sofia/external/4085649924@8.17.37.23
Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:430
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
HANGUP going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:466
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
Change CS_HANGUP -> CS_REPORTING
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:869
switch_core_session_signal_state_change() Send signal
sofia/external/4085649924@8.17.37.23 [BREAK]
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:390
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) Running
State Change CS_REPORTING
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:418
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
REPORTING
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:53
switch_core_standard_on_reporting() sofia/external/4085649924@8.17.37.23
Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:418
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
REPORTING going to sleep
2009-04-20 16:09:24 [DEBUG] switch_core_state_machine.c:420
switch_core_session_run() (sofia/external/4085649924@8.17.37.23) State
Change CS_REPORTING -> CS_DONE
2009-04-20 16:09:24 [DEBUG] switch_core_session.c:1001
switch_core_session_thread() Session 10
(sofia/external/4085649924@8.17.37.23) Locked, Waiting on external entities
2009-04-20 16:09:24 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 10
(sofia/external/4085649924@8.17.37.23) Ended
2009-04-20 16:09:24 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/4085649924@8.17.37.23 [CS_DONE]
mercutioviz wrote:
Quote: |
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 "console loglevel debug" at the CLI...
-MC
On Mon, Apr 20, 2009 at 12:35 PM, winday <winday0215@yahoo.com> wrote:
Quote: |
I use () in public.xml and I got this:
2009-04-20 15:33:05 [NOTICE] switch_channel.c:592
switch_channel_set_name()
New Channel sofia/external/3521111111@8.17.37.23
[11d6eeca-2de2-11de-b7d7-f5179b281d4d]
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing
Cell Phone FL->winday in context public
2009-04-20 15:33:05 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer()
Transfer sofia/external/3521111111@8.17.37.23 to XML[winday0215@default]
2009-04-20 15:33:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing
Cell Phone FL->winday in context default
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:1296 sofia_receive_message()
Ring-Ready sofia/external/3521111111@8.17.37.23!
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:414 ring_ready_function() Ring
Ready sofia/external/3521111111@8.17.37.23!
2009-04-20 15:33:05 [ERR] mod_sofia.c:2493 sofia_outgoing_channel()
Invalid
Profile
2009-04-20 15:33:05 [NOTICE] mod_sofia.c:2622 sofia_outgoing_channel()
Close
Channel N/A [CS_NEW]
2009-04-20 15:33:05 [ERR] switch_ivr_originate.c:1483
switch_ivr_originate()
Cannot create outgoing channel of type [sofia] cause:
[DESTINATION_OUT_OF_ORDER]
2009-04-20 15:33:05 [INFO] mod_dptools.c:2036 audio_bridge_function()
Originate Failed. Cause: DESTINATION_OUT_OF_ORDER
2009-04-20 15:33:05 [NOTICE] mod_dptools.c:2068 audio_bridge_function()
Hangup sofia/external/3528713122@8.17.37.23 [CS_EXECUTE]
[DESTINATION_OUT_OF_ORDER]
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 3
(sofia/external/3521111111@8.17.37.23) Ended
2009-04-20 15:33:05 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 [CS_DONE]
winday wrote:
Quote: |
I want to config a system use extension 1001-1005. When a call come in,
all these five extensions will ring together. But when one picks up the
call,others will stop to ring.
Right now, I can config all the inbound calls ring on extension 1001. I
want to add other extensions in.
The configuration in public.xml is like this:
<extension name="teliax"> <!-- your provider or any name you'd like
| to
Quote: | call it -->
<condition field="destination_number" expression="^winday$"> <!--
your DID for this gateway-->
<!--<action application="transfer" data="$1 XML default"/>-->
<!---->
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
And the configuration in default.xml is as following:
<extension name="Inbound">
<!-- EDIT: change the DID to your inbound DID (DN) number -->
<!-- Note - you can use regx pattern matching if needed -->
<condition field="destination_number" expression="^winday$">
<!-- If you are going to ring multiple extensions you should send
back -->
<!-- a 180 ringing message to the provider.
-->
<action application="ring_ready" />
<!-- Set the maximum amount of time you want to ring the
| extensions
Quote: | (seconds) -->
<action application="set" data="call_timeout=20"/>
<!-- Sample single extension bridge -->
<action application="bridge"
| data="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}"/>
Quote: |
<!-- No one answered so launch the answering machine application
| -->
Quote: | <action application="javascript"
data="/usr/local/freeswitch/scripts/answermachine.js"/>
</condition>
</extension>
I got this log from my freeswitch console:
2009-04-20 15:09:56 [NOTICE] switch_channel.c:592
switch_channel_set_name() New Channel sofia/external/
| 3521111111@8.17.37.23
Quote: | [d5d30fce-2dde-11de-8a55-e3aa5c861d72]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing Cell Phone FL->winday in context public
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer() Transfer
sofia/external/3521111111@8.17.37.23 to XML[$1@default]
2009-04-20 15:09:56 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing Cell Phone FL->$1 in context default
2009-04-20 15:09:56 [NOTICE] switch_ivr.c:1345
switch_ivr_session_transfer() Transfer
sofia/external/3521111111@8.17.37.23 to enum[$1@default]
2009-04-20 15:09:56 [INFO] switch_core_state_machine.c:129
switch_core_standard_on_routing() No Route, Aborting
2009-04-20 15:09:56 [NOTICE] switch_core_state_machine.c:130
switch_core_standard_on_routing() Hangup
sofia/external/3521111111@8.17.37.23 [CS_ROUTING]
| [NO_ROUTE_DESTINATION]
Quote: | 2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1019
switch_core_session_thread() Session 21
(sofia/external/3521111111@8.17.37.23) Ended
2009-04-20 15:09:56 [NOTICE] switch_core_session.c:1021
switch_core_session_thread() Close Channel
sofia/external/3521111111@8.17.37.23 [CS_DONE]
Can anyone tell me what the problem is?
|
--
View this message in context:
http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143409.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
View this message in context: http://www.nabble.com/Problem-with-inbound-calls-ringing-for-multiple-extensions-tp23143108p23143984.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Apr 20, 2009 3:35 pm Post subject: [Freeswitch-users] Problem with inbound calls ringing for mu |
|
|
Doesn't matter how long the log file is... Please join #freeswitch on irc.freenode.net, this via email is just taking too long for my taste!
/b
On Apr 20, 2009, at 3:13 PM, winday wrote:
Quote: | 2009-04-20 16:09:24 [ERR] mod_sofia.c:2493 sofia_outgoing_channel() Invalid
Profile |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|