View previous topic :: View next topic |
Author |
Message |
jason at jasonjgw.net Guest
|
Posted: Wed Jun 24, 2009 4:45 am Post subject: [Freeswitch-users] Originate works but dialplan does not wor |
|
|
Edmar Cruz <darklion11@yahoo.com> wrote:
Quote: | Here is my dialplan on sip_profiles/external/myprofile.xml
<extension name="dialmyprof">
<condition field="destination_number" expression="^(\d+)$">
<action application="set" data="gate_site_id=1"/>
<action application="bridge"
|
The above should be $1 not @1
_______________________________________________
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 |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Jun 24, 2009 1:16 pm Post subject: [Freeswitch-users] Originate works but dialplan does not wor |
|
|
Turn on debugging and capture the output. Put it in a pastebin and post the link here. We'll take a look.
-MC
On Wed, Jun 24, 2009 at 2:10 AM, Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)> wrote:
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
Posted: Wed Jun 24, 2009 9:37 pm Post subject: [Freeswitch-users] Originate works but dialplan does not wor |
|
|
This is on my freeswitch logs...
09-06-25 10:21:50 [DEBUG] sofia_glue.c:1913 sofia_glue_tech_set_codec() Set
Codec sofia/internal/1001@116.541.23.11 PCMU/8000 20 ms 160 samples
2009-06-25 10:21:50 [DEBUG] sofia_glue.c:2915 sofia_glue_negotiate_sdp() Set
2833 dtmf payload to 101
2009-06-25 10:21:50 [DEBUG] sofia.c:3203 sofia_handle_sip_i_state()
(sofia/internal/1001@116.541.23.11) State Change CS_NEW -> CS_INIT
2009-06-25 10:21:50 [DEBUG] switch_core_session.c:933
switch_core_session_signal_state_change() Send signal
sofia/internal/1001@116.541.23.11 [BREAK]
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/1001@116.541.23.11) Running State
Change CS_INIT
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:480
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State INIT
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:83 sofia_on_init()
sofia/internal/1001@116.541.23.12 SOFIA INIT
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:111 sofia_on_init()
(sofia/internal/1001@116.541.23.11) State Change CS_INIT -> CS_ROUTING
2009-06-25 10:21:50 [DEBUG] switch_core_session.c:933
switch_core_session_signal_state_change() Send signal
sofia/internal/1001@116.541.23.11 [BREAK]
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:480
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State INIT
going to sleep
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/1001@116.541.23.11) Running State
Change CS_ROUTING
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:483
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State ROUTING
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:130 sofia_on_routing()
sofia/internal/1001@116.541.23.11 SOFIA ROUTING
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:78
switch_core_standard_on_routing() sofia/internal/1001@116.541.23.11 Standard
ROUTING
2009-06-25 10:21:50 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Edmar->639273642511 in context public
Dialplan: sofia/internal/1001@116.541.23.11 parsing [public->unloop]
continue=false
Dialplan: sofia/internal/1001@116.541.23.11 Regex (PASS) [unloop]
${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/1001@116.541.23.11 Regex (FAIL) [unloop]
${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/1001@116.541.23.11 parsing [public->outside_call]
continue=true
Dialplan: sofia/internal/1001@116.541.23.11 Absolute Condition
[outside_call]
Dialplan: sofia/internal/1001@116.541.23.11 Action set(outside_call=true)
Dialplan: sofia/internal/1001@116.541.23.11 parsing [public->call_debug]
continue=true
Dialplan: sofia/internal/1001@116.541.23.11 Regex (FAIL) [call_debug]
${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/1001@116.541.23.11 parsing
[public->public_extensions] continue=false
Dialplan: sofia/internal/1001@116.541.23.11 Regex (FAIL) [public_extensions]
destination_number(639273642511) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1001@116.541.23.11 parsing [public->public_did]
continue=false
Dialplan: sofia/internal/1001@116.541.23.11 Regex (FAIL) [public_did]
destination_number(639273642511) =~ /^(5551212)$/ break=on-false
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:114
switch_core_standard_on_routing() (sofia/internal/1001@116.541.23.11) State
Change CS_ROUTING -> CS_EXECUTE
2009-06-25 10:21:50 [DEBUG] switch_core_session.c:933
switch_core_session_signal_state_change() Send signal
sofia/internal/1001@116.541.23.11 [BREAK]
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:483
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State ROUTING
going to sleep
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/1001@116.541.23.11) Running State
Change CS_EXECUTE
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:490
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State EXECUTE
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/internal/1001@116.541.23.11 SOFIA EXECUTE
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:151
switch_core_standard_on_execute() sofia/internal/1001@116.541.23.11 Standard
EXECUTE
EXECUTE sofia/internal/1001@116.541.23.11 set(outside_call=true)
2009-06-25 10:21:50 [DEBUG] mod_dptools.c:748 set_function()
sofia/internal/1001@116.541.23.11 SET [outside_call]=[true]
2009-06-25 10:21:50 [NOTICE] switch_core_state_machine.c:179
switch_core_standard_on_execute() Hangup sofia/internal/1001@116.541.23.11
[CS_EXECUTE] [NORMAL_CLEARING]
2009-06-25 10:21:50 [DEBUG] switch_channel.c:1660
switch_channel_perform_hangup() Send signal
sofia/internal/1001@116.541.23.11 [KILL]
2009-06-25 10:21:50 [DEBUG] switch_core_session.c:933
switch_core_session_signal_state_change() Send signal
sofia/internal/1001@116.541.23.11 [BREAK]
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:490
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State EXECUTE
going to sleep
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/1001@116.541.23.11) Running State
Change CS_HANGUP
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:433
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State HANGUP
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:323 sofia_on_hangup() Channel
sofia/internal/1001@116.541.23.11 hanging up, cause: NORMAL_CLEARING
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:399 sofia_on_hangup() Responding to
INVITE with: 480
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:46
switch_core_standard_on_hangup() sofia/internal/1001@116.541.23.11 Standard
HANGUP, cause: NORMAL_CLEARING
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:433
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State HANGUP
going to sleep
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:475
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State Change
CS_HANGUP -> CS_REPORTING
2009-06-25 10:21:50 [DEBUG] switch_core_session.c:933
switch_core_session_signal_state_change() Send signal
sofia/internal/1001@116.541.23.11 [BREAK]
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/1001@116.541.23.11) Running State
Change CS_REPORTING
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:607
switch_core_session_reporting_state() (sofia/internal/1001@116.541.23.11)
State REPORTING
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:53
switch_core_standard_on_reporting() sofia/internal/1001@116.541.23.11
Standard REPORTING, cause: NORMAL_CLEARING
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:607
switch_core_session_reporting_state() (sofia/internal/1001@116.541.23.11)
State REPORTING going to sleep
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:410
switch_core_session_run() (sofia/internal/1001@116.541.23.11) State Change
CS_REPORTING -> CS_DESTROY
2009-06-25 10:21:50 [DEBUG] switch_core_session.c:1067
switch_core_session_thread() Session 3 (sofia/internal/1001@116.541.23.11)
Locked, Waiting on external entities
2009-06-25 10:21:50 [NOTICE] switch_core_session.c:1085
switch_core_session_thread() Session 3 (sofia/internal/1001@116.541.23.11)
Ended
2009-06-25 10:21:50 [NOTICE] switch_core_session.c:1087
switch_core_session_thread() Close Channel sofia/internal/1001@116.541.23.11
[CS_DESTROY]
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:559
switch_core_session_destroy_state() (sofia/internal/1001@116.541.23.11)
State DESTROY
2009-06-25 10:21:50 [DEBUG] mod_sofia.c:240 sofia_on_destroy()
sofia/internal/1001@116.541.23.11 SOFIA DESTROY
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:60
switch_core_standard_on_destroy() sofia/internal/1001@116.541.23.11 Standard
DESTROY
2009-06-25 10:21:50 [DEBUG] switch_core_state_machine.c:559
switch_core_session_destroy_state() (sofia/internal/1001@116.541.23.11)
State DESTROY going to sleep
--
View this message in context: http://www.nabble.com/Originate-works-but-dialplan-does-not-work--tp24181208p24196071.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 |
|
|
dujinfang at gmail.com Guest
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
|