[asterisk-users] trunk hunt outbound

Nhadie nhadie at gmail.com
Sun Dec 28 05:36:27 CST 2008


Hi All,

I defined 3 trunks for a client:

[trunk-100]
...

[trunk-101]
...

[trunk-102]
...

How can i do a trunk hunting ability like this:

[dial-out]
exten => _1.,1,Dial(SIP/${EXTEN}@trunk-100)
if busy try:
exten => _1.,1,Dial(SIP/${EXTEN}@trunk-102)
if busy try:
exten => _1.,1,Dial(SIP/${EXTEN}@trunk-103)

How can i make it dynamic,coz different clients will have different 
number of trunks.

Thank You

Regards,
nhadie



More information about the asterisk-users mailing list