Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Originate works but dialplan does not work?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jason at jasonjgw.net
Guest





PostPosted: Wed Jun 24, 2009 4:45 am    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

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





PostPosted: Wed Jun 24, 2009 5:03 am    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

Ooops.. Sorry wrong spelling... Same issue

Jason White-14 wrote:
Quote:

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



--
View this message in context: http://www.nabble.com/Originate-works-but-dialplan-does-not-work--tp24181208p24181933.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





PostPosted: Wed Jun 24, 2009 1:16 pm    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

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:
Quote:

when a type on the API of freeswitch originate
sofia/external/8011104@116.541.23.12 1001, 8011104 my extension that I want
to call and its ip is 116.541.23.12. I register on 1001 using a softphone
(X-Lite) and my ip is 116.541.23.11. It works actually.

but when dialing on softphone 1001 account on ip 116.541.23.11 Temporary
Unavailable...

What do you think is the possible issue?

On originate it works sometimes but an ERR - SERVICE_NOT_IMPLEMENTED

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"
data="sofia/external/@1@116.541.23.12"/>
     </condition>
</extension>

Set acl perfectly.

I set auth-calls to false.

No found error on logs.

Just destroying the call...

Please help me...

Thanks

--
View this message in context: http://www.nabble.com/Originate-works-but-dialplan-does-not-work--tp24181208p24181208.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
darklion11 at yahoo.com
Guest





PostPosted: Wed Jun 24, 2009 9:37 pm    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

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





PostPosted: Wed Jun 24, 2009 10:26 pm    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

put your extension in dialplan/public.xml instead of sip_profiles/
external/myprofile.xml


On Jun 24, 2009, at 6:02 PM, Edmar Cruz wrote:

Quote:

Ooops.. Sorry wrong spelling... Same issue

Jason White-14 wrote:
Quote:

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



--
View this message in context: http://www.nabble.com/Originate-works-but-dialplan-does-not-work--tp24181208p24181933.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
Back to top
darklion11 at yahoo.com
Guest





PostPosted: Wed Jun 24, 2009 10:41 pm    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

If then, what bridge i shall call to?

Like this?

<action application="bridge" data="sofia/external/@1@116.541.23.12"/>


dujinfang wrote:
Quote:

put your extension in dialplan/public.xml instead of sip_profiles/
external/myprofile.xml


On Jun 24, 2009, at 6:02 PM, Edmar Cruz wrote:

Quote:

Ooops.. Sorry wrong spelling... Same issue

Jason White-14 wrote:
Quote:

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



--
View this message in context:
http://www.nabble.com/Originate-works-but-dialplan-does-not-work--tp24181208p24181933.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/Originate-works-but-dialplan-does-not-work--tp24181208p24196467.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
darklion11 at yahoo.com
Guest





PostPosted: Thu Jun 25, 2009 4:00 am    Post subject: [Freeswitch-users] Originate works but dialplan does not wor Reply with quote

Thanks a lot it works for me...

Edmar Cruz wrote:
Quote:

If then, what bridge i shall call to?

Like this?

<action application="bridge" data="sofia/external/@1@116.541.23.12"/>


dujinfang wrote:
Quote:

put your extension in dialplan/public.xml instead of sip_profiles/
external/myprofile.xml


On Jun 24, 2009, at 6:02 PM, Edmar Cruz wrote:

Quote:

Ooops.. Sorry wrong spelling... Same issue

Jason White-14 wrote:
Quote:

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



--
View this message in context:
http://www.nabble.com/Originate-works-but-dialplan-does-not-work--tp24181208p24181933.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/Originate-works-but-dialplan-does-not-work--tp24181208p24199253.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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services