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@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@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@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@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@172.20.176.32) State EXECUTE
2008-09-18 13:24:40 [DEBUG] mod_sofia.c:156 sofia_on_execute() sofia/internal/1002@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@172.20.176.32 Execute 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@172.20.176.32 Execute 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@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