<div dir="ltr">try latest trunk, I added a patch to mod_openzap.c<br><br><br><div class="gmail_quote">On Wed, Oct 8, 2008 at 8:09 PM, Luis M. Zuccolo <span dir="ltr"><<a href="mailto:luismzuccolo@yahoo.com.ar">luismzuccolo@yahoo.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I've and openvox card with one fxo on port 1 connected to a line and one<br>
fxs card on port 3 connected to a phone.<br>
Up to svn 9890 its works ok but when upgrade to this version I get an<br>
DESTINATION_OUT_OF_ORDER error in calls bridged to a fxs.<br>
<br>
Thanks in advance<br>
<br>
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:144<br>
switch_core_standard_on_execute() OpenZAP/1:1/1 Execute<br>
bridge(openzap/3:1/1)<br>
2008-10-08 12:11:02 [ERR] mod_openzap.c:907 channel_outgoing_channel()<br>
Invalid dial string<br>
2008-10-08 12:11:02 [ERR] switch_ivr_originate.c:964<br>
switch_ivr_originate() Cannot create outgoing channel of type [openzap]<br>
cause: [DESTINATION_OUT_OF_ORDER]<br>
2008-10-08 12:11:02 [DEBUG] switch_ivr_originate.c:1454<br>
switch_ivr_originate() Originate Resulted in Error Cause: 27<br>
[DESTINATION_OUT_OF_ORDER]<br>
2008-10-08 12:11:02 [INFO] mod_dptools.c:1848 audio_bridge_function()<br>
Originate Failed. Cause: DESTINATION_OUT_OF_ORDER<br>
2008-10-08 12:11:02 [NOTICE] mod_dptools.c:1875 audio_bridge_function()<br>
Hangup OpenZAP/1:1/1 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]<br>
2008-10-08 12:11:02 [DEBUG] switch_channel.c:1434<br>
switch_channel_perform_hangup() Send signal OpenZAP/1:1/1 [KILL]<br>
2008-10-08 12:11:02 [DEBUG] switch_core_session.c:727<br>
switch_core_session_signal_state_change() Send signal OpenZAP/1:1/1<br>
[BREAK]<br>
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:432<br>
switch_core_session_run() (OpenZAP/1:1/1) State EXECUTE going to sleep<br>
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:367<br>
switch_core_session_run() OpenZAP/1:1/1 Running State Change CS_HANGUP<br>
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395<br>
switch_core_session_run() (OpenZAP/1:1/1) State HANGUP<br>
2008-10-08 12:11:02 [DEBUG] mod_openzap.c:428 channel_on_hangup()<br>
Changing state on 1:1 from IDLE to HANGUP<br>
2008-10-08 12:11:02 [DEBUG] mod_openzap.c:471 channel_on_hangup()<br>
OpenZAP/1:1/1 CHANNEL HANGUP<br>
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:46<br>
switch_core_standard_on_hangup() OpenZAP/1:1/1 Standard HANGUP, cause:<br>
DESTINATION_OUT_OF_ORDER<br>
2008-10-08 12:11:02 [DEBUG] switch_core_state_machine.c:395<br>
switch_core_session_run() (OpenZAP/1:1/1) State HANGUP going to sleep<br>
2008-10-08 12:11:02 [DEBUG] switch_core_session.c:815<br>
switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Locked, Waiting<br>
on external entities<br>
2008-10-08 12:11:02 [NOTICE] switch_core_session.c:833<br>
switch_core_session_thread() Session 3 (OpenZAP/1:1/1) Ended<br>
2008-10-08 12:11:02 [NOTICE] switch_core_session.c:835<br>
switch_core_session_thread() Close Channel OpenZAP/1:1/1 [CS_HANGUP]<br>
<br>
<br>
openzap.conf<br>
<br>
[span zt]<br>
name => OpenZAP<br>
number => 1<br>
fxo-channel => 1<br>
<br>
[span zt]<br>
name => OpenZAP<br>
number => 2<br>
fxo-channel => 2<br>
<br>
[span zt]<br>
name => OpenZAP<br>
number => 3<br>
fxs-channel => 3<br>
<br>
<br>
<openzap.conf.xml<br>
<br>
<configuration name="openzap.conf" description="OpenZAP Configuration"><br>
<settings><br>
<param name="debug" value="9"/><br>
</settings><br>
<analog_spans><br>
<span id="1"><br>
<param name="tonegroup" value="us"/><br>
<param name="digit-timeout" value="2000"/><br>
<param name="max-digits" value="11"/><br>
<param name="dialplan" value="XML"/><br>
<param name="context" value="default"/><br>
<param name="enable-analog-option" value="3-way"/><br>
<param name="moh" value="$${base_dir}/sounds/Dardedisco.wav"/><br>
</span><br>
<span id="2"><br>
<param name="tonegroup" value="us"/><br>
<param name="digit-timeout" value="2000"/><br>
<param name="max-digits" value="11"/><br>
<param name="dialplan" value="XML"/><br>
<param name="context" value="default"/><br>
<param name="enable-analog-option" value="3-way"/><br>
<param name="moh" value="$${base_dir}/sounds/Dardedisco.wav"/><br>
</span><br>
<span id="3"><br>
<param name="tonegroup" value="us"/><br>
<param name="digit-timeout" value="2000"/><br>
<param name="max-digits" value="11"/><br>
<param name="dialplan" value="XML"/><br>
<param name="context" value="default"/><br>
</span><br>
</analog_spans><br>
</configuration><br>
<br>
<br>
added to dialplan/default.xml<br>
<br>
<extension name="incoming-fx0-channel-1"><br>
<condition field="source" expression="mod_openzap"/><br>
<condition field="destination_number" expression=="^(1)$"><br>
<action application="set" data="call_timeout=60"/><br>
<action application="set" data="ringback=${us-ring}"/><br>
<action application="bridge" data="openzap/3/1"/><br>
</condition><br>
</extension><br>
<div class="WgoR0d"><br>
<br>
<br>
<br>
__________________________________________________<br>
Correo Yahoo!<br>
Espacio para todos tus mensajes, antivirus y antispam ˇgratis!<br>
ˇAbrí tu cuenta ya! - <a href="http://correo.yahoo.com.ar" target="_blank">http://correo.yahoo.com.ar</a><br>
<br>
<br>
</div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>