[Freeswitch-users] Openzap error

Luis M. Zuccolo luismzuccolo at yahoo.com.ar
Wed Oct 8 19:19:50 PDT 2008


Its works!!!

Thanks

On Wed, 2008-10-08 at 20:18 -0500, Anthony Minessale wrote:
> try latest trunk, I added a patch to mod_openzap.c
> 
> 
> On Wed, Oct 8, 2008 at 8:09 PM, Luis M. Zuccolo
> <luismzuccolo at yahoo.com.ar> wrote:
>         Hi,
>         
>         I've and openvox card with one fxo on port 1 connected to a
>         line and one
>         fxs card on port 3 connected to a phone.
>         Up to svn 9890 its works ok but when upgrade to this version I
>         get an
>         DESTINATION_OUT_OF_ORDER error in calls bridged to a fxs.
>         
>         Thanks in advance
>         
>         2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:144
>         switch_core_standard_on_execute() OpenZAP/1:1/1 Execute
>         bridge(openzap/3:1/1)
>         2008-10-08 12:11:02 [ERR] mod_openzap.c:907
>         channel_outgoing_channel()
>         Invalid dial string
>         2008-10-08 12:11:02 [ERR] switch_ivr_originate.c:964
>         switch_ivr_originate() Cannot create outgoing channel of type
>         [openzap]
>         cause: [DESTINATION_OUT_OF_ORDER]
>         2008-10-08 12:11:02 [DEBUG] switch_ivr_originate.c:1454
>         switch_ivr_originate() Originate Resulted in Error Cause: 27
>         [DESTINATION_OUT_OF_ORDER]
>         2008-10-08 12:11:02 [INFO] mod_dptools.c:1848
>         audio_bridge_function()
>         Originate Failed.  Cause: DESTINATION_OUT_OF_ORDER
>         2008-10-08 12:11:02 [NOTICE] mod_dptools.c:1875
>         audio_bridge_function()
>         Hangup OpenZAP/1:1/1 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
>         2008-10-08 12:11:02 [DEBUG] switch_channel.c:1434
>         switch_channel_perform_hangup() Send signal OpenZAP/1:1/1
>         [KILL]
>         2008-10-08 12:11:02 [DEBUG] switch_core_session.c:727
>         switch_core_session_signal_state_change() Send signal
>         OpenZAP/1:1/1
>         [BREAK]
>         2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:432
>         switch_core_session_run() (OpenZAP/1:1/1) State EXECUTE going
>         to sleep
>         2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:367
>         switch_core_session_run() OpenZAP/1:1/1 Running State Change
>         CS_HANGUP
>         2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395
>         switch_core_session_run() (OpenZAP/1:1/1) State HANGUP
>         2008-10-08 12:11:02 [DEBUG] mod_openzap.c:428
>         channel_on_hangup()
>         Changing state on 1:1 from IDLE to HANGUP
>         2008-10-08 12:11:02 [DEBUG] mod_openzap.c:471
>         channel_on_hangup()
>         OpenZAP/1:1/1 CHANNEL HANGUP
>         2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:46
>         switch_core_standard_on_hangup() OpenZAP/1:1/1 Standard
>         HANGUP, cause:
>         DESTINATION_OUT_OF_ORDER
>         2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395
>         switch_core_session_run() (OpenZAP/1:1/1) State HANGUP going
>         to sleep
>         2008-10-08 12:11:02 [DEBUG] switch_core_session.c:815
>         switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Locked,
>         Waiting
>         on external entities
>         2008-10-08 12:11:02 [NOTICE] switch_core_session.c:833
>         switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Ended
>         2008-10-08 12:11:02 [NOTICE] switch_core_session.c:835
>         switch_core_session_thread() Close Channel OpenZAP/1:1/1
>         [CS_HANGUP]
>         
>         
>         openzap.conf
>         
>         [span zt]
>         name => OpenZAP
>         number => 1
>         fxo-channel => 1
>         
>         [span zt]
>         name => OpenZAP
>         number => 2
>         fxo-channel => 2
>         
>         [span zt]
>         name => OpenZAP
>         number => 3
>         fxs-channel => 3
>         
>         
>         <openzap.conf.xml
>         
>         <configuration name="openzap.conf" description="OpenZAP
>         Configuration">
>          <settings>
>           <param name="debug" value="9"/>
>          </settings>
>          <analog_spans>
>          <span id="1">
>           <param name="tonegroup" value="us"/>
>           <param name="digit-timeout" value="2000"/>
>           <param name="max-digits" value="11"/>
>           <param name="dialplan" value="XML"/>
>           <param name="context" value="default"/>
>           <param name="enable-analog-option" value="3-way"/>
>           <param name="moh"
>         value="$${base_dir}/sounds/Dardedisco.wav"/>
>          </span>
>          <span id="2">
>           <param name="tonegroup" value="us"/>
>           <param name="digit-timeout" value="2000"/>
>           <param name="max-digits" value="11"/>
>           <param name="dialplan" value="XML"/>
>           <param name="context" value="default"/>
>           <param name="enable-analog-option" value="3-way"/>
>           <param name="moh"
>         value="$${base_dir}/sounds/Dardedisco.wav"/>
>          </span>
>          <span id="3">
>           <param name="tonegroup" value="us"/>
>           <param name="digit-timeout" value="2000"/>
>           <param name="max-digits" value="11"/>
>           <param name="dialplan" value="XML"/>
>           <param name="context" value="default"/>
>          </span>
>          </analog_spans>
>         </configuration>
>         
>         
>         added to dialplan/default.xml
>         
>          <extension name="incoming-fx0-channel-1">
>            <condition field="source" expression="mod_openzap"/>
>            <condition field="destination_number" expression=="^(1)$">
>              <action application="set" data="call_timeout=60"/>
>              <action application="set" data="ringback=${us-ring}"/>
>              <action application="bridge" data="openzap/3/1"/>
>            </condition>
>          </extension>
>         
>         
>         
>         
>         __________________________________________________
>         Correo Yahoo!
>         Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
>         ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
>         
>         
>         
>         
>         _______________________________________________
>         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
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 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

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar





More information about the FreeSWITCH-users mailing list