[Freeswitch-users] Openvox tdma400p fail to Disconnect/Hangup detect (Dahdi/Freetdm)

RrodolfoS . rrodolfos at gmail.com
Mon May 7 05:58:32 MSD 2012


James,

lsdahdi
### Span  1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
  1 FXO        FXSKS       (EC: MG2 - INACTIVE)
  2 unknown    Reserved
  3 unknown    Reserved
  4 unknown    Reserved

dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV E/F Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV E/F
location=PCI Bus 02 Slot 03
basechan=1
totchans=4
irq=0
type=analog
port=1,FXO
port=2,none
port=3,none
port=4,none

dahdi_speed
Count: 988371

dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
99.995% 99.989% 99.994% 99.994% 99.994% 99.994% 99.994% 99.994%
99.995% 99.988% 99.994% 99.995% 99.994% 99.994% 99.994% 99.994%
99.994% 99.992% 99.994% 99.994% 99.995% 99.994% 99.994% 99.994%

ftdm alarms 1 1
+OK No alarms

ftdm iostats 1 1
-- IO statistics for channel 1:1 --
Rx errors: 0
Rx queue size: 0
Rx queue len: 0
Rx count: 0
Tx errors: 0
Tx queue size: 0
Tx queue len: 0
Tx count: 0
Tx idle: 0
+OK

ftdm ioread 1 1
2012-05-06 21:16:55.380451 [INFO] ftmod_zt.c:656 Setting echo cancel
to 64 taps for 1:1

ftdm dump 1 1
span_id: 1
chan_id: 1
physical_span_id: 1
physical_chan_id: 1
physical_status: ok
physical_status_red: 0
physical_status_yellow: 0
physical_status_rai: 0
physical_status_blue: 0
physical_status_ais: 0
physical_status_general: 0
signaling_status: UP
type: FXO
state: DOWN
last_state: UP
txgain: 0.00
rxgain: 0.00
cid_date:
cid_name:
cid_num:
ani:
aniII:
dnis:
rdnis:
cause: NONE
session: (none)

-- States --                   -- Function --                 --
Location --                 -- Time Offset --
DOWN  => GET_CALLERID          [process_event]
[ftmod_analog.c:1026]          0ms
GET_CALLERID => RING           [ftdm_analog_channel_run]
[ftmod_analog.c:497]           4999ms
RING  => PROGRESS              [channel_receive_message_fxo]
[mod_freetdm.c:1029]           72ms
PROGRESS => PROGRESS_MEDIA     [channel_receive_message_fxo]
[mod_freetdm.c:1029]           10ms
PROGRESS_MEDIA => UP           [channel_receive_message_fxo]
[mod_freetdm.c:1029]           0ms
UP    => DOWN                  [process_event]
[ftmod_analog.c:1051]          64980ms

Time since last state change: 277022ms

ftdm list
+OK
span: 1 (FXO1)
type: analog
physical_status: ok
signaling_status: UP
chan_count: 1
dialplan: XML
context: public
dial_regex:
fail_dial_regex:
hold_music:
analog_options: none

RrodolfoS

P.D: Venezuelan PSTN

On Sun, May 6, 2012 at 8:00 PM, James zhu <zhulizhong at live.com> wrote:
> please check the the channels with alarm. what is the result of dahdi_tool?
>
>
> Best regards,
> James.zhu
> Doing asterisk/PRI/ss7/dahdi, linux, asterisk/sangoma cards, recording
> device, VOIP gateway.
> website: www.hiastar.com
>
>
>> Date: Sat, 5 May 2012 11:16:31 -0430
>> From: rrodolfos at gmail.com
>> To: freeswitch-users at lists.freeswitch.org
>> Subject: Re: [Freeswitch-users] Openvox tdma400p fail to Disconnect/Hangup
>> detect (Dahdi/Freetdm)
>
>>
>> James,
>>
>> In freeswitch console (Cli) show this:
>>
>> 2012-05-05 10:10:33.464451 [ERR] ftmod_zt.c:1137 [s1c1][1:1] Got
>> polarity reverse (ZT_EVENT_POLARITY)
>> 2012-05-05 10:10:33.464451 [WARNING] ftdm_io.c:1786 [s1c1][1:1] Cannot
>> open channel when is alarmed
>> 2012-05-05 10:10:33.464451 [ERR] ftmod_analog.c:444 [s1c1][1:1] OPEN
>> ERROR [Channel is alarmed
>> ]
>> 2012-05-05 10:10:33.464451 [WARNING] ftdm_io.c:2765 [s1c1][1:1]
>> Channel not opened, proceeding anyway
>> 2012-05-05 10:10:34.404449 [NOTICE] mod_freetdm.c:1887 Alarm cleared
>> on channel 1:1
>> .
>> .
>> .
>> 2012-05-05 10:13:06.704451 [ERR] ftmod_zt.c:1137 [s1c1][1:1] Got
>> polarity reverse (ZT_EVENT_POLARITY)
>> 2012-05-05 10:13:06.724453 [WARNING] ftmod_analog.c:621 [s1c1][1:1]
>> Not hanging up on polarity reverse, too close to Answer reverse
>> Details:
>> FreeSWITCH Version 1.1.beta1 (git-4283408 2012-04-29 11-33-24 -0400)
>> dahdi-linux-complete-2.6.1+2.6.1 downloaded from asterisk
>>
>> /etc/dahdi/system.conf
>> fxsks=1
>> echocanceller=mg2,1
>> loadzone = ve
>> defaultzone = ve
>>
>> /usr/local/freeswitch/conf/freetdm.conf
>> [general]
>> cpu_monitor => no
>> cpu_monitoring_interval => 1000
>> cpu_set_alarm_threshold => 80
>> cpu_reset_alarm_threshold => 70
>> cpu_alarm_action => warn
>> [span zt FXO1]
>> fxo-channel => 1
>>
>> /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
>> <configuration name="freetdm.conf" description="FreeTDM Configuration">
>>
>> <settings>
>> <param name="debug" value="0"/>
>> </settings>
>> <analog_spans>
>> <span name="FXO1">
>> <param name="tonegroup" value="ve"/>
>> <param name="enable-callerid" value="true"/>
>> <param name="answer-polarity-reverse" value="true"/>
>> <param name="hangup-polarity-reverse" value="true"/>
>> <param name="polarity-delay" value="600"/>
>> <param name="polarity-callerid" value="true"/>
>> <param name="dialplan" value="XML"/>
>> <param name="context" value="public"/>
>> </span>
>> </analog_spans>
>>
>> </configuration>
>>
>> RrodolfoS
>>
>> On Fri, May 4, 2012 at 8:26 PM, James zhu <zhulizhong at live.com> wrote:
>> > please show the conf files.
>> > Best regards,
>> > James.zhu
>> > Doing asterisk/PRI/ss7/dahdi, linux, asterisk/sangoma cards, recording
>> > device, VOIP gateway.
>> > website: www.hiastar.com
>> >
>> >
>> >> Date: Fri, 4 May 2012 10:33:52 -0430
>> >> From: rrodolfos at gmail.com
>> >> To: FreeSWITCH-users at lists.freeswitch.org
>> >> Subject: [Freeswitch-users] Openvox tdma400p fail to Disconnect/Hangup
>> >> detect (Dahdi/Freetdm)
>> >
>> >>
>> >> Hi,
>> >>
>> >> Freeswitch can recive calls, but the call is end, openvox tdma400p,
>> >> can't detect disconnection or hangup.
>> >>
>> >> Any idea?
>> >>
>> >> RrodolfoS
>> >>
>> >>
>> >> _________________________________________________________________________
>> >> Professional FreeSWITCH Consulting Services:
>> >> consulting at freeswitch.org
>> >> http://www.freeswitchsolutions.com
>> >>
>> >> 
>> >> 
>> >>
>> >> Official FreeSWITCH Sites
>> >> http://www.freeswitch.org
>> >> http://wiki.freeswitch.org
>> >> http://www.cluecon.com
>> >>
>> >> 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
>> >
>> >
>> > _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > 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
>> >
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list