Guest User

Untitled

a guest
Sep 5th, 2017
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. queues.conf
  3.  
  4. [general]
  5.  
  6. persistentmembers = yes
  7. monitor-type = MixMonitor
  8. shared_lastcall=yes
  9. autofill = yes;
  10. musicclass = default
  11.  
  12. [CallCenter-cti]
  13. musicclass = default
  14. autofill = yes;
  15. ringinuse=no;
  16. joinempty = yes
  17. strategy = rrmemory
  18. maxlen = 100
  19. wrapuptime = 5
  20. timeout = 10;
  21.  
  22. announce-holdtime = no
  23. announce-position = no
  24. announce-frequency = 0
  25. min-announce-frequency = 30
  26.  
  27. ;("You are now first in line.")
  28. queue-youarenext = ;queue-youarenext
  29. queue-thereare = ;queue-thereare ;("There are")
  30. queue-holdtime = ;queue-holdtime ;("The current est. holdtime is")
  31. queue-minute = ;queue-minute ;("minute.")
  32. queue-minutes = ;queue-minutes ;("minutes.")
  33. queue-seconds = ;queue-seconds ;("seconds.")
  34. queue-thankyou = ;queue-thankyou ;("Thank you for your patience.")
  35. queue-reporthold = ;queue-reporthold ;("Hold time")
  36. periodic-announce = /var/lib/asterisk/sounds/path
  37. periodic-announce-frequency = 180
  38.  
  39.  
  40. member => SIP/70101, 15, 70101
  41. member => SIP/70102, 10, 70102
  42. member => SIP/70103, 10, 70103
  43. ...
  44. member => SIP/70121, 10, 70121
  45. member => SIP/70122, 20, 70122
  46. member => SIP/70123, 20, 70123
  47. ...
  48. member => SIP/70201, 15, 70201
  49. member => SIP/70202, 15, 70202
  50. ...
  51. member => SIP/70229, 15, 70229
  52. member => SIP/70311, 30, 70311
  53. ...
  54. member => SIP/70328, 30, 70328
  55.  
  56.  
  57.  
  58.  
  59. extensions.conf
  60.  
  61. [general]
  62. static=yes
  63.  
  64. [globals]
  65. UPLINK=SIP/AST-750
  66.  
  67. [context-external]
  68. include => local-calls
  69. include => local-trunks
  70. ...
  71.  
  72. [from-operators]
  73. include => local-calls
  74. include => local-trunks
  75. ...
  76.  
  77. [local-calls]
  78. ...
  79. exten => 70100,1,Goto(cc-cti,cc-cti-input-point,1)
  80. ...
  81.  
  82.  
  83. [from-out]
  84. include => local-calls
  85. ...
  86.  
  87.  
  88. [cc-cti]
  89.  
  90. exten => cc-cti-input-point,1,Noop()
  91. ; Проверки на рабочее/не рабочее время.
  92. same => n,GotoIfTime(16:00-23:59,*,31,12?cc-cti-off,1) ; Новый год
  93.  
  94. ...
  95.  
  96. ; Обычные рабочие дни:
  97. same => n,GotoIfTime(8:00-20:59,mon-thu,*,*?cc-cti-on,1) ; С понедельника по четверг
  98. same => n,GotoIfTime(8:00-20:59,fri,*,*?cc-cti-on,1) ; в пятницу
  99.  
  100. ...
  101.  
  102. same => n,Goto(cc-cti-off,1)
  103.  
  104.  
  105.  
  106. exten => cc-cti-off,1,Noop()
  107. ; Звонок в НЕРАБОЧЕЕ время.
  108. same => n,QueueLog(CallCenter-cti,${UNIQUEID},NONE,CALLTOCLOSED,${CALLERID(num)})
  109. same => n,Playback(some-path)
  110. same => n,Hangup()
  111.  
  112.  
  113. exten => cc-cti-on,1,Noop()
  114. ; Звонок в РАБОЧЕЕ время
  115. same => n,Answer()
  116. same => n,Wait(1)
  117. same => n,QueueLog(CallCenter-cti,${UNIQUEID},NONE,LISTEN,${CALLERID(num)})
  118. same => n,Playback(some-path)
  119. same => n,Queue(CallCenter-cti,Tt,,,1180)
  120. same => n,Playback(some-path)
  121. same => n,Hangup()
  122.  
  123. exten => _701XX,1, Dial(SIP/${EXTEN},120,Tt)
  124.  
  125.  
  126.  
  127. sip.conf
  128.  
  129.  
  130. [operators-phone]
  131. type=friend
  132. nat=no
  133. host=dynamic
  134. dtmfmode=rfc2833
  135. disallow=all
  136. allow=alaw
  137. allow=ulaw
  138. context=from-operators
  139. callcounter=1
  140. deny=0.0.0.0/0.0.0.0
  141. permit=10.60.0.0/255.255.0.0
  142. allowsubscribe=no
  143.  
  144.  
  145. [70101](operators-phone)
  146. defaultuser=70101
  147. ...
  148.  
  149.  
  150.  
  151.  
  152. Case 1 log:
  153.  
  154. 1 2017-08-30 09:11:44,092 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059104.2428250', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u'70100', u'CallerIDNum': u'7291', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-out', u'CallerIDName': u'7291', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013a24d', u'ChannelStateDesc': u'Down'}
  155. 2 2017-08-30 09:11:44,097 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059104.2428250', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'4', u'Exten': u'70100', u'CallerIDNum': u'7291', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-out', u'CallerIDName': u'7291', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013a24d', u'ChannelStateDesc': u'Ring'}
  156. 3 2017-08-30 09:11:44,101 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059104.2428250', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'7291', u'Priority': u'2', u'ConnectedLineName': u'<unknown>', u'Context': u'cc-cti', u'CallerIDName': u'7291', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013a24d', u'ChannelStateDesc': u'Up'}
  157.  
  158. 4 2017-08-30 09:11:58,301 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059118.2428273', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u's', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013a256', u'ChannelStateDesc': u'Down'}
  159. 5 2017-08-30 09:11:58,419 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'7291', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059118.2428273', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7291', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013a256', u'ChannelStateDesc': u'Ringing'}
  160. 6 2017-08-30 09:12:01,727 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'7291', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059118.2428273', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7291', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013a256', u'ChannelStateDesc': u'Up'}
  161. 7 2017-08-30 09:12:50,955 [Thread-1 ] [DEBUG] Event : HangupRequest -> {u'ConnectedLineNum': u'7291', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059118.2428273', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7291', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013a256', u'ChannelStateDesc': u'Up'}
  162. 8 2017-08-30 09:12:50,957 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'7291', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059118.2428273', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7291', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/70107-0013a256', u'ChannelStateDesc': u'Up'}
  163. 9 2017-08-30 09:12:50,960 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'<unknown>', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504059104.2428250', u'Uniqueid': u'1504059104.2428250', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'7291', u'Priority': u'6', u'ConnectedLineName': u'<unknown>', u'Context': u'cc-cti', u'CallerIDName': u'7291', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/AST-750-0013a24d', u'ChannelStateDesc': u'Up'}
  164.  
  165.  
  166. Case 2 log:
  167.  
  168. 1 2017-08-30 09:37:54,864 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060674.2431606', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u'70100', u'CallerIDNum': u'7795297', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-out', u'CallerIDName': u'7795297', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013a989', u'ChannelStateDesc': u'Down'}
  169. 2 2017-08-30 09:37:54,874 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060674.2431606', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'4', u'Exten': u'70100', u'CallerIDNum': u'7795297', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-out', u'CallerIDName': u'7795297', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013a989', u'ChannelStateDesc': u'Ring'}
  170. 3 2017-08-30 09:37:54,882 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060674.2431606', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'7795297', u'Priority': u'2', u'ConnectedLineName': u'<unknown>', u'Context': u'cc-cti', u'CallerIDName': u'7795297', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013a989', u'ChannelStateDesc': u'Up'}
  171.  
  172. 4 2017-08-30 09:38:09,116 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431623', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u's', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013a993', u'ChannelStateDesc': u'Down'}
  173. 5 2017-08-30 09:38:09,232 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'7795297', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431623', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7795297', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013a993', u'ChannelStateDesc': u'Ringing'}
  174. 6 2017-08-30 09:38:09,238 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'7795297', u'Cause-txt': u'User busy', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431623', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7795297', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Cause': u'17', u'Channel': u'SIP/70107-0013a993', u'ChannelStateDesc': u'Ringing'}
  175.  
  176. 7 2017-08-30 09:38:09,241 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431624', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u's', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'Operator 70202', u'Privilege': u'call,all', u'Channel': u'SIP/70202-0013a994', u'ChannelStateDesc': u'Down'}
  177. 8 2017-08-30 09:38:09,338 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'7795297', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431624', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7795297', u'Context': u'from-operators', u'CallerIDName': u'Operator 70202', u'Privilege': u'call,all', u'Channel': u'SIP/70202-0013a994', u'ChannelStateDesc': u'Ringing'}
  178. 9 2017-08-30 09:38:14,069 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'7795297', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431624', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7795297', u'Context': u'from-operators', u'CallerIDName': u'Operator 70202', u'Privilege': u'call,all', u'Channel': u'SIP/70202-0013a994', u'ChannelStateDesc': u'Up'}
  179. 10 2017-08-30 09:39:49,341 [Thread-1 ] [DEBUG] Event : HangupRequest -> {u'ConnectedLineNum': u'7795297', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431624', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7795297', u'Context': u'from-operators', u'CallerIDName': u'Operator 70202', u'Privilege': u'call,all', u'Channel': u'SIP/70202-0013a994', u'ChannelStateDesc': u'Up'}
  180. 11 2017-08-30 09:39:49,379 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'7795297', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060689.2431624', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'7795297', u'Context': u'from-operators', u'CallerIDName': u'Operator 70202', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/70202-0013a994', u'ChannelStateDesc': u'Up'}
  181. 12 2017-08-30 09:39:49,391 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'<unknown>', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504060674.2431606', u'Uniqueid': u'1504060674.2431606', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'7795297', u'Priority': u'6', u'ConnectedLineName': u'Operator 70202', u'Context': u'cc-cti', u'CallerIDName': u'7795297', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/AST-750-0013a989', u'ChannelStateDesc': u'Up'}
  182.  
  183.  
  184. Case 3 log:
  185.  
  186. 1 2017-08-30 09:40:39,208 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060839.2431857', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u'70100', u'CallerIDNum': u'89230number', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-out', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013aa1c', u'ChannelStateDesc': u'Down'}
  187. 2 2017-08-30 09:40:39,213 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060839.2431857', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'4', u'Exten': u'70100', u'CallerIDNum': u'89230number', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-out', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013aa1c', u'ChannelStateDesc': u'Ring'}
  188. 3 2017-08-30 09:40:39,216 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060839.2431857', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'89230number', u'Priority': u'2', u'ConnectedLineName': u'<unknown>', u'Context': u'cc-cti', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013aa1c', u'ChannelStateDesc': u'Up'}
  189.  
  190. 4 2017-08-30 09:40:53,334 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431880', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u's', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013aa25', u'ChannelStateDesc': u'Down'}
  191. 5 2017-08-30 09:40:53,470 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'89230number', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431880', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013aa25', u'ChannelStateDesc': u'Ringing'}
  192. 6 2017-08-30 09:40:53,473 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431881', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u'70107', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'Local/70107@from-operators-00002a78;1', u'ChannelStateDesc': u'Down'}
  193. 7 2017-08-30 09:40:53,475 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431882', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'4', u'Exten': u'70107', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'Local/70107@from-operators-00002a78;2', u'ChannelStateDesc': u'Ring'}
  194. 8 2017-08-30 09:40:53,477 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431883', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u's', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013aa26', u'ChannelStateDesc': u'Down'}
  195. 9 2017-08-30 09:40:53,478 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'89230number', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431880', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/70107-0013aa25', u'ChannelStateDesc': u'Ringing'}
  196. 10 2017-08-30 09:40:53,611 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'89230number', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431883', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'70107', u'CallerIDNum': u'70107', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70107-0013aa26', u'ChannelStateDesc': u'Ringing'}
  197. 11 2017-08-30 09:40:53,612 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'89230number', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431881', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'70107', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'Local/70107@from-operators-00002a78;1', u'ChannelStateDesc': u'Ringing'}
  198.  
  199. 12 2017-08-30 09:41:03,339 [Thread-1 ] [DEBUG] Event : HangupRequest -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431882', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'4', u'Exten': u'70107', u'CallerIDNum': u'89230number', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Cause': u'0', u'Channel': u'Local/70107@from-operators-00002a78;2', u'ChannelStateDesc': u'Ring'}
  200. 13 2017-08-30 09:41:03,340 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'89230number', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431883', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'70107', u'CallerIDNum': u'70107', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/70107-0013aa26', u'ChannelStateDesc': u'Ringing'}
  201. 14 2017-08-30 09:41:03,342 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'<unknown>', u'Cause-txt': u'Unknown', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431882', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'4', u'Exten': u'70107', u'CallerIDNum': u'89230number', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Cause': u'0', u'Channel': u'Local/70107@from-operators-00002a78;2', u'ChannelStateDesc': u'Ring'}
  202. 15 2017-08-30 09:41:03,343 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'89230number', u'Cause-txt': u'Unknown', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060853.2431881', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'70107', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Cause': u'0', u'Channel': u'Local/70107@from-operators-00002a78;1', u'ChannelStateDesc': u'Ringing'}
  203.  
  204.  
  205. 16 2017-08-30 09:41:08,347 [Thread-1 ] [DEBUG] Event : Newchannel -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060868.2431891', u'Language': u'en', u'AccountCode': u'', u'ChannelState': u'0', u'Exten': u's', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'<unknown>', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70109-0013aa2c', u'ChannelStateDesc': u'Down'}
  206. 17 2017-08-30 09:41:08,461 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'89230number', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060868.2431891', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'5', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70109-0013aa2c', u'ChannelStateDesc': u'Ringing'}
  207. 18 2017-08-30 09:41:09,668 [Thread-1 ] [DEBUG] Event : Newstate -> {u'ConnectedLineNum': u'89230number', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060868.2431891', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Channel': u'SIP/70109-0013aa2c', u'ChannelStateDesc': u'Up'}
  208.  
  209. 19 2017-08-30 09:41:53,054 [Thread-1 ] [DEBUG] Event : HangupRequest -> {u'ConnectedLineNum': u'<unknown>', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060839.2431857', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'89230number', u'Priority': u'6', u'ConnectedLineName': u'<unknown>', u'Context': u'cc-cti', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Channel': u'SIP/AST-750-0013aa1c', u'ChannelStateDesc': u'Up'}
  210. 20 2017-08-30 09:41:53,056 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'89230number', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060868.2431891', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'<unknown>', u'Priority': u'1', u'ConnectedLineName': u'89230number', u'Context': u'from-operators', u'CallerIDName': u'<unknown>', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/70109-0013aa2c', u'ChannelStateDesc': u'Up'}
  211. 21 2017-08-30 09:41:53,064 [Thread-1 ] [DEBUG] Event : Hangup -> {u'ConnectedLineNum': u'<unknown>', u'Cause-txt': u'Normal Clearing', u'Linkedid': u'1504060839.2431857', u'Uniqueid': u'1504060839.2431857', u'Language': u'ru', u'AccountCode': u'', u'ChannelState': u'6', u'Exten': u'cc-cti-on', u'CallerIDNum': u'89230number', u'Priority': u'6', u'ConnectedLineName': u'<unknown>', u'Context': u'cc-cti', u'CallerIDName': u'89230number', u'Privilege': u'call,all', u'Cause': u'16', u'Channel': u'SIP/AST-750-0013aa1c', u'ChannelStateDesc': u'Up'}
RAW Paste Data