<div dir="ltr">Hi all,<br><br>I have the following context in extensions.conf:<br><br>[a2billing]<br>exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)<br>exten => _X.,2,DeadAGI,a2billing.php<br>exten => _X.,3,Wait,2<br>
exten => _X.,4,Hangup<br>exten => _X.,21,Playback(AR_GetGiveToID)<br>exten => _X.,22,Wait(2)<br>exten => _X.,23,Record(/tmp/asterisk-recording:ulaw,,5)<br>exten => _X.,24,Wait(2)<br>exten => _X.,25,Playback(/tmp/asterisk-recording)<br>
exten => _X.,26,Wait(2)<br>exten => _X.,27,Hangup<br><br>If the customer dial 111, it'll be router to the entry with priority 21, else it'll go to priority 2...I would like to add a third condition that if the user dial let's say 112 it'll go to the priority 28 let's say<br>
<br>Regards<br></div>