[asterisk-users] dahdi_test drops after restarting Sangoma driver

Andres andres at telesip.net
Wed Nov 19 17:14:45 CST 2008


Hi,

Does anybody have an idea as to why dahdi_test results drop to 
unacceptable levels after doing a wanrouter stop/start using a Sangoma 
card?  See below that it drops from 99.99% to 98.55%:


[root at bin]# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
99.999512% 99.992874%
--- Results after 2 passes ---
Best: 100.000 -- Worst: 99.993 -- Average: 99.996193, Difference: 99.996683
[root at sitges bin]# service wanrouter stop

Shutting down asterisk:                                    [  OK  ]
Stopping Asterisk...
Shutting down wanpipe4 interface: w4g1
Shutting down wanpipe3 interface: w3g1
Shutting down wanpipe2 interface: w2g1
Shutting down wanpipe1 interface: w1g1
Shutting down device: wanpipe4
Shutting down device: wanpipe3
Shutting down device: wanpipe2
Shutting down device: wanpipe1
No devices running, Unloading Modules

[root at sitges bin]# service wanrouter start

Starting WAN Router...
Loading WAN drivers: wanpipe done.
Starting up device: wanpipe1
--> Loading ec image OCT6116-256S.ima...
Starting up device: wanpipe2
Starting up device: wanpipe3
Starting up device: wanpipe4
Configuring interfaces: w1g1
done.
Configuring interfaces: w2g1
done.
Configuring interfaces: w3g1
done.
Configuring interfaces: w4g1
done.

[root at bin]# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
98.553322% 98.650970%
--- Results after 2 passes ---
Best: 98.651 -- Worst: 98.553 -- Average: 98.602146, Difference: 98.602149

It has to do something with starting the driver from the command line.  
If I start from boot or via a cron job, the value goes up to 99.99%.  
I'm stumped.

Andres



More information about the asterisk-users mailing list