Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Openzap error


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





PostPosted: Wed Oct 08, 2008 8:11 pm    Post subject: [Freeswitch-users] Openzap error Reply with quote

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@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
anthony.minessale at g...
Guest





PostPosted: Wed Oct 08, 2008 8:20 pm    Post subject: [Freeswitch-users] Openzap error Reply with quote

try latest trunk, I added a patch to mod_openzap.c


On Wed, Oct 8, 2008 at 8:09 PM, Luis M. Zuccolo <luismzuccolo@yahoo.com.ar (luismzuccolo@yahoo.com.ar)> wrote:
Quote:
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@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




--
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
luismzuccolo at yahoo....
Guest





PostPosted: Wed Oct 08, 2008 9:22 pm    Post subject: [Freeswitch-users] Openzap error Reply with quote

Its works!!!

Thanks

On Wed, 2008-10-08 at 20:18 -0500, Anthony Minessale wrote:
Quote:
try latest trunk, I added a patch to mod_openzap.c


On Wed, Oct 8, 2008 at 8:09 PM, Luis M. Zuccolo
<luismzuccolo@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400

_______________________________________________
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

__________________________________________________
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@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