At 00.04 25/02/04, Jean-Denis Girard wrote:
Robert Sprockeels a �crit :

Hi, good solution, I think I will do something similar ... but can you also dial out from your home with the right MSN or only the "main" MSN is sent over outbound calls ?



; -------------------------------- Appel de la maison
exten => s/483527,2,Wait(0)
exten => s/483527,3,Dial(${SIP1},20,m)







This is the dialplan I use on my single ISDN line with numbers 541295, 541296 541297, 541298, 541299. Incoming ISDN is sent to context rnis in modem.conf. Normal calls are received on 541295 541296. I use 541299 to check voicemail from outside, 51297 for echo test...

Hope that helps,

[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


-- Jean-Denis Girard

====================================================
Essential Software - Ing�nierie Informatique
Solutions Linux & Open Source en Polyn�sie fran�aise
----------------------------------------------------
http://www.esoft.pf/
T�l: (689) 54 12 95
====================================================


_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users


Alessio Focardi



_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to