[Asterisk-Users] Incoming context based on ISDN MSN
Robert Sprockeels
rsp+asterisk at boat.be
Wed Feb 25 07:04:25 MST 2004
Jean-Denis,
Your suggestion works for me indeed. I had to test around a little, and
I had to put the entire MSN number in the extension field. How come you
only put part of it in there? Did you specify something about the common
part in the modem.conf file?
My idea with the DNID variable does not work, however...
Thanks again,
Robert
On Wed, 2004-02-25 at 00:04, Jean-Denis Girard wrote:
> [rnis]
> exten => s,1,SetMusicOnHold(default)
>
> ; -------------------------------- Appel de la maison
> exten => s/483527,2,Wait(0)
> exten => s/483527,3,Dial(${SIP1},20,m)
>
> ; -------------------------------- Défaut
> exten => s,2,Playback(esoft/bienvenue)
> exten => s,3,Dial(${JACK0}&${PC1}&${PC2}&${SIP1}&${SIP2},20,mt)
> exten => s,4,Playback(fr/vm-intro)
> exten => s,5,Voicemail2(s1000) ; Nobody here...
> exten => s,6,Playback(esoft/merci)
> exten => s,7,Hangup
> exten => s,104,Playback(fr/vm-intro)
> exten => s,105,Voicemail2(s1000) ; Busy
> exten => s,106,Goto,8
>
> ; -------------------------------- Appel au 541297 => Test echo
> exten => 1297,1,Goto(echotest,s,1)
> exten => 1297,2,Hangup
>
> ; -------------------------------- Appel au 541298
> exten => 1298,1,Wait,1
> exten => 1298,2,Answer
> exten => 1298,3,Agi(auth.agi)
> exten => 1298,4,Hangup
>
> ; -------------------------------- Appel au 541299 => Ecoute Voicemail
> ;exten => 1299,1,VoicemailMain(1000)
> exten => 1299,1,VoicemailMain2(1000)
> exten => 1299,2,Hangup
More information about the asterisk-users
mailing list