Advertisement
FedchenkoIhor

extensions.ael

May 25th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.64 KB | None | 0 0
  1. context default {
  2.     _. => {
  3.         Ringing();
  4.         Wait(5);
  5.         Answer();
  6.     }
  7.     380445002835 => {
  8.         Dial(SIP/899);
  9. }
  10.     380445002836 => {
  11.         Dial(SIP/898);
  12. }
  13.  
  14. }
  15. context int-call {
  16. _8xx => {
  17.         NoOp(DIALING SIP EXTENSION ${EXTEN} - FROM ${CALLERIDNUM});
  18.         Dial(SIP/${EXTEN},20,wW);
  19.         Hangup;
  20.     }
  21. }
  22.  
  23. context outbound {
  24. _[2-5]XXXXXX => goto(outbound-${CDR(accountcode)},${EXTEN},1);
  25.  
  26. _0X. => goto(outbound-${CDR(accountcode)},${EXTEN},1);
  27.  
  28. }
  29.  
  30. context outbound-out35 {
  31. _X.=> Dial(SIP/${EXTEN}@vegatrunk35,,T);
  32. }
  33.  
  34. context outbound-out36 {
  35. _X.=> Dial(SIP/${EXTEN}@vegatrunk36,,T);
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement