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

2009-01-16 Thread Anthony Minessale
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.ku...@ewetel.dewrote:

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

 freeswi...@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@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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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


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

2009-01-15 Thread Helmut Kuper
-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:

freeswi...@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org