Hello all,
I’m running a very basic configuration with 10 phones for quite some time.
I’ve added a light menu to redirect the caller directly to the right phone (a simple 1/2/3 option).
I would like to add the possibility to dial #+number to reach any phone while the menu is playing.
My current configuration looks like this:
[menu]
exten => accueil,1,Answer()
same => n,Background(accueil)
same => n,Wait(1)
same => n,Goto(menu,numerotation,1)
exten => numerotation,1,Background(numerotation)
same => n,WaitExten(5)
same => n,Goto(menu,numerotation,1)
exten => 1,1,Playback(patientez)
same => n,Dial(SIP/1000,18,tT)
same => n,Dial(SIP/1001,15,tT)
same => n,Dial(SIP/1006,15,tT)
same => n,VoiceMail(1000,sb)
exten => 2,1,Playback(patientez)
same => n,Dial(SIP/1001,18,tT)
same => n,Dial(SIP/1006,15,tT)
same => n,Dial(SIP/1000,15,tT)
same => n,VoiceMail(1001,sb)
exten => 3,1,Playback(patientez)
same => n,Dial(SIP/1000,18,tT)
same => n,Dial(SIP/1001,15,tT)
same => n,Dial(SIP/1006,15,tT)
same => n,VoiceMail(1000,sb)
exten => i,1,Goto(menu,numerotation,1)
And right before the last exten, I added this:
exten => _#[1001-9],1,Playback(patientez)
same => n,Dial(SIP/${EXTEN:1},18,tT)
same => n,VoiceMail(${EXTEN:1},sb)
But it doesn’t work at all. What am I missing ?
Thank you for your help!
lamazze