[Freeswitch-users] FS doesn't maitain PRI- D-channel state right

Helmut Kuper helmut.kuper at ewetel.de
Thu Jan 15 23:25:47 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,


I found, that FS doesn't maintain D-Channel's state correctly.

I have a PRI with disabled layer 2 and 3 on TDM side. When FS starts up
I get this on console:


2009-01-16 08:16:10 [DEBUG] ozmod_isdn.c:1441 zap_isdn_run() ISDN thread
starting.
2009-01-16 08:16:10 [DEBUG] Span:0 Q.921() Starting trunk 0xae411008
(sapi: 0, tei: 0, mode: PTP TE)
2009-01-16 08:16:10 [DEBUG] Span:0 Q.921() Sending SABME
2009-01-16 08:16:10 [DEBUG] Span:0 Q.921() Sending frame
- ----------------- Q.921 Packet [Outgoing] ---------------
    SAPI: 0, TEI: 0, C/R: Command (0)

    Type: U Frame (SABME)
          P/F: 1

    Q.921 state: "TEI Assigned" (4) [flags: ----]
- ----------------------------------------------

2009-01-16 08:16:10 [CONSOLE] switch_loadable_module.c:857
switch_loadable_module_load_file() Successfully Loaded [mod_openzap]
2009-01-16 08:16:10 [NOTICE] switch_loadable_module.c:141
switch_loadable_module_process() Adding Endpoint 'openzap'
2009-01-16 08:16:10 [NOTICE] switch_loadable_module.c:239
switch_loadable_module_process() Adding Application 'disable_ec'
2009-01-16 08:16:10 [NOTICE] switch_loadable_module.c:259
switch_loadable_module_process() Adding API Function 'oz'
2009-01-16 08:16:10 [DEBUG] Span:0 Q.921() New packet received (3 bytes)
- ----------------- Q.921 Packet [Incoming] ---------------
    SAPI: 0, TEI: 0, C/R: Response (0)

    Type: U Frame (DM (Disconnected Mode))
          P/F: 1

    Q.921 state: "TEI Assigned" (4) [flags: ----]
- ----------------------------------------------

So TDM side tells FS that the link is down:

but when I check d-channel's state FS tells me that it is UP:

freeswitch at ippbx-prod-node0> oz dump 1 16
API CALL [oz(dump 1 16)] output:
span_id: 1
chan_id: 16
physical_span_id: 1
physical_chan_id: 16
type: DQ921
state: UP
last_state: DOWN
cid_date:
cid_name:
cid_num:
ani:
aniII:
dnis:
rdnis:
cause: NONE

When I do an outbound call FS throws no error or warning that the link
isn't up and gives the call a try.


regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAklwNnsACgkQ4tZeNddg3dzjKQCbBDU/SSOyKbD2JGcJFOJZDyBQ
nI0An3CFp9HIuTB0cQWT0iJ1Rlx1+yGk
=ycwj
-----END PGP SIGNATURE-----




More information about the FreeSWITCH-users mailing list