[Freeswitch-users] dialpaln

Gopal krishnan saigop at gmail.com
Thu Sep 18 22:57:02 PDT 2008


Hi Anthony,

 My conf as follows,

*openzap.conf*
[span wanpipe]
 trunk_type => e1
 b-channel => 1:1-15
 d-channel=> 1:16
 b-channel => 1:17-31

*openzap.conf.xml*
 <configuration name="openzap.conf" description="OpenZAP Configuration">
 <settings>
   <param name="debug" value="0" />
  </settings>
 <pri_spans>
 <span id="1">
   <param name="mode" value="user" />
   <param name="dialect" value="euro" />
   <param name="dialplan" value="XML" />
   <param name="context" value="default" />
  </span>
  </pri_spans>
  </configuration>

*ztcfg -vv
*Still I have not installed zaptel, I have went thru that for openzap with
sangoma no need of zaptel, so I never installed zaptel, and also I am not
sure whether zaptel is required.

Can I try installing zaptel?



On Thu, Sep 18, 2008 at 9:58 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> 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
>
> _______________________________________________
> 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
>
>


-- 
Thank you with regards,
Gopal,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080919/3b8f878d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list