Board logo

標題: check trunk registered [打印本頁]

作者: ttmuskie    時間: 2012-3-18 22:39     標題: check trunk registered

How to check if the trunk in the dailplan is registered? Thanks.
作者: 雯雯    時間: 2012-3-18 22:43

回復 1# ttmuskie

你指Asterisk? 在CLI下輸入sip show registry.
作者: ttmuskie    時間: 2012-3-18 22:54

本帖最後由 ttmuskie 於 2012-3-18 22:56 編輯

yes asterisk, but not under cli.  i want to check inside the dialplan. if the trunk is not registered, then i will use another trunk.
作者: 雯雯    時間: 2012-3-18 23:04

回復 3# ttmuskie

可以在Outgoing Calling Rules用Failover或者Macro superdial.
作者: ttmuskie    時間: 2012-3-19 09:14

回復 4# 雯雯


雯雯,

I'm currently setup the superdial already. But it just seems take a while (~5 - 10 sec) to check if the truck is "failed". So, for that 5 - 10 sec, I got "dead air" on my phone. Then I will get ringing tone again once it jumped to the working trunk. That's why I try to eliminate the dead air.
作者: 雯雯    時間: 2012-3-19 10:14

回復 5# ttmuskie

superdial方面要請教ckleea兄, 他很熟悉.
作者: bubblestar    時間: 2012-3-20 21:11

It is not normal to take more than 5 seconds for checking.  In my case, I have set 8 different trunks in different devices.  It takes about 3 to 5 seconds to determine the available trunk to dial out.

My trunks inlcude ATAx2, DAHDI, OBi110, OBiApp, 2bApp, USB Dongle and IP01.

Are you using the same SuperDial script as ckleea and I are using?
作者: ckleea    時間: 2012-3-20 21:47

回復 6# 雯雯


    This is just a simple plug and play. Copy the superdial macro and then call from the dialplan.




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2