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

Tom Ivar Helbekkmo tih at eunetnorge.no
Thu Sep 23 23:07:07 MST 2004


niles at atheos.net writes:

> exten => 109/_9NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@broadvoice_1)
> [...]
> as you can see, I'm wanting 109 to dial out broadvoice_1, [...]

You've got the source and target reversed.  :-)

You want the Caller ID of your local extension 109 to be "109", and
then you should say:

exten => _9NXXNXXXXXX/109,1,Dial(SIP/${EXTEN:1}@broadvoice_1)

...and so forth.  Note that the source specification can also be a
pattern, in which case it should, like the target, start with "_".

-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting
www.eunet.no  T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145



More information about the asterisk-users mailing list