Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. [check-number]
  2. exten => s,1,Set(tel=${CALLERID(num)})
  3. exten => s,2,SET(cartel=${REGEX("480000|487777" tel)})
  4. exten => s,n,GotoIf($[${cartel} = 1]?cartel)
  5. exten => s,n,Queue(cabinet-403)
  6. exten => s,n(cartel), Queue(cabinet-417)
  7.  
  8. [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
  9. [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
  10. [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
  11. [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
  12. [2015-04-29 10:40:26] WARNING[45508][C-00000000] app_queue.c: Unable to join queue 'cabinet-403'
  13. [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
  14. [2015-04-29 10:40:26] WARNING[45508][C-00000000] app_queue.c: Unable to join queue 'cabinet-417'
  15. [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