[Asterisk-Users] Is this PRI INTENSE DEBUG correct (long)

Dinesh Nair dinesh at alphaque.com
Thu Nov 3 02:35:05 MST 2005


i'm trying to debug the zaptel drivers on freebsd 4.x, and am trying to 
isolate the problem. it's either a locking issue within the freebsd zaptel 
drivers or the threading library used on freebsd (libc_r). in order to 
isolate that it's not the threading library, i've used pritest from the 
libpri sources. i ran two instances of pritest with the following invokations:

pritest 16 euroisdn network AND
pritest 109 euroisdn cpe

zaptel.conf is,
------------------------
loadzone=my
defaultzone=my
span=1,0,0,ccs,hdb3
span=2,0,0,ccs,hdb3
span=3,0,0,ccs,hdb3
span=4,0,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31
bchan=32-46
dchan=47
bchan=48-62
bchan=63-77
dchan=78
bchan=79-93
bchan=94-108
dchan=109
bchan=110-124
------------------------

could someone tell me if this shows that the PRI between span 1 and span 4 
is up and operational ? if it is, then it's clearly a problem with libc_r 
on freebsd 4.x, otherwise it's a freebsd zaptel driver problem.

the following is the output from 'pritest 109 euroisdn cpe', i.e the CPE 
segment:

$ /tmp/pritest 109 euroisdn cpe
3 calling q921_start()
3 q921_reset() called
3 returns from q921_start()

< [ 00 80 cb ]

< Unnumbered frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
<   M3: 3   P/F: 1 M2: 0 11: 3  [ UA (unnumbered acknowledgement) ]
< 0 bytes of data
-- Got UA from network peer  Link up.
3 q921_reset() called
-- Restarting T203 counter
-- D-Channel is now up!  :-)

< [ 40 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Reject (0)

 > [ 40 80 60 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 096   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 60 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 096   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

 > [ 40 80 40 80 ]

 > Informational frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 064   0: 0
 > N(R): 000   P: 1
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 00 80 40 80 ]

< Informational frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< N(S): 064   0: 0
< N(R): 000   P: 1
< 0 bytes of data
Sending Receiver Ready (0)

(and it continues ad infinitum)

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the asterisk-users mailing list