Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [check-number]
- exten => s,1,Set(tel=${CALLERID(num)})
- exten => s,2,SET(cartel=${REGEX("480000|487777" tel)})
- exten => s,n,GotoIf($[${cartel} = 1]?cartel)
- exten => s,n,Queue(cabinet-403)
- exten => s,n(cartel), Queue(cabinet-417)
- [2015-04-29 10:40:26] VERBOSE[45508][C-00000000] pbx.c: -- Executing [s@check-number:3] Set("SIP/MTS-00000000", "telnum=+79045773566") in new stack
- [2015-04-29 10:40:26] VERBOSE[45508][C-00000000] pbx.c: -- Executing [s@check-number:4] Set("SIP/MTS-00000000", "cartel=0") in new stack
- [2015-04-29 10:40:26] VERBOSE[45508][C-00000000] pbx.c: -- Executing [s@check-number:5] GotoIf("SIP/MTS-00000000", "0?cartel") in new stack
- [2015-04-29 10:40:26] VERBOSE[45508][C-00000000] pbx.c: -- Executing [s@check-number:6] Queue("SIP/MTS-00000000", "cabinet-403") in new stack
- [2015-04-29 10:40:26] WARNING[45508][C-00000000] app_queue.c: Unable to join queue 'cabinet-403'
- [2015-04-29 10:40:26] VERBOSE[45508][C-00000000] pbx.c: -- Executing [s@check-number:7] Queue("SIP/MTS-00000000", "cabinet-417") in new stack
- [2015-04-29 10:40:26] WARNING[45508][C-00000000] app_queue.c: Unable to join queue 'cabinet-417'
- [2015-04-29 10:40:26] VERBOSE[45508][C-00000000] pbx.c: -- Auto fallthrough, channel 'SIP/MTS-00000000' status is 'UNKNOWN'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement