[Asterisk-Users] extension based on a dialed number?

Tomasz Chmielewski mangoo at interia.pl
Mon May 9 07:56:22 MST 2005


C F wrote:
> exten => 1234560,1,Dial(phonea)
> exten => 1234561,1,Dial(phoneb)
> and so on...................
> It's called DID

OK, I had that, but it didn't work.

What I missed:

1) I have a "zapata" device - HFC-based ISDN card, so I needed to make:

immediate=no

in /etc/asterisk/zapata.conf (instead of immediate=yes I had previously).


2) I use asterisk at home / AMP, and I needed:


[default]

include => ext-local
include => from-pstn

exten => s,1,Answer

; end of [default]

in /etc/asterisk/extensions.conf

3) configure "DID Routes" in AMP web gui: assign a number to an extension.


Hope that helps if someone looks through the archives! :)


-- 
Tomek


----------------------------------------------------------------------
Znajdz swoja milosc na wiosne... >>> http://link.interia.pl/f187a




More information about the asterisk-users mailing list