[Asterisk-Users] dst number

Martin Pycko martinp at digium.com
Fri Jul 4 11:32:07 MST 2003


Lets say that you're going to receive 20 diffrent DIDs

1000 - 1019

[incoming]
exten => _X.,1,SetVar,SAVE_DID=${EXTEN}
exten => _X.,2,Goto,${EXTEN}|s|1

[1000]
exten => s,1,blabla

....

[1019]
exten => s,1,......

Martin

On Fri, 4 Jul 2003, Steven Kawuma wrote:

> Hi all,
>
> I'm trying to write a set of contexts that will be executed for different destination numbers. But for each of these numbers, different audio files are played as specified in a postgres db depending on the destination number. Is this possible? How can I tell which number has been called at the time when the call is answered?
>
> Steven
>




More information about the asterisk-users mailing list