Advertisement
Guest User

Untitled

a guest
May 9th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.02 KB | None | 0 0
  1. [Oct 28 07:28:01] DEBUG[8402] chan_dahdi.c: Chan 31 - Bits changed from 0x0C to 0x08
  2. [Oct 28 07:28:01] DEBUG[8402] chan_dahdi.c: Chan 31 - CAS Rx << [IDLE] 0x08
  3. [Oct 28 07:28:01] NOTICE[8402] chan_dahdi.c: Far end unblocked on chan 31
  4. [Oct 28 07:28:14] DEBUG[8379] chan_sip.c: Allocating new SIP dialog for 48296615352deffe38f2bd2b5b9649cc@192.168.2.50 - OPTIONS (No RTP)
  5. [Oct 28 07:28:14] DEBUG[8379] acl.c: Found IP address for this socket
  6. [Oct 28 07:28:14] DEBUG[8379] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 150.187.9.42:5060
  7. [Oct 28 07:28:14] DEBUG[8379] chan_sip.c: Initializing initreq for method OPTIONS - callid 48b4589b0174f5d620213f026e4eca07@150.187.9.42
  8. [Oct 28 07:28:14] DEBUG[8379] chan_sip.c: Trying to put 'OPTIONS sip' onto UDP socket destined for 150.187.9.13:1024
  9. [Oct 28 07:28:14] DEBUG[8379] chan_sip.c: Stopping retransmission on '48b4589b0174f5d620213f026e4eca07@150.187.9.42' of Request 102: Match Found
  10. [Oct 28 07:28:14] DEBUG[8379] chan_sip.c: Destroying SIP dialog 48b4589b0174f5d620213f026e4eca07@150.187.9.42
  11. [Oct 28 07:28:42] DEBUG[8379] acl.c: Found IP address for this socket
  12. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 150.187.9.42:5060
  13. [Oct 28 07:28:42] VERBOSE[8379] netsock.c: == Using SIP RTP TOS bits 184
  14. [Oct 28 07:28:42] VERBOSE[8379] netsock.c: == Using SIP RTP CoS mark 5
  15. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Setting NAT on RTP to Off
  16. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Allocating new SIP dialog for cskfwdrowfzriua@z10n.ccs.onuva.net - INVITE (With RTP)
  17. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Setting NAT on RTP to On
  18. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Got unsupported a:fmtp:101 0-15 in SDP offer
  19. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: We're settling with these formats: 0xe (gsm|ulaw|alaw)
  20. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Checking SIP call limits for device 200
  21. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Updating call counter for incoming call
  22. [Oct 28 07:28:42] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  23. [Oct 28 07:28:42] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 2 (In use)
  24. [Oct 28 07:28:42] DEBUG[8369] devicestate.c: device 'SIP/200' state '2'
  25. [Oct 28 07:28:42] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  26. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: *** Our native formats are 0x4 (ulaw)
  27. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: *** Joint capabilities are 0xe (gsm|ulaw|alaw)
  28. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: *** Our capabilities are 0xe (gsm|ulaw|alaw)
  29. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: *** AST_CODEC_CHOOSE formats are 0x4 (ulaw)
  30. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: This channel will not be able to handle video.
  31. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: build_route: Contact hop: <sip:200@192.168.2.168:5060>
  32. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: SIP/200-08fef4b0: New call is still down.... Trying...
  33. [Oct 28 07:28:42] DEBUG[8379] chan_sip.c: Trying to put 'SIP/2.0 100' onto UDP socket destined for 150.187.9.13:5060
  34. [Oct 28 07:28:42] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  35. [Oct 28 07:28:42] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 2 (In use)
  36. [Oct 28 07:28:42] DEBUG[8369] devicestate.c: device 'SIP/200' state '2'
  37. [Oct 28 07:28:42] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  38. [Oct 28 07:28:42] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  39. [Oct 28 07:28:42] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  40. [Oct 28 07:28:42] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  41. [Oct 28 07:28:42] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  42. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Macro'
  43. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [104@from-internal:1] Macro("SIP/200-08fef4b0", "user-callerid,SKIPTTL,") in new stack
  44. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  45. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  46. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  47. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  48. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/200-08fef4b0", "AMPUSER=200") in new stack
  49. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  50. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  51. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  52. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-08fef4b0", "0?report") in new stack
  53. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Not taking any branch
  54. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  55. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  56. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  57. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  58. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-08fef4b0", "1?Set(REALCALLERIDNUM=200)") in new stack
  59. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  60. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  61. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  62. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  63. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  64. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/200-08fef4b0", "AMPUSER=200") in new stack
  65. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  66. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is 'prueba'
  67. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  68. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/200-08fef4b0", "AMPUSERCIDNAME=prueba") in new stack
  69. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  70. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  71. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  72. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-08fef4b0", "0?report") in new stack
  73. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Not taking any branch
  74. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  75. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '1'
  76. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  77. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  78. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  79. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/200-08fef4b0", "AMPUSERCID=200") in new stack
  80. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  81. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  82. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/200-08fef4b0", "CALLERID(all)="prueba" <200>") in new stack
  83. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  84. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  85. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  86. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  87. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  88. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/200-08fef4b0", "0?Set(CHANNEL(language)=)") in new stack
  89. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  90. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  91. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  92. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  93. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  94. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  95. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/200-08fef4b0", "1?continue") in new stack
  96. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Goto (macro-user-callerid,s,19)
  97. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  98. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '"prueba" <200>'
  99. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'NoOp'
  100. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/200-08fef4b0", "Using CallerID "prueba" <200>") in new stack
  101. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Noop
  102. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  103. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [104@from-internal:2] Set("SIP/200-08fef4b0", "_NODEST=") in new stack
  104. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Macro'
  105. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [104@from-internal:3] Macro("SIP/200-08fef4b0", "record-enable,200,OUT,") in new stack
  106. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  107. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  108. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/200-08fef4b0", "1?check") in new stack
  109. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Goto (macro-record-enable,s,4)
  110. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  111. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '20091028-072842'
  112. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'AGI'
  113. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-record-enable:4] AGI("SIP/200-08fef4b0", "recordingcheck,20091028-072842,1256731122.4") in new stack
  114. [Oct 28 07:28:42] VERBOSE[8419] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  115. [Oct 28 07:28:42] VERBOSE[8419] res_agi.c: recordingcheck,20091028-072842,1256731122.4: Outbound recording not enabled
  116. [Oct 28 07:28:42] VERBOSE[8419] res_agi.c: -- <SIP/200-08fef4b0>AGI Script recordingcheck completed, returning 0
  117. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: AGI
  118. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'MacroExit'
  119. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/200-08fef4b0", "") in new stack
  120. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Macro'
  121. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [104@from-internal:4] Macro("SIP/200-08fef4b0", "dialout-trunk,1,104,,") in new stack
  122. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  123. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/200-08fef4b0", "DIAL_TRUNK=1") in new stack
  124. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  125. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  126. [Oct 28 07:28:42] DEBUG[8419] db.c: Unable to find key '200/pinless' in family 'AMPUSER'
  127. [Oct 28 07:28:42] DEBUG[8419] func_db.c: DB: AMPUSER/200/pinless not found in database.
  128. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  129. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  130. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  131. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GosubIf'
  132. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/200-08fef4b0", "0?sub-pincheck,s,1") in new stack
  133. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GosubIf
  134. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  135. [Oct 28 07:28:42] DEBUG[8419] db.c: Unable to find key '200/pinless' in family 'AMPUSER'
  136. [Oct 28 07:28:42] DEBUG[8419] func_db.c: DB: AMPUSER/200/pinless not found in database.
  137. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  138. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  139. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  140. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  141. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  142. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/200-08fef4b0", "0?disabletrunk,1") in new stack
  143. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Not taking any branch
  144. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  145. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  146. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/200-08fef4b0", "DIAL_NUMBER=104") in new stack
  147. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  148. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  149. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/200-08fef4b0", "DIAL_TRUNK_OPTIONS=tr") in new stack
  150. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  151. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  152. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/200-08fef4b0", "OUTBOUND_GROUP=OUT_1") in new stack
  153. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  154. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  155. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  156. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/200-08fef4b0", "1?nomax") in new stack
  157. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Goto (macro-dialout-trunk,s,9)
  158. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  159. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  160. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  161. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/200-08fef4b0", "0?skipoutcid") in new stack
  162. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Not taking any branch
  163. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  164. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  165. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/200-08fef4b0", "DIAL_TRUNK_OPTIONS=") in new stack
  166. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  167. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Macro'
  168. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/200-08fef4b0", "outbound-callerid,1") in new stack
  169. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  170. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  171. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERPRES()=)") in new stack
  172. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  173. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  174. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  175. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  176. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  177. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/200-08fef4b0", "0?Set(REALCALLERIDNUM=200)") in new stack
  178. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  179. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  180. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is '200'
  181. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  182. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  183. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  184. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  185. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  186. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/200-08fef4b0", "1?normcid") in new stack
  187. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Goto (macro-outbound-callerid,s,6)
  188. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  189. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  190. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  191. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/200-08fef4b0", "USEROUTCID=") in new stack
  192. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  193. [Oct 28 07:28:42] DEBUG[8419] db.c: Unable to find key '200/emergency_cid' in family 'DEVICE'
  194. [Oct 28 07:28:42] DEBUG[8419] func_db.c: DB: DEVICE/200/emergency_cid not found in database.
  195. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is ''
  196. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  197. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/200-08fef4b0", "EMERGENCYCID=") in new stack
  198. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  199. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  200. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/200-08fef4b0", "TRUNKOUTCID=") in new stack
  201. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  202. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  203. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  204. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  205. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  206. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/200-08fef4b0", "1?trunkcid") in new stack
  207. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Goto (macro-outbound-callerid,s,12)
  208. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  209. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  210. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  211. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERID(all)=)") in new stack
  212. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  213. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  214. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  215. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  216. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERID(all)=)") in new stack
  217. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  218. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  219. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is 'prueba'
  220. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  221. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  222. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  223. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  224. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is 'prueba'
  225. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  226. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Macro
  227. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  228. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  229. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/200-08fef4b0", "0?AGI(fixlocalprefix)") in new stack
  230. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  231. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  232. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  233. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/200-08fef4b0", "OUTNUM=104") in new stack
  234. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  235. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Function result is 'DAHDI/g0'
  236. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Set'
  237. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/200-08fef4b0", "custom=DAHDI/g0") in new stack
  238. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Set
  239. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  240. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  241. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  242. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'ExecIf'
  243. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/200-08fef4b0", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
  244. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: ExecIf
  245. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '1'
  246. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  247. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  248. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Macro'
  249. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/200-08fef4b0", "dialout-trunk-predial-hook,") in new stack
  250. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'MacroExit'
  251. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/200-08fef4b0", "") in new stack
  252. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: Macro
  253. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  254. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  255. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/200-08fef4b0", "0?bypass,1") in new stack
  256. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Not taking any branch
  257. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  258. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Expression result is '0'
  259. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'GotoIf'
  260. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/200-08fef4b0", "0?customtrunk") in new stack
  261. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Not taking any branch
  262. [Oct 28 07:28:42] DEBUG[8419] app_macro.c: Executed application: GotoIf
  263. [Oct 28 07:28:42] DEBUG[8419] pbx.c: Launching 'Dial'
  264. [Oct 28 07:28:42] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/200-08fef4b0", "DAHDI/g0/104,300,") in new stack
  265. [Oct 28 07:28:42] DEBUG[8419] chan_dahdi.c: Using channel 1
  266. [Oct 28 07:28:42] DEBUG[8419] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
  267. [Oct 28 07:28:42] DEBUG[8419] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
  268. [Oct 28 07:28:42] DEBUG[8419] devicestate.c: device 'DAHDI/1-1' state '2'
  269. [Oct 28 07:28:42] DEBUG[8419] rtp.c: Channel 'DAHDI/1-1' has no RTP, not doing anything
  270. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIALEDTIME.
  271. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable ANSWEREDTIME.
  272. [Oct 28 07:28:42] DEBUG[8376] app_queue.c: Device 'DAHDI/1-1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  273. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIALEDPEERNAME.
  274. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIALEDPEERNUMBER.
  275. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIALSTATUS.
  276. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable MACRO_DEPTH.
  277. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable MACRO_PRIORITY.
  278. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable MACRO_CONTEXT.
  279. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable MACRO_EXTEN.
  280. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable ARG1.
  281. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable custom.
  282. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable OUTNUM.
  283. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable TRUNKOUTCID.
  284. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable EMERGENCYCID.
  285. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable USEROUTCID.
  286. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DB_RESULT.
  287. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIAL_TRUNK_OPTIONS.
  288. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable OUTBOUND_GROUP.
  289. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIAL_NUMBER.
  290. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable DIAL_TRUNK.
  291. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable ARG4.
  292. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable ARG3.
  293. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable ARG2.
  294. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable AGISTATUS.
  295. [Oct 28 07:28:42] DEBUG[8419] channel.c: Copying soft-transferable variable NODEST.
  296. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable AMPUSERCID.
  297. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable AMPUSERCIDNAME.
  298. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable AMPUSER.
  299. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable REALCALLERIDNUM.
  300. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable SIPCALLID.
  301. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable SIPDOMAIN.
  302. [Oct 28 07:28:42] DEBUG[8419] channel.c: Not copying variable SIPURI.
  303. [Oct 28 07:28:42] DEBUG[8419] chan_dahdi.c: No MFC/R2 category specified for chan DAHDI/1-1, using default National Priority Subscriber
  304. [Oct 28 07:28:42] DEBUG[8419] chan_dahdi.c: Chan 1 - Attempting to make call (ANI=200, DNIS=104, category=National Priority Subscriber)
  305. [Oct 28 07:28:42] DEBUG[8419] chan_dahdi.c: Chan 1 - Call started at Wed Oct 28 07:28:42 2009 on chan 1 [openr2 version 1.2.0, revision (release)]
  306. [Oct 28 07:28:42] DEBUG[8419] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE] 0x00
  307. [Oct 28 07:28:42] DEBUG[8419] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x01
  308. [Oct 28 07:28:42] VERBOSE[8419] app_dial.c: -- Called g0/104
  309. [Oct 28 07:28:42] DEBUG[8419] channel.c: Set channel DAHDI/1-1 to read format ulaw
  310. [Oct 28 07:28:42] DEBUG[8419] channel.c: Set channel SIP/200-08fef4b0 to read format alaw
  311. [Oct 28 07:28:42] DEBUG[8369] devicestate.c: Changing state for DAHDI/1 - state 2 (In use)
  312. [Oct 28 07:28:42] DEBUG[8369] devicestate.c: device 'DAHDI/1' state '2'
  313. [Oct 28 07:28:42] DEBUG[8376] app_queue.c: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  314. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: Chan 1 - calling timer 2 (r2_seize) callback
  315. [Oct 28 07:28:50] WARNING[8419] chan_dahdi.c: Chan 1 - Seize Timeout Expired!
  316. [Oct 28 07:28:50] ERROR[8419] chan_dahdi.c: Chan 1 - Protocol error. Reason = Seize Timeout, R2 State = Seize Transmitted, MF state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08
  317. DNIS = 104, ANI = 200, MF = 0x20
  318. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: Chan 1 - CAS Tx >> [IDLE] 0x08
  319. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09
  320. [Oct 28 07:28:50] ERROR[8419] chan_dahdi.c: MFC/R2 protocol error on chan 1: Seize Timeout
  321. [Oct 28 07:28:50] DEBUG[8419] channel.c: Hanging up channel 'DAHDI/1-1'
  322. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: dahdi_hangup(DAHDI/1-1)
  323. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: Hangup: channel: 1 index = 0, normal = 22, callwait = -1, thirdcall = -1
  324. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/1-1
  325. [Oct 28 07:28:50] DEBUG[8419] chan_dahdi.c: Updated conferencing on 1, with 0 conference users
  326. [Oct 28 07:28:50] VERBOSE[8419] chan_dahdi.c: -- Hungup 'DAHDI/1-1'
  327. [Oct 28 07:28:50] VERBOSE[8419] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
  328. [Oct 28 07:28:50] DEBUG[8419] rtp.c: Channel '<unspecified>' has no RTP, not doing anything
  329. [Oct 28 07:28:50] DEBUG[8419] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.
  330. [Oct 28 07:28:50] DEBUG[8419] app_macro.c: Executed application: Dial
  331. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'Goto'
  332. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [s@macro-dialout-trunk:20] Goto("SIP/200-08fef4b0", "s-CHANUNAVAIL,1") in new stack
  333. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  334. [Oct 28 07:28:50] DEBUG[8419] app_macro.c: Executed application: Goto
  335. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Expression result is '1'
  336. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'GotoIf'
  337. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/200-08fef4b0", "1?noreport") in new stack
  338. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
  339. [Oct 28 07:28:50] DEBUG[8419] app_macro.c: Executed application: GotoIf
  340. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'NoOp'
  341. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/200-08fef4b0", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 111) - failing through to other trunks") in new stack
  342. [Oct 28 07:28:50] DEBUG[8419] app_macro.c: Executed application: Noop
  343. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'Macro'
  344. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [104@from-internal:5] Macro("SIP/200-08fef4b0", "outisbusy,") in new stack
  345. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Expression result is '0'
  346. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'GotoIf'
  347. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [s@macro-outisbusy:1] GotoIf("SIP/200-08fef4b0", "0?emergency,1") in new stack
  348. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Not taking any branch
  349. [Oct 28 07:28:50] DEBUG[8419] app_macro.c: Executed application: GotoIf
  350. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Expression result is '0'
  351. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'GotoIf'
  352. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/200-08fef4b0", "0?intracompany,1") in new stack
  353. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Not taking any branch
  354. [Oct 28 07:28:50] DEBUG[8419] app_macro.c: Executed application: GotoIf
  355. [Oct 28 07:28:50] DEBUG[8419] pbx.c: Launching 'Playback'
  356. [Oct 28 07:28:50] VERBOSE[8419] pbx.c: -- Executing [s@macro-outisbusy:3] Playback("SIP/200-08fef4b0", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
  357. [Oct 28 07:28:50] DEBUG[8419] channel.c: Set channel SIP/200-08fef4b0 to write format slin
  358. [Oct 28 07:28:50] DEBUG[8419] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
  359. [Oct 28 07:28:50] VERBOSE[8419] file.c: -- <SIP/200-08fef4b0> Playing 'all-circuits-busy-now.slin' (language 'en')
  360. [Oct 28 07:28:50] DEBUG[8369] devicestate.c: Changing state for DAHDI/1 - state 0 (Unknown)
  361. [Oct 28 07:28:50] DEBUG[8369] devicestate.c: device 'DAHDI/1' state '0'
  362. [Oct 28 07:28:50] DEBUG[8376] app_queue.c: Device 'DAHDI/1' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
  363. [Oct 28 07:28:52] DEBUG[8419] channel.c: Scheduling timer at (58 requested / 58 actual) timer ticks per second
  364. [Oct 28 07:28:52] DEBUG[8419] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  365. [Oct 28 07:28:52] DEBUG[8419] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  366. [Oct 28 07:28:52] DEBUG[8419] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  367. [Oct 28 07:28:52] DEBUG[8419] channel.c: Set channel SIP/200-08fef4b0 to write format ulaw
  368. [Oct 28 07:28:52] DEBUG[8419] channel.c: Set channel SIP/200-08fef4b0 to write format slin
  369. [Oct 28 07:28:52] DEBUG[8419] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
  370. [Oct 28 07:28:52] VERBOSE[8419] file.c: -- <SIP/200-08fef4b0> Playing 'pls-try-call-later.slin' (language 'en')
  371. [Oct 28 07:28:52] DEBUG[8379] chan_sip.c: Allocating new SIP dialog for 2636b68c5a8433295eccc3e6427988c2@192.168.2.50 - OPTIONS (No RTP)
  372. [Oct 28 07:28:52] DEBUG[8379] acl.c: Found IP address for this socket
  373. [Oct 28 07:28:52] DEBUG[8379] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 150.187.9.42:5060
  374. [Oct 28 07:28:52] DEBUG[8379] chan_sip.c: Initializing initreq for method OPTIONS - callid 1333f01676ef9fc1124ad11846b88e2f@150.187.9.42
  375. [Oct 28 07:28:52] DEBUG[8379] chan_sip.c: Trying to put 'OPTIONS sip' onto UDP socket destined for 150.187.9.13:5060
  376. [Oct 28 07:28:52] DEBUG[8379] chan_sip.c: Stopping retransmission on '1333f01676ef9fc1124ad11846b88e2f@150.187.9.42' of Request 102: Match Found
  377. [Oct 28 07:28:52] DEBUG[8379] chan_sip.c: Destroying SIP dialog 1333f01676ef9fc1124ad11846b88e2f@150.187.9.42
  378. [Oct 28 07:28:54] DEBUG[8419] channel.c: Scheduling timer at (58 requested / 58 actual) timer ticks per second
  379. [Oct 28 07:28:54] DEBUG[8419] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  380. [Oct 28 07:28:54] DEBUG[8419] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  381. [Oct 28 07:28:54] DEBUG[8419] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  382. [Oct 28 07:28:54] DEBUG[8419] channel.c: Set channel SIP/200-08fef4b0 to write format ulaw
  383. [Oct 28 07:28:54] DEBUG[8419] app_macro.c: Executed application: Playback
  384. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Launching 'Congestion'
  385. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Executing [s@macro-outisbusy:4] Congestion("SIP/200-08fef4b0", "20") in new stack
  386. [Oct 28 07:28:54] DEBUG[8419] chan_sip.c: Trying to put 'SIP/2.0 503' onto UDP socket destined for 150.187.9.13:5060
  387. [Oct 28 07:28:54] DEBUG[8419] chan_sip.c: Setting SIP_ALREADYGONE on dialog cskfwdrowfzriua@z10n.ccs.onuva.net
  388. [Oct 28 07:28:54] DEBUG[8419] channel.c: Soft-Hanging up channel 'SIP/200-08fef4b0'
  389. [Oct 28 07:28:54] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  390. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 2 (In use)
  391. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: device 'SIP/200' state '2'
  392. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  393. [Oct 28 07:28:54] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  394. [Oct 28 07:28:54] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  395. [Oct 28 07:28:54] DEBUG[8419] app_macro.c: Spawn extension (macro-outisbusy,s,4) exited non-zero on 'SIP/200-08fef4b0' in macro 'outisbusy'
  396. [Oct 28 07:28:54] VERBOSE[8419] app_macro.c: == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/200-08fef4b0' in macro 'outisbusy'
  397. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Spawn extension (from-internal,104,5) exited non-zero on 'SIP/200-08fef4b0'
  398. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: == Spawn extension (from-internal, 104, 5) exited non-zero on 'SIP/200-08fef4b0'
  399. [Oct 28 07:28:54] DEBUG[8419] channel.c: Soft-Hanging up channel 'SIP/200-08fef4b0'
  400. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Launching 'Macro'
  401. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/200-08fef4b0", "hangupcall") in new stack
  402. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Expression result is '1'
  403. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Launching 'GotoIf'
  404. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/200-08fef4b0", "1?skiprg") in new stack
  405. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Goto (macro-hangupcall,s,4)
  406. [Oct 28 07:28:54] DEBUG[8419] app_macro.c: Executed application: GotoIf
  407. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Expression result is '1'
  408. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Launching 'GotoIf'
  409. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/200-08fef4b0", "1?skipblkvm") in new stack
  410. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Goto (macro-hangupcall,s,7)
  411. [Oct 28 07:28:54] DEBUG[8419] app_macro.c: Executed application: GotoIf
  412. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Expression result is '1'
  413. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Launching 'GotoIf'
  414. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/200-08fef4b0", "1?theend") in new stack
  415. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Goto (macro-hangupcall,s,9)
  416. [Oct 28 07:28:54] DEBUG[8419] app_macro.c: Executed application: GotoIf
  417. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Launching 'Hangup'
  418. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/200-08fef4b0", "") in new stack
  419. [Oct 28 07:28:54] DEBUG[8419] app_macro.c: Spawn extension (macro-hangupcall,s,9) exited non-zero on 'SIP/200-08fef4b0' in macro 'hangupcall'
  420. [Oct 28 07:28:54] VERBOSE[8419] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/200-08fef4b0' in macro 'hangupcall'
  421. [Oct 28 07:28:54] DEBUG[8419] pbx.c: Spawn extension (from-internal,h,1) exited non-zero on 'SIP/200-08fef4b0'
  422. [Oct 28 07:28:54] VERBOSE[8419] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-08fef4b0'
  423. [Oct 28 07:28:54] DEBUG[8419] channel.c: Hanging up channel 'SIP/200-08fef4b0'
  424. [Oct 28 07:28:54] DEBUG[8419] chan_sip.c: Hangup call SIP/200-08fef4b0, SIP callid cskfwdrowfzriua@z10n.ccs.onuva.net
  425. [Oct 28 07:28:54] DEBUG[8419] chan_sip.c: Updating call counter for incoming call
  426. [Oct 28 07:28:54] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  427. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 1 (Not in use)
  428. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: device 'SIP/200' state '1'
  429. [Oct 28 07:28:54] DEBUG[8419] cdr_addon_mysql.c: Inserting a CDR record.
  430. [Oct 28 07:28:54] DEBUG[8419] cdr_addon_mysql.c: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid) VALUES ('2009-10-28 07:28:42','\"prueba\" <200>','200','104','from-internal','SIP/200-08fef4b0','DAHDI/1-1','Congestion','20','12','0','NO ANSWER','3','1256731122.4')
  431. [Oct 28 07:28:54] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  432. [Oct 28 07:28:54] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  433. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  434. [Oct 28 07:28:54] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  435. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 1 (Not in use)
  436. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: device 'SIP/200' state '1'
  437. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  438. [Oct 28 07:28:54] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  439. [Oct 28 07:28:54] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  440. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Stopping retransmission on 'cskfwdrowfzriua@z10n.ccs.onuva.net' of Response 398: Match Found
  441. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Destroying SIP dialog cskfwdrowfzriua@z10n.ccs.onuva.net
  442. [Oct 28 07:28:54] DEBUG[8379] acl.c: Found IP address for this socket
  443. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Setting SIP_TRANSPORT_UDP with address 150.187.9.42:5060
  444. [Oct 28 07:28:54] VERBOSE[8379] netsock.c: == Using SIP RTP TOS bits 184
  445. [Oct 28 07:28:54] VERBOSE[8379] netsock.c: == Using SIP RTP CoS mark 5
  446. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Setting NAT on RTP to Off
  447. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Allocating new SIP dialog for cskfwdrowfzriua@z10n.ccs.onuva.net - INVITE (With RTP)
  448. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Setting NAT on RTP to On
  449. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Got unsupported a:fmtp:101 0-15 in SDP offer
  450. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: We're settling with these formats: 0xe (gsm|ulaw|alaw)
  451. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Checking SIP call limits for device 200
  452. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Updating call counter for incoming call
  453. [Oct 28 07:28:54] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  454. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 2 (In use)
  455. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: device 'SIP/200' state '2'
  456. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: *** Our native formats are 0x4 (ulaw)
  457. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: *** Joint capabilities are 0xe (gsm|ulaw|alaw)
  458. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: *** Our capabilities are 0xe (gsm|ulaw|alaw)
  459. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: *** AST_CODEC_CHOOSE formats are 0x4 (ulaw)
  460. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: This channel will not be able to handle video.
  461. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: build_route: Contact hop: <sip:200@192.168.2.168:5060>
  462. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: SIP/200-08fef4b0: New call is still down.... Trying...
  463. [Oct 28 07:28:54] DEBUG[8379] chan_sip.c: Trying to put 'SIP/2.0 100' onto UDP socket destined for 150.187.9.13:5060
  464. [Oct 28 07:28:54] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  465. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 2 (In use)
  466. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: device 'SIP/200' state '2'
  467. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  468. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  469. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Macro'
  470. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [104@from-internal:1] Macro("SIP/200-08fef4b0", "user-callerid,SKIPTTL,") in new stack
  471. [Oct 28 07:28:54] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  472. [Oct 28 07:28:54] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  473. [Oct 28 07:28:54] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  474. [Oct 28 07:28:54] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  475. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  476. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  477. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  478. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  479. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/200-08fef4b0", "AMPUSER=200") in new stack
  480. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  481. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  482. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  483. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-08fef4b0", "0?report") in new stack
  484. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Not taking any branch
  485. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  486. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  487. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  488. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  489. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-08fef4b0", "1?Set(REALCALLERIDNUM=200)") in new stack
  490. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  491. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  492. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  493. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  494. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  495. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/200-08fef4b0", "AMPUSER=200") in new stack
  496. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  497. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is 'prueba'
  498. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  499. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/200-08fef4b0", "AMPUSERCIDNAME=prueba") in new stack
  500. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  501. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  502. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  503. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-08fef4b0", "0?report") in new stack
  504. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Not taking any branch
  505. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  506. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '1'
  507. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  508. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  509. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  510. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/200-08fef4b0", "AMPUSERCID=200") in new stack
  511. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  512. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  513. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/200-08fef4b0", "CALLERID(all)="prueba" <200>") in new stack
  514. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  515. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  516. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  517. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  518. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  519. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/200-08fef4b0", "0?Set(CHANNEL(language)=)") in new stack
  520. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  521. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  522. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  523. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  524. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  525. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  526. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/200-08fef4b0", "1?continue") in new stack
  527. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Goto (macro-user-callerid,s,19)
  528. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  529. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '"prueba" <200>'
  530. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'NoOp'
  531. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/200-08fef4b0", "Using CallerID "prueba" <200>") in new stack
  532. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Noop
  533. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  534. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [104@from-internal:2] Set("SIP/200-08fef4b0", "_NODEST=") in new stack
  535. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Macro'
  536. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [104@from-internal:3] Macro("SIP/200-08fef4b0", "record-enable,200,OUT,") in new stack
  537. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  538. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  539. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/200-08fef4b0", "1?check") in new stack
  540. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Goto (macro-record-enable,s,4)
  541. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  542. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '20091028-072854'
  543. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'AGI'
  544. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-record-enable:4] AGI("SIP/200-08fef4b0", "recordingcheck,20091028-072854,1256731134.6") in new stack
  545. [Oct 28 07:28:54] VERBOSE[8422] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  546. [Oct 28 07:28:54] VERBOSE[8422] res_agi.c: recordingcheck,20091028-072854,1256731134.6: Outbound recording not enabled
  547. [Oct 28 07:28:54] VERBOSE[8422] res_agi.c: -- <SIP/200-08fef4b0>AGI Script recordingcheck completed, returning 0
  548. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: AGI
  549. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'MacroExit'
  550. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/200-08fef4b0", "") in new stack
  551. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Macro'
  552. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [104@from-internal:4] Macro("SIP/200-08fef4b0", "dialout-trunk,1,104,,") in new stack
  553. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  554. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/200-08fef4b0", "DIAL_TRUNK=1") in new stack
  555. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  556. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  557. [Oct 28 07:28:54] DEBUG[8422] db.c: Unable to find key '200/pinless' in family 'AMPUSER'
  558. [Oct 28 07:28:54] DEBUG[8422] func_db.c: DB: AMPUSER/200/pinless not found in database.
  559. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  560. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  561. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  562. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GosubIf'
  563. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/200-08fef4b0", "0?sub-pincheck,s,1") in new stack
  564. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GosubIf
  565. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  566. [Oct 28 07:28:54] DEBUG[8422] db.c: Unable to find key '200/pinless' in family 'AMPUSER'
  567. [Oct 28 07:28:54] DEBUG[8422] func_db.c: DB: AMPUSER/200/pinless not found in database.
  568. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  569. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  570. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  571. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  572. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  573. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/200-08fef4b0", "0?disabletrunk,1") in new stack
  574. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Not taking any branch
  575. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  576. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  577. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/200-08fef4b0", "DIAL_NUMBER=104") in new stack
  578. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  579. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  580. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/200-08fef4b0", "DIAL_TRUNK_OPTIONS=tr") in new stack
  581. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  582. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  583. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/200-08fef4b0", "OUTBOUND_GROUP=OUT_1") in new stack
  584. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  585. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  586. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  587. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/200-08fef4b0", "1?nomax") in new stack
  588. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Goto (macro-dialout-trunk,s,9)
  589. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  590. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  591. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  592. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/200-08fef4b0", "0?skipoutcid") in new stack
  593. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Not taking any branch
  594. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  595. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  596. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/200-08fef4b0", "DIAL_TRUNK_OPTIONS=") in new stack
  597. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  598. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Macro'
  599. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/200-08fef4b0", "outbound-callerid,1") in new stack
  600. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  601. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  602. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERPRES()=)") in new stack
  603. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  604. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  605. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  606. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  607. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  608. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/200-08fef4b0", "0?Set(REALCALLERIDNUM=200)") in new stack
  609. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  610. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  611. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is '200'
  612. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  613. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  614. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  615. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  616. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  617. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/200-08fef4b0", "1?normcid") in new stack
  618. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Goto (macro-outbound-callerid,s,6)
  619. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  620. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  621. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  622. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/200-08fef4b0", "USEROUTCID=") in new stack
  623. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  624. [Oct 28 07:28:54] DEBUG[8422] db.c: Unable to find key '200/emergency_cid' in family 'DEVICE'
  625. [Oct 28 07:28:54] DEBUG[8422] func_db.c: DB: DEVICE/200/emergency_cid not found in database.
  626. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is ''
  627. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  628. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/200-08fef4b0", "EMERGENCYCID=") in new stack
  629. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  630. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  631. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/200-08fef4b0", "TRUNKOUTCID=") in new stack
  632. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  633. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  634. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  635. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  636. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  637. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/200-08fef4b0", "1?trunkcid") in new stack
  638. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Goto (macro-outbound-callerid,s,12)
  639. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  640. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  641. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  642. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERID(all)=)") in new stack
  643. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  644. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  645. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  646. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  647. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERID(all)=)") in new stack
  648. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  649. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  650. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is 'prueba'
  651. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  652. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  653. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/200-08fef4b0", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  654. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  655. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is 'prueba'
  656. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  657. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Macro
  658. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  659. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  660. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/200-08fef4b0", "0?AGI(fixlocalprefix)") in new stack
  661. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  662. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  663. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  664. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/200-08fef4b0", "OUTNUM=104") in new stack
  665. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  666. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Function result is 'DAHDI/g0'
  667. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Set'
  668. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/200-08fef4b0", "custom=DAHDI/g0") in new stack
  669. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Set
  670. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  671. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  672. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  673. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'ExecIf'
  674. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/200-08fef4b0", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
  675. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: ExecIf
  676. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '1'
  677. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  678. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  679. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Macro'
  680. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/200-08fef4b0", "dialout-trunk-predial-hook,") in new stack
  681. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'MacroExit'
  682. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/200-08fef4b0", "") in new stack
  683. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: Macro
  684. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  685. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  686. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/200-08fef4b0", "0?bypass,1") in new stack
  687. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Not taking any branch
  688. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  689. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Expression result is '0'
  690. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'GotoIf'
  691. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/200-08fef4b0", "0?customtrunk") in new stack
  692. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Not taking any branch
  693. [Oct 28 07:28:54] DEBUG[8422] app_macro.c: Executed application: GotoIf
  694. [Oct 28 07:28:54] DEBUG[8422] pbx.c: Launching 'Dial'
  695. [Oct 28 07:28:54] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/200-08fef4b0", "DAHDI/g0/104,300,") in new stack
  696. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Using channel 1
  697. [Oct 28 07:28:54] DEBUG[8422] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
  698. [Oct 28 07:28:54] DEBUG[8422] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
  699. [Oct 28 07:28:54] DEBUG[8422] devicestate.c: device 'DAHDI/1-1' state '2'
  700. [Oct 28 07:28:54] DEBUG[8422] rtp.c: Channel 'DAHDI/1-1' has no RTP, not doing anything
  701. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIALEDTIME.
  702. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable ANSWEREDTIME.
  703. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIALEDPEERNAME.
  704. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIALEDPEERNUMBER.
  705. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIALSTATUS.
  706. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable MACRO_DEPTH.
  707. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable MACRO_PRIORITY.
  708. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable MACRO_CONTEXT.
  709. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable MACRO_EXTEN.
  710. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable ARG1.
  711. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable custom.
  712. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable OUTNUM.
  713. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable TRUNKOUTCID.
  714. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable EMERGENCYCID.
  715. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable USEROUTCID.
  716. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DB_RESULT.
  717. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIAL_TRUNK_OPTIONS.
  718. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable OUTBOUND_GROUP.
  719. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIAL_NUMBER.
  720. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable DIAL_TRUNK.
  721. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable ARG4.
  722. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable ARG3.
  723. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable ARG2.
  724. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable AGISTATUS.
  725. [Oct 28 07:28:54] DEBUG[8422] channel.c: Copying soft-transferable variable NODEST.
  726. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable AMPUSERCID.
  727. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable AMPUSERCIDNAME.
  728. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable AMPUSER.
  729. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable REALCALLERIDNUM.
  730. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable SIPCALLID.
  731. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable SIPDOMAIN.
  732. [Oct 28 07:28:54] DEBUG[8422] channel.c: Not copying variable SIPURI.
  733. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: No MFC/R2 category specified for chan DAHDI/1-1, using default National Priority Subscriber
  734. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'DAHDI/1-1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  735. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - Attempting to make call (ANI=200, DNIS=104, category=National Priority Subscriber)
  736. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - Call started at Wed Oct 28 07:28:54 2009 on chan 1 [openr2 version 1.2.0, revision (release)]
  737. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE] 0x00
  738. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x01
  739. [Oct 28 07:28:54] VERBOSE[8422] app_dial.c: -- Called g0/104
  740. [Oct 28 07:28:54] DEBUG[8422] channel.c: Set channel DAHDI/1-1 to read format ulaw
  741. [Oct 28 07:28:54] DEBUG[8422] channel.c: Set channel SIP/200-08fef4b0 to read format alaw
  742. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: Changing state for DAHDI/1 - state 2 (In use)
  743. [Oct 28 07:28:54] DEBUG[8369] devicestate.c: device 'DAHDI/1' state '2'
  744. [Oct 28 07:28:54] DEBUG[8376] app_queue.c: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  745. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Exception on 22, channel 1
  746. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Got event Bits Changed(13) on channel 1 (index 0)
  747. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: bits changed in chan 1
  748. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - Bits changed from 0x08 to 0x0C
  749. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - CAS Rx << [SEIZE ACK] 0x0C
  750. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - Sending DNIS digit 1
  751. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
  752. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
  753. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
  754. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
  755. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - Sending DNIS digit 0
  756. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]
  757. [Oct 28 07:28:54] DEBUG[8422] chan_dahdi.c: Chan 1 - Group A DNIS request handled
  758. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
  759. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]
  760. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
  761. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - Sending DNIS digit 4
  762. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 4 [ON]
  763. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - Group A DNIS request handled
  764. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]
  765. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 4 [OFF]
  766. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]
  767. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - Sending category National Priority Subscriber
  768. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 2 [ON]
  769. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 4 [ON]
  770. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Tx >> 2 [OFF]
  771. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - MF Rx << 4 [OFF]
  772. [Oct 28 07:28:55] VERBOSE[8422] chan_dahdi.c: Chan 1 - Far end disconnected. Reason: Network Congestion
  773. [Oct 28 07:28:55] VERBOSE[8422] chan_dahdi.c: MFC/R2 call disconnected on channel 1
  774. [Oct 28 07:28:55] VERBOSE[8422] app_dial.c: -- DAHDI/1-1 is circuit-busy
  775. [Oct 28 07:28:55] DEBUG[8422] channel.c: Hanging up channel 'DAHDI/1-1'
  776. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: dahdi_hangup(DAHDI/1-1)
  777. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Hangup: channel: 1 index = 0, normal = 22, callwait = -1, thirdcall = -1
  778. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: disconnecting MFC/R2 call on chan 1
  779. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: ast cause 0 resulted in openr2 cause 6/Normal Clearing
  780. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - CAS Tx >> [CLEAR FORWARD] 0x08
  781. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09
  782. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/1-1
  783. [Oct 28 07:28:55] DEBUG[8422] chan_dahdi.c: Updated conferencing on 1, with 0 conference users
  784. [Oct 28 07:28:55] VERBOSE[8422] chan_dahdi.c: -- Hungup 'DAHDI/1-1'
  785. [Oct 28 07:28:55] VERBOSE[8422] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
  786. [Oct 28 07:28:55] DEBUG[8422] rtp.c: Channel '<unspecified>' has no RTP, not doing anything
  787. [Oct 28 07:28:55] DEBUG[8422] app_dial.c: Exiting with DIALSTATUS=CONGESTION.
  788. [Oct 28 07:28:55] DEBUG[8422] app_macro.c: Executed application: Dial
  789. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'Goto'
  790. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [s@macro-dialout-trunk:20] Goto("SIP/200-08fef4b0", "s-CONGESTION,1") in new stack
  791. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)
  792. [Oct 28 07:28:55] DEBUG[8422] app_macro.c: Executed application: Goto
  793. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Expression result is '1'
  794. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'GotoIf'
  795. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/200-08fef4b0", "1?noreport") in new stack
  796. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Goto (macro-dialout-trunk,s-CONGESTION,3)
  797. [Oct 28 07:28:55] DEBUG[8422] app_macro.c: Executed application: GotoIf
  798. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'NoOp'
  799. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/200-08fef4b0", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
  800. [Oct 28 07:28:55] DEBUG[8422] app_macro.c: Executed application: Noop
  801. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'Macro'
  802. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [104@from-internal:5] Macro("SIP/200-08fef4b0", "outisbusy,") in new stack
  803. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Expression result is '0'
  804. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'GotoIf'
  805. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [s@macro-outisbusy:1] GotoIf("SIP/200-08fef4b0", "0?emergency,1") in new stack
  806. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Not taking any branch
  807. [Oct 28 07:28:55] DEBUG[8422] app_macro.c: Executed application: GotoIf
  808. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Expression result is '0'
  809. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'GotoIf'
  810. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [s@macro-outisbusy:2] GotoIf("SIP/200-08fef4b0", "0?intracompany,1") in new stack
  811. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Not taking any branch
  812. [Oct 28 07:28:55] DEBUG[8422] app_macro.c: Executed application: GotoIf
  813. [Oct 28 07:28:55] DEBUG[8422] pbx.c: Launching 'Playback'
  814. [Oct 28 07:28:55] VERBOSE[8422] pbx.c: -- Executing [s@macro-outisbusy:3] Playback("SIP/200-08fef4b0", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
  815. [Oct 28 07:28:55] DEBUG[8422] channel.c: Set channel SIP/200-08fef4b0 to write format slin
  816. [Oct 28 07:28:55] DEBUG[8422] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
  817. [Oct 28 07:28:55] VERBOSE[8422] file.c: -- <SIP/200-08fef4b0> Playing 'all-circuits-busy-now.slin' (language 'en')
  818. [Oct 28 07:28:55] DEBUG[8369] devicestate.c: Changing state for DAHDI/1 - state 0 (Unknown)
  819. [Oct 28 07:28:55] DEBUG[8369] devicestate.c: device 'DAHDI/1' state '0'
  820. [Oct 28 07:28:55] DEBUG[8376] app_queue.c: Device 'DAHDI/1' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
  821. [Oct 28 07:28:56] DEBUG[8400] chan_dahdi.c: Chan 1 - Bits changed from 0x0C to 0x08
  822. [Oct 28 07:28:56] DEBUG[8400] chan_dahdi.c: Chan 1 - CAS Rx << [IDLE] 0x08
  823. [Oct 28 07:28:56] DEBUG[8400] chan_dahdi.c: Chan 1 - Call ended
  824. [Oct 28 07:28:56] DEBUG[8400] chan_dahdi.c: Chan 1 - CAS Tx >> [IDLE] 0x08
  825. [Oct 28 07:28:56] DEBUG[8400] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09
  826. [Oct 28 07:28:56] VERBOSE[8400] chan_dahdi.c: MFC/R2 call end on channel 1
  827. [Oct 28 07:28:57] DEBUG[8422] channel.c: Scheduling timer at (58 requested / 58 actual) timer ticks per second
  828. [Oct 28 07:28:57] DEBUG[8422] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  829. [Oct 28 07:28:57] DEBUG[8422] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  830. [Oct 28 07:28:57] DEBUG[8422] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  831. [Oct 28 07:28:57] DEBUG[8422] channel.c: Set channel SIP/200-08fef4b0 to write format ulaw
  832. [Oct 28 07:28:57] DEBUG[8422] channel.c: Set channel SIP/200-08fef4b0 to write format slin
  833. [Oct 28 07:28:57] DEBUG[8422] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
  834. [Oct 28 07:28:57] VERBOSE[8422] file.c: -- <SIP/200-08fef4b0> Playing 'pls-try-call-later.slin' (language 'en')
  835. [Oct 28 07:28:59] DEBUG[8422] channel.c: Scheduling timer at (58 requested / 58 actual) timer ticks per second
  836. [Oct 28 07:28:59] DEBUG[8422] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  837. [Oct 28 07:28:59] DEBUG[8422] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  838. [Oct 28 07:28:59] DEBUG[8422] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
  839. [Oct 28 07:28:59] DEBUG[8422] channel.c: Set channel SIP/200-08fef4b0 to write format ulaw
  840. [Oct 28 07:28:59] DEBUG[8422] app_macro.c: Executed application: Playback
  841. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Launching 'Congestion'
  842. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Executing [s@macro-outisbusy:4] Congestion("SIP/200-08fef4b0", "20") in new stack
  843. [Oct 28 07:28:59] DEBUG[8422] chan_sip.c: Trying to put 'SIP/2.0 503' onto UDP socket destined for 150.187.9.13:5060
  844. [Oct 28 07:28:59] DEBUG[8422] chan_sip.c: Setting SIP_ALREADYGONE on dialog cskfwdrowfzriua@z10n.ccs.onuva.net
  845. [Oct 28 07:28:59] DEBUG[8422] channel.c: Soft-Hanging up channel 'SIP/200-08fef4b0'
  846. [Oct 28 07:28:59] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  847. [Oct 28 07:28:59] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 2 (In use)
  848. [Oct 28 07:28:59] DEBUG[8369] devicestate.c: device 'SIP/200' state '2'
  849. [Oct 28 07:28:59] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  850. [Oct 28 07:28:59] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  851. [Oct 28 07:28:59] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  852. [Oct 28 07:28:59] DEBUG[8422] app_macro.c: Spawn extension (macro-outisbusy,s,4) exited non-zero on 'SIP/200-08fef4b0' in macro 'outisbusy'
  853. [Oct 28 07:28:59] VERBOSE[8422] app_macro.c: == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/200-08fef4b0' in macro 'outisbusy'
  854. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Spawn extension (from-internal,104,5) exited non-zero on 'SIP/200-08fef4b0'
  855. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: == Spawn extension (from-internal, 104, 5) exited non-zero on 'SIP/200-08fef4b0'
  856. [Oct 28 07:28:59] DEBUG[8422] channel.c: Soft-Hanging up channel 'SIP/200-08fef4b0'
  857. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Launching 'Macro'
  858. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/200-08fef4b0", "hangupcall") in new stack
  859. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Expression result is '1'
  860. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Launching 'GotoIf'
  861. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/200-08fef4b0", "1?skiprg") in new stack
  862. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Goto (macro-hangupcall,s,4)
  863. [Oct 28 07:28:59] DEBUG[8422] app_macro.c: Executed application: GotoIf
  864. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Expression result is '1'
  865. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Launching 'GotoIf'
  866. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/200-08fef4b0", "1?skipblkvm") in new stack
  867. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Goto (macro-hangupcall,s,7)
  868. [Oct 28 07:28:59] DEBUG[8422] app_macro.c: Executed application: GotoIf
  869. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Expression result is '1'
  870. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Launching 'GotoIf'
  871. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/200-08fef4b0", "1?theend") in new stack
  872. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Goto (macro-hangupcall,s,9)
  873. [Oct 28 07:28:59] DEBUG[8422] app_macro.c: Executed application: GotoIf
  874. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Launching 'Hangup'
  875. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/200-08fef4b0", "") in new stack
  876. [Oct 28 07:28:59] DEBUG[8422] app_macro.c: Spawn extension (macro-hangupcall,s,9) exited non-zero on 'SIP/200-08fef4b0' in macro 'hangupcall'
  877. [Oct 28 07:28:59] VERBOSE[8422] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/200-08fef4b0' in macro 'hangupcall'
  878. [Oct 28 07:28:59] DEBUG[8422] pbx.c: Spawn extension (from-internal,h,1) exited non-zero on 'SIP/200-08fef4b0'
  879. [Oct 28 07:28:59] VERBOSE[8422] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-08fef4b0'
  880. [Oct 28 07:28:59] DEBUG[8422] channel.c: Hanging up channel 'SIP/200-08fef4b0'
  881. [Oct 28 07:28:59] DEBUG[8422] chan_sip.c: Hangup call SIP/200-08fef4b0, SIP callid cskfwdrowfzriua@z10n.ccs.onuva.net
  882. [Oct 28 07:28:59] DEBUG[8422] chan_sip.c: Updating call counter for incoming call
  883. [Oct 28 07:28:59] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  884. [Oct 28 07:28:59] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 1 (Not in use)
  885. [Oct 28 07:28:59] DEBUG[8369] devicestate.c: device 'SIP/200' state '1'
  886. [Oct 28 07:28:59] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  887. [Oct 28 07:28:59] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  888. [Oct 28 07:28:59] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  889. [Oct 28 07:28:59] DEBUG[8422] cdr_addon_mysql.c: Inserting a CDR record.
  890. [Oct 28 07:28:59] DEBUG[8422] cdr_addon_mysql.c: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid) VALUES ('2009-10-28 07:28:54','\"prueba\" <200>','200','104','from-internal','SIP/200-08fef4b0','DAHDI/1-1','Congestion','20','5','0','NO ANSWER','3','1256731134.6')
  891. [Oct 28 07:28:59] DEBUG[8369] chan_sip.c: Checking device state for peer 200
  892. [Oct 28 07:28:59] DEBUG[8369] devicestate.c: Changing state for SIP/200 - state 1 (Not in use)
  893. [Oct 28 07:28:59] DEBUG[8369] devicestate.c: device 'SIP/200' state '1'
  894. [Oct 28 07:28:59] DEBUG[8376] app_queue.c: Device 'SIP/200' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  895. [Oct 28 07:28:59] DEBUG[8370] devicestate.c: Checking if I can find provider for "Custom" - number: DND200
  896. [Oct 28 07:28:59] DEBUG[8370] db.c: Unable to find key 'DND200' in family 'CustomDevstate'
  897. [Oct 28 07:28:59] DEBUG[8379] chan_sip.c: Stopping retransmission on 'cskfwdrowfzriua@z10n.ccs.onuva.net' of Response 399: Match Found
  898. [Oct 28 07:28:59] DEBUG[8379] chan_sip.c: Destroying SIP dialog cskfwdrowfzriua@z10n.ccs.onuva.net
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement