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

Anthony Minessale anthony.minessale at gmail.com
Fri Jan 16 06:50:07 PST 2009


Please do not report bugs on the mailing list.
It's very hard to keep track of them this way.
Please file all bugs to jira so we will not lose track of them.

http://jira.freeswitch.org


On Fri, Jan 16, 2009 at 1:25 AM, Helmut Kuper <helmut.kuper at ewetel.de>wrote:

> -----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-----
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090116/618e5518/attachment-0002.html 


More information about the FreeSWITCH-users mailing list