[Asterisk-Users] outgoing calls, based on caller extension

niles at atheos.net niles at atheos.net
Thu Sep 23 16:48:31 MST 2004


Hello All,

I have multiple SIP accounts from two different providers, and I'm 
wanting
to balance our outgoing calls based on extensions.  I thought the 
following
would work, but it's sending all calls through the last SIP account 
listed

(extensions.conf)

exten => 109/_9NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@broadvoice_1)
exten => 110/_9NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@broadvoice_2)
exten => 101/_9NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@broadvoice_3)
exten => 102/_9NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@vonage_0)
exten => _9NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@broadvoice_0)

as you can see, I'm wanting 109 to dial out broadvoice_1, 110 via 
broadvoice_2,
and so on.
I've tried a variety of things with no success. Any info would be great.

Niles





More information about the asterisk-users mailing list