[Freeswitch-users] Can't make calls with FXO port with FreeTDM

neo haux neo.haux at gmx.com
Tue May 13 00:11:44 MSD 2014


Hi all,

I am struggling to get my TDM400P card works with FS FreeSWITCH Version
1.5.13b+git~20140510T065717Z~b8a32ed0f3~32bit (git b8a32ed 2014-05-10
06:57:17Z 32bit)
 on a Via mother board with "VIA Samuel 2" CPU

I can receive call from PSTN (I am in Canada) via my FXO port with no
problem. but impossible to make outgoing calls form internal station to
PSTN(neither from SIP client nor from analog phone connected to FXS port) .
it keeps telling me that the line is
[CS_CONSUME_MEDIA] [NORMAL_CIRCUIT_CONGESTION]  but that's not true ! hte
line is not busy


I have the same hardware with asterisk and all work smoothly. I have no
idea where to look for to debug this problem.

My FTDM list shows:

freeswitch at internal> ftdm list
+OK
span: 1 (myFXO1)
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
+OK
span: 2 (myFXS3)
type: analog
physical_status: ok
signaling_status: UP
chan_count: 1
dialplan: XML
context: default
dial_regex:
fail_dial_regex:
hold_music:
analog_options: call swap


The interesting (strange) lines I read from the console when I start a call
to PSTN:

....
....
....
freeswitch at internal> 2014-05-12 10:57:05.857571 [DEBUG] ftmod_analog.c:503
[s1c1][1:1] Changed state from DIALING to BUSY
2014-05-12 10:57:05.877579 [DEBUG] ftmod_analog.c:638 [s1c1][1:1] Completed
state change from DIALING to BUSY in 20 ms
2014-05-12 10:57:05.877579 [DEBUG] ftmod_analog.c:644 [s1c1][1:1] Executing
state handler on 1:1 for BUSY
2014-05-12 10:57:05.877579 [DEBUG] ftmod_analog.c:803 [s1c1][1:1] Changed
state from BUSY to DOWN
2014-05-12 10:57:05.897586 [DEBUG] ftmod_analog.c:638 [s1c1][1:1] Completed
state change from BUSY to DOWN in 20 ms
2014-05-12 10:57:05.897586 [DEBUG] ftmod_analog.c:644 [s1c1][1:1] Executing
state handler on 1:1 for DOWN
2014-05-12 10:57:05.897586 [DEBUG] mod_freetdm.c:2262 got FXO sig 1:1 [STOP]
2014-05-12 10:57:05.897586 [NOTICE] mod_freetdm.c:2282 Hangup
FreeTDM/1:1/5141111111 [CS_CONSUME_MEDIA] [NORMAL_CIRCUIT_CONGESTION]
2014-05-12 10:57:05.897586 [DEBUG] switch_channel.c:3216 Send signal
FreeTDM/1:1/5141111111 [KILL]
...
...
...




I don't want to past here a big page of debug output. The complete output
can be read here:
http://pastebin.freeswitch.org/22524


Any idea or suggestion is highly welcome.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140512/6f8663c9/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list