[Freeswitch-users] dialpaln

Anthony Minessale anthony.minessale at gmail.com
Thu Sep 18 09:28:02 PDT 2008


post

openzap.conf.xml
openzap.conf
and outbout of ztcfg -vv

note: openzap does not ask for opposite names like asterisk does in
openzap.conf
if it's fxo say fxo not fxs




On Thu, Sep 18, 2008 at 11:18 AM, Michael Jerris <mike at jerris.com> wrote:

> Your dialplan is fixed now, this is an issue with openzap now, can you
> clarify your openzap configuration and what kind of line it is hooked too
> please?
>
> Mike
>
>
> On Sep 18, 2008, at 3:55 AM, Gopal krishnan wrote:
>
> Hi Brian,
>
>   I tried as you suggested, but still my outbound is not yet thru, my log
> as follows,
>
> *default.xml*
> <?xml version="1.0" encoding="utf-8"?>
> <!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
> <include>
>   <context name="default">
>
> <extension name="Long Distance - wanpipe">
>     <condition field="destination_number" expression="^9(\d{5,15})$">
>       <action application="set" data="dialed_ext=$1"/>
>       <action application="bridge" data="OpenZAP/1/a/${dialed_ext}"/>
>      </condition>
>    </extension>
>
>
>   </context>
> </include>
>
> *Freeswitch Log*
> 2008-09-18 13:24:40 [INFO] mod_dialplan_xml.c:228 dialplan_hunt()
> Processing FreeSwitch->9894929942 in context default
> 2008-09-18 13:24:40 [DEBUG] mod_dialplan_xml.c:113 parse_exten() test
> conditions destination_number(9894929942) =~ /^9(\d{5,15})$/
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:97
> switch_core_standard_on_routing() sofia/internal/1002 at 172.20.176.32 State
> Change CS_ROUTING -> CS_EXECUTE
> 2008-09-18 13:24:40 [DEBUG] switch_core_session.c:727
> switch_core_session_signal_state_change() Kill sofia/internal/
> 1002 at 172.20.176.32 [BREAK]
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:420
> switch_core_session_run() (sofia/internal/1002 at 172.20.176.32) State
> ROUTING going to sleep
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:365
> switch_core_session_run() sofia/internal/1002 at 172.20.176.32 Running State
> Change CS_EXECUTE
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:430
> switch_core_session_run() (sofia/internal/1002 at 172.20.176.32) State
> EXECUTE
> 2008-09-18 13:24:40 [DEBUG] mod_sofia.c:156 sofia_on_execute()
> sofia/internal/1002 at 172.20.176.32 SOFIA EXECUTE
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:129
> switch_core_standard_on_execute() Standard EXECUTE
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:140
> switch_core_standard_on_execute() sofia/internal/1002 at 172.20.176.32Execute set(dialed_ext=894929942)
> 2008-09-18 13:24:40 [DEBUG] mod_dptools.c:703 set_function() SET
> [dialed_ext]=[894929942]
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:140
> switch_core_standard_on_execute() sofia/internal/1002 at 172.20.176.32Execute bridge(OpenZAP/1/a/${dialed_ext})
> 2008-09-18 13:24:40 [DEBUG] switch_core_session.c:1059
> switch_core_session_execute_application() sofia/internal/
> 1002 at 172.20.176.32 Expanded String bridge(OpenZAP/1/a/894929942)
> 2008-09-18 13:24:40 [DEBUG] mod_openzap.c:336 tech_init() Set codec PCMA
> 0ms
> 2008-09-18 13:24:40 [DEBUG] mod_openzap.c:951 channel_outgoing_channel()
> Connect outbound channel OpenZAP/1:1/894929942
> 2008-09-18 13:24:40 [NOTICE] switch_channel.c:538 switch_channel_set_name()
> New Channel OpenZAP/1:1/894929942 [51fec759-8786-4114-9d1e-078209187b43]
> 2008-09-18 13:24:40 [DEBUG] mod_openzap.c:960 channel_outgoing_channel()
> OpenZAP/1:1/894929942 State Change CS_NEW -> CS_INIT
> 2008-09-18 13:24:40 [DEBUG] switch_core_session.c:727
> switch_core_session_signal_state_change() Kill OpenZAP/1:1/894929942 [BREAK]
> 2008-09-18 13:24:40 [DEBUG] ozmod_isdn.c:60 isdn_outgoing_call() Changing
> state on 1:1 from DOWN to DIALING
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:365
> switch_core_session_run() OpenZAP/1:1/894929942 Running State Change CS_INIT
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:415
> switch_core_session_run() (OpenZAP/1:1/894929942) State INIT
> 2008-09-18 13:24:40 [DEBUG] mod_openzap.c:360 channel_on_init()
> OpenZAP/1:1/894929942 State Change CS_INIT -> CS_ROUTING
> 2008-09-18 13:24:40 [DEBUG] switch_core_session.c:727
> switch_core_session_signal_state_change() Kill OpenZAP/1:1/894929942 [BREAK]
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:415
> switch_core_session_run() (OpenZAP/1:1/894929942) State INIT going to sleep
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:365
> switch_core_session_run() OpenZAP/1:1/894929942 Running State Change
> CS_ROUTING
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:420
> switch_core_session_run() (OpenZAP/1:1/894929942) State ROUTING
> 2008-09-18 13:24:40 [DEBUG] mod_openzap.c:381 channel_on_routing()
> OpenZAP/1:1/894929942 CHANNEL ROUTING
> 2008-09-18 13:24:40 [DEBUG] switch_ivr_originate.c:57
> originate_on_routing() OpenZAP/1:1/894929942 State Change CS_ROUTING ->
> CS_CONSUME_MEDIA
> 2008-09-18 13:24:40 [DEBUG] switch_core_session.c:727
> switch_core_session_signal_state_change() Kill OpenZAP/1:1/894929942 [BREAK]
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:420
> switch_core_session_run() (OpenZAP/1:1/894929942) State ROUTING going to
> sleep
> 2008-09-18 13:24:40 [DEBUG] switch_core_state_machine.c:365
> switch_core_session_run() OpenZAP/1:1/894929942 Running State Change
> CS_CONSUME_MEDIA
>
>
> so still the outbound is not yet thru. Thanks
>
>>
>>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080918/703adba9/attachment-0002.html 


More information about the FreeSWITCH-users mailing list