Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- context default {
- _. => {
- Ringing();
- Wait(5);
- Answer();
- }
- 380445002835 => {
- Dial(SIP/899);
- }
- 380445002836 => {
- Dial(SIP/898);
- }
- }
- context int-call {
- _8xx => {
- NoOp(DIALING SIP EXTENSION ${EXTEN} - FROM ${CALLERIDNUM});
- Dial(SIP/${EXTEN},20,wW);
- Hangup;
- }
- }
- context outbound {
- _[2-5]XXXXXX => goto(outbound-${CDR(accountcode)},${EXTEN},1);
- _0X. => goto(outbound-${CDR(accountcode)},${EXTEN},1);
- }
- context outbound-out35 {
- _X.=> Dial(SIP/${EXTEN}@vegatrunk35,,T);
- }
- context outbound-out36 {
- _X.=> Dial(SIP/${EXTEN}@vegatrunk36,,T);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement