info at daccii.it Guest
|
Posted: Wed Oct 28, 2009 8:53 pm Post subject: [Freeswitch-users] Freeswitch seems to doesn't reknow dial t |
|
|
Hi to all,
this is my first message here!
I'm trying to setup a freeswitch box using 1.0.4 version compiled from
sources, ubuntu 8.04.03 lts with lastest updates and lastest zaptel
modules/tools compiled from sources. As hardware i'm using an OpenVox
A800P.
My problem is the following: if i do a call trought openzap it works,
but when i hang down and try a second call it doesn't work!
Looking with ztmonitor and hearing recorded audio file it seems that
freeswitch do the job on the first outgoing call but, on the second, it
does nothing because it doesn't reknow dial tone (but it is there). If i
call the freeswitch mananged number (i can answer or not, nothing
change) i can do another call, but, in any case, the successive call
doesn't start.
Looking with ztmonitor 1 -v i see that before the first call i get the
special dial tone (a continue 425 frequency to state that the line is
free to dial sended by the provider) but after the first call is done,
before the second, i didn't see any special dial tone ... that appears
for less than a sec when freeswitch starts to compose the number.
Here logs for first call
------
2009-10-28 21:38:39.616112 [INFO] ozmod_zt.c:636 Setting echo cancel to
64 taps for 1:1
2009-10-28 21:38:39.616112 [DEBUG] ozmod_analog.c:450 Executing state
handler on 1:1 for DIALING
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:398
(OpenZAP/1:1/xyz) Running State Change CS_INIT
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:481
(OpenZAP/1:1/xyz) State INIT
2009-10-28 21:38:39.616112 [DEBUG] mod_openzap.c:368 (OpenZAP/1:1/xyz)
State Change CS_INIT -> CS_ROUTING
2009-10-28 21:38:39.616112 [DEBUG] switch_core_session.c:932 Send signal
OpenZAP/1:1/xyz [BREAK]
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:481
(OpenZAP/1:1/xyz) State INIT going to sleep
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:398
(OpenZAP/1:1/xyz) Running State Change CS_ROUTING
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:484
(OpenZAP/1:1/xyz) State ROUTING
2009-10-28 21:38:39.616112 [DEBUG] mod_openzap.c:391 OpenZAP/1:1/xyz
CHANNEL ROUTING
2009-10-28 21:38:39.616112 [DEBUG] switch_ivr_originate.c:63
(OpenZAP/1:1/xyz) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2009-10-28 21:38:39.616112 [DEBUG] switch_core_session.c:932 Send signal
OpenZAP/1:1/xyz [BREAK]
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:484
(OpenZAP/1:1/xyz) State ROUTING going to sleep
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:398
(OpenZAP/1:1/xyz) Running State Change CS_CONSUME_MEDIA
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:503
(OpenZAP/1:1/xyz) State CONSUME_MEDIA
2009-10-28 21:38:40.475897 [DEBUG] ozmod_analog.c:655 Detected tone DIAL
on 1:1
2009-10-28 21:38:40.475897 [DEBUG] mod_openzap.c:1216 got FXO sig 1:1
[TONE_DETECTED]
------
Here logs for second call
------
2009-10-28 21:39:07.105916 [INFO] ozmod_zt.c:636 Setting echo cancel to
64 taps for 1:1
2009-10-28 21:39:07.105916 [DEBUG] ozmod_analog.c:450 Executing state
handler on 1:1 for DIALING
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:398
(OpenZAP/1:1/xyz) Running State Change CS_INIT
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:481
(OpenZAP/1:1/xyz) State INIT
2009-10-28 21:39:07.118644 [DEBUG] mod_openzap.c:368 (OpenZAP/1:1/xyz)
State Change CS_INIT -> CS_ROUTING
2009-10-28 21:39:07.118644 [DEBUG] switch_core_session.c:932 Send signal
OpenZAP/1:1/xyz [BREAK]
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:481
(OpenZAP/1:1/xyz) State INIT going to sleep
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:398
(OpenZAP/1:1/xyz) Running State Change CS_ROUTING
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:484
(OpenZAP/1:1/xyz) State ROUTING
2009-10-28 21:39:07.118644 [DEBUG] mod_openzap.c:391 OpenZAP/1:1/xyz
CHANNEL ROUTING
2009-10-28 21:39:07.118644 [DEBUG] switch_ivr_originate.c:63
(OpenZAP/1:1/xyz) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2009-10-28 21:39:07.118644 [DEBUG] switch_core_session.c:932 Send signal
OpenZAP/1:1/xyz [BREAK]
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:484
(OpenZAP/1:1/xyz) State ROUTING going to sleep
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:398
(OpenZAP/1:1/xyz) Running State Change CS_CONSUME_MEDIA
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:503
(OpenZAP/1:1/xyz) State CONSUME_MEDIA
------
Following my configs!
Really thanks for the help,
Best Regards,
Daniele
---
ZAPTEL.CONF
---
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Span 1: OPVXA1200/0 "OpenVox A1200P/A800P Board 1" (MASTER)
fxsks=1
fxsks=2
fxsks=3
fxsks=4
fxoks=5
# Global data
loadzone = it
defaultzone = it
---
ZT.CONF
---
[defaults]
codec_ms => 20
wink_ms => 150
flash_ms => 750
echo_cancel_level => 64
rxgain => 0.0
txgain => 0.0
---
OPENZAP.CONF
---
[span zt]
number => xyz
fxo-channel => 1
number => xyz
fxs-channel => 2
number => xyz
fxs-channel => 3
number => xyz
fxs-channel => 4
[span zt]
fxs-channel => 5
---
TONES.CONF
---
[it]
generate-dial => %(200, 200, 425);%(600, 1000, 425)
detect-dial => 425
generate-ring => %(1000, 4000, 425)
detect-ring => 425
generate-busy => %(500, 500, 425)
detect-busy => 425
generate-callwaiting-sas => %(400,100,425);%(250,100,425);%(150,0,425);
detect-callwaiting-sas => 425
---
OPENZAP.CONF.XML
---
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="0"/>
<param name="hold-music" value="$${moh_uri}"/>
</settings>
<analog_spans>
<span id="1">
<param name="tonegroup" value="it"/>
<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-callerid" value="true"/>
</span>
<span id="2">
<param name="tonegroup" value="it"/>
<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-callerid" value="true"/>
</span>
</analog_spans>
</configuration>
_______________________________________________
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 |
|