From mayur valand, 1 Year ago, written in HTML5.
- view diff
Embed
  1. 2022-07-04 11:19:03.553232 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/38670626218!
  2. 2022-07-04 11:19:03.553232 [DEBUG] switch_channel.c:3565 (sofia/default/38670626218) Callstate Change DOWN -> EARLY
  3. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  6. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  7. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  8. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  9. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  10. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38670626218 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  11. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_codec.c:111 sofia/default/38670626218 Original read codec set to PCMA:8
  12. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  13. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:5918 sofia/default/38670626218 Set 2833 dtmf send payload to 101 recv payload to 101
  14. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38670626218] 82.214.92.3 port 19554 -> 91.208.225.227 port 15246 codec: 8 ms: 20
  15. 2022-07-04 11:19:03.553232 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  16. 2022-07-04 11:19:03.553232 [NOTICE] switch_channel.c:1118 New Channel sofia/default/sky001@skytel011.tdsltd.rs [8b3a4a3c-d818-44e0-abcf-6f4f39f55221]
  17. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:8989 sofia/default/38670626218 Set 2833 dtmf send payload to 101
  18. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:8996 sofia/default/38670626218 Set 2833 dtmf receive payload to 101
  19. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_media.c:9019 sofia/default/38670626218 Set rtp dtmf delay to 40
  20. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_NEW (Cur 63 Tot 2864644)
  21. 2022-07-04 11:19:03.553232 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 103.240.35.46:38688 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: MjU4ZDMzYmRhNjFmZDkzM2M4YmI4NTI4Mjg3NjFhNmI.
  22. 2022-07-04 11:19:03.553232 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 103.240.35.46:0.
  23. 2022-07-04 11:19:03.553232 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [12125551212@skytel011.tdsltd.rs] from ip 103.240.35.46
  24. 2022-07-04 11:19:03.553232 [DEBUG] switch_core_state_machine.c:604 (sofia/default/sky001@skytel011.tdsltd.rs) State NEW
  25. 2022-07-04 11:19:03.553232 [DEBUG] sofia.c:2447 detaching session 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  26. 2022-07-04 11:19:03.573246 [INFO] switch_ivr_originate.c:3832 Sending early media
  27. 2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38617775044@148.251.195.149] 82.214.92.3 port 18588 -> 95.216.40.232 port 28278 codec: 8 ms: 20
  28. 2022-07-04 11:19:03.573246 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  29. 2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:8989 sofia/default/38617775044@148.251.195.149 Set 2833 dtmf send payload to 101
  30. 2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:8996 sofia/default/38617775044@148.251.195.149 Set 2833 dtmf receive payload to 101
  31. 2022-07-04 11:19:03.573246 [DEBUG] switch_core_media.c:9019 sofia/default/38617775044@148.251.195.149 Set rtp dtmf delay to 40
  32. 2022-07-04 11:19:03.573246 [DEBUG] mod_sofia.c:2593 Ring SDP:
  33. v=0
  34. o=FreeSWITCH 1656907755 1656907756 IN IP4 82.214.92.3
  35. s=FreeSWITCH
  36. c=IN IP4 82.214.92.3
  37. t=0 0
  38. m=audio 18588 RTP/AVP 8 101
  39. a=rtpmap:8 PCMA/8000
  40. a=rtpmap:101 telephone-event/8000
  41. a=fmtp:101 0-16
  42. a=ptime:20
  43. a=sendrecv
  44.  
  45. 2022-07-04 11:19:03.573246 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/38617775044@148.251.195.149!
  46. 2022-07-04 11:19:03.573246 [DEBUG] switch_channel.c:3565 (sofia/default/38617775044@148.251.195.149) Callstate Change RINGING -> EARLY
  47. 2022-07-04 11:19:03.573246 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/38670626218]
  48. 2022-07-04 11:19:03.573246 [DEBUG] sofia.c:7406 Channel sofia/default/38617775044@148.251.195.149 entering state [early][183]
  49. 2022-07-04 11:19:03.573246 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/38670626218) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  50. 2022-07-04 11:19:03.573246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38670626218) Running State Change CS_EXCHANGE_MEDIA (Cur 63 Tot 2864644)
  51. 2022-07-04 11:19:03.573246 [DEBUG] switch_core_state_machine.c:654 (sofia/default/38670626218) State EXCHANGE_MEDIA
  52. 2022-07-04 11:19:03.573246 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  53. 2022-07-04 11:19:03.713226 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  54. 2022-07-04 11:19:03.733227 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  55. 2022-07-04 11:19:03.753225 [DEBUG] switch_ivr_bridge.c:655 sofia/default/38670626218 Bridge execute app sched_hangup(+6000 normal_clearing)
  56. 2022-07-04 11:19:03.773228 [DEBUG] switch_ivr.c:632 sofia/default/38670626218 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  57. EXECUTE [depth=0] sofia/default/38670626218 sched_hangup(+6000 normal_clearing)
  58. 2022-07-04 11:19:03.773228 [DEBUG] switch_scheduler.c:263 Added task 960251 switch_ivr_schedule_hangup (51f7f81e-a619-42b6-8bd1-eafa0ec805f5) to run at 1656932343
  59. 2022-07-04 11:19:03.953242 [DEBUG] sofia.c:2562 Re-attaching to session 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  60. 2022-07-04 11:19:03.953242 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 103.240.35.46:38688 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: MjU4ZDMzYmRhNjFmZDkzM2M4YmI4NTI4Mjg3NjFhNmI.
  61. 2022-07-04 11:19:03.953242 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 103.240.35.46:0.
  62. 2022-07-04 11:19:03.973231 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
  63. 2022-07-04 11:19:03.973231 [DEBUG] sofia.c:7406 Channel sofia/default/sky001@skytel011.tdsltd.rs entering state [received][100]
  64. 2022-07-04 11:19:03.973231 [DEBUG] sofia.c:7416 Remote SDP:
  65. v=0
  66. o=Z 0 0 IN IP4 103.240.35.46
  67. s=Z
  68. c=IN IP4 103.240.35.46
  69. t=0 0
  70. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  71. a=rtpmap:110 speex/8000
  72. a=rtpmap:98 iLBC/8000
  73. a=fmtp:98 mode=20
  74. a=rtpmap:101 telephone-event/8000
  75. a=fmtp:101 0-15
  76.  
  77. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  78. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  79. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  80. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  81. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  82. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  83. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  84. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  85. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  86. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  87. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  88. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  89. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  90. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/sky001@skytel011.tdsltd.rs PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  91. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_codec.c:111 sofia/default/sky001@skytel011.tdsltd.rs Original read codec set to PCMA:8
  92. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  93. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_media.c:5918 sofia/default/sky001@skytel011.tdsltd.rs Set 2833 dtmf send payload to 101 recv payload to 101
  94. 2022-07-04 11:19:03.973231 [DEBUG] sofia.c:7840 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_NEW -> CS_INIT
  95. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_INIT (Cur 63 Tot 2864644)
  96. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT
  97. 2022-07-04 11:19:03.973231 [DEBUG] mod_sofia.c:93 sofia/default/sky001@skytel011.tdsltd.rs SOFIA INIT
  98. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:40 sofia/default/sky001@skytel011.tdsltd.rs Standard INIT
  99. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:48 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_INIT -> CS_ROUTING
  100. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT going to sleep
  101. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_ROUTING (Cur 63 Tot 2864644)
  102. 2022-07-04 11:19:03.973231 [DEBUG] switch_channel.c:2332 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change DOWN -> RINGING
  103. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING
  104. 2022-07-04 11:19:03.973231 [DEBUG] mod_sofia.c:154 sofia/default/sky001@skytel011.tdsltd.rs SOFIA ROUTING
  105. 2022-07-04 11:19:03.973231 [DEBUG] switch_core_state_machine.c:236 sofia/default/sky001@skytel011.tdsltd.rs Standard ROUTING
  106. 2022-07-04 11:19:03.973231 [INFO] mod_dialplan_xml.c:637 Processing sky001 <sky001>->12125551212 in context default
  107. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  108. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  109. 2022-07-04 11:19:03.973231 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  110. Event-Name: REQUEST_PARAMS
  111. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  112. FreeSWITCH-Hostname: ASTPP5
  113. FreeSWITCH-Switchname: ASTPP5
  114. FreeSWITCH-IPv4: 82.214.92.3
  115. FreeSWITCH-IPv6: %3A%3A1
  116. Event-Date-Local: 2022-07-04%2011%3A19%3A03
  117. Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A03%20GMT
  118. Event-Date-Timestamp: 1656926343973231
  119. Event-Calling-File: mod_dialplan_xml.c
  120. Event-Calling-Function: dialplan_xml_locate
  121. Event-Calling-Line-Number: 608
  122. Event-Sequence: 150866899
  123. Channel-State: CS_ROUTING
  124. Channel-Call-State: RINGING
  125. Channel-State-Number: 2
  126. Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
  127. Unique-ID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  128. Call-Direction: inbound
  129. Presence-Call-Direction: inbound
  130. Channel-HIT-Dialplan: true
  131. Channel-Presence-ID: sky001%40skytel011.tdsltd.rs
  132. Channel-Call-UUID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  133. Answer-State: ringing
  134. Channel-Read-Codec-Name: PCMA
  135. Channel-Read-Codec-Rate: 8000
  136. Channel-Read-Codec-Bit-Rate: 64000
  137. Channel-Write-Codec-Name: PCMA
  138. Channel-Write-Codec-Rate: 8000
  139. Channel-Write-Codec-Bit-Rate: 64000
  140. Caller-Direction: inbound
  141. Caller-Logical-Direction: inbound
  142. Caller-Username: sky001
  143. Caller-Dialplan: XML
  144. Caller-Caller-ID-Name: sky001
  145. Caller-Caller-ID-Number: sky001
  146. Caller-Orig-Caller-ID-Name: sky001
  147. Caller-Orig-Caller-ID-Number: sky001
  148. Caller-Network-Addr: 103.240.35.46
  149. Caller-ANI: sky001
  150. Caller-Destination-Number: 12125551212
  151. Caller-Unique-ID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  152. Caller-Source: mod_sofia
  153. Caller-Context: default
  154. Caller-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
  155. Caller-Profile-Index: 1
  156. Caller-Profile-Created-Time: 1656926343973231
  157. Caller-Channel-Created-Time: 1656926343973231
  158. Caller-Channel-Answered-Time: 0
  159. Caller-Channel-Progress-Time: 0
  160. Caller-Channel-Progress-Media-Time: 0
  161. Caller-Channel-Hangup-Time: 0
  162. Caller-Channel-Transfer-Time: 0
  163. Caller-Channel-Resurrect-Time: 0
  164. Caller-Channel-Bridged-Time: 0
  165. Caller-Channel-Last-Hold: 0
  166. Caller-Channel-Hold-Accum: 0
  167. Caller-Screen-Bit: true
  168. Caller-Privacy-Hide-Name: false
  169. Caller-Privacy-Hide-Number: false
  170. variable_direction: inbound
  171. variable_uuid: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  172. variable_session_id: 2864644
  173. variable_sip_from_params: transport%3DTCP
  174. variable_sip_from_user: sky001
  175. variable_sip_from_uri: sky001%40skytel011.tdsltd.rs
  176. variable_sip_from_host: skytel011.tdsltd.rs
  177. variable_video_media_flow: disabled
  178. variable_text_media_flow: disabled
  179. variable_channel_name: sofia/default/sky001%40skytel011.tdsltd.rs
  180. variable_sip_call_id: MjU4ZDMzYmRhNjFmZDkzM2M4YmI4NTI4Mjg3NjFhNmI.
  181. variable_sip_local_network_addr: 82.214.92.3
  182. variable_sip_network_ip: 103.240.35.46
  183. variable_sip_network_port: 38688
  184. variable_sip_invite_stamp: 1656926343953242
  185. variable_sip_received_ip: 103.240.35.46
  186. variable_sip_received_port: 38688
  187. variable_sip_via_protocol: tcp
  188. variable_sip_authorized: true
  189. variable_Event-Name: REQUEST_PARAMS
  190. variable_Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  191. variable_FreeSWITCH-Hostname: ASTPP5
  192. variable_FreeSWITCH-Switchname: ASTPP5
  193. variable_FreeSWITCH-IPv4: 82.214.92.3
  194. variable_FreeSWITCH-IPv6: %3A%3A1
  195. variable_Event-Date-Local: 2022-07-04%2011%3A19%3A03
  196. variable_Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A03%20GMT
  197. variable_Event-Date-Timestamp: 1656926343953242
  198. variable_Event-Calling-File: sofia.c
  199. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  200. variable_Event-Calling-Line-Number: 10624
  201. variable_Event-Sequence: 150866890
  202. variable_sip_number_alias: sky001
  203. variable_sip_auth_username: sky001
  204. variable_sip_auth_realm: skytel011.tdsltd.rs
  205. variable_number_alias: sky001
  206. variable_requested_user_name: sky001
  207. variable_requested_domain_name: skytel011.tdsltd.rs
  208. variable_sipcall: true
  209. variable_sip_user: sky001
  210. variable_accountcode: 4307873302
  211. variable_user_name: sky001
  212. variable_domain_name: skytel011.tdsltd.rs
  213. variable_sip_from_user_stripped: sky001
  214. variable_sip_from_tag: af31631b
  215. variable_sofia_profile_name: default
  216. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  217. variable_recovery_profile_name: default
  218. variable_sip_full_via: SIP/2.0/TCP%20192.168.1.62%3A62282%3Bbranch%3Dz9hG4bK-d8754z-58d8e5e9873bc04a-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D38688
  219. variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.62%3A62282%3Bbranch%3Dz9hG4bK-d8754z-58d8e5e9873bc04a-1---d8754z-%3Breceived%3D103.240.35.46%3Brport%3D38688
  220. variable_sip_full_from: %3Csip%3Asky001%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E%3Btag%3Daf31631b
  221. variable_sip_full_to: %3Csip%3A12125551212%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E
  222. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  223. variable_sip_req_params: transport%3DTCP
  224. variable_sip_req_user: 12125551212
  225. variable_sip_req_uri: 12125551212%40skytel011.tdsltd.rs
  226. variable_sip_req_host: skytel011.tdsltd.rs
  227. variable_sip_to_params: transport%3DTCP
  228. variable_sip_to_user: 12125551212
  229. variable_sip_to_uri: 12125551212%40skytel011.tdsltd.rs
  230. variable_sip_to_host: skytel011.tdsltd.rs
  231. variable_sip_contact_params: transport%3DTCP
  232. variable_sip_contact_user: sky001
  233. variable_sip_contact_port: 62282
  234. variable_sip_contact_uri: sky001%40103.240.35.46%3A62282
  235. variable_sip_contact_host: 103.240.35.46
  236. variable_sip_user_agent: Z%203.3.25608%20r25552
  237. variable_sip_via_host: 192.168.1.62
  238. variable_sip_via_port: 62282
  239. variable_sip_via_rport: 38688
  240. variable_max_forwards: 70
  241. variable_presence_id: sky001%40skytel011.tdsltd.rs
  242. variable_sip_nat_detected: true
  243. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.240.35.46%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.240.35.46%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A
  244. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  245. variable_rtp_use_codec_string: PCMA,PCMU
  246. variable_remote_video_media_flow: inactive
  247. variable_remote_text_media_flow: inactive
  248. variable_remote_audio_media_flow: sendrecv
  249. variable_audio_media_flow: sendrecv
  250. variable_remote_media_ip: 103.240.35.46
  251. variable_remote_media_port: 8000
  252. variable_rtp_audio_recv_pt: 8
  253. variable_rtp_use_codec_name: PCMA
  254. variable_rtp_use_codec_rate: 8000
  255. variable_rtp_use_codec_ptime: 20
  256. variable_rtp_use_codec_channels: 1
  257. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  258. variable_read_codec: PCMA
  259. variable_original_read_codec: PCMA
  260. variable_read_rate: 8000
  261. variable_original_read_rate: 8000
  262. variable_write_codec: PCMA
  263. variable_write_rate: 8000
  264. variable_dtmf_type: rfc2833
  265. variable_endpoint_disposition: RECEIVED
  266. variable_call_uuid: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  267. Hunt-Direction: inbound
  268. Hunt-Logical-Direction: inbound
  269. Hunt-Username: sky001
  270. Hunt-Dialplan: XML
  271. Hunt-Caller-ID-Name: sky001
  272. Hunt-Caller-ID-Number: sky001
  273. Hunt-Orig-Caller-ID-Name: sky001
  274. Hunt-Orig-Caller-ID-Number: sky001
  275. Hunt-Network-Addr: 103.240.35.46
  276. Hunt-ANI: sky001
  277. Hunt-Destination-Number: 12125551212
  278. Hunt-Unique-ID: 8b3a4a3c-d818-44e0-abcf-6f4f39f55221
  279. Hunt-Source: mod_sofia
  280. Hunt-Context: default
  281. Hunt-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
  282. Hunt-Profile-Index: 1
  283. Hunt-Profile-Created-Time: 1656926343973231
  284. Hunt-Channel-Created-Time: 1656926343973231
  285. Hunt-Channel-Answered-Time: 0
  286. Hunt-Channel-Progress-Time: 0
  287. Hunt-Channel-Progress-Media-Time: 0
  288. Hunt-Channel-Hangup-Time: 0
  289. Hunt-Channel-Transfer-Time: 0
  290. Hunt-Channel-Resurrect-Time: 0
  291. Hunt-Channel-Bridged-Time: 0
  292. Hunt-Channel-Last-Hold: 0
  293. Hunt-Channel-Hold-Accum: 0
  294. Hunt-Screen-Bit: true
  295. Hunt-Privacy-Hide-Name: false
  296. Hunt-Privacy-Hide-Number: false
  297.  
  298.  
  299. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  300. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  301. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  302. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  303. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  304. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 12125551212
  305. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '12125551212' limit 1
  306. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '12125551212' AND status=0 limit 1
  307. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '12125551212' and status=0 LIMIT 1
  308. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : sky001 / sky001
  309. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
  310. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12125551212"  AND domains.domain="skytel011.tdsltd.rs" limit 1
  311. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  312. 2022-07-04 11:19:03.973231 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4307873302]
  313. 2022-07-04 11:19:03.973231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4307873302" AND deleted = 0 limit 1
  314. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^12125551212.*' OR blocked_patterns = '^1212555121.*' OR blocked_patterns = '^121255512.*' OR blocked_patterns = '^12125551.*' OR blocked_patterns = '^1212555.*' OR blocked_patterns = '^121255.*' OR blocked_patterns = '^12125.*' OR blocked_patterns = '^1212.*' OR blocked_patterns = '^121.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  315. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="12125551212" AND (accountid = 0 OR status = 1) LIMIT 1
  316. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 43
  317. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1
  318. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/".....12125551212
  319. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....sky001DBCLI12125551212
  320. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky001DBCLI12125551212
  321. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : sky001DBCLI12125551212
  322. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....sky001DBCLI12125551212
  323. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky001DBCLI12125551212
  324. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
  325. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....11111111#12125551212DBCLI12125551212
  326. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
  327. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
  328. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....11111111#12125551212DBCLI12125551212
  329. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
  330. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
  331. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/12125551212,381/381114419019,385/442035827775,91/918000968662".....11111111#12125551212DBCLI12125551212
  332. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#12125551212DBCLI12125551212
  333. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#12125551212
  334. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Ash............ sky001
  335. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^12125551212.*' OR patterns = '^1212555121.*' OR patterns = '^121255512.*' OR patterns = '^12125551.*' OR patterns = '^1212555.*' OR patterns = '^121255.*' OR patterns = '^12125.*' OR patterns = '^1212.*' OR patterns = '^121.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  336. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="12125551212" AND A.accountid = '7' limit 1
  337. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 12125551212
  338. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
  339. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12125551212"  AND domains.domain="skytel011.tdsltd.rs" limit 1
  340. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  341. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '12125551212' OR number = '1212555121' OR number = '121255512' OR number = '12125551' OR number = '1212555' OR number = '121255' OR number = '12125' OR number = '1212' OR number = '121' OR number = '12' OR number = '1' OR number ='--') OR (number = '12125551212*' OR number = '1212555121*' OR number = '121255512*' OR number = '12125551*' OR number = '1212555*' OR number = '121255*' OR number = '12125*' OR number = '1212*' OR number = '121*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = 'sky001' OR number = 'sky00' OR number = 'sky0' OR number = 'sky' OR number = 'sk' OR number = 's' OR number ='--') OR (number = 'sky001*' OR number = 'sky00*' OR number = 'sky0*' OR number = 'sky*' OR number = 'sk*' OR number = 's*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  342. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  343. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : sky001
  344. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  345. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='sky001' and status=0
  346. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  347. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='7' order by RAND() limit 1
  348. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690266
  349. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '12125551212' OR routing_prefix = '1212555121' OR routing_prefix = '121255512' OR routing_prefix = '12125551' OR routing_prefix = '1212555' OR routing_prefix = '121255' OR routing_prefix = '12125' OR routing_prefix = '1212' OR routing_prefix = '121' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  350. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  351. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  352. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4307873302
  353. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 167.13248
  354. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  355. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  356. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
  357. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  358. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  359. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  360. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  361. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^12125551212.*' OR pattern = '^1212555121.*' OR pattern = '^121255512.*' OR pattern = '^12125551.*' OR pattern = '^1212555.*' OR pattern = '^121255.*' OR pattern = '^12125.*' OR pattern = '^1212.*' OR pattern = '^121.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  362. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  363. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  364. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3358
  365. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  366. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  367. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
  368. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United States
  369. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203
  370. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  371. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  372. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  373. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  374. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your167.13248 balance Accountid 7 !!!
  375. 2022-07-04 11:19:03.993233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  376. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  377. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3358
  378. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  379. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  380. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^12125551212.*' OR pattern = '^1212555121.*' OR pattern = '^121255512.*' OR pattern = '^12125551.*' OR pattern = '^1212555.*' OR pattern = '^121255.*' OR pattern = '^12125.*' OR pattern = '^1212.*' OR pattern = '^121.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,6,8,9,10,13,16,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  381. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  382. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  383. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 387405
  384. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  385. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : United States-Landline
  386. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  387. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  388. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  389. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  390. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  391. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 5
  392. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW-INT
  393. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  394. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  395. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
  396. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  397. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : DID-INTERNATIONAL
  398. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  399. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  400. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 357752
  401. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1212.*
  402. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA - Fixed
  403. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  404. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  405. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1212.*
  406. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  407. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  408. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
  409. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
  410. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  411. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
  412. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  413. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  414. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
  415. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  416. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  417. 2022-07-04 11:19:03.993233 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  418. 2022-07-04 11:19:03.993233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  419. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  420. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  421. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  422. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 11111111#12125551212
  423. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 6) AND status=0 limit 1
  424. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 5) AND status=0 limit 1
  425. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 11111111#12125551212
  426. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
  427. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 12125551212
  428. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  429. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 12125551212
  430. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
  431. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 10) AND status=0 limit 1
  432. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 12125551212
  433. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 12125551212
  434. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  435. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='12125551212' and status=0
  436. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  437. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='7' order by RAND() limit 1
  438. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690267
  439. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12125551212" LIMIT 1
  440. 2022-07-04 11:19:04.013244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number +38220690267
  441. 2022-07-04 11:19:04.013244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  442. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  443. <document type="freeswitch/xml">
  444. <section name="dialplan" description="ASTPP Dialplan">
  445. <context name="default">
  446. <extension name="12125551212">
  447. <condition field="destination_number" expression="12125551212">
  448. <action application="set" data="effective_destination_number=12125551212"/>
  449. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  450. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  451. <action application="set" data="callstart=2022-07-04 09:19:03"/>
  452. <action application="set" data="hangup_after_bridge=true"/>
  453. <action application="set" data="continue_on_fail=TRUE"/>
  454. <action application="set" data="account_id=7"/>
  455. <action application="set" data="parent_id=0"/>
  456. <action application="set" data="entity_id=0"/>
  457. <action application="set" data="call_processed=internal"/>
  458. <action application="set" data="call_direction=outbound"/>
  459. <action application="set" data="accountname=default"/>
  460. <action application="set" data="origination_rates=ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7"/>
  461. <action application="set" data="original_caller_id_name=+38220690266"/>
  462. <action application="set" data="original_caller_id_number=12125551212"/>
  463. <action application="limit" data="db 4307873302 user_4307873302 5 "/>
  464. <action application="limit" data="hash CPS_4307873302 CPS_user_4307873302 2/1 "/>
  465.  
  466. <action application="set" data="effective_caller_id_name=+38220690266"/>
  467. <action application="set" data="effective_caller_id_number=12125551212"/>
  468. <action application="set" data="calltype=STANDARD"/>
  469. <action application="set" data="termination_rates=ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6"/>
  470. <action application="set" data="trunk_id=5"/>
  471. <action application="set" data="provider_id=6"/>
  472. <action application="set" data="rate_flag=0"/>
  473. <action application="set" data="force_trunk_flag=3358"/>
  474. <action application="export" data="presence_data=trunk_id=5"/>
  475. <action application="set" data="intcall=0"/>
  476. <action application="export" data="presence_id=12125551212"/>
  477. <action application="export" data="presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46"/>
  478. <action application="limit" data="hash CPS_5 CPS_trunk_5 10/1 "/>
  479. <action application="limit" data="db DIDWW-INT gw_DIDWW-INT 20 "/>
  480. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-INT/12125551212"/>
  481. <action application="set" data="effective_caller_id_name=+38220690267"/>
  482. <action application="set" data="effective_caller_id_number=+38220690267"/>
  483. <action application="set" data="calltype=STANDARD"/>
  484. <action application="set" data="termination_rates=ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
  485. <action application="set" data="trunk_id=10"/>
  486. <action application="set" data="provider_id=9"/>
  487. <action application="set" data="rate_flag=0"/>
  488. <action application="set" data="force_trunk_flag=3358"/>
  489. <action application="export" data="presence_data=trunk_id=10"/>
  490. <action application="set" data="intcall=0"/>
  491. <action application="export" data="presence_id=12125551212"/>
  492. <action application="export" data="presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46"/>
  493. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/12125551212"/>
  494. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/12125551212"/>
  495. </condition>
  496. </extension>
  497. </context>
  498. </document>
  499. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs parsing [default->12125551212] continue=false
  500. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Regex (PASS) [12125551212] destination_number(12125551212) =~ /12125551212/ break=on-false
  501. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_destination_number=12125551212)
  502. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(bridge_pre_execute_bleg_app=sched_hangup)
  503. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  504. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(callstart=2022-07-04 09:19:03)
  505. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(hangup_after_bridge=true)
  506. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(continue_on_fail=TRUE)
  507. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(account_id=7)
  508. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(parent_id=0)
  509. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(entity_id=0)
  510. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(call_processed=internal)
  511. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(call_direction=outbound)
  512. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(accountname=default)
  513. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(origination_rates=ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7)
  514. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(original_caller_id_name=+38220690266)
  515. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(original_caller_id_number=12125551212)
  516. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db 4307873302 user_4307873302 5 )
  517. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_4307873302 CPS_user_4307873302 2/1 )
  518. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_name=+38220690266)
  519. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_number=12125551212)
  520. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(calltype=STANDARD)
  521. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(termination_rates=ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6)
  522. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(trunk_id=5)
  523. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(provider_id=6)
  524. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(rate_flag=0)
  525. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(force_trunk_flag=3358)
  526. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=trunk_id=5)
  527. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(intcall=0)
  528. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_id=12125551212)
  529. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46)
  530. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_5 CPS_trunk_5 10/1 )
  531. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db DIDWW-INT gw_DIDWW-INT 20 )
  532. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-INT/12125551212)
  533. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_name=+38220690267)
  534. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_number=+38220690267)
  535. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(calltype=STANDARD)
  536. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(termination_rates=ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  537. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(trunk_id=10)
  538. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(provider_id=9)
  539. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(rate_flag=0)
  540. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(force_trunk_flag=3358)
  541. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=trunk_id=10)
  542. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(intcall=0)
  543. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_id=12125551212)
  544. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46)
  545. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/12125551212)
  546. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/12125551212)
  547. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:287 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_ROUTING -> CS_EXECUTE
  548. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING going to sleep
  549. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_EXECUTE (Cur 63 Tot 2864644)
  550. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE
  551. 2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:209 sofia/default/sky001@skytel011.tdsltd.rs SOFIA EXECUTE
  552. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:329 sofia/default/sky001@skytel011.tdsltd.rs Standard EXECUTE
  553. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_destination_number=12125551212)
  554. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_destination_number]=[12125551212]
  555. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_app=sched_hangup)
  556. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [bridge_pre_execute_bleg_app]=[sched_hangup]
  557. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  558. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  559. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(callstart=2022-07-04 09:19:03)
  560. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [callstart]=[2022-07-04 09:19:03]
  561. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(hangup_after_bridge=true)
  562. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [hangup_after_bridge]=[true]
  563. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(continue_on_fail=TRUE)
  564. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [continue_on_fail]=[TRUE]
  565. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(account_id=7)
  566. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [account_id]=[7]
  567. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(parent_id=0)
  568. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [parent_id]=[0]
  569. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(entity_id=0)
  570. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [entity_id]=[0]
  571. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(call_processed=internal)
  572. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [call_processed]=[internal]
  573. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(call_direction=outbound)
  574. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [call_direction]=[outbound]
  575. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(accountname=default)
  576. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [accountname]=[default]
  577. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(origination_rates=ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7)
  578. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [origination_rates]=[ID:3358|CODE:^1212.*|DESTINATION:United States|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:203|ACCID:7]
  579. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_name=+38220690266)
  580. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_name]=[+38220690266]
  581. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_number=12125551212)
  582. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_number]=[12125551212]
  583. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db 4307873302 user_4307873302 5 )
  584. 2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: 4307873302_user_4307873302 max:5, interval:0
  585. 2022-07-04 11:19:04.013244 [DEBUG] mod_db.c:194 Usage for 4307873302_user_4307873302 is now 1/5
  586. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_4307873302 CPS_user_4307873302 2/1 )
  587. 2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: CPS_4307873302_CPS_user_4307873302 max:2, interval:1
  588. 2022-07-04 11:19:04.013244 [DEBUG] mod_hash.c:198 Usage for CPS_4307873302_CPS_user_4307873302 is now 1/2 for the last 1 seconds
  589. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_name=+38220690266)
  590. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_name]=[+38220690266]
  591. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_number=12125551212)
  592. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_number]=[12125551212]
  593. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(calltype=STANDARD)
  594. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [calltype]=[STANDARD]
  595. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(termination_rates=ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6)
  596. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [termination_rates]=[ID:387405|CODE:^1.*|DESTINATION:United States-Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00515|INC:1|INITIALBLOCK:1|TRUNK:5|PROVIDER:6]
  597. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(trunk_id=5)
  598. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [trunk_id]=[5]
  599. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(provider_id=6)
  600. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [provider_id]=[6]
  601. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(rate_flag=0)
  602. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [rate_flag]=[0]
  603. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(force_trunk_flag=3358)
  604. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [force_trunk_flag]=[3358]
  605. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=trunk_id=5)
  606. 2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=5]
  607. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(intcall=0)
  608. 2022-07-04 11:19:04.013244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [intcall]=[0]
  609. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_id=12125551212)
  610. 2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[12125551212]
  611. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46)
  612. 2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46]
  613. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_5 CPS_trunk_5 10/1 )
  614. 2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: CPS_5_CPS_trunk_5 max:10, interval:1
  615. 2022-07-04 11:19:04.013244 [DEBUG] mod_hash.c:198 Usage for CPS_5_CPS_trunk_5 is now 1/10 for the last 1 seconds
  616. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db DIDWW-INT gw_DIDWW-INT 20 )
  617. 2022-07-04 11:19:04.013244 [DEBUG] switch_limit.c:124 incr called: DIDWW-INT_gw_DIDWW-INT max:20, interval:0
  618. 2022-07-04 11:19:04.013244 [DEBUG] mod_db.c:194 Usage for DIDWW-INT_gw_DIDWW-INT is now 1/20
  619. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-INT/12125551212)
  620. 2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46] to event
  621. 2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
  622. 2022-07-04 11:19:04.013244 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||DID-INTERNATIONAL // ^1.* // United States-Landline // 0.00515 // trunk_id=5|||STD|||103.240.35.46] to event
  623. 2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  624. 2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  625. 2022-07-04 11:19:04.013244 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12125551212 [273ebbbd-3c76-4c91-a53a-9e8e9d0b1107]
  626. 2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:5102 (sofia/default/12125551212) State Change CS_NEW -> CS_INIT
  627. 2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:3142 sofia/default/12125551212 Setting leg timeout to 45
  628. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_INIT (Cur 64 Tot 2864645)
  629. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT
  630. 2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:93 sofia/default/12125551212 SOFIA INIT
  631. 2022-07-04 11:19:04.013244 [INFO] sofia_glue.c:1621 sofia/default/12125551212 sending invite call-id: (null)
  632. 2022-07-04 11:19:04.013244 [DEBUG] sofia_glue.c:1624 sofia/default/12125551212 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  633. Local SDP:
  634. v=0
  635. o=FreeSWITCH 1656903974 1656903975 IN IP4 82.214.92.3
  636. s=FreeSWITCH
  637. c=IN IP4 82.214.92.3
  638. t=0 0
  639. m=audio 22370 RTP/AVP 8 0 101
  640. a=rtpmap:8 PCMA/8000
  641. a=rtpmap:0 PCMU/8000
  642. a=rtpmap:101 telephone-event/8000
  643. a=fmtp:101 0-16
  644. a=ptime:20
  645. a=sendrecv
  646.  
  647. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:40 sofia/default/12125551212 Standard INIT
  648. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12125551212) State Change CS_INIT -> CS_ROUTING
  649. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT going to sleep
  650. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_ROUTING (Cur 64 Tot 2864645)
  651. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING
  652. 2022-07-04 11:19:04.013244 [DEBUG] mod_sofia.c:154 sofia/default/12125551212 SOFIA ROUTING
  653. 2022-07-04 11:19:04.013244 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12125551212) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  654. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING going to sleep
  655. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_CONSUME_MEDIA (Cur 64 Tot 2864645)
  656. 2022-07-04 11:19:04.013244 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
  657. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA
  658. 2022-07-04 11:19:04.013244 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA going to sleep
  659. 2022-07-04 11:19:04.053241 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
  660. 2022-07-04 11:19:04.473243 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38618282990@148.251.195.149 [527d437c-3d6b-42da-9cc4-b4aefc2ff958]
  661. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_NEW (Cur 65 Tot 2864646)
  662. 2022-07-04 11:19:04.473243 [INFO] sofia.c:10362 sofia/default/38618282990@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0846290433a3c10f1e57c61d2f0e7114@148.251.195.149:5060
  663. 2022-07-04 11:19:04.473243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
  664. 2022-07-04 11:19:04.473243 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
  665. 2022-07-04 11:19:04.473243 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [received][100]
  666. 2022-07-04 11:19:04.473243 [DEBUG] sofia.c:7416 Remote SDP:
  667. v=0
  668. o=root 2013592538 2013592538 IN IP4 95.216.40.232
  669. s=SIP.IO
  670. c=IN IP4 95.216.40.232
  671. t=0 0
  672. m=audio 30454 RTP/AVP 8 101
  673. a=rtpmap:8 PCMA/8000
  674. a=rtpmap:101 telephone-event/8000
  675. a=fmtp:101 0-16
  676. a=silenceSupp:off - - - -
  677. a=ptime:20
  678.  
  679. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  680. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  681. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  682. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  683. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38618282990@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  684. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_codec.c:111 sofia/default/38618282990@148.251.195.149 Original read codec set to PCMA:8
  685. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  686. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_media.c:5918 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
  687. 2022-07-04 11:19:04.473243 [DEBUG] sofia.c:7840 (sofia/default/38618282990@148.251.195.149) State Change CS_NEW -> CS_INIT
  688. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38618282990@148.251.195.149) State NEW
  689. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_INIT (Cur 65 Tot 2864646)
  690. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT
  691. 2022-07-04 11:19:04.473243 [DEBUG] mod_sofia.c:93 sofia/default/38618282990@148.251.195.149 SOFIA INIT
  692. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:40 sofia/default/38618282990@148.251.195.149 Standard INIT
  693. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38618282990@148.251.195.149) State Change CS_INIT -> CS_ROUTING
  694. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT going to sleep
  695. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_ROUTING (Cur 65 Tot 2864646)
  696. 2022-07-04 11:19:04.473243 [DEBUG] switch_channel.c:2332 (sofia/default/38618282990@148.251.195.149) Callstate Change DOWN -> RINGING
  697. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING
  698. 2022-07-04 11:19:04.473243 [DEBUG] mod_sofia.c:154 sofia/default/38618282990@148.251.195.149 SOFIA ROUTING
  699. 2022-07-04 11:19:04.473243 [DEBUG] switch_core_state_machine.c:236 sofia/default/38618282990@148.251.195.149 Standard ROUTING
  700. 2022-07-04 11:19:04.473243 [INFO] mod_dialplan_xml.c:637 Processing 38618282990 <38618282990>->385914185113 in context default
  701. 2022-07-04 11:19:04.473243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  702. 2022-07-04 11:19:04.473243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  703. 2022-07-04 11:19:04.473243 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  704. Event-Name: REQUEST_PARAMS
  705. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  706. FreeSWITCH-Hostname: ASTPP5
  707. FreeSWITCH-Switchname: ASTPP5
  708. FreeSWITCH-IPv4: 82.214.92.3
  709. FreeSWITCH-IPv6: %3A%3A1
  710. Event-Date-Local: 2022-07-04%2011%3A19%3A04
  711. Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A04%20GMT
  712. Event-Date-Timestamp: 1656926344473243
  713. Event-Calling-File: mod_dialplan_xml.c
  714. Event-Calling-Function: dialplan_xml_locate
  715. Event-Calling-Line-Number: 608
  716. Event-Sequence: 150866984
  717. Channel-State: CS_ROUTING
  718. Channel-Call-State: RINGING
  719. Channel-State-Number: 2
  720. Channel-Name: sofia/default/38618282990%40148.251.195.149
  721. Unique-ID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
  722. Call-Direction: inbound
  723. Presence-Call-Direction: inbound
  724. Channel-HIT-Dialplan: true
  725. Channel-Presence-ID: 38618282990%40148.251.195.149
  726. Channel-Call-UUID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
  727. Answer-State: ringing
  728. Channel-Read-Codec-Name: PCMA
  729. Channel-Read-Codec-Rate: 8000
  730. Channel-Read-Codec-Bit-Rate: 64000
  731. Channel-Write-Codec-Name: PCMA
  732. Channel-Write-Codec-Rate: 8000
  733. Channel-Write-Codec-Bit-Rate: 64000
  734. Caller-Direction: inbound
  735. Caller-Logical-Direction: inbound
  736. Caller-Username: 38618282990
  737. Caller-Dialplan: XML
  738. Caller-Caller-ID-Name: 38618282990
  739. Caller-Caller-ID-Number: 38618282990
  740. Caller-Orig-Caller-ID-Name: 38618282990
  741. Caller-Orig-Caller-ID-Number: 38618282990
  742. Caller-Network-Addr: 148.251.195.149
  743. Caller-ANI: 38618282990
  744. Caller-Destination-Number: 385914185113
  745. Caller-Unique-ID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
  746. Caller-Source: mod_sofia
  747. Caller-Context: default
  748. Caller-Channel-Name: sofia/default/38618282990%40148.251.195.149
  749. Caller-Profile-Index: 1
  750. Caller-Profile-Created-Time: 1656926344473243
  751. Caller-Channel-Created-Time: 1656926344473243
  752. Caller-Channel-Answered-Time: 0
  753. Caller-Channel-Progress-Time: 0
  754. Caller-Channel-Progress-Media-Time: 0
  755. Caller-Channel-Hangup-Time: 0
  756. Caller-Channel-Transfer-Time: 0
  757. Caller-Channel-Resurrect-Time: 0
  758. Caller-Channel-Bridged-Time: 0
  759. Caller-Channel-Last-Hold: 0
  760. Caller-Channel-Hold-Accum: 0
  761. Caller-Screen-Bit: true
  762. Caller-Privacy-Hide-Name: false
  763. Caller-Privacy-Hide-Number: false
  764. variable_direction: inbound
  765. variable_uuid: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
  766. variable_session_id: 2864646
  767. variable_sip_from_user: 38618282990
  768. variable_sip_from_uri: 38618282990%40148.251.195.149
  769. variable_sip_from_host: 148.251.195.149
  770. variable_video_media_flow: disabled
  771. variable_text_media_flow: disabled
  772. variable_channel_name: sofia/default/38618282990%40148.251.195.149
  773. variable_sip_call_id: 0846290433a3c10f1e57c61d2f0e7114%40148.251.195.149%3A5060
  774. variable_sip_local_network_addr: 82.214.92.3
  775. variable_sip_network_ip: 148.251.195.149
  776. variable_sip_network_port: 5060
  777. variable_sip_invite_stamp: 1656926344473243
  778. variable_sip_received_ip: 148.251.195.149
  779. variable_sip_received_port: 5060
  780. variable_sip_via_protocol: udp
  781. variable_sip_authorized: true
  782. variable_sip_acl_authed_by: default
  783. variable_sip_from_user_stripped: 38618282990
  784. variable_sip_from_tag: as1adcf9f3
  785. variable_sofia_profile_name: default
  786. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  787. variable_recovery_profile_name: default
  788. variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK563c640e
  789. variable_sip_full_from: %3Csip%3A38618282990%40148.251.195.149%3E%3Btag%3Das1adcf9f3
  790. variable_sip_full_to: %3Csip%3A385914185113%40sipp.skytel.rs%3A5060%3E
  791. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  792. variable_sip_req_user: 385914185113
  793. variable_sip_req_port: 5060
  794. variable_sip_req_uri: 385914185113%40sipp.skytel.rs%3A5060
  795. variable_sip_req_host: sipp.skytel.rs
  796. variable_sip_to_user: 385914185113
  797. variable_sip_to_port: 5060
  798. variable_sip_to_uri: 385914185113%40sipp.skytel.rs%3A5060
  799. variable_sip_to_host: sipp.skytel.rs
  800. variable_sip_contact_user: 38618282990
  801. variable_sip_contact_port: 5060
  802. variable_sip_contact_uri: 38618282990%40148.251.195.149%3A5060
  803. variable_sip_contact_host: 148.251.195.149
  804. variable_sip_user_agent: SIP.IO
  805. variable_sip_via_host: 148.251.195.149
  806. variable_sip_via_port: 5060
  807. variable_max_forwards: 70
  808. variable_presence_id: 38618282990%40148.251.195.149
  809. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202013592538%202013592538%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2030454%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  810. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  811. variable_rtp_use_codec_string: PCMA,PCMU
  812. variable_remote_video_media_flow: inactive
  813. variable_remote_text_media_flow: inactive
  814. variable_remote_audio_media_flow: sendrecv
  815. variable_audio_media_flow: sendrecv
  816. variable_remote_media_ip: 95.216.40.232
  817. variable_remote_media_port: 30454
  818. variable_rtp_audio_recv_pt: 8
  819. variable_rtp_use_codec_name: PCMA
  820. variable_rtp_use_codec_rate: 8000
  821. variable_rtp_use_codec_ptime: 20
  822. variable_rtp_use_codec_channels: 1
  823. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  824. variable_read_codec: PCMA
  825. variable_original_read_codec: PCMA
  826. variable_read_rate: 8000
  827. variable_original_read_rate: 8000
  828. variable_write_codec: PCMA
  829. variable_write_rate: 8000
  830. variable_dtmf_type: rfc2833
  831. variable_endpoint_disposition: RECEIVED
  832. variable_call_uuid: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
  833. Hunt-Direction: inbound
  834. Hunt-Logical-Direction: inbound
  835. Hunt-Username: 38618282990
  836. Hunt-Dialplan: XML
  837. Hunt-Caller-ID-Name: 38618282990
  838. Hunt-Caller-ID-Number: 38618282990
  839. Hunt-Orig-Caller-ID-Name: 38618282990
  840. Hunt-Orig-Caller-ID-Number: 38618282990
  841. Hunt-Network-Addr: 148.251.195.149
  842. Hunt-ANI: 38618282990
  843. Hunt-Destination-Number: 385914185113
  844. Hunt-Unique-ID: 527d437c-3d6b-42da-9cc4-b4aefc2ff958
  845. Hunt-Source: mod_sofia
  846. Hunt-Context: default
  847. Hunt-Channel-Name: sofia/default/38618282990%40148.251.195.149
  848. Hunt-Profile-Index: 1
  849. Hunt-Profile-Created-Time: 1656926344473243
  850. Hunt-Channel-Created-Time: 1656926344473243
  851. Hunt-Channel-Answered-Time: 0
  852. Hunt-Channel-Progress-Time: 0
  853. Hunt-Channel-Progress-Media-Time: 0
  854. Hunt-Channel-Hangup-Time: 0
  855. Hunt-Channel-Transfer-Time: 0
  856. Hunt-Channel-Resurrect-Time: 0
  857. Hunt-Channel-Bridged-Time: 0
  858. Hunt-Channel-Last-Hold: 0
  859. Hunt-Channel-Hold-Accum: 0
  860. Hunt-Screen-Bit: true
  861. Hunt-Privacy-Hide-Name: false
  862. Hunt-Privacy-Hide-Number: false
  863.  
  864.  
  865. 2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  866. 2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  867. 2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  868. 2022-07-04 11:19:04.473243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  869. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  870. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 385914185113
  871. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '385914185113' limit 1
  872. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '385914185113' AND status=0 limit 1
  873. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '385914185113' and status=0 LIMIT 1
  874. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 38618282990 / 38618282990
  875. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
  876. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="385914185113"  AND domains.domain="sipp.skytel.rs" limit 1
  877. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  878. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "385914185113"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  879. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3611165659]
  880. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3611165659" AND deleted = 0 limit 1
  881. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^385914185113.*' OR blocked_patterns = '^38591418511.*' OR blocked_patterns = '^3859141851.*' OR blocked_patterns = '^385914185.*' OR blocked_patterns = '^38591418.*' OR blocked_patterns = '^3859141.*' OR blocked_patterns = '^385914.*' OR blocked_patterns = '^38591.*' OR blocked_patterns = '^3859.*' OR blocked_patterns = '^385.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 37 limit 1
  882. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="385914185113" AND (accountid = 0 OR status = 1) LIMIT 1
  883. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^385914185113.*' OR patterns = '^38591418511.*' OR patterns = '^3859141851.*' OR patterns = '^385914185.*' OR patterns = '^38591418.*' OR patterns = '^3859141.*' OR patterns = '^385914.*' OR patterns = '^38591.*' OR patterns = '^3859.*' OR patterns = '^385.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 37 ORDER BY LENGTH(PKGPTR.patterns) DESC
  884. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="385914185113" AND A.accountid = '37' limit 1
  885. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 385914185113
  886. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
  887. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="385914185113"  AND domains.domain="sipp.skytel.rs" limit 1
  888. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  889. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '385914185113' OR number = '38591418511' OR number = '3859141851' OR number = '385914185' OR number = '38591418' OR number = '3859141' OR number = '385914' OR number = '38591' OR number = '3859' OR number = '385' OR number = '38' OR number = '3' OR number ='--') OR (number = '385914185113*' OR number = '38591418511*' OR number = '3859141851*' OR number = '385914185*' OR number = '38591418*' OR number = '3859141*' OR number = '385914*' OR number = '38591*' OR number = '3859*' OR number = '385*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38618282990' OR number = '3861828299' OR number = '386182829' OR number = '38618282' OR number = '3861828' OR number = '386182' OR number = '38618' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38618282990*' OR number = '3861828299*' OR number = '386182829*' OR number = '38618282*' OR number = '3861828*' OR number = '386182*' OR number = '38618*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  890. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  891. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38618282990
  892. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  893. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38618282990' and status=0
  894. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  895. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='37' order by RAND() limit 1
  896. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38515790637
  897. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '385914185113' OR routing_prefix = '38591418511' OR routing_prefix = '3859141851' OR routing_prefix = '385914185' OR routing_prefix = '38591418' OR routing_prefix = '3859141' OR routing_prefix = '385914' OR routing_prefix = '38591' OR routing_prefix = '3859' OR routing_prefix = '385' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  898. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  899. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 37
  900. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3611165659
  901. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 6069.04588
  902. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  903. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 10
  904. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
  905. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  906. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  907. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  908. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  909. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^385914185113.*' OR pattern = '^38591418511.*' OR pattern = '^3859141851.*' OR pattern = '^385914185.*' OR pattern = '^38591418.*' OR pattern = '^3859141.*' OR pattern = '^385914.*' OR pattern = '^38591.*' OR pattern = '^3859.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=37)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  910. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  911. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  912. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4305
  913. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  914. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  915. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.02450
  916. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Croatia-Mobile
  917. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 47
  918. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 37
  919. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  920. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  921. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  922. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your6069.04588 balance Accountid 37 !!!
  923. 2022-07-04 11:19:04.493243 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  924. 2022-07-04 11:19:04.493243 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  925. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  926. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
  927. 2022-07-04 11:19:04.493243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^385914185113.*' OR pattern = '^38591418511.*' OR pattern = '^3859141851.*' OR pattern = '^385914185.*' OR pattern = '^38591418.*' OR pattern = '^3859141.*' OR pattern = '^385914.*' OR pattern = '^38591.*' OR pattern = '^3859.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (10,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  928. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  929. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  930. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 339651
  931. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38591.*
  932. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia - Mobile ViP
  933. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  934. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  935. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38591.*
  936. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  937. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  938. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
  939. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
  940. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  941. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
  942. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  943. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  944. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
  945. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  946. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  947. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 372062
  948. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3859.*
  949. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia-Mobile
  950. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  951. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  952. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3859.*
  953. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  954. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  955. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 18
  956. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : IT1
  957. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  958. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  959. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 16
  960. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  961. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : IT1
  962. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  963. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 37 AND status=0 LIMIT 1
  964. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  965. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  966. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  967. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  968. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  969. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790637
  970. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
  971. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 10) AND status=0 limit 1
  972. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790637
  973. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790637
  974. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  975. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790637' and status=0
  976. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
  977. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
  978. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790637
  979. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  980. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790637
  981. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 16) AND status=0 limit 1
  982. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 18) AND status=0 limit 1
  983. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790637
  984. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790637
  985. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  986. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790637' and status=0
  987. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
  988. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385914185113" LIMIT 1
  989. 2022-07-04 11:19:04.513229 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790637
  990. 2022-07-04 11:19:04.513229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  991. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  992. <document type="freeswitch/xml">
  993. <section name="dialplan" description="ASTPP Dialplan">
  994. <context name="default">
  995. <extension name="385914185113">
  996. <condition field="destination_number" expression="385914185113">
  997. <action application="set" data="effective_destination_number=385914185113"/>
  998. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  999. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1000. <action application="set" data="callstart=2022-07-04 09:19:03"/>
  1001. <action application="set" data="hangup_after_bridge=true"/>
  1002. <action application="set" data="continue_on_fail=TRUE"/>
  1003. <action application="set" data="account_id=37"/>
  1004. <action application="set" data="parent_id=0"/>
  1005. <action application="set" data="entity_id=0"/>
  1006. <action application="set" data="call_processed=internal"/>
  1007. <action application="set" data="call_direction=outbound"/>
  1008. <action application="set" data="accountname=OIM Croatia"/>
  1009. <action application="set" data="origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37"/>
  1010. <action application="set" data="original_caller_id_name=38515790637"/>
  1011. <action application="set" data="original_caller_id_number=38515790637"/>
  1012.  
  1013. <action application="set" data="effective_caller_id_name=38515790637"/>
  1014. <action application="set" data="effective_caller_id_number=38515790637"/>
  1015. <action application="set" data="calltype=STANDARD"/>
  1016. <action application="set" data="termination_rates=ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
  1017. <action application="set" data="trunk_id=10"/>
  1018. <action application="set" data="provider_id=9"/>
  1019. <action application="set" data="rate_flag=0"/>
  1020. <action application="set" data="force_trunk_flag=0"/>
  1021. <action application="export" data="presence_data=trunk_id=10"/>
  1022. <action application="set" data="intcall=0"/>
  1023. <action application="export" data="presence_id=385914185113"/>
  1024. <action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149"/>
  1025. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385914185113"/>
  1026. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385914185113"/>
  1027. <action application="set" data="effective_caller_id_name=38515790637"/>
  1028. <action application="set" data="effective_caller_id_number=38515790637"/>
  1029. <action application="set" data="calltype=STANDARD"/>
  1030. <action application="set" data="termination_rates=ID:372062|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00926|INC:1|INITIALBLOCK:1|TRUNK:18|PROVIDER:16"/>
  1031. <action application="set" data="trunk_id=18"/>
  1032. <action application="set" data="provider_id=16"/>
  1033. <action application="set" data="rate_flag=0"/>
  1034. <action application="set" data="force_trunk_flag=0"/>
  1035. <action application="export" data="presence_data=trunk_id=18"/>
  1036. <action application="set" data="intcall=0"/>
  1037. <action application="export" data="presence_id=385914185113"/>
  1038. <action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||IT1 // ^3859.* // Croatia-Mobile // 0.00926 // trunk_id=18|||STD|||148.251.195.149"/>
  1039. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IT1/385914185113"/>
  1040. </condition>
  1041. </extension>
  1042. </context>
  1043. </section>
  1044. </document>
  1045. Dialplan: sofia/default/38618282990@148.251.195.149 parsing [default->385914185113] continue=false
  1046. Dialplan: sofia/default/38618282990@148.251.195.149 Regex (PASS) [385914185113] destination_number(385914185113) =~ /385914185113/ break=on-false
  1047. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_destination_number=385914185113)
  1048. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1049. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1050. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(callstart=2022-07-04 09:19:03)
  1051. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(hangup_after_bridge=true)
  1052. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(continue_on_fail=TRUE)
  1053. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(account_id=37)
  1054. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(parent_id=0)
  1055. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(entity_id=0)
  1056. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_processed=internal)
  1057. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_direction=outbound)
  1058. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(accountname=OIM Croatia)
  1059. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37)
  1060. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_name=38515790637)
  1061. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_number=38515790637)
  1062. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790637)
  1063. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790637)
  1064. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
  1065. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  1066. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=10)
  1067. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=9)
  1068. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
  1069. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=0)
  1070. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=10)
  1071. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
  1072. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=385914185113)
  1073. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
  1074. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385914185113)
  1075. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385914185113)
  1076. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790637)
  1077. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790637)
  1078. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
  1079. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:372062|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00926|INC:1|INITIALBLOCK:1|TRUNK:18|PROVIDER:16)
  1080. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=18)
  1081. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=16)
  1082. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
  1083. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=0)
  1084. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=18)
  1085. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
  1086. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=385914185113)
  1087. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||IT1 // ^3859.* // Croatia-Mobile // 0.00926 // trunk_id=18|||STD|||148.251.195.149)
  1088. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IT1/385914185113)
  1089. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38618282990@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
  1090. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING going to sleep
  1091. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_EXECUTE (Cur 65 Tot 2864646)
  1092. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38618282990@148.251.195.149) State EXECUTE
  1093. 2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:209 sofia/default/38618282990@148.251.195.149 SOFIA EXECUTE
  1094. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:329 sofia/default/38618282990@148.251.195.149 Standard EXECUTE
  1095. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_destination_number=385914185113)
  1096. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_destination_number]=[385914185113]
  1097. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
  1098. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1099. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1100. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1101. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(callstart=2022-07-04 09:19:03)
  1102. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [callstart]=[2022-07-04 09:19:03]
  1103. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(hangup_after_bridge=true)
  1104. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [hangup_after_bridge]=[true]
  1105. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(continue_on_fail=TRUE)
  1106. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [continue_on_fail]=[TRUE]
  1107. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(account_id=37)
  1108. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [account_id]=[37]
  1109. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(parent_id=0)
  1110. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [parent_id]=[0]
  1111. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(entity_id=0)
  1112. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [entity_id]=[0]
  1113. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_processed=internal)
  1114. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_processed]=[internal]
  1115. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_direction=outbound)
  1116. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_direction]=[outbound]
  1117. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(accountname=OIM Croatia)
  1118. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [accountname]=[OIM Croatia]
  1119. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37)
  1120. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [origination_rates]=[ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37]
  1121. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_name=38515790637)
  1122. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_name]=[38515790637]
  1123. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_number=38515790637)
  1124. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_number]=[38515790637]
  1125. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_name=38515790637)
  1126. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_name]=[38515790637]
  1127. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_number=38515790637)
  1128. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_number]=[38515790637]
  1129. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(calltype=STANDARD)
  1130. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [calltype]=[STANDARD]
  1131. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(termination_rates=ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  1132. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [termination_rates]=[ID:339651|CODE:^38591.*|DESTINATION:Croatia - Mobile ViP|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
  1133. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(trunk_id=10)
  1134. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [trunk_id]=[10]
  1135. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(provider_id=9)
  1136. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [provider_id]=[9]
  1137. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(rate_flag=0)
  1138. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [rate_flag]=[0]
  1139. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(force_trunk_flag=0)
  1140. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [force_trunk_flag]=[0]
  1141. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=trunk_id=10)
  1142. 2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
  1143. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(intcall=0)
  1144. 2022-07-04 11:19:04.513229 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [intcall]=[0]
  1145. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_id=385914185113)
  1146. 2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[385914185113]
  1147. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
  1148. 2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149]
  1149. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385914185113)
  1150. 2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
  1151. 2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_id]=[385914185113] to event
  1152. 2022-07-04 11:19:04.513229 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38591.* // Croatia - Mobile ViP // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
  1153. 2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  1154. 2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  1155. 2022-07-04 11:19:04.513229 [NOTICE] switch_channel.c:1118 New Channel sofia/default/385914185113 [96610160-0077-4306-9f2d-3aa154544593]
  1156. 2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:5102 (sofia/default/385914185113) State Change CS_NEW -> CS_INIT
  1157. 2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:3142 sofia/default/385914185113 Setting leg timeout to 45
  1158. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_INIT (Cur 66 Tot 2864647)
  1159. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385914185113) State INIT
  1160. 2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:93 sofia/default/385914185113 SOFIA INIT
  1161. 2022-07-04 11:19:04.513229 [INFO] sofia_glue.c:1621 sofia/default/385914185113 sending invite call-id: (null)
  1162. 2022-07-04 11:19:04.513229 [DEBUG] sofia_glue.c:1624 sofia/default/385914185113 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  1163. Local SDP:
  1164. v=0
  1165. o=FreeSWITCH 1656904538 1656904539 IN IP4 82.214.92.3
  1166. s=FreeSWITCH
  1167. c=IN IP4 82.214.92.3
  1168. t=0 0
  1169. m=audio 21806 RTP/AVP 8 0 101
  1170. a=rtpmap:8 PCMA/8000
  1171. a=rtpmap:0 PCMU/8000
  1172. a=rtpmap:101 telephone-event/8000
  1173. a=fmtp:101 0-16
  1174. a=ptime:20
  1175. a=sendrecv
  1176.  
  1177. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:40 sofia/default/385914185113 Standard INIT
  1178. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:48 (sofia/default/385914185113) State Change CS_INIT -> CS_ROUTING
  1179. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385914185113) State INIT going to sleep
  1180. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_ROUTING (Cur 66 Tot 2864647)
  1181. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385914185113) State ROUTING
  1182. 2022-07-04 11:19:04.513229 [DEBUG] mod_sofia.c:154 sofia/default/385914185113 SOFIA ROUTING
  1183. 2022-07-04 11:19:04.513229 [DEBUG] switch_ivr_originate.c:67 (sofia/default/385914185113) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1184. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385914185113) State ROUTING going to sleep
  1185. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_CONSUME_MEDIA (Cur 66 Tot 2864647)
  1186. 2022-07-04 11:19:04.513229 [DEBUG] sofia.c:7406 Channel sofia/default/385914185113 entering state [calling][0]
  1187. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385914185113) State CONSUME_MEDIA
  1188. 2022-07-04 11:19:04.513229 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385914185113) State CONSUME_MEDIA going to sleep
  1189. 2022-07-04 11:19:04.593242 [NOTICE] sofia.c:1090 Hangup sofia/default/905414323481 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1190. 2022-07-04 11:19:04.593242 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/905414323481]
  1191. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:654 (sofia/default/905414323481) State EXCHANGE_MEDIA going to sleep
  1192. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414323481) Running State Change CS_HANGUP (Cur 66 Tot 2864647)
  1193. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:848 (sofia/default/905414323481) Callstate Change ACTIVE -> HANGUP
  1194. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/905414323481) State HANGUP
  1195. 2022-07-04 11:19:04.593242 [DEBUG] mod_sofia.c:453 Channel sofia/default/905414323481 hanging up, cause: NORMAL_CLEARING
  1196. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:60 sofia/default/905414323481 Standard HANGUP, cause: NORMAL_CLEARING
  1197. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/905414323481) State HANGUP going to sleep
  1198. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:620 (sofia/default/905414323481) State Change CS_HANGUP -> CS_REPORTING
  1199. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414323481) Running State Change CS_REPORTING (Cur 66 Tot 2864647)
  1200. 2022-07-04 11:19:04.593242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/905414323481) State REPORTING
  1201. 2022-07-04 11:19:04.593242 [INFO] mod_json_cdr.c:271 Process [415e2bf3-ab55-4e85-bba7-2fcb6fa95d0b.cdr.json]
  1202. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:174 sofia/default/905414323481 Standard REPORTING, cause: NORMAL_CLEARING
  1203. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:936 (sofia/default/905414323481) State REPORTING going to sleep
  1204. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:611 (sofia/default/905414323481) State Change CS_REPORTING -> CS_DESTROY
  1205. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_session.c:1736 Session 2864634 (sofia/default/905414323481) Locked, Waiting on external entities
  1206. 2022-07-04 11:19:04.613233 [DEBUG] switch_ivr_bridge.c:820 sofia/default/905414323481 ending bridge by request from write function
  1207. 2022-07-04 11:19:04.613233 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/902128240166@148.251.195.149]
  1208. 2022-07-04 11:19:04.613233 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/902128240166@148.251.195.149 [CS_EXECUTE] [NORMAL_CLEARING]
  1209. 2022-07-04 11:19:04.613233 [DEBUG] mod_hash.c:296 Usage for CPS_6936562454_CPS_user_6936562454 is now 4
  1210. 2022-07-04 11:19:04.613233 [DEBUG] mod_hash.c:296 Usage for CPS_11_CPS_trunk_11 is now 3
  1211. 2022-07-04 11:19:04.613233 [NOTICE] switch_core_session.c:1754 Session 2864634 (sofia/default/905414323481) Ended
  1212. 2022-07-04 11:19:04.613233 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/905414323481 [CS_DESTROY]
  1213. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_session.c:2914 sofia/default/902128240166@148.251.195.149 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1214. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:651 (sofia/default/902128240166@148.251.195.149) State EXECUTE going to sleep
  1215. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_HANGUP (Cur 65 Tot 2864647)
  1216. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:739 (sofia/default/905414323481) Running State Change CS_DESTROY (Cur 65 Tot 2864647)
  1217. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/905414323481) State DESTROY
  1218. 2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:364 sofia/default/905414323481 SOFIA DESTROY
  1219. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:848 (sofia/default/902128240166@148.251.195.149) Callstate Change ACTIVE -> HANGUP
  1220. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:181 sofia/default/905414323481 Standard DESTROY
  1221. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/905414323481) State DESTROY going to sleep
  1222. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:850 (sofia/default/902128240166@148.251.195.149) State HANGUP
  1223. 2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:447 sofia/default/902128240166@148.251.195.149 Overriding SIP cause 480 with 200 from the other leg
  1224. 2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:453 Channel sofia/default/902128240166@148.251.195.149 hanging up, cause: NORMAL_CLEARING
  1225. 2022-07-04 11:19:04.613233 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/902128240166@148.251.195.149
  1226. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:60 sofia/default/902128240166@148.251.195.149 Standard HANGUP, cause: NORMAL_CLEARING
  1227. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:850 (sofia/default/902128240166@148.251.195.149) State HANGUP going to sleep
  1228. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:620 (sofia/default/902128240166@148.251.195.149) State Change CS_HANGUP -> CS_REPORTING
  1229. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_REPORTING (Cur 65 Tot 2864647)
  1230. 2022-07-04 11:19:04.613233 [DEBUG] switch_core_state_machine.c:936 (sofia/default/902128240166@148.251.195.149) State REPORTING
  1231. 2022-07-04 11:19:04.613233 [INFO] mod_json_cdr.c:271 Process [027f3fa1-9c1e-4cb2-9385-5fe09069ca1f.cdr.json]
  1232. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:174 sofia/default/902128240166@148.251.195.149 Standard REPORTING, cause: NORMAL_CLEARING
  1233. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:936 (sofia/default/902128240166@148.251.195.149) State REPORTING going to sleep
  1234. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:611 (sofia/default/902128240166@148.251.195.149) State Change CS_REPORTING -> CS_DESTROY
  1235. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_session.c:1736 Session 2864633 (sofia/default/902128240166@148.251.195.149) Locked, Waiting on external entities
  1236. 2022-07-04 11:19:04.693233 [NOTICE] switch_core_session.c:1754 Session 2864633 (sofia/default/902128240166@148.251.195.149) Ended
  1237. 2022-07-04 11:19:04.693233 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/902128240166@148.251.195.149 [CS_DESTROY]
  1238. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:739 (sofia/default/902128240166@148.251.195.149) Running State Change CS_DESTROY (Cur 64 Tot 2864647)
  1239. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/902128240166@148.251.195.149) State DESTROY
  1240. 2022-07-04 11:19:04.693233 [DEBUG] mod_sofia.c:364 sofia/default/902128240166@148.251.195.149 SOFIA DESTROY
  1241. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:181 sofia/default/902128240166@148.251.195.149 Standard DESTROY
  1242. 2022-07-04 11:19:04.693233 [DEBUG] switch_core_state_machine.c:749 (sofia/default/902128240166@148.251.195.149) State DESTROY going to sleep
  1243. 2022-07-04 11:19:04.773229 [DEBUG] switch_scheduler.c:147 Deleting task 960250 switch_ivr_schedule_hangup (415e2bf3-ab55-4e85-bba7-2fcb6fa95d0b)
  1244. 2022-07-04 11:19:05.173231 [NOTICE] switch_channel.c:1118 New Channel sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [e1fe24be-73c9-436d-bd2c-4ab18904feb3]
  1245. 2022-07-04 11:19:05.173231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_NEW (Cur 65 Tot 2864648)
  1246. 2022-07-04 11:19:05.173231 [INFO] sofia.c:10362 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs receiving invite from 82.214.92.8:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: N9vIEQLcVh5lelqmLp7a3Q..
  1247. 2022-07-04 11:19:05.173231 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 82.214.92.8:0.
  1248. 2022-07-04 11:19:05.173231 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [00447450020004@globalbook17.tdsltd.rs] from ip 82.214.92.8
  1249. 2022-07-04 11:19:05.173231 [DEBUG] switch_core_state_machine.c:604 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State NEW
  1250. 2022-07-04 11:19:05.173231 [DEBUG] sofia.c:2447 detaching session e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1251. 2022-07-04 11:19:05.193243 [DEBUG] sofia.c:2562 Re-attaching to session e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1252. 2022-07-04 11:19:05.193243 [INFO] sofia.c:10362 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs receiving invite from 82.214.92.8:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: N9vIEQLcVh5lelqmLp7a3Q..
  1253. 2022-07-04 11:19:05.193243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 82.214.92.8:0.
  1254. 2022-07-04 11:19:05.213231 [DEBUG] sofia.c:7406 Channel sofia/default/globalbookasttp5@globalbook17.tdsltd.rs entering state [received][100]
  1255. 2022-07-04 11:19:05.213231 [DEBUG] sofia.c:7416 Remote SDP:
  1256. v=0
  1257. o=- 1656926343 1 IN IP4 82.214.92.8
  1258. s=ps
  1259. c=IN IP4 82.214.92.8
  1260. t=0 0
  1261. m=audio 64720 RTP/AVP 18 8 0 105 101
  1262. a=rtpmap:18 G729/8000
  1263. a=fmtp:18 annexb=yes
  1264. a=rtpmap:8 PCMA/8000
  1265. a=rtpmap:0 PCMU/8000
  1266. a=rtpmap:105 opus/48000/2
  1267. a=fmtp:105 useinbandfec=1
  1268. a=rtpmap:101 telephone-event/8000
  1269. a=fmtp:101 0-16
  1270. a=mid:audio
  1271.  
  1272. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1273. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1274. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1275. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1276. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1277. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1278. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1279. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1280. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:105:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  1281. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:105:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  1282. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  1283. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/globalbookasttp5@globalbook17.tdsltd.rs PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1284. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_codec.c:111 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Original read codec set to PCMA:8
  1285. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  1286. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_media.c:5918 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set 2833 dtmf send payload to 101 recv payload to 101
  1287. 2022-07-04 11:19:05.213231 [DEBUG] sofia.c:7840 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State Change CS_NEW -> CS_INIT
  1288. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_INIT (Cur 65 Tot 2864648)
  1289. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State INIT
  1290. 2022-07-04 11:19:05.213231 [DEBUG] mod_sofia.c:93 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs SOFIA INIT
  1291. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:40 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Standard INIT
  1292. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:48 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State Change CS_INIT -> CS_ROUTING
  1293. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State INIT going to sleep
  1294. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_ROUTING (Cur 65 Tot 2864648)
  1295. 2022-07-04 11:19:05.213231 [DEBUG] switch_channel.c:2332 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Callstate Change DOWN -> RINGING
  1296. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State ROUTING
  1297. 2022-07-04 11:19:05.213231 [DEBUG] mod_sofia.c:154 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs SOFIA ROUTING
  1298. 2022-07-04 11:19:05.213231 [DEBUG] switch_core_state_machine.c:236 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Standard ROUTING
  1299. 2022-07-04 11:19:05.213231 [INFO] mod_dialplan_xml.c:637 Processing Kosta Stojanović <globalbookasttp5>->00447450020004 in context default
  1300. 2022-07-04 11:19:05.213231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1301. 2022-07-04 11:19:05.213231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1302. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  1303. Event-Name: REQUEST_PARAMS
  1304. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  1305. FreeSWITCH-Hostname: ASTPP5
  1306. FreeSWITCH-Switchname: ASTPP5
  1307. FreeSWITCH-IPv4: 82.214.92.3
  1308. FreeSWITCH-IPv6: %3A%3A1
  1309. Event-Date-Local: 2022-07-04%2011%3A19%3A05
  1310. Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A05%20GMT
  1311. Event-Date-Timestamp: 1656926345213231
  1312. Event-Calling-File: mod_dialplan_xml.c
  1313. Event-Calling-Function: dialplan_xml_locate
  1314. Event-Calling-Line-Number: 608
  1315. Event-Sequence: 150867081
  1316. Channel-State: CS_ROUTING
  1317. Channel-Call-State: RINGING
  1318. Channel-State-Number: 2
  1319. Channel-Name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
  1320. Unique-ID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1321. Call-Direction: inbound
  1322. Presence-Call-Direction: inbound
  1323. Channel-HIT-Dialplan: true
  1324. Channel-Presence-ID: globalbookasttp5%40globalbook17.tdsltd.rs
  1325. Channel-Call-UUID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1326. Answer-State: ringing
  1327. Channel-Read-Codec-Name: PCMA
  1328. Channel-Read-Codec-Rate: 8000
  1329. Channel-Read-Codec-Bit-Rate: 64000
  1330. Channel-Write-Codec-Name: PCMA
  1331. Channel-Write-Codec-Rate: 8000
  1332. Channel-Write-Codec-Bit-Rate: 64000
  1333. Caller-Direction: inbound
  1334. Caller-Logical-Direction: inbound
  1335. Caller-Username: globalbookasttp5
  1336. Caller-Dialplan: XML
  1337. Caller-Caller-ID-Name: Kosta%20Stojanovi%C4%87
  1338. Caller-Caller-ID-Number: globalbookasttp5
  1339. Caller-Orig-Caller-ID-Name: Kosta%20Stojanovi%C4%87
  1340. Caller-Orig-Caller-ID-Number: globalbookasttp5
  1341. Caller-Network-Addr: 82.214.92.8
  1342. Caller-ANI: globalbookasttp5
  1343. Caller-Destination-Number: 00447450020004
  1344. Caller-Unique-ID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1345. Caller-Source: mod_sofia
  1346. Caller-Context: default
  1347. Caller-Channel-Name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
  1348. Caller-Profile-Index: 1
  1349. Caller-Profile-Created-Time: 1656926345213231
  1350. Caller-Channel-Created-Time: 1656926345213231
  1351. Caller-Channel-Answered-Time: 0
  1352. Caller-Channel-Progress-Time: 0
  1353. Caller-Channel-Progress-Media-Time: 0
  1354. Caller-Channel-Hangup-Time: 0
  1355. Caller-Channel-Transfer-Time: 0
  1356. Caller-Channel-Resurrect-Time: 0
  1357. Caller-Channel-Bridged-Time: 0
  1358. Caller-Channel-Last-Hold: 0
  1359. Caller-Channel-Hold-Accum: 0
  1360. Caller-Screen-Bit: true
  1361. Caller-Privacy-Hide-Name: false
  1362. Caller-Privacy-Hide-Number: false
  1363. variable_direction: inbound
  1364. variable_uuid: e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1365. variable_session_id: 2864648
  1366. variable_sip_from_params: transport%3Dudp
  1367. variable_sip_from_user: globalbookasttp5
  1368. variable_sip_from_uri: globalbookasttp5%40globalbook17.tdsltd.rs
  1369. variable_sip_from_host: globalbook17.tdsltd.rs
  1370. variable_video_media_flow: disabled
  1371. variable_text_media_flow: disabled
  1372. variable_channel_name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
  1373. variable_sip_call_id: N9vIEQLcVh5lelqmLp7a3Q..
  1374. variable_sip_local_network_addr: 82.214.92.3
  1375. variable_sip_network_ip: 82.214.92.8
  1376. variable_sip_network_port: 5060
  1377. variable_sip_invite_stamp: 1656926345193243
  1378. variable_sip_received_ip: 82.214.92.8
  1379. variable_sip_received_port: 5060
  1380. variable_sip_via_protocol: udp
  1381. variable_sip_authorized: true
  1382. variable_Event-Name: REQUEST_PARAMS
  1383. variable_Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  1384. variable_FreeSWITCH-Hostname: ASTPP5
  1385. variable_FreeSWITCH-Switchname: ASTPP5
  1386. variable_FreeSWITCH-IPv4: 82.214.92.3
  1387. variable_FreeSWITCH-IPv6: %3A%3A1
  1388. variable_Event-Date-Local: 2022-07-04%2011%3A19%3A05
  1389. variable_Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A05%20GMT
  1390. variable_Event-Date-Timestamp: 1656926345193243
  1391. variable_Event-Calling-File: sofia.c
  1392. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  1393. variable_Event-Calling-Line-Number: 10624
  1394. variable_Event-Sequence: 150867072
  1395. variable_sip_number_alias: globalbookasttp5
  1396. variable_sip_auth_username: globalbookasttp5
  1397. variable_sip_auth_realm: globalbook17.tdsltd.rs
  1398. variable_number_alias: globalbookasttp5
  1399. variable_requested_user_name: globalbookasttp5
  1400. variable_requested_domain_name: globalbook17.tdsltd.rs
  1401. variable_effective_caller_id_number: 4986519042119
  1402. variable_sipcall: true
  1403. variable_sip_user: globalbookasttp5
  1404. variable_accountcode: 1794047368
  1405. variable_user_name: globalbookasttp5
  1406. variable_domain_name: globalbook17.tdsltd.rs
  1407. variable_sip_from_user_stripped: globalbookasttp5
  1408. variable_sip_from_tag: b78b5349
  1409. variable_sofia_profile_name: default
  1410. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  1411. variable_recovery_profile_name: default
  1412. variable_sip_full_via: SIP/2.0/UDP%2082.214.92.8%3A5060%3Bbranch%3Dz9hG4bK-524287-1---11421a16ebd13a6a%3Brport%3D5060
  1413. variable_sip_from_display: Kosta%20Stojanovi%C4%87
  1414. variable_sip_full_from: %22Kosta%20Stojanovi%C4%87%22%20%3Csip%3Aglobalbookasttp5%40globalbook17.tdsltd.rs%3Btransport%3Dudp%3E%3Btag%3Db78b5349
  1415. variable_sip_full_to: %3Csip%3A00447450020004%40globalbook17.tdsltd.rs%3E
  1416. variable_sip_allow: REGISTER,%20INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20NOTIFY,%20SUBSCRIBE,%20UPDATE,%20INFO,%20MESSAGE,%20PUBLISH
  1417. variable_sip_req_user: 00447450020004
  1418. variable_sip_req_uri: 00447450020004%40globalbook17.tdsltd.rs
  1419. variable_sip_req_host: globalbook17.tdsltd.rs
  1420. variable_sip_to_user: 00447450020004
  1421. variable_sip_to_uri: 00447450020004%40globalbook17.tdsltd.rs
  1422. variable_sip_to_host: globalbook17.tdsltd.rs
  1423. variable_sip_contact_user: globalbookasttp5
  1424. variable_sip_contact_port: 5060
  1425. variable_sip_contact_uri: globalbookasttp5%4082.214.92.8%3A5060
  1426. variable_sip_contact_host: 82.214.92.8
  1427. variable_sip_user_agent: SkyTel%20UC%20-%20Call%20Manager%2012.6.3.76
  1428. variable_sip_accept_language: en
  1429. variable_sip_accept_language_0_value: en
  1430. variable_sip_accept_language_count: 1
  1431. variable_sip_via_host: 82.214.92.8
  1432. variable_sip_via_port: 5060
  1433. variable_sip_via_rport: 5060
  1434. variable_max_forwards: 19
  1435. variable_presence_id: globalbookasttp5%40globalbook17.tdsltd.rs
  1436. variable_sip_h_X-Trunk-Name: Global%20Booking%20v5_1794047368
  1437. variable_sip_h_X-CID: jERvosKIxLJXpMb993jYRw..
  1438. variable_sip_h_X-Session-Id: 596268733438103552
  1439. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%201656926343%201%20IN%20IP4%2082.214.92.8%0D%0As%3Dps%0D%0Ac%3DIN%20IP4%2082.214.92.8%0D%0At%3D0%200%0D%0Am%3Daudio%2064720%20RTP/AVP%2018%208%200%20105%20101%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dyes%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A105%20opus/48000/2%0D%0Aa%3Dfmtp%3A105%20useinbandfec%3D1%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmid%3Aaudio%0D%0A
  1440. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  1441. variable_rtp_use_codec_string: PCMA,PCMU
  1442. variable_remote_video_media_flow: inactive
  1443. variable_remote_text_media_flow: inactive
  1444. variable_remote_audio_media_flow: sendrecv
  1445. variable_audio_media_flow: sendrecv
  1446. variable_remote_media_ip: 82.214.92.8
  1447. variable_remote_media_port: 64720
  1448. variable_rtp_audio_recv_pt: 8
  1449. variable_rtp_use_codec_name: PCMA
  1450. variable_rtp_use_codec_rate: 8000
  1451. variable_rtp_use_codec_ptime: 20
  1452. variable_rtp_use_codec_channels: 1
  1453. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  1454. variable_read_codec: PCMA
  1455. variable_original_read_codec: PCMA
  1456. variable_read_rate: 8000
  1457. variable_original_read_rate: 8000
  1458. variable_write_codec: PCMA
  1459. variable_write_rate: 8000
  1460. variable_dtmf_type: rfc2833
  1461. variable_endpoint_disposition: RECEIVED
  1462. variable_call_uuid: e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1463. Hunt-Direction: inbound
  1464. Hunt-Logical-Direction: inbound
  1465. Hunt-Username: globalbookasttp5
  1466. Hunt-Dialplan: XML
  1467. Hunt-Caller-ID-Name: Kosta%20Stojanovi%C4%87
  1468. Hunt-Caller-ID-Number: globalbookasttp5
  1469. Hunt-Orig-Caller-ID-Name: Kosta%20Stojanovi%C4%87
  1470. Hunt-Orig-Caller-ID-Number: globalbookasttp5
  1471. Hunt-Network-Addr: 82.214.92.8
  1472. Hunt-ANI: globalbookasttp5
  1473. Hunt-Destination-Number: 00447450020004
  1474. Hunt-Unique-ID: e1fe24be-73c9-436d-bd2c-4ab18904feb3
  1475. Hunt-Source: mod_sofia
  1476. Hunt-Context: default
  1477. Hunt-Channel-Name: sofia/default/globalbookasttp5%40globalbook17.tdsltd.rs
  1478. Hunt-Profile-Index: 1
  1479. Hunt-Profile-Created-Time: 1656926345213231
  1480. Hunt-Channel-Created-Time: 1656926345213231
  1481. Hunt-Channel-Answered-Time: 0
  1482. Hunt-Channel-Progress-Time: 0
  1483. Hunt-Channel-Progress-Media-Time: 0
  1484. Hunt-Channel-Hangup-Time: 0
  1485. Hunt-Channel-Transfer-Time: 0
  1486. Hunt-Channel-Resurrect-Time: 0
  1487. Hunt-Channel-Bridged-Time: 0
  1488. Hunt-Channel-Last-Hold: 0
  1489. Hunt-Channel-Hold-Accum: 0
  1490. Hunt-Screen-Bit: true
  1491. Hunt-Privacy-Hide-Name: false
  1492. Hunt-Privacy-Hide-Number: false
  1493.  
  1494.  
  1495. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  1496. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  1497. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  1498. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  1499. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1500. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 00447450020004
  1501. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00447450020004' limit 1
  1502. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '00447450020004' AND status=0 limit 1
  1503. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '00447450020004' and status=0 LIMIT 1
  1504. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  :  / 4986519042119
  1505. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00447450020004" LIMIT 1
  1506. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00447450020004"  AND domains.domain="globalbook17.tdsltd.rs" limit 1
  1507. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1508. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1794047368]
  1509. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1794047368" AND deleted = 0 limit 1
  1510. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00447450020004.*' OR blocked_patterns = '^0044745002000.*' OR blocked_patterns = '^004474500200.*' OR blocked_patterns = '^00447450020.*' OR blocked_patterns = '^0044745002.*' OR blocked_patterns = '^004474500.*' OR blocked_patterns = '^00447450.*' OR blocked_patterns = '^0044745.*' OR blocked_patterns = '^004474.*' OR blocked_patterns = '^00447.*' OR blocked_patterns = '^0044.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 33 limit 1
  1511. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00447450020004" AND (accountid = 0 OR status = 1) LIMIT 1
  1512. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 8
  1513. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 8 AND status=0 limit 1
  1514. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/,+/,0/381".....00447450020004
  1515. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00447450020004
  1516. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447450020004
  1517. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/,+/,0/381".....447450020004
  1518. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/,+/,0/381".....447450020004
  1519. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1520. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1521. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1522. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1523. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1524. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1525. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1526. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1527. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1528. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1529. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1530. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1531. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1532. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1533. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1534. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1535. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1536. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1537. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1538. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1539. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1540. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1541. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1542. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1543. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1544. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1545. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1546. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1547. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1548. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1549. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1550. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1551. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1552. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1553. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1554. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1555. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1556. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1557. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1558. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1559. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1560. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4986519042119DBCLI447450020004
  1561. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....4986519042119DBCLI447450020004
  1562. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4986519042119DBCLI447450020004
  1563. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
  1564. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....11111111#442037693004DBCLI447450020004
  1565. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
  1566. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
  1567. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/13477538140,34/34871570758,39/390409835214,41/41435507005,49/4986519042119,52/13477538140,61/61284880905,355/35545301370,381/381114419607,382/+38278900095,385/38513003563,386/38617775032,387/38733922281,389/38925102464,44/442037693004,353/442037693004,971/442037693004".....11111111#442037693004DBCLI447450020004
  1568. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 11111111#442037693004DBCLI447450020004
  1569. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 11111111#442037693004
  1570. 2022-07-04 11:19:05.233233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Ash............ 4986519042119
  1571. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^447450020004.*' OR patterns = '^44745002000.*' OR patterns = '^4474500200.*' OR patterns = '^447450020.*' OR patterns = '^44745002.*' OR patterns = '^4474500.*' OR patterns = '^447450.*' OR patterns = '^44745.*' OR patterns = '^4474.*' OR patterns = '^447.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 33 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1572. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="447450020004" AND A.accountid = '33' limit 1
  1573. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 447450020004
  1574. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447450020004" LIMIT 1
  1575. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="447450020004"  AND domains.domain="globalbook17.tdsltd.rs" limit 1
  1576. 2022-07-04 11:19:05.233233 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1577. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '447450020004' OR number = '44745002000' OR number = '4474500200' OR number = '447450020' OR number = '44745002' OR number = '4474500' OR number = '447450' OR number = '44745' OR number = '4474' OR number = '447' OR number = '44' OR number = '4' OR number ='--') OR (number = '447450020004*' OR number = '44745002000*' OR number = '4474500200*' OR number = '447450020*' OR number = '44745002*' OR number = '4474500*' OR number = '447450*' OR number = '44745*' OR number = '4474*' OR number = '447*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '4986519042119' OR number = '498651904211' OR number = '49865190421' OR number = '4986519042' OR number = '498651904' OR number = '49865190' OR number = '4986519' OR number = '498651' OR number = '49865' OR number = '4986' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '4986519042119*' OR number = '498651904211*' OR number = '49865190421*' OR number = '4986519042*' OR number = '498651904*' OR number = '49865190*' OR number = '4986519*' OR number = '498651*' OR number = '49865*' OR number = '4986*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1578. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1579. 2022-07-04 11:19:05.233233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '447450020004' OR routing_prefix = '44745002000' OR routing_prefix = '4474500200' OR routing_prefix = '447450020' OR routing_prefix = '44745002' OR routing_prefix = '4474500' OR routing_prefix = '447450' OR routing_prefix = '44745' OR routing_prefix = '4474' OR routing_prefix = '447' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1580. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1581. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 33
  1582. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1794047368
  1583. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 551.132
  1584. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1585. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  1586. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1587. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1588. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  1589. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1590. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  1591. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^447450020004.*' OR pattern = '^44745002000.*' OR pattern = '^4474500200.*' OR pattern = '^447450020.*' OR pattern = '^44745002.*' OR pattern = '^4474500.*' OR pattern = '^447450.*' OR pattern = '^44745.*' OR pattern = '^4474.*' OR pattern = '^447.*' OR pattern = '^44.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=33)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1592. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1593. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1594. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3348
  1595. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1596. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1597. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05000
  1598. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United Kingdom-Mobile
  1599. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 200
  1600. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 33
  1601. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1602. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1603. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1604. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your551.132 balance Accountid 33 !!!
  1605. 2022-07-04 11:19:05.253233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1606. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1607. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3348
  1608. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  1609. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  1610. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^447450020004.*' OR pattern = '^44745002000.*' OR pattern = '^4474500200.*' OR pattern = '^447450020.*' OR pattern = '^44745002.*' OR pattern = '^4474500.*' OR pattern = '^447450.*' OR pattern = '^44745.*' OR pattern = '^4474.*' OR pattern = '^447.*' OR pattern = '^44.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,6,8,9,10,13,16,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  1611. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  1612. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1613. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 375176
  1614. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^447450.*
  1615. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : United Kingdom-3 Mobile
  1616. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1617. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1618. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^447450.*
  1619. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1620. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1621. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6
  1622. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW-ORIGIN
  1623. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1624. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1625. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
  1626. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  1627. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : DID-ORIGIN
  1628. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1629. 2022-07-04 11:19:05.253233 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.36103 > 0.05000, skipping for loss less routing
  1630. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 33 AND status=0 LIMIT 1
  1631. 2022-07-04 11:19:05.253233 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1632. 2022-07-04 11:19:05.253233 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1633. 2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1634. 2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  1635. 2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  1636. 2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 11111111#442037693004
  1637. 2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 6) AND status=0 limit 1
  1638. 2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 6) AND status=0 limit 1
  1639. 2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 11111111#442037693004
  1640. 2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00447450020004" LIMIT 1
  1641. 2022-07-04 11:19:05.273231 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 442037693004
  1642. 2022-07-04 11:19:05.273231 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1643. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1644. <document type="freeswitch/xml">
  1645. <section name="dialplan" description="ASTPP Dialplan">
  1646. <context name="default">
  1647. <extension name="447450020004">
  1648. <condition field="destination_number" expression="00447450020004">
  1649. <action application="set" data="effective_destination_number=447450020004"/>
  1650. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1651. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1652. <action application="set" data="callstart=2022-07-04 09:19:04"/>
  1653. <action application="set" data="hangup_after_bridge=true"/>
  1654. <action application="set" data="continue_on_fail=TRUE"/>
  1655. <action application="set" data="account_id=33"/>
  1656. <action application="set" data="parent_id=0"/>
  1657. <action application="set" data="entity_id=0"/>
  1658. <action application="set" data="call_processed=internal"/>
  1659. <action application="set" data="call_direction=outbound"/>
  1660. <action application="set" data="accountname=default"/>
  1661. <action application="set" data="origination_rates=ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33"/>
  1662. <action application="set" data="original_caller_id_number=442037693004"/>
  1663. <action application="limit" data="db 1794047368 user_1794047368 5 "/>
  1664. <action application="limit" data="hash CPS_1794047368 CPS_user_1794047368 2/1 "/>
  1665.  
  1666. <action application="set" data="effective_caller_id_number=442037693004"/>
  1667. <action application="set" data="calltype=STANDARD"/>
  1668. <action application="set" data="termination_rates=ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6"/>
  1669. <action application="set" data="trunk_id=6"/>
  1670. <action application="set" data="provider_id=6"/>
  1671. <action application="set" data="rate_flag=0"/>
  1672. <action application="set" data="force_trunk_flag=3348"/>
  1673. <action application="export" data="presence_data=trunk_id=6"/>
  1674. <action application="set" data="intcall=0"/>
  1675. <action application="export" data="presence_id=447450020004"/>
  1676. <action application="export" data="presence_data=x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8"/>
  1677. <action application="limit" data="hash CPS_6 CPS_trunk_6 10/1 "/>
  1678. <action application="limit" data="db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 "/>
  1679. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/447450020004"/>
  1680. </condition>
  1681. </extension>
  1682. </context>
  1683. </section>
  1684. </document>
  1685. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs parsing [default->447450020004] continue=false
  1686. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Regex (PASS) [447450020004] destination_number(00447450020004) =~ /00447450020004/ break=on-false
  1687. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(effective_destination_number=447450020004)
  1688. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1689. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1690. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(callstart=2022-07-04 09:19:04)
  1691. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(hangup_after_bridge=true)
  1692. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(continue_on_fail=TRUE)
  1693. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(account_id=33)
  1694. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(parent_id=0)
  1695. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(entity_id=0)
  1696. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(call_processed=internal)
  1697. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(call_direction=outbound)
  1698. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(accountname=default)
  1699. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(origination_rates=ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33)
  1700. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(original_caller_id_number=442037693004)
  1701. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(db 1794047368 user_1794047368 5 )
  1702. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(hash CPS_1794047368 CPS_user_1794047368 2/1 )
  1703. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(effective_caller_id_number=442037693004)
  1704. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(calltype=STANDARD)
  1705. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(termination_rates=ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
  1706. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(trunk_id=6)
  1707. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(provider_id=6)
  1708. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(rate_flag=0)
  1709. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(force_trunk_flag=3348)
  1710. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action export(presence_data=trunk_id=6)
  1711. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action set(intcall=0)
  1712. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action export(presence_id=447450020004)
  1713. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action export(presence_data=x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8)
  1714. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(hash CPS_6 CPS_trunk_6 10/1 )
  1715. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
  1716. Dialplan: sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/447450020004)
  1717. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:287 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State Change CS_ROUTING -> CS_EXECUTE
  1718. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State ROUTING going to sleep
  1719. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Running State Change CS_EXECUTE (Cur 65 Tot 2864648)
  1720. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:651 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) State EXECUTE
  1721. 2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:209 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs SOFIA EXECUTE
  1722. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:329 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Standard EXECUTE
  1723. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(effective_destination_number=447450020004)
  1724. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [effective_destination_number]=[447450020004]
  1725. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(bridge_pre_execute_bleg_app=sched_hangup)
  1726. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [bridge_pre_execute_bleg_app]=[sched_hangup]
  1727. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1728. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1729. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(callstart=2022-07-04 09:19:04)
  1730. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [callstart]=[2022-07-04 09:19:04]
  1731. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(hangup_after_bridge=true)
  1732. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [hangup_after_bridge]=[true]
  1733. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(continue_on_fail=TRUE)
  1734. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [continue_on_fail]=[TRUE]
  1735. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(account_id=33)
  1736. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [account_id]=[33]
  1737. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(parent_id=0)
  1738. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [parent_id]=[0]
  1739. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(entity_id=0)
  1740. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [entity_id]=[0]
  1741. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(call_processed=internal)
  1742. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [call_processed]=[internal]
  1743. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(call_direction=outbound)
  1744. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [call_direction]=[outbound]
  1745. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(accountname=default)
  1746. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [accountname]=[default]
  1747. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(origination_rates=ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33)
  1748. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [origination_rates]=[ID:3348|CODE:^447.*|DESTINATION:United Kingdom-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:33]
  1749. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(original_caller_id_number=442037693004)
  1750. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [original_caller_id_number]=[442037693004]
  1751. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(db 1794047368 user_1794047368 5 )
  1752. 2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: 1794047368_user_1794047368 max:5, interval:0
  1753. 2022-07-04 11:19:05.273231 [DEBUG] mod_db.c:194 Usage for 1794047368_user_1794047368 is now 1/5
  1754. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(hash CPS_1794047368 CPS_user_1794047368 2/1 )
  1755. 2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: CPS_1794047368_CPS_user_1794047368 max:2, interval:1
  1756. 2022-07-04 11:19:05.273231 [DEBUG] mod_hash.c:198 Usage for CPS_1794047368_CPS_user_1794047368 is now 1/2 for the last 1 seconds
  1757. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(effective_caller_id_number=442037693004)
  1758. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [effective_caller_id_number]=[442037693004]
  1759. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(calltype=STANDARD)
  1760. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [calltype]=[STANDARD]
  1761. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(termination_rates=ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
  1762. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [termination_rates]=[ID:375176|CODE:^447450.*|DESTINATION:United Kingdom-3 Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01075|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6]
  1763. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(trunk_id=6)
  1764. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [trunk_id]=[6]
  1765. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(provider_id=6)
  1766. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [provider_id]=[6]
  1767. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(rate_flag=0)
  1768. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [rate_flag]=[0]
  1769. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(force_trunk_flag=3348)
  1770. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [force_trunk_flag]=[3348]
  1771. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs export(presence_data=trunk_id=6)
  1772. 2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=6]
  1773. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs set(intcall=0)
  1774. 2022-07-04 11:19:05.273231 [DEBUG] mod_dptools.c:1685 SET sofia/default/globalbookasttp5@globalbook17.tdsltd.rs [intcall]=[0]
  1775. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs export(presence_id=447450020004)
  1776. 2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[447450020004]
  1777. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs export(presence_data=x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8)
  1778. 2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8]
  1779. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(hash CPS_6 CPS_trunk_6 10/1 )
  1780. 2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: CPS_6_CPS_trunk_6 max:10, interval:1
  1781. 2022-07-04 11:19:05.273231 [DEBUG] mod_hash.c:198 Usage for CPS_6_CPS_trunk_6 is now 1/10 for the last 1 seconds
  1782. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
  1783. 2022-07-04 11:19:05.273231 [DEBUG] switch_limit.c:124 incr called: DIDWW-ORIGIN_gw_DIDWW-ORIGIN max:20, interval:0
  1784. 2022-07-04 11:19:05.273231 [DEBUG] mod_db.c:194 Usage for DIDWW-ORIGIN_gw_DIDWW-ORIGIN is now 2/20
  1785. EXECUTE [depth=0] sofia/default/globalbookasttp5@globalbook17.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/447450020004)
  1786. 2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1264 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8] to event
  1787. 2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1264 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs EXPORTING[export_vars] [presence_id]=[447450020004] to event
  1788. 2022-07-04 11:19:05.273231 [DEBUG] switch_channel.c:1264 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||GLOBAL(1794047368)|||^447.* // United Kingdom-Mobile // 0.05000 |||DID-ORIGIN // ^447450.* // United Kingdom-3 Mobile // 0.01075 // trunk_id=6|||STD|||82.214.92.8] to event
  1789. 2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  1790. 2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  1791. 2022-07-04 11:19:05.273231 [NOTICE] switch_channel.c:1118 New Channel sofia/default/447450020004 [8a7cbac7-a07d-418b-8368-8bcbde3761da]
  1792. 2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:5102 (sofia/default/447450020004) State Change CS_NEW -> CS_INIT
  1793. 2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:3142 sofia/default/447450020004 Setting leg timeout to 45
  1794. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_INIT (Cur 66 Tot 2864649)
  1795. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447450020004) State INIT
  1796. 2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:93 sofia/default/447450020004 SOFIA INIT
  1797. 2022-07-04 11:19:05.273231 [INFO] sofia_glue.c:1621 sofia/default/447450020004 sending invite call-id: (null)
  1798. 2022-07-04 11:19:05.273231 [DEBUG] sofia_glue.c:1624 sofia/default/447450020004 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  1799. Local SDP:
  1800. v=0
  1801. o=FreeSWITCH 1656901523 1656901524 IN IP4 82.214.92.3
  1802. s=FreeSWITCH
  1803. c=IN IP4 82.214.92.3
  1804. t=0 0
  1805. m=audio 24822 RTP/AVP 8 0 101
  1806. a=rtpmap:8 PCMA/8000
  1807. a=rtpmap:0 PCMU/8000
  1808. a=rtpmap:101 telephone-event/8000
  1809. a=fmtp:101 0-16
  1810. a=ptime:20
  1811. a=sendrecv
  1812.  
  1813. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:40 sofia/default/447450020004 Standard INIT
  1814. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447450020004) State Change CS_INIT -> CS_ROUTING
  1815. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:628 (sofia/default/447450020004) State INIT going to sleep
  1816. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_ROUTING (Cur 66 Tot 2864649)
  1817. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447450020004) State ROUTING
  1818. 2022-07-04 11:19:05.273231 [DEBUG] mod_sofia.c:154 sofia/default/447450020004 SOFIA ROUTING
  1819. 2022-07-04 11:19:05.273231 [DEBUG] switch_ivr_originate.c:67 (sofia/default/447450020004) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1820. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:644 (sofia/default/447450020004) State ROUTING going to sleep
  1821. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_CONSUME_MEDIA (Cur 66 Tot 2864649)
  1822. 2022-07-04 11:19:05.273231 [DEBUG] sofia.c:7406 Channel sofia/default/447450020004 entering state [calling][0]
  1823. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:663 (sofia/default/447450020004) State CONSUME_MEDIA
  1824. 2022-07-04 11:19:05.273231 [DEBUG] switch_core_state_machine.c:663 (sofia/default/447450020004) State CONSUME_MEDIA going to sleep
  1825. 2022-07-04 11:19:05.313240 [DEBUG] sofia.c:7406 Channel sofia/default/447450020004 entering state [calling][0]
  1826. 2022-07-04 11:19:05.593232 [DEBUG] sofia.c:7406 Channel sofia/default/385914185113 entering state [proceeding][180]
  1827. 2022-07-04 11:19:05.593232 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/385914185113!
  1828. 2022-07-04 11:19:05.593232 [DEBUG] switch_channel.c:3437 (sofia/default/385914185113) Callstate Change DOWN -> RINGING
  1829. 2022-07-04 11:19:05.593232 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/38618282990@148.251.195.149!
  1830. 2022-07-04 11:19:05.593232 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [early][180]
  1831. 2022-07-04 11:19:05.593232 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/38618282990@148.251.195.149!
  1832. 2022-07-04 11:19:05.933232 [DEBUG] sofia.c:7406 Channel sofia/default/385914185113 entering state [proceeding][183]
  1833. 2022-07-04 11:19:05.933232 [DEBUG] sofia.c:7416 Remote SDP:
  1834. v=0
  1835. o=- 1656904538 1656904541 IN IP4 91.208.225.227
  1836. s=Novatel
  1837. c=IN IP4 91.208.225.227
  1838. t=0 0
  1839. m=audio 15460 RTP/AVP 8 0 101
  1840. a=rtpmap:8 PCMA/8000
  1841. a=rtpmap:0 PCMU/8000
  1842. a=rtpmap:101 telephone-event/8000
  1843. a=fmtp:101 0-16
  1844. a=ptime:20
  1845. a=maxptime:150
  1846.  
  1847. 2022-07-04 11:19:05.933232 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/385914185113!
  1848. 2022-07-04 11:19:05.933232 [DEBUG] switch_channel.c:3565 (sofia/default/385914185113) Callstate Change RINGING -> EARLY
  1849. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1850. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1851. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1852. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1853. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1854. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1855. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  1856. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/385914185113 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1857. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_codec.c:111 sofia/default/385914185113 Original read codec set to PCMA:8
  1858. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  1859. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:5918 sofia/default/385914185113 Set 2833 dtmf send payload to 101 recv payload to 101
  1860. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/385914185113] 82.214.92.3 port 21806 -> 91.208.225.227 port 15460 codec: 8 ms: 20
  1861. 2022-07-04 11:19:05.933232 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  1862. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:8989 sofia/default/385914185113 Set 2833 dtmf send payload to 101
  1863. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:8996 sofia/default/385914185113 Set 2833 dtmf receive payload to 101
  1864. 2022-07-04 11:19:05.933232 [DEBUG] switch_core_media.c:9019 sofia/default/385914185113 Set rtp dtmf delay to 40
  1865. 2022-07-04 11:19:05.953227 [INFO] switch_ivr_originate.c:3832 Sending early media
  1866. 2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38618282990@148.251.195.149] 82.214.92.3 port 20632 -> 95.216.40.232 port 30454 codec: 8 ms: 20
  1867. 2022-07-04 11:19:05.953227 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  1868. 2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:8989 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101
  1869. 2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:8996 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf receive payload to 101
  1870. 2022-07-04 11:19:05.953227 [DEBUG] switch_core_media.c:9019 sofia/default/38618282990@148.251.195.149 Set rtp dtmf delay to 40
  1871. 2022-07-04 11:19:05.953227 [DEBUG] mod_sofia.c:2593 Ring SDP:
  1872. v=0
  1873. o=FreeSWITCH 1656905713 1656905714 IN IP4 82.214.92.3
  1874. s=FreeSWITCH
  1875. c=IN IP4 82.214.92.3
  1876. t=0 0
  1877. m=audio 20632 RTP/AVP 8 101
  1878. a=rtpmap:8 PCMA/8000
  1879. a=rtpmap:101 telephone-event/8000
  1880. a=fmtp:101 0-16
  1881. a=ptime:20
  1882. a=sendrecv
  1883.  
  1884. 2022-07-04 11:19:05.953227 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/38618282990@148.251.195.149!
  1885. 2022-07-04 11:19:05.953227 [DEBUG] switch_channel.c:3565 (sofia/default/38618282990@148.251.195.149) Callstate Change RINGING -> EARLY
  1886. 2022-07-04 11:19:05.953227 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/385914185113]
  1887. 2022-07-04 11:19:05.953227 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [early][183]
  1888. 2022-07-04 11:19:05.953227 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/385914185113) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1889. 2022-07-04 11:19:05.953227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385914185113) Running State Change CS_EXCHANGE_MEDIA (Cur 66 Tot 2864649)
  1890. 2022-07-04 11:19:05.953227 [DEBUG] switch_core_state_machine.c:654 (sofia/default/385914185113) State EXCHANGE_MEDIA
  1891. 2022-07-04 11:19:05.953227 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1892. 2022-07-04 11:19:06.113230 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  1893. 2022-07-04 11:19:06.133231 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  1894. 2022-07-04 11:19:06.133231 [DEBUG] switch_ivr_bridge.c:655 sofia/default/385914185113 Bridge execute app sched_hangup(+6000 normal_clearing)
  1895. 2022-07-04 11:19:06.153234 [DEBUG] switch_ivr.c:632 sofia/default/385914185113 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1896. EXECUTE [depth=0] sofia/default/385914185113 sched_hangup(+6000 normal_clearing)
  1897. 2022-07-04 11:19:06.153234 [DEBUG] switch_scheduler.c:263 Added task 960252 switch_ivr_schedule_hangup (96610160-0077-4306-9f2d-3aa154544593) to run at 1656932346
  1898. 2022-07-04 11:19:06.493244 [DEBUG] sofia.c:7406 Channel sofia/default/447450020004 entering state [proceeding][183]
  1899. 2022-07-04 11:19:06.493244 [DEBUG] sofia.c:7416 Remote SDP:
  1900. v=0
  1901. o=didww-y 1656926345 1656926345 IN IP4 46.19.210.21
  1902. s=didww-y
  1903. t=0 0
  1904. m=audio 19654 RTP/AVP 8 0 101
  1905. c=IN IP4 46.19.210.21
  1906. a=rtpmap:8 PCMA/8000
  1907. a=rtpmap:0 PCMU/8000
  1908. a=rtpmap:101 telephone-event/8000
  1909. a=fmtp:101 0-16
  1910. a=ptime:20
  1911. a=cdsc:1 image udptl t38
  1912. a=maxptime:30
  1913. a=silenceSupp:off - - - -
  1914. a=sqn: 0
  1915.  
  1916. 2022-07-04 11:19:06.493244 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/447450020004!
  1917. 2022-07-04 11:19:06.493244 [DEBUG] switch_channel.c:3565 (sofia/default/447450020004) Callstate Change DOWN -> EARLY
  1918. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1919. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1920. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1921. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1922. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1923. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1924. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  1925. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/447450020004 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1926. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_codec.c:111 sofia/default/447450020004 Original read codec set to PCMA:8
  1927. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  1928. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:5918 sofia/default/447450020004 Set 2833 dtmf send payload to 101 recv payload to 101
  1929. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/447450020004] 82.214.92.3 port 24822 -> 46.19.210.21 port 19654 codec: 8 ms: 20
  1930. 2022-07-04 11:19:06.493244 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  1931. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8989 sofia/default/447450020004 Set 2833 dtmf send payload to 101
  1932. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8996 sofia/default/447450020004 Set 2833 dtmf receive payload to 101
  1933. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:9019 sofia/default/447450020004 Set rtp dtmf delay to 40
  1934. 2022-07-04 11:19:06.493244 [INFO] switch_ivr_originate.c:3832 Sending early media
  1935. 2022-07-04 11:19:06.493244 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/globalbookasttp5@globalbook17.tdsltd.rs] 82.214.92.3 port 30548 -> 82.214.92.8 port 64720 codec: 8 ms: 20
  1936. 2022-07-04 11:19:06.493244 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  1937. 2022-07-04 11:19:06.513249 [DEBUG] switch_core_media.c:8989 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set 2833 dtmf send payload to 101
  1938. 2022-07-04 11:19:06.513249 [DEBUG] switch_core_media.c:8996 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set 2833 dtmf receive payload to 101
  1939. 2022-07-04 11:19:06.513249 [DEBUG] switch_core_media.c:9019 sofia/default/globalbookasttp5@globalbook17.tdsltd.rs Set rtp dtmf delay to 40
  1940. 2022-07-04 11:19:06.513249 [DEBUG] mod_sofia.c:2593 Ring SDP:
  1941. v=0
  1942. o=FreeSWITCH 1656895798 1656895799 IN IP4 82.214.92.3
  1943. s=FreeSWITCH
  1944. c=IN IP4 82.214.92.3
  1945. t=0 0
  1946. m=audio 30548 RTP/AVP 8 101
  1947. a=rtpmap:8 PCMA/8000
  1948. a=rtpmap:101 telephone-event/8000
  1949. a=fmtp:101 0-16
  1950. a=ptime:20
  1951. a=sendrecv
  1952.  
  1953. 2022-07-04 11:19:06.513249 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/globalbookasttp5@globalbook17.tdsltd.rs!
  1954. 2022-07-04 11:19:06.513249 [DEBUG] switch_channel.c:3565 (sofia/default/globalbookasttp5@globalbook17.tdsltd.rs) Callstate Change RINGING -> EARLY
  1955. 2022-07-04 11:19:06.513249 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/447450020004]
  1956. 2022-07-04 11:19:06.513249 [DEBUG] sofia.c:7406 Channel sofia/default/globalbookasttp5@globalbook17.tdsltd.rs entering state [early][183]
  1957. 2022-07-04 11:19:06.513249 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/447450020004) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1958. 2022-07-04 11:19:06.513249 [DEBUG] switch_core_state_machine.c:585 (sofia/default/447450020004) Running State Change CS_EXCHANGE_MEDIA (Cur 66 Tot 2864649)
  1959. 2022-07-04 11:19:06.513249 [DEBUG] switch_core_state_machine.c:654 (sofia/default/447450020004) State EXCHANGE_MEDIA
  1960. 2022-07-04 11:19:06.513249 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1961. 2022-07-04 11:19:06.533246 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  1962. 2022-07-04 11:19:06.693243 [DEBUG] switch_ivr_bridge.c:655 sofia/default/447450020004 Bridge execute app sched_hangup(+6000 normal_clearing)
  1963. 2022-07-04 11:19:06.713244 [DEBUG] switch_ivr.c:632 sofia/default/447450020004 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1964. EXECUTE [depth=0] sofia/default/447450020004 sched_hangup(+6000 normal_clearing)
  1965. 2022-07-04 11:19:06.713244 [DEBUG] switch_scheduler.c:263 Added task 960253 switch_ivr_schedule_hangup (8a7cbac7-a07d-418b-8368-8bcbde3761da) to run at 1656932346
  1966. 2022-07-04 11:19:06.913253 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  1967. 2022-07-04 11:19:07.013242 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38618282990@148.251.195.149 [b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd]
  1968. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_NEW (Cur 67 Tot 2864650)
  1969. 2022-07-04 11:19:07.013242 [INFO] sofia.c:10362 sofia/default/38618282990@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0eea11820c435c9f761195e7475fa766@148.251.195.149:5060
  1970. 2022-07-04 11:19:07.013242 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
  1971. 2022-07-04 11:19:07.013242 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
  1972. 2022-07-04 11:19:07.013242 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [received][100]
  1973. 2022-07-04 11:19:07.013242 [DEBUG] sofia.c:7416 Remote SDP:
  1974. v=0
  1975. o=root 187423355 187423355 IN IP4 95.216.40.232
  1976. s=SIP.IO
  1977. c=IN IP4 95.216.40.232
  1978. t=0 0
  1979. m=audio 25120 RTP/AVP 8 101
  1980. a=rtpmap:8 PCMA/8000
  1981. a=rtpmap:101 telephone-event/8000
  1982. a=fmtp:101 0-16
  1983. a=silenceSupp:off - - - -
  1984. a=ptime:20
  1985.  
  1986. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1987. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1988. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1989. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  1990. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38618282990@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1991. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_codec.c:111 sofia/default/38618282990@148.251.195.149 Original read codec set to PCMA:8
  1992. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  1993. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_media.c:5918 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
  1994. 2022-07-04 11:19:07.013242 [DEBUG] sofia.c:7840 (sofia/default/38618282990@148.251.195.149) State Change CS_NEW -> CS_INIT
  1995. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38618282990@148.251.195.149) State NEW
  1996. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_INIT (Cur 67 Tot 2864650)
  1997. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT
  1998. 2022-07-04 11:19:07.013242 [DEBUG] mod_sofia.c:93 sofia/default/38618282990@148.251.195.149 SOFIA INIT
  1999. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:40 sofia/default/38618282990@148.251.195.149 Standard INIT
  2000. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38618282990@148.251.195.149) State Change CS_INIT -> CS_ROUTING
  2001. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT going to sleep
  2002. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_ROUTING (Cur 67 Tot 2864650)
  2003. 2022-07-04 11:19:07.013242 [DEBUG] switch_channel.c:2332 (sofia/default/38618282990@148.251.195.149) Callstate Change DOWN -> RINGING
  2004. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING
  2005. 2022-07-04 11:19:07.013242 [DEBUG] mod_sofia.c:154 sofia/default/38618282990@148.251.195.149 SOFIA ROUTING
  2006. 2022-07-04 11:19:07.013242 [DEBUG] switch_core_state_machine.c:236 sofia/default/38618282990@148.251.195.149 Standard ROUTING
  2007. 2022-07-04 11:19:07.013242 [INFO] mod_dialplan_xml.c:637 Processing 38618282990 <38618282990>->118638631890254 in context default
  2008. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2009. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2010. 2022-07-04 11:19:07.013242 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  2011. Event-Name: REQUEST_PARAMS
  2012. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  2013. FreeSWITCH-Hostname: ASTPP5
  2014. FreeSWITCH-Switchname: ASTPP5
  2015. FreeSWITCH-IPv4: 82.214.92.3
  2016. FreeSWITCH-IPv6: %3A%3A1
  2017. Event-Date-Local: 2022-07-04%2011%3A19%3A07
  2018. Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A07%20GMT
  2019. Event-Date-Timestamp: 1656926347013242
  2020. Event-Calling-File: mod_dialplan_xml.c
  2021. Event-Calling-Function: dialplan_xml_locate
  2022. Event-Calling-Line-Number: 608
  2023. Event-Sequence: 150867190
  2024. Channel-State: CS_ROUTING
  2025. Channel-Call-State: RINGING
  2026. Channel-State-Number: 2
  2027. Channel-Name: sofia/default/38618282990%40148.251.195.149
  2028. Unique-ID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
  2029. Call-Direction: inbound
  2030. Presence-Call-Direction: inbound
  2031. Channel-HIT-Dialplan: true
  2032. Channel-Presence-ID: 38618282990%40148.251.195.149
  2033. Channel-Call-UUID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
  2034. Answer-State: ringing
  2035. Channel-Read-Codec-Name: PCMA
  2036. Channel-Read-Codec-Rate: 8000
  2037. Channel-Read-Codec-Bit-Rate: 64000
  2038. Channel-Write-Codec-Name: PCMA
  2039. Channel-Write-Codec-Rate: 8000
  2040. Channel-Write-Codec-Bit-Rate: 64000
  2041. Caller-Direction: inbound
  2042. Caller-Logical-Direction: inbound
  2043. Caller-Username: 38618282990
  2044. Caller-Dialplan: XML
  2045. Caller-Caller-ID-Name: 38618282990
  2046. Caller-Caller-ID-Number: 38618282990
  2047. Caller-Orig-Caller-ID-Name: 38618282990
  2048. Caller-Orig-Caller-ID-Number: 38618282990
  2049. Caller-Network-Addr: 148.251.195.149
  2050. Caller-ANI: 38618282990
  2051. Caller-Destination-Number: 118638631890254
  2052. Caller-Unique-ID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
  2053. Caller-Source: mod_sofia
  2054. Caller-Context: default
  2055. Caller-Channel-Name: sofia/default/38618282990%40148.251.195.149
  2056. Caller-Profile-Index: 1
  2057. Caller-Profile-Created-Time: 1656926347013242
  2058. Caller-Channel-Created-Time: 1656926347013242
  2059. Caller-Channel-Answered-Time: 0
  2060. Caller-Channel-Progress-Time: 0
  2061. Caller-Channel-Progress-Media-Time: 0
  2062. Caller-Channel-Hangup-Time: 0
  2063. Caller-Channel-Transfer-Time: 0
  2064. Caller-Channel-Resurrect-Time: 0
  2065. Caller-Channel-Bridged-Time: 0
  2066. Caller-Channel-Last-Hold: 0
  2067. Caller-Channel-Hold-Accum: 0
  2068. Caller-Screen-Bit: true
  2069. Caller-Privacy-Hide-Name: false
  2070. Caller-Privacy-Hide-Number: false
  2071. variable_direction: inbound
  2072. variable_uuid: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
  2073. variable_session_id: 2864650
  2074. variable_sip_from_user: 38618282990
  2075. variable_sip_from_uri: 38618282990%40148.251.195.149
  2076. variable_sip_from_host: 148.251.195.149
  2077. variable_video_media_flow: disabled
  2078. variable_text_media_flow: disabled
  2079. variable_channel_name: sofia/default/38618282990%40148.251.195.149
  2080. variable_sip_call_id: 0eea11820c435c9f761195e7475fa766%40148.251.195.149%3A5060
  2081. variable_sip_local_network_addr: 82.214.92.3
  2082. variable_sip_network_ip: 148.251.195.149
  2083. variable_sip_network_port: 5060
  2084. variable_sip_invite_stamp: 1656926347013242
  2085. variable_sip_received_ip: 148.251.195.149
  2086. variable_sip_received_port: 5060
  2087. variable_sip_via_protocol: udp
  2088. variable_sip_authorized: true
  2089. variable_sip_acl_authed_by: default
  2090. variable_sip_from_user_stripped: 38618282990
  2091. variable_sip_from_tag: as3d67e615
  2092. variable_sofia_profile_name: default
  2093. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  2094. variable_recovery_profile_name: default
  2095. variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK33148682
  2096. variable_sip_full_from: %3Csip%3A38618282990%40148.251.195.149%3E%3Btag%3Das3d67e615
  2097. variable_sip_full_to: %3Csip%3A118638631890254%40sipp.skytel.rs%3A5060%3E
  2098. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  2099. variable_sip_req_user: 118638631890254
  2100. variable_sip_req_port: 5060
  2101. variable_sip_req_uri: 118638631890254%40sipp.skytel.rs%3A5060
  2102. variable_sip_req_host: sipp.skytel.rs
  2103. variable_sip_to_user: 118638631890254
  2104. variable_sip_to_port: 5060
  2105. variable_sip_to_uri: 118638631890254%40sipp.skytel.rs%3A5060
  2106. variable_sip_to_host: sipp.skytel.rs
  2107. variable_sip_contact_user: 38618282990
  2108. variable_sip_contact_port: 5060
  2109. variable_sip_contact_uri: 38618282990%40148.251.195.149%3A5060
  2110. variable_sip_contact_host: 148.251.195.149
  2111. variable_sip_user_agent: SIP.IO
  2112. variable_sip_via_host: 148.251.195.149
  2113. variable_sip_via_port: 5060
  2114. variable_max_forwards: 70
  2115. variable_presence_id: 38618282990%40148.251.195.149
  2116. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20187423355%20187423355%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2025120%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  2117. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  2118. variable_rtp_use_codec_string: PCMA,PCMU
  2119. variable_remote_video_media_flow: inactive
  2120. variable_remote_text_media_flow: inactive
  2121. variable_remote_audio_media_flow: sendrecv
  2122. variable_audio_media_flow: sendrecv
  2123. variable_remote_media_ip: 95.216.40.232
  2124. variable_remote_media_port: 25120
  2125. variable_rtp_audio_recv_pt: 8
  2126. variable_rtp_use_codec_name: PCMA
  2127. variable_rtp_use_codec_rate: 8000
  2128. variable_rtp_use_codec_ptime: 20
  2129. variable_rtp_use_codec_channels: 1
  2130. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  2131. variable_read_codec: PCMA
  2132. variable_original_read_codec: PCMA
  2133. variable_read_rate: 8000
  2134. variable_original_read_rate: 8000
  2135. variable_write_codec: PCMA
  2136. variable_write_rate: 8000
  2137. variable_dtmf_type: rfc2833
  2138. variable_endpoint_disposition: RECEIVED
  2139. variable_call_uuid: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
  2140. Hunt-Direction: inbound
  2141. Hunt-Logical-Direction: inbound
  2142. Hunt-Username: 38618282990
  2143. Hunt-Dialplan: XML
  2144. Hunt-Caller-ID-Name: 38618282990
  2145. Hunt-Caller-ID-Number: 38618282990
  2146. Hunt-Orig-Caller-ID-Name: 38618282990
  2147. Hunt-Orig-Caller-ID-Number: 38618282990
  2148. Hunt-Network-Addr: 148.251.195.149
  2149. Hunt-ANI: 38618282990
  2150. Hunt-Destination-Number: 118638631890254
  2151. Hunt-Unique-ID: b9f3ccd1-95a2-422a-92c1-cbb17e7eeefd
  2152. Hunt-Source: mod_sofia
  2153. Hunt-Context: default
  2154. Hunt-Channel-Name: sofia/default/38618282990%40148.251.195.149
  2155. Hunt-Profile-Index: 1
  2156. Hunt-Profile-Created-Time: 1656926347013242
  2157. Hunt-Channel-Created-Time: 1656926347013242
  2158. Hunt-Channel-Answered-Time: 0
  2159. Hunt-Channel-Progress-Time: 0
  2160. Hunt-Channel-Progress-Media-Time: 0
  2161. Hunt-Channel-Hangup-Time: 0
  2162. Hunt-Channel-Transfer-Time: 0
  2163. Hunt-Channel-Resurrect-Time: 0
  2164. Hunt-Channel-Bridged-Time: 0
  2165. Hunt-Channel-Last-Hold: 0
  2166. Hunt-Channel-Hold-Accum: 0
  2167. Hunt-Screen-Bit: true
  2168. Hunt-Privacy-Hide-Name: false
  2169. Hunt-Privacy-Hide-Number: false
  2170.  
  2171.  
  2172. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  2173. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  2174. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  2175. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  2176. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  2177. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 118638631890254
  2178. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '118638631890254' limit 1
  2179. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '118638631890254' AND status=0 limit 1
  2180. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '118638631890254' and status=0 LIMIT 1
  2181. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 38618282990 / 38618282990
  2182. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631890254" LIMIT 1
  2183. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="118638631890254"  AND domains.domain="sipp.skytel.rs" limit 1
  2184. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  2185. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "118638631890254"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  2186. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :1186/*.....118638631890254
  2187. 2022-07-04 11:19:07.013242 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 118638631890254
  2188. 2022-07-04 11:19:07.013242 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 38631890254
  2189. 2022-07-04 11:19:07.013242 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3301514710]
  2190. 2022-07-04 11:19:07.013242 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3301514710" AND deleted = 0 limit 1
  2191. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38631890254.*' OR blocked_patterns = '^3863189025.*' OR blocked_patterns = '^386318902.*' OR blocked_patterns = '^38631890.*' OR blocked_patterns = '^3863189.*' OR blocked_patterns = '^386318.*' OR blocked_patterns = '^38631.*' OR blocked_patterns = '^3863.*' OR blocked_patterns = '^386.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 41 limit 1
  2192. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38631890254" AND (accountid = 0 OR status = 1) LIMIT 1
  2193. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^38631890254.*' OR patterns = '^3863189025.*' OR patterns = '^386318902.*' OR patterns = '^38631890.*' OR patterns = '^3863189.*' OR patterns = '^386318.*' OR patterns = '^38631.*' OR patterns = '^3863.*' OR patterns = '^386.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 41 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2194. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="38631890254" AND A.accountid = '41' limit 1
  2195. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38631890254
  2196. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="38631890254" LIMIT 1
  2197. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="38631890254"  AND domains.domain="sipp.skytel.rs" limit 1
  2198. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  2199. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '38631890254' OR number = '3863189025' OR number = '386318902' OR number = '38631890' OR number = '3863189' OR number = '386318' OR number = '38631' OR number = '3863' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38631890254*' OR number = '3863189025*' OR number = '386318902*' OR number = '38631890*' OR number = '3863189*' OR number = '386318*' OR number = '38631*' OR number = '3863*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38618282990' OR number = '3861828299' OR number = '386182829' OR number = '38618282' OR number = '3861828' OR number = '386182' OR number = '38618' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38618282990*' OR number = '3861828299*' OR number = '386182829*' OR number = '38618282*' OR number = '3861828*' OR number = '386182*' OR number = '38618*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2200. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  2201. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38618282990
  2202. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  2203. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38618282990' and status=0
  2204. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  2205. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='41' order by RAND() limit 1
  2206. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38617775036
  2207. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38631890254' OR routing_prefix = '3863189025' OR routing_prefix = '386318902' OR routing_prefix = '38631890' OR routing_prefix = '3863189' OR routing_prefix = '386318' OR routing_prefix = '38631' OR routing_prefix = '3863' OR routing_prefix = '386' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2208. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2209. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 41
  2210. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3301514710
  2211. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4517.84464
  2212. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2213. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
  2214. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
  2215. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2216. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2217. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2218. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2219. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38631890254.*' OR pattern = '^3863189025.*' OR pattern = '^386318902.*' OR pattern = '^38631890.*' OR pattern = '^3863189.*' OR pattern = '^386318.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=41)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2220. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2221. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2222. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4308
  2223. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2224. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2225. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05450
  2226. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Slovenia-Telekom Slovenije Mobile
  2227. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 169
  2228. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 41
  2229. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  2230. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2231. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2232. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4517.84464 balance Accountid 41 !!!
  2233. 2022-07-04 11:19:07.033255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  2234. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  2235. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4308
  2236. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  2237. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
  2238. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^38631890254.*' OR pattern = '^3863189025.*' OR pattern = '^386318902.*' OR pattern = '^38631890.*' OR pattern = '^3863189.*' OR pattern = '^386318.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,10) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  2239. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  2240. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2241. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 366986
  2242. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38631.*
  2243. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Slovenia - Mobitel
  2244. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2245. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2246. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38631.*
  2247. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2248. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2249. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
  2250. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
  2251. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2252. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
  2253. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  2254. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2255. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
  2256. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2257. 2022-07-04 11:19:07.033255 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.66561 > 0.05450, skipping for loss less routing
  2258. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 41 AND status=0 LIMIT 1
  2259. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  2260. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2261. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2262. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  2263. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2264. 2022-07-04 11:19:07.033255 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38617775036
  2265. 2022-07-04 11:19:07.033255 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
  2266. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 10) AND status=0 limit 1
  2267. 2022-07-04 11:19:07.053246 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38617775036
  2268. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38617775036
  2269. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  2270. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38617775036' and status=0
  2271. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
  2272. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631890254" LIMIT 1
  2273. 2022-07-04 11:19:07.053246 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38617775036
  2274. 2022-07-04 11:19:07.053246 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2275. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2276. <document type="freeswitch/xml">
  2277. <section name="dialplan" description="ASTPP Dialplan">
  2278. <context name="default">
  2279. <extension name="38631890254">
  2280. <condition field="destination_number" expression="118638631890254">
  2281. <action application="set" data="effective_destination_number=38631890254"/>
  2282. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2283. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2284. <action application="set" data="callstart=2022-07-04 09:19:06"/>
  2285. <action application="set" data="hangup_after_bridge=true"/>
  2286. <action application="set" data="continue_on_fail=TRUE"/>
  2287. <action application="set" data="account_id=41"/>
  2288. <action application="set" data="parent_id=0"/>
  2289. <action application="set" data="entity_id=0"/>
  2290. <action application="set" data="call_processed=internal"/>
  2291. <action application="set" data="call_direction=outbound"/>
  2292. <action application="set" data="accountname=OIM Slovenia"/>
  2293. <action application="set" data="origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41"/>
  2294. <action application="set" data="original_caller_id_name=38617775036"/>
  2295. <action application="set" data="original_caller_id_number=38617775036"/>
  2296.  
  2297. <action application="set" data="effective_caller_id_name=38617775036"/>
  2298. <action application="set" data="effective_caller_id_number=38617775036"/>
  2299. <action application="set" data="calltype=STANDARD"/>
  2300. <action application="set" data="termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
  2301. <action application="set" data="trunk_id=10"/>
  2302. <action application="set" data="provider_id=9"/>
  2303. <action application="set" data="rate_flag=0"/>
  2304. <action application="set" data="force_trunk_flag=4308"/>
  2305. <action application="export" data="presence_data=trunk_id=10"/>
  2306. <action application="set" data="intcall=0"/>
  2307. <action application="export" data="presence_id=38631890254"/>
  2308. <action application="export" data="presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149"/>
  2309. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631890254"/>
  2310. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631890254"/>
  2311. </condition>
  2312. </extension>
  2313. </context>
  2314. </section>
  2315. </document>
  2316. Dialplan: sofia/default/38618282990@148.251.195.149 parsing [default->38631890254] continue=false
  2317. Dialplan: sofia/default/38618282990@148.251.195.149 Regex (PASS) [38631890254] destination_number(118638631890254) =~ /118638631890254/ break=on-false
  2318. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_destination_number=38631890254)
  2319. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2320. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2321. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(callstart=2022-07-04 09:19:06)
  2322. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(hangup_after_bridge=true)
  2323. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(continue_on_fail=TRUE)
  2324. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(account_id=41)
  2325. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(parent_id=0)
  2326. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(entity_id=0)
  2327. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_processed=internal)
  2328. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_direction=outbound)
  2329. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(accountname=OIM Slovenia)
  2330. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
  2331. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_name=38617775036)
  2332. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_number=38617775036)
  2333. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38617775036)
  2334. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38617775036)
  2335. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
  2336. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  2337. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=10)
  2338. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=9)
  2339. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
  2340. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=4308)
  2341. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=10)
  2342. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
  2343. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=38631890254)
  2344. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
  2345. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631890254)
  2346. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631890254)
  2347. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38618282990@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
  2348. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING going to sleep
  2349. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_EXECUTE (Cur 67 Tot 2864650)
  2350. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38618282990@148.251.195.149) State EXECUTE
  2351. 2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:209 sofia/default/38618282990@148.251.195.149 SOFIA EXECUTE
  2352. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:329 sofia/default/38618282990@148.251.195.149 Standard EXECUTE
  2353. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_destination_number=38631890254)
  2354. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_destination_number]=[38631890254]
  2355. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
  2356. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2357. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2358. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2359. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(callstart=2022-07-04 09:19:06)
  2360. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [callstart]=[2022-07-04 09:19:06]
  2361. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(hangup_after_bridge=true)
  2362. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [hangup_after_bridge]=[true]
  2363. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(continue_on_fail=TRUE)
  2364. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [continue_on_fail]=[TRUE]
  2365. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(account_id=41)
  2366. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [account_id]=[41]
  2367. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(parent_id=0)
  2368. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [parent_id]=[0]
  2369. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(entity_id=0)
  2370. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [entity_id]=[0]
  2371. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_processed=internal)
  2372. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_processed]=[internal]
  2373. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_direction=outbound)
  2374. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_direction]=[outbound]
  2375. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(accountname=OIM Slovenia)
  2376. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [accountname]=[OIM Slovenia]
  2377. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
  2378. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [origination_rates]=[ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41]
  2379. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_name=38617775036)
  2380. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_name]=[38617775036]
  2381. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_number=38617775036)
  2382. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_number]=[38617775036]
  2383. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_name=38617775036)
  2384. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_name]=[38617775036]
  2385. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_number=38617775036)
  2386. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_number]=[38617775036]
  2387. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(calltype=STANDARD)
  2388. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [calltype]=[STANDARD]
  2389. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  2390. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [termination_rates]=[ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
  2391. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(trunk_id=10)
  2392. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [trunk_id]=[10]
  2393. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(provider_id=9)
  2394. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [provider_id]=[9]
  2395. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(rate_flag=0)
  2396. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [rate_flag]=[0]
  2397. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(force_trunk_flag=4308)
  2398. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [force_trunk_flag]=[4308]
  2399. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=trunk_id=10)
  2400. 2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
  2401. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(intcall=0)
  2402. 2022-07-04 11:19:07.053246 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [intcall]=[0]
  2403. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_id=38631890254)
  2404. 2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[38631890254]
  2405. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
  2406. 2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149]
  2407. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631890254)
  2408. 2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
  2409. 2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_id]=[38631890254] to event
  2410. 2022-07-04 11:19:07.053246 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
  2411. 2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  2412. 2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  2413. 2022-07-04 11:19:07.053246 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38631890254 [56b9b871-a70d-4a15-bb06-07cade58e43f]
  2414. 2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:5102 (sofia/default/38631890254) State Change CS_NEW -> CS_INIT
  2415. 2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:3142 sofia/default/38631890254 Setting leg timeout to 45
  2416. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_INIT (Cur 68 Tot 2864651)
  2417. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631890254) State INIT
  2418. 2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:93 sofia/default/38631890254 SOFIA INIT
  2419. 2022-07-04 11:19:07.053246 [INFO] sofia_glue.c:1621 sofia/default/38631890254 sending invite call-id: (null)
  2420. 2022-07-04 11:19:07.053246 [DEBUG] sofia_glue.c:1624 sofia/default/38631890254 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  2421. Local SDP:
  2422. v=0
  2423. o=FreeSWITCH 1656908831 1656908832 IN IP4 82.214.92.3
  2424. s=FreeSWITCH
  2425. c=IN IP4 82.214.92.3
  2426. t=0 0
  2427. m=audio 17516 RTP/AVP 8 0 101
  2428. a=rtpmap:8 PCMA/8000
  2429. a=rtpmap:0 PCMU/8000
  2430. a=rtpmap:101 telephone-event/8000
  2431. a=fmtp:101 0-16
  2432. a=ptime:20
  2433. a=sendrecv
  2434.  
  2435. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:40 sofia/default/38631890254 Standard INIT
  2436. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38631890254) State Change CS_INIT -> CS_ROUTING
  2437. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631890254) State INIT going to sleep
  2438. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_ROUTING (Cur 68 Tot 2864651)
  2439. 2022-07-04 11:19:07.053246 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [calling][0]
  2440. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631890254) State ROUTING
  2441. 2022-07-04 11:19:07.053246 [DEBUG] mod_sofia.c:154 sofia/default/38631890254 SOFIA ROUTING
  2442. 2022-07-04 11:19:07.053246 [DEBUG] switch_ivr_originate.c:67 (sofia/default/38631890254) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2443. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631890254) State ROUTING going to sleep
  2444. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_CONSUME_MEDIA (Cur 68 Tot 2864651)
  2445. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631890254) State CONSUME_MEDIA
  2446. 2022-07-04 11:19:07.053246 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631890254) State CONSUME_MEDIA going to sleep
  2447. 2022-07-04 11:19:07.173243 [NOTICE] switch_channel.c:1118 New Channel sofia/default/902128240166@148.251.195.149 [fe83c1cb-93c5-4174-a45c-ba676f66f957]
  2448. 2022-07-04 11:19:07.173243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_NEW (Cur 69 Tot 2864652)
  2449. 2022-07-04 11:19:07.173243 [INFO] sofia.c:10362 sofia/default/902128240166@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 04f0f516112a5ba63bcee8ef4bfa2d0c@148.251.195.149:5060
  2450. 2022-07-04 11:19:07.173243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
  2451. 2022-07-04 11:19:07.173243 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
  2452. 2022-07-04 11:19:07.173243 [DEBUG] sofia.c:7406 Channel sofia/default/902128240166@148.251.195.149 entering state [received][100]
  2453. 2022-07-04 11:19:07.173243 [DEBUG] sofia.c:7416 Remote SDP:
  2454. v=0
  2455. o=root 2092694556 2092694556 IN IP4 95.216.40.232
  2456. s=SIP.IO
  2457. c=IN IP4 95.216.40.232
  2458. t=0 0
  2459. m=audio 32186 RTP/AVP 8 0 101
  2460. a=rtpmap:8 PCMA/8000
  2461. a=rtpmap:0 PCMU/8000
  2462. a=rtpmap:101 telephone-event/8000
  2463. a=fmtp:101 0-16
  2464. a=silenceSupp:off - - - -
  2465. a=ptime:20
  2466.  
  2467. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2468. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2469. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2470. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2471. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2472. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2473. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  2474. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/902128240166@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2475. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_codec.c:111 sofia/default/902128240166@148.251.195.149 Original read codec set to PCMA:8
  2476. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  2477. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_media.c:5918 sofia/default/902128240166@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
  2478. 2022-07-04 11:19:07.193244 [DEBUG] sofia.c:7840 (sofia/default/902128240166@148.251.195.149) State Change CS_NEW -> CS_INIT
  2479. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:604 (sofia/default/902128240166@148.251.195.149) State NEW
  2480. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_INIT (Cur 69 Tot 2864652)
  2481. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/902128240166@148.251.195.149) State INIT
  2482. 2022-07-04 11:19:07.193244 [DEBUG] mod_sofia.c:93 sofia/default/902128240166@148.251.195.149 SOFIA INIT
  2483. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:40 sofia/default/902128240166@148.251.195.149 Standard INIT
  2484. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:48 (sofia/default/902128240166@148.251.195.149) State Change CS_INIT -> CS_ROUTING
  2485. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:628 (sofia/default/902128240166@148.251.195.149) State INIT going to sleep
  2486. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_ROUTING (Cur 69 Tot 2864652)
  2487. 2022-07-04 11:19:07.193244 [DEBUG] switch_channel.c:2332 (sofia/default/902128240166@148.251.195.149) Callstate Change DOWN -> RINGING
  2488. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/902128240166@148.251.195.149) State ROUTING
  2489. 2022-07-04 11:19:07.193244 [DEBUG] mod_sofia.c:154 sofia/default/902128240166@148.251.195.149 SOFIA ROUTING
  2490. 2022-07-04 11:19:07.193244 [DEBUG] switch_core_state_machine.c:236 sofia/default/902128240166@148.251.195.149 Standard ROUTING
  2491. 2022-07-04 11:19:07.193244 [INFO] mod_dialplan_xml.c:637 Processing 902128240166 <902128240166>->3526905414358116 in context default
  2492. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2493. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2494. 2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  2495. Event-Name: REQUEST_PARAMS
  2496. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  2497. FreeSWITCH-Hostname: ASTPP5
  2498. FreeSWITCH-Switchname: ASTPP5
  2499. FreeSWITCH-IPv4: 82.214.92.3
  2500. FreeSWITCH-IPv6: %3A%3A1
  2501. Event-Date-Local: 2022-07-04%2011%3A19%3A07
  2502. Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A07%20GMT
  2503. Event-Date-Timestamp: 1656926347193244
  2504. Event-Calling-File: mod_dialplan_xml.c
  2505. Event-Calling-Function: dialplan_xml_locate
  2506. Event-Calling-Line-Number: 608
  2507. Event-Sequence: 150867262
  2508. Channel-State: CS_ROUTING
  2509. Channel-Call-State: RINGING
  2510. Channel-State-Number: 2
  2511. Channel-Name: sofia/default/902128240166%40148.251.195.149
  2512. Unique-ID: fe83c1cb-93c5-4174-a45c-ba676f66f957
  2513. Call-Direction: inbound
  2514. Presence-Call-Direction: inbound
  2515. Channel-HIT-Dialplan: true
  2516. Channel-Presence-ID: 902128240166%40148.251.195.149
  2517. Channel-Call-UUID: fe83c1cb-93c5-4174-a45c-ba676f66f957
  2518. Answer-State: ringing
  2519. Channel-Read-Codec-Name: PCMA
  2520. Channel-Read-Codec-Rate: 8000
  2521. Channel-Read-Codec-Bit-Rate: 64000
  2522. Channel-Write-Codec-Name: PCMA
  2523. Channel-Write-Codec-Rate: 8000
  2524. Channel-Write-Codec-Bit-Rate: 64000
  2525. Caller-Direction: inbound
  2526. Caller-Logical-Direction: inbound
  2527. Caller-Username: 902128240166
  2528. Caller-Dialplan: XML
  2529. Caller-Caller-ID-Name: 902128240166
  2530. Caller-Caller-ID-Number: 902128240166
  2531. Caller-Orig-Caller-ID-Name: 902128240166
  2532. Caller-Orig-Caller-ID-Number: 902128240166
  2533. Caller-Network-Addr: 148.251.195.149
  2534. Caller-ANI: 902128240166
  2535. Caller-Destination-Number: 3526905414358116
  2536. Caller-Unique-ID: fe83c1cb-93c5-4174-a45c-ba676f66f957
  2537. Caller-Source: mod_sofia
  2538. Caller-Context: default
  2539. Caller-Channel-Name: sofia/default/902128240166%40148.251.195.149
  2540. Caller-Profile-Index: 1
  2541. Caller-Profile-Created-Time: 1656926347173243
  2542. Caller-Channel-Created-Time: 1656926347173243
  2543. Caller-Channel-Answered-Time: 0
  2544. Caller-Channel-Progress-Time: 0
  2545. Caller-Channel-Progress-Media-Time: 0
  2546. Caller-Channel-Hangup-Time: 0
  2547. Caller-Channel-Transfer-Time: 0
  2548. Caller-Channel-Resurrect-Time: 0
  2549. Caller-Channel-Bridged-Time: 0
  2550. Caller-Channel-Last-Hold: 0
  2551. Caller-Channel-Hold-Accum: 0
  2552. Caller-Screen-Bit: true
  2553. Caller-Privacy-Hide-Name: false
  2554. Caller-Privacy-Hide-Number: false
  2555. variable_direction: inbound
  2556. variable_uuid: fe83c1cb-93c5-4174-a45c-ba676f66f957
  2557. variable_session_id: 2864652
  2558. variable_sip_from_user: 902128240166
  2559. variable_sip_from_uri: 902128240166%40148.251.195.149
  2560. variable_sip_from_host: 148.251.195.149
  2561. variable_video_media_flow: disabled
  2562. variable_text_media_flow: disabled
  2563. variable_channel_name: sofia/default/902128240166%40148.251.195.149
  2564. variable_sip_call_id: 04f0f516112a5ba63bcee8ef4bfa2d0c%40148.251.195.149%3A5060
  2565. variable_sip_local_network_addr: 82.214.92.3
  2566. variable_sip_network_ip: 148.251.195.149
  2567. variable_sip_network_port: 5060
  2568. variable_sip_invite_stamp: 1656926347173243
  2569. variable_sip_received_ip: 148.251.195.149
  2570. variable_sip_received_port: 5060
  2571. variable_sip_via_protocol: udp
  2572. variable_sip_authorized: true
  2573. variable_sip_acl_authed_by: default
  2574. variable_sip_from_user_stripped: 902128240166
  2575. variable_sip_from_tag: as67103867
  2576. variable_sofia_profile_name: default
  2577. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  2578. variable_recovery_profile_name: default
  2579. variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK731ad86a
  2580. variable_sip_full_from: %3Csip%3A902128240166%40148.251.195.149%3E%3Btag%3Das67103867
  2581. variable_sip_full_to: %3Csip%3A3526905414358116%40sipp.skytel.rs%3A5060%3E
  2582. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  2583. variable_sip_req_user: 3526905414358116
  2584. variable_sip_req_port: 5060
  2585. variable_sip_req_uri: 3526905414358116%40sipp.skytel.rs%3A5060
  2586. variable_sip_req_host: sipp.skytel.rs
  2587. variable_sip_to_user: 3526905414358116
  2588. variable_sip_to_port: 5060
  2589. variable_sip_to_uri: 3526905414358116%40sipp.skytel.rs%3A5060
  2590. variable_sip_to_host: sipp.skytel.rs
  2591. variable_sip_contact_user: 902128240166
  2592. variable_sip_contact_port: 5060
  2593. variable_sip_contact_uri: 902128240166%40148.251.195.149%3A5060
  2594. variable_sip_contact_host: 148.251.195.149
  2595. variable_sip_user_agent: SIP.IO
  2596. variable_sip_via_host: 148.251.195.149
  2597. variable_sip_via_port: 5060
  2598. variable_max_forwards: 70
  2599. variable_presence_id: 902128240166%40148.251.195.149
  2600. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202092694556%202092694556%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2032186%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  2601. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  2602. variable_rtp_use_codec_string: PCMA,PCMU
  2603. variable_remote_video_media_flow: inactive
  2604. variable_remote_text_media_flow: inactive
  2605. variable_remote_audio_media_flow: sendrecv
  2606. variable_audio_media_flow: sendrecv
  2607. variable_remote_media_ip: 95.216.40.232
  2608. variable_remote_media_port: 32186
  2609. variable_rtp_audio_recv_pt: 8
  2610. variable_rtp_use_codec_name: PCMA
  2611. variable_rtp_use_codec_rate: 8000
  2612. variable_rtp_use_codec_ptime: 20
  2613. variable_rtp_use_codec_channels: 1
  2614. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  2615. variable_read_codec: PCMA
  2616. variable_original_read_codec: PCMA
  2617. variable_read_rate: 8000
  2618. variable_original_read_rate: 8000
  2619. variable_write_codec: PCMA
  2620. variable_write_rate: 8000
  2621. variable_dtmf_type: rfc2833
  2622. variable_endpoint_disposition: RECEIVED
  2623. variable_call_uuid: fe83c1cb-93c5-4174-a45c-ba676f66f957
  2624. Hunt-Direction: inbound
  2625. Hunt-Logical-Direction: inbound
  2626. Hunt-Username: 902128240166
  2627. Hunt-Dialplan: XML
  2628. Hunt-Caller-ID-Name: 902128240166
  2629. Hunt-Caller-ID-Number: 902128240166
  2630. Hunt-Orig-Caller-ID-Name: 902128240166
  2631. Hunt-Orig-Caller-ID-Number: 902128240166
  2632. Hunt-Network-Addr: 148.251.195.149
  2633. Hunt-ANI: 902128240166
  2634. Hunt-Destination-Number: 3526905414358116
  2635. Hunt-Unique-ID: fe83c1cb-93c5-4174-a45c-ba676f66f957
  2636. Hunt-Source: mod_sofia
  2637. Hunt-Context: default
  2638. Hunt-Channel-Name: sofia/default/902128240166%40148.251.195.149
  2639. Hunt-Profile-Index: 1
  2640. Hunt-Profile-Created-Time: 1656926347173243
  2641. Hunt-Channel-Created-Time: 1656926347173243
  2642. Hunt-Channel-Answered-Time: 0
  2643. Hunt-Channel-Progress-Time: 0
  2644. Hunt-Channel-Progress-Media-Time: 0
  2645. Hunt-Channel-Hangup-Time: 0
  2646. Hunt-Channel-Transfer-Time: 0
  2647. Hunt-Channel-Resurrect-Time: 0
  2648. Hunt-Channel-Bridged-Time: 0
  2649. Hunt-Channel-Last-Hold: 0
  2650. Hunt-Channel-Hold-Accum: 0
  2651. Hunt-Screen-Bit: true
  2652. Hunt-Privacy-Hide-Name: false
  2653. Hunt-Privacy-Hide-Number: false
  2654.  
  2655.  
  2656. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  2657. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  2658. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  2659. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  2660. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  2661. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 3526905414358116
  2662. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3526905414358116' limit 1
  2663. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3526905414358116' AND status=0 limit 1
  2664. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3526905414358116' and status=0 LIMIT 1
  2665. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 902128240166 / 902128240166
  2666. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3526905414358116" LIMIT 1
  2667. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3526905414358116"  AND domains.domain="sipp.skytel.rs" limit 1
  2668. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  2669. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "3526905414358116"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  2670. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :3526/*.....3526905414358116
  2671. 2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3526905414358116
  2672. 2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 905414358116
  2673. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 6936562454]
  2674. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6936562454" AND deleted = 0 limit 1
  2675. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^905414358116.*' OR blocked_patterns = '^90541435811.*' OR blocked_patterns = '^9054143581.*' OR blocked_patterns = '^905414358.*' OR blocked_patterns = '^90541435.*' OR blocked_patterns = '^9054143.*' OR blocked_patterns = '^905414.*' OR blocked_patterns = '^90541.*' OR blocked_patterns = '^9054.*' OR blocked_patterns = '^905.*' OR blocked_patterns = '^90.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 44 limit 1
  2676. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="905414358116" AND (accountid = 0 OR status = 1) LIMIT 1
  2677. 2022-07-04 11:19:07.193244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 25
  2678. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 25 AND status=0 limit 1
  2679. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^905414358116.*' OR patterns = '^90541435811.*' OR patterns = '^9054143581.*' OR patterns = '^905414358.*' OR patterns = '^90541435.*' OR patterns = '^9054143.*' OR patterns = '^905414.*' OR patterns = '^90541.*' OR patterns = '^9054.*' OR patterns = '^905.*' OR patterns = '^90.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2680. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="905414358116" AND A.accountid = '44' limit 1
  2681. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 905414358116
  2682. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="905414358116" LIMIT 1
  2683. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="905414358116"  AND domains.domain="sipp.skytel.rs" limit 1
  2684. 2022-07-04 11:19:07.193244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  2685. 2022-07-04 11:19:07.193244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '905414358116' OR number = '90541435811' OR number = '9054143581' OR number = '905414358' OR number = '90541435' OR number = '9054143' OR number = '905414' OR number = '90541' OR number = '9054' OR number = '905' OR number = '90' OR number = '9' OR number ='--') OR (number = '905414358116*' OR number = '90541435811*' OR number = '9054143581*' OR number = '905414358*' OR number = '90541435*' OR number = '9054143*' OR number = '905414*' OR number = '90541*' OR number = '9054*' OR number = '905*' OR number = '90*' OR number = '9*' OR number ='--') OR (number = '902128240166' OR number = '90212824016' OR number = '9021282401' OR number = '902128240' OR number = '90212824' OR number = '9021282' OR number = '902128' OR number = '90212' OR number = '9021' OR number = '902' OR number = '90' OR number = '9' OR number ='--') OR (number = '902128240166*' OR number = '90212824016*' OR number = '9021282401*' OR number = '902128240*' OR number = '90212824*' OR number = '9021282*' OR number = '902128*' OR number = '90212*' OR number = '9021*' OR number = '902*' OR number = '90*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2686. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  2687. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 902128240166
  2688. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 4
  2689. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='902128240166' and status=0
  2690. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] COUNT :1
  2691. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '905414358116' OR routing_prefix = '90541435811' OR routing_prefix = '9054143581' OR routing_prefix = '905414358' OR routing_prefix = '90541435' OR routing_prefix = '9054143' OR routing_prefix = '905414' OR routing_prefix = '90541' OR routing_prefix = '9054' OR routing_prefix = '905' OR routing_prefix = '90' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2692. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2693. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 44
  2694. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6936562454
  2695. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4160.333
  2696. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2697. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 12
  2698. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 4
  2699. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2700. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2701. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2702. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2703. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2704. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
  2705. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
  2706. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
  2707. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2708. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2709. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2710. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2711. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
  2712. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
  2713. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
  2714. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2715. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2716. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2717. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2718. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
  2719. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
  2720. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
  2721. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2722. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2723. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2724. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240166
  2725. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 902128240166
  2726. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 902128240459
  2727. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240459,902127020340/902128240459,902128240508/902128240459,902128240166/902128240459,902128242411/902128240459".....902128240459
  2728. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
  2729. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2730. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
  2731. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^905414358116.*' OR pattern = '^90541435811.*' OR pattern = '^9054143581.*' OR pattern = '^905414358.*' OR pattern = '^90541435.*' OR pattern = '^9054143.*' OR pattern = '^905414.*' OR pattern = '^90541.*' OR pattern = '^9054.*' OR pattern = '^905.*' OR pattern = '^90.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 12 OR accountid=44)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2732. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2733. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2734. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4356
  2735. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2736. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2737. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.14400
  2738. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Turkey - Mobile Vodafone
  2739. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 194
  2740. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 44
  2741. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  2742. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2743. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2744. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4160.333 balance Accountid 44 !!!
  2745. 2022-07-04 11:19:07.213236 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  2746. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  2747. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4356
  2748. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  2749. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=12 ORDER by id asc
  2750. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^905414358116.*' OR pattern = '^90541435811.*' OR pattern = '^9054143581.*' OR pattern = '^905414358.*' OR pattern = '^90541435.*' OR pattern = '^9054143.*' OR pattern = '^905414.*' OR pattern = '^90541.*' OR pattern = '^9054.*' OR pattern = '^905.*' OR pattern = '^90.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (11) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  2751. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  2752. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2753. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 367091
  2754. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9054.*
  2755. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Turkey - Mobile Vodafone
  2756. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2757. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2758. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9054.*
  2759. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2760. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2761. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 11
  2762. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
  2763. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2764. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
  2765. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  2766. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 12
  2767. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel-TURKEY
  2768. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2769. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 44 AND status=0 LIMIT 1
  2770. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  2771. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2772. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2773. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  2774. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
  2775. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 902128240459
  2776. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
  2777. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 11) AND status=0 limit 1
  2778. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
  2779. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
  2780. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
  2781. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
  2782. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
  2783. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"902162340656/902128240166,902127020340/902128240166,902128240508/902128240166".....902128240459
  2784. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 902128240459
  2785. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 902128240459
  2786. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 4
  2787. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='902128240459' and status=0
  2788. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] COUNT :1
  2789. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3526905414358116" LIMIT 1
  2790. 2022-07-04 11:19:07.213236 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 902128240459
  2791. 2022-07-04 11:19:07.213236 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2792. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2793. <document type="freeswitch/xml">
  2794. <section name="dialplan" description="ASTPP Dialplan">
  2795. <context name="default">
  2796. <extension name="905414358116">
  2797. <condition field="destination_number" expression="3526905414358116">
  2798. <action application="set" data="effective_destination_number=905414358116"/>
  2799. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2800. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2801. <action application="set" data="callstart=2022-07-04 09:19:06"/>
  2802. <action application="set" data="hangup_after_bridge=true"/>
  2803. <action application="set" data="continue_on_fail=TRUE"/>
  2804. <action application="set" data="account_id=44"/>
  2805. <action application="set" data="parent_id=0"/>
  2806. <action application="set" data="entity_id=0"/>
  2807. <action application="set" data="call_processed=internal"/>
  2808. <action application="set" data="call_direction=outbound"/>
  2809. <action application="set" data="accountname=OIM-Turkey"/>
  2810. <action application="set" data="origination_rates=ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44"/>
  2811. <action application="set" data="original_caller_id_name=902128240459"/>
  2812. <action application="set" data="original_caller_id_number=902128240459"/>
  2813. <action application="limit" data="db 6936562454 user_6936562454 100 "/>
  2814. <action application="limit" data="hash CPS_6936562454 CPS_user_6936562454 50/1 "/>
  2815.  
  2816. <action application="set" data="effective_caller_id_name=902128240459"/>
  2817. <action application="set" data="effective_caller_id_number=902128240459"/>
  2818. <action application="set" data="calltype=STANDARD"/>
  2819. <action application="set" data="termination_rates=ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9"/>
  2820. <action application="set" data="trunk_id=11"/>
  2821. <action application="set" data="provider_id=9"/>
  2822. <action application="set" data="rate_flag=0"/>
  2823. <action application="set" data="force_trunk_flag=4356"/>
  2824. <action application="export" data="presence_data=trunk_id=11"/>
  2825. <action application="set" data="intcall=0"/>
  2826. <action application="export" data="presence_id=905414358116"/>
  2827. <action application="export" data="presence_data=x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149"/>
  2828. <action application="ring_ready"/>
  2829. <action application="limit" data="hash CPS_11 CPS_trunk_11 6/1 "/>
  2830. <action application="limit" data="db NovaTel212 gw_NovaTel212 12 "/>
  2831. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/905414358116"/>
  2832. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/905414358116"/>
  2833. </condition>
  2834. </extension>
  2835. </context>
  2836. </section>
  2837. </document>
  2838. Dialplan: sofia/default/902128240166@148.251.195.149 parsing [default->905414358116] continue=false
  2839. Dialplan: sofia/default/902128240166@148.251.195.149 Regex (PASS) [905414358116] destination_number(3526905414358116) =~ /3526905414358116/ break=on-false
  2840. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(effective_destination_number=905414358116)
  2841. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2842. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2843. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(callstart=2022-07-04 09:19:06)
  2844. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(hangup_after_bridge=true)
  2845. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(continue_on_fail=TRUE)
  2846. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(account_id=44)
  2847. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(parent_id=0)
  2848. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(entity_id=0)
  2849. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(call_processed=internal)
  2850. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(call_direction=outbound)
  2851. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(accountname=OIM-Turkey)
  2852. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(origination_rates=ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44)
  2853. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(original_caller_id_name=902128240459)
  2854. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(original_caller_id_number=902128240459)
  2855. Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(db 6936562454 user_6936562454 100 )
  2856. Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(hash CPS_6936562454 CPS_user_6936562454 50/1 )
  2857. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(effective_caller_id_name=902128240459)
  2858. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(effective_caller_id_number=902128240459)
  2859. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(calltype=STANDARD)
  2860. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(termination_rates=ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9)
  2861. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(trunk_id=11)
  2862. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(provider_id=9)
  2863. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(rate_flag=0)
  2864. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(force_trunk_flag=4356)
  2865. Dialplan: sofia/default/902128240166@148.251.195.149 Action export(presence_data=trunk_id=11)
  2866. Dialplan: sofia/default/902128240166@148.251.195.149 Action set(intcall=0)
  2867. Dialplan: sofia/default/902128240166@148.251.195.149 Action export(presence_id=905414358116)
  2868. Dialplan: sofia/default/902128240166@148.251.195.149 Action export(presence_data=x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149)
  2869. Dialplan: sofia/default/902128240166@148.251.195.149 Action ring_ready()
  2870. Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(hash CPS_11 CPS_trunk_11 6/1 )
  2871. Dialplan: sofia/default/902128240166@148.251.195.149 Action limit(db NovaTel212 gw_NovaTel212 12 )
  2872. Dialplan: sofia/default/902128240166@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/905414358116)
  2873. Dialplan: sofia/default/902128240166@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/905414358116)
  2874. 2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:287 (sofia/default/902128240166@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
  2875. 2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:644 (sofia/default/902128240166@148.251.195.149) State ROUTING going to sleep
  2876. 2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:585 (sofia/default/902128240166@148.251.195.149) Running State Change CS_EXECUTE (Cur 69 Tot 2864652)
  2877. 2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:651 (sofia/default/902128240166@148.251.195.149) State EXECUTE
  2878. 2022-07-04 11:19:07.213236 [DEBUG] mod_sofia.c:209 sofia/default/902128240166@148.251.195.149 SOFIA EXECUTE
  2879. 2022-07-04 11:19:07.213236 [DEBUG] switch_core_state_machine.c:329 sofia/default/902128240166@148.251.195.149 Standard EXECUTE
  2880. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(effective_destination_number=905414358116)
  2881. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [effective_destination_number]=[905414358116]
  2882. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
  2883. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2884. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2885. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2886. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(callstart=2022-07-04 09:19:06)
  2887. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [callstart]=[2022-07-04 09:19:06]
  2888. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(hangup_after_bridge=true)
  2889. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [hangup_after_bridge]=[true]
  2890. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(continue_on_fail=TRUE)
  2891. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [continue_on_fail]=[TRUE]
  2892. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(account_id=44)
  2893. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [account_id]=[44]
  2894. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(parent_id=0)
  2895. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [parent_id]=[0]
  2896. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(entity_id=0)
  2897. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [entity_id]=[0]
  2898. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(call_processed=internal)
  2899. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [call_processed]=[internal]
  2900. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(call_direction=outbound)
  2901. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [call_direction]=[outbound]
  2902. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(accountname=OIM-Turkey)
  2903. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [accountname]=[OIM-Turkey]
  2904. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(origination_rates=ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44)
  2905. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [origination_rates]=[ID:4356|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.14400|INC:2|INITIALBLOCK:2|RATEGROUP:12|MARKUP:0|CI:194|ACCID:44]
  2906. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(original_caller_id_name=902128240459)
  2907. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [original_caller_id_name]=[902128240459]
  2908. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(original_caller_id_number=902128240459)
  2909. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [original_caller_id_number]=[902128240459]
  2910. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(db 6936562454 user_6936562454 100 )
  2911. 2022-07-04 11:19:07.213236 [DEBUG] switch_limit.c:124 incr called: 6936562454_user_6936562454 max:100, interval:0
  2912. 2022-07-04 11:19:07.213236 [DEBUG] mod_db.c:194 Usage for 6936562454_user_6936562454 is now 5/100
  2913. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(hash CPS_6936562454 CPS_user_6936562454 50/1 )
  2914. 2022-07-04 11:19:07.213236 [DEBUG] switch_limit.c:124 incr called: CPS_6936562454_CPS_user_6936562454 max:50, interval:1
  2915. 2022-07-04 11:19:07.213236 [DEBUG] mod_hash.c:198 Usage for CPS_6936562454_CPS_user_6936562454 is now 1/50 for the last 1 seconds
  2916. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(effective_caller_id_name=902128240459)
  2917. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [effective_caller_id_name]=[902128240459]
  2918. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(effective_caller_id_number=902128240459)
  2919. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [effective_caller_id_number]=[902128240459]
  2920. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(calltype=STANDARD)
  2921. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [calltype]=[STANDARD]
  2922. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(termination_rates=ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9)
  2923. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [termination_rates]=[ID:367091|CODE:^9054.*|DESTINATION:Turkey - Mobile Vodafone|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:1|INITIALBLOCK:1|TRUNK:11|PROVIDER:9]
  2924. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(trunk_id=11)
  2925. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [trunk_id]=[11]
  2926. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(provider_id=9)
  2927. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [provider_id]=[9]
  2928. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(rate_flag=0)
  2929. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [rate_flag]=[0]
  2930. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(force_trunk_flag=4356)
  2931. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [force_trunk_flag]=[4356]
  2932. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 export(presence_data=trunk_id=11)
  2933. 2022-07-04 11:19:07.213236 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=11]
  2934. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 set(intcall=0)
  2935. 2022-07-04 11:19:07.213236 [DEBUG] mod_dptools.c:1685 SET sofia/default/902128240166@148.251.195.149 [intcall]=[0]
  2936. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 export(presence_id=905414358116)
  2937. 2022-07-04 11:19:07.213236 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[905414358116]
  2938. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 export(presence_data=x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149)
  2939. 2022-07-04 11:19:07.213236 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149]
  2940. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 ring_ready()
  2941. 2022-07-04 11:19:07.233242 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/902128240166@148.251.195.149!
  2942. 2022-07-04 11:19:07.233242 [DEBUG] sofia.c:7406 Channel sofia/default/902128240166@148.251.195.149 entering state [early][180]
  2943. 2022-07-04 11:19:07.233242 [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/902128240166@148.251.195.149!
  2944. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(hash CPS_11 CPS_trunk_11 6/1 )
  2945. 2022-07-04 11:19:07.233242 [DEBUG] switch_limit.c:124 incr called: CPS_11_CPS_trunk_11 max:6, interval:1
  2946. 2022-07-04 11:19:07.233242 [DEBUG] mod_hash.c:198 Usage for CPS_11_CPS_trunk_11 is now 1/6 for the last 1 seconds
  2947. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 limit(db NovaTel212 gw_NovaTel212 12 )
  2948. 2022-07-04 11:19:07.233242 [DEBUG] switch_limit.c:124 incr called: NovaTel212_gw_NovaTel212 max:12, interval:0
  2949. 2022-07-04 11:19:07.233242 [DEBUG] mod_db.c:194 Usage for NovaTel212_gw_NovaTel212 is now 4/12
  2950. EXECUTE [depth=0] sofia/default/902128240166@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/905414358116)
  2951. 2022-07-04 11:19:07.233242 [DEBUG] switch_channel.c:1264 sofia/default/902128240166@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149] to event
  2952. 2022-07-04 11:19:07.233242 [DEBUG] switch_channel.c:1264 sofia/default/902128240166@148.251.195.149 EXPORTING[export_vars] [presence_id]=[905414358116] to event
  2953. 2022-07-04 11:19:07.233242 [DEBUG] switch_channel.c:1264 sofia/default/902128240166@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMTurkey(6936562454)|||^9054.* // Turkey - Mobile Vodafone // 0.14400 |||NovaTel-TURKEY // ^9054.* // Turkey - Mobile Vodafone // 0.12000 // trunk_id=11|||STD|||148.251.195.149] to event
  2954. 2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  2955. 2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  2956. 2022-07-04 11:19:07.233242 [NOTICE] switch_channel.c:1118 New Channel sofia/default/905414358116 [cca231d9-7429-436d-9acf-7b4dacc0dbe6]
  2957. 2022-07-04 11:19:07.233242 [DEBUG] mod_sofia.c:5102 (sofia/default/905414358116) State Change CS_NEW -> CS_INIT
  2958. 2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:3142 sofia/default/905414358116 Setting leg timeout to 45
  2959. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414358116) Running State Change CS_INIT (Cur 70 Tot 2864653)
  2960. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/905414358116) State INIT
  2961. 2022-07-04 11:19:07.233242 [DEBUG] mod_sofia.c:93 sofia/default/905414358116 SOFIA INIT
  2962. 2022-07-04 11:19:07.233242 [INFO] sofia_glue.c:1621 sofia/default/905414358116 sending invite call-id: (null)
  2963. 2022-07-04 11:19:07.233242 [DEBUG] sofia_glue.c:1624 sofia/default/905414358116 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  2964. Local SDP:
  2965. v=0
  2966. o=FreeSWITCH 1656903817 1656903818 IN IP4 82.214.92.3
  2967. s=FreeSWITCH
  2968. c=IN IP4 82.214.92.3
  2969. t=0 0
  2970. m=audio 22530 RTP/AVP 8 0 101
  2971. a=rtpmap:8 PCMA/8000
  2972. a=rtpmap:0 PCMU/8000
  2973. a=rtpmap:101 telephone-event/8000
  2974. a=fmtp:101 0-16
  2975. a=ptime:20
  2976. a=sendrecv
  2977.  
  2978. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:40 sofia/default/905414358116 Standard INIT
  2979. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:48 (sofia/default/905414358116) State Change CS_INIT -> CS_ROUTING
  2980. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:628 (sofia/default/905414358116) State INIT going to sleep
  2981. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414358116) Running State Change CS_ROUTING (Cur 70 Tot 2864653)
  2982. 2022-07-04 11:19:07.233242 [DEBUG] sofia.c:7406 Channel sofia/default/905414358116 entering state [calling][0]
  2983. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:644 (sofia/default/905414358116) State ROUTING
  2984. 2022-07-04 11:19:07.233242 [DEBUG] mod_sofia.c:154 sofia/default/905414358116 SOFIA ROUTING
  2985. 2022-07-04 11:19:07.233242 [DEBUG] switch_ivr_originate.c:67 (sofia/default/905414358116) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2986. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:644 (sofia/default/905414358116) State ROUTING going to sleep
  2987. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/905414358116) Running State Change CS_CONSUME_MEDIA (Cur 70 Tot 2864653)
  2988. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:663 (sofia/default/905414358116) State CONSUME_MEDIA
  2989. 2022-07-04 11:19:07.233242 [DEBUG] switch_core_state_machine.c:663 (sofia/default/905414358116) State CONSUME_MEDIA going to sleep
  2990. 2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [proceeding][183]
  2991. 2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7416 Remote SDP:
  2992. v=0
  2993. o=- 1656908831 1656908834 IN IP4 91.208.225.236
  2994. s=Novatel
  2995. c=IN IP4 91.208.225.236
  2996. t=0 0
  2997. m=audio 15658 RTP/AVP 8 0 101
  2998. a=rtpmap:8 PCMA/8000
  2999. a=rtpmap:0 PCMU/8000
  3000. a=rtpmap:101 telephone-event/8000
  3001. a=fmtp:101 0-16
  3002. a=ptime:20
  3003. a=maxptime:150
  3004.  
  3005. 2022-07-04 11:19:07.973239 [NOTICE] sofia.c:7419 Pre-Answer sofia/default/38631890254!
  3006. 2022-07-04 11:19:07.973239 [DEBUG] switch_channel.c:3565 (sofia/default/38631890254) Callstate Change DOWN -> EARLY
  3007. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3008. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3009. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3010. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3011. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3012. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3013. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  3014. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38631890254 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3015. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_codec.c:111 sofia/default/38631890254 Original read codec set to PCMA:8
  3016. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  3017. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5918 sofia/default/38631890254 Set 2833 dtmf send payload to 101 recv payload to 101
  3018. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38631890254] 82.214.92.3 port 17516 -> 91.208.225.236 port 15658 codec: 8 ms: 20
  3019. 2022-07-04 11:19:07.973239 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  3020. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8989 sofia/default/38631890254 Set 2833 dtmf send payload to 101
  3021. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8996 sofia/default/38631890254 Set 2833 dtmf receive payload to 101
  3022. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:9019 sofia/default/38631890254 Set rtp dtmf delay to 40
  3023. 2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [proceeding][183]
  3024. 2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7413 Duplicate SDP
  3025. v=0
  3026. o=- 1656908831 1656908834 IN IP4 91.208.225.236
  3027. s=Novatel
  3028. c=IN IP4 91.208.225.236
  3029. t=0 0
  3030. m=audio 15658 RTP/AVP 8 0 101
  3031. a=rtpmap:8 PCMA/8000
  3032. a=rtpmap:0 PCMU/8000
  3033. a=rtpmap:101 telephone-event/8000
  3034. a=fmtp:101 0-16
  3035. a=ptime:20
  3036. a=maxptime:150
  3037.  
  3038. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3039. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3040. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3041. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3042. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3043. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3044. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  3045. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  3046. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:5918 sofia/default/38631890254 Set 2833 dtmf send payload to 101 recv payload to 101
  3047. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8657 Audio params are unchanged for sofia/default/38631890254.
  3048. 2022-07-04 11:19:07.973239 [INFO] switch_ivr_originate.c:3832 Sending early media
  3049. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/38618282990@148.251.195.149] 82.214.92.3 port 25638 -> 95.216.40.232 port 25120 codec: 8 ms: 20
  3050. 2022-07-04 11:19:07.973239 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  3051. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8989 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101
  3052. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:8996 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf receive payload to 101
  3053. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_media.c:9019 sofia/default/38618282990@148.251.195.149 Set rtp dtmf delay to 40
  3054. 2022-07-04 11:19:07.973239 [DEBUG] mod_sofia.c:2593 Ring SDP:
  3055. v=0
  3056. o=FreeSWITCH 1656900709 1656900710 IN IP4 82.214.92.3
  3057. s=FreeSWITCH
  3058. c=IN IP4 82.214.92.3
  3059. t=0 0
  3060. m=audio 25638 RTP/AVP 8 101
  3061. a=rtpmap:8 PCMA/8000
  3062. a=rtpmap:101 telephone-event/8000
  3063. a=fmtp:101 0-16
  3064. a=ptime:20
  3065. a=sendrecv
  3066.  
  3067. 2022-07-04 11:19:07.973239 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/38618282990@148.251.195.149!
  3068. 2022-07-04 11:19:07.973239 [DEBUG] switch_channel.c:3565 (sofia/default/38618282990@148.251.195.149) Callstate Change RINGING -> EARLY
  3069. 2022-07-04 11:19:07.973239 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/38631890254]
  3070. 2022-07-04 11:19:07.973239 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [early][183]
  3071. 2022-07-04 11:19:07.973239 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/38631890254) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3072. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631890254) Running State Change CS_EXCHANGE_MEDIA (Cur 70 Tot 2864653)
  3073. 2022-07-04 11:19:07.973239 [DEBUG] switch_core_state_machine.c:654 (sofia/default/38631890254) State EXCHANGE_MEDIA
  3074. 2022-07-04 11:19:07.973239 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  3075. 2022-07-04 11:19:08.133242 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  3076. 2022-07-04 11:19:08.153230 [DEBUG] sofia.c:7406 Channel sofia/default/38631890254 entering state [proceeding][183]
  3077. 2022-07-04 11:19:08.153230 [DEBUG] sofia.c:7413 Duplicate SDP
  3078. v=0
  3079. o=- 1656908831 1656908834 IN IP4 91.208.225.236
  3080. s=Novatel
  3081. c=IN IP4 91.208.225.236
  3082. t=0 0
  3083. m=audio 15658 RTP/AVP 8 0 101
  3084. a=rtpmap:8 PCMA/8000
  3085. a=rtpmap:0 PCMU/8000
  3086. a=rtpmap:101 telephone-event/8000
  3087. a=fmtp:101 0-16
  3088. a=ptime:20
  3089. a=maxptime:150
  3090.  
  3091. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3092. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3093. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3094. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3095. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3096. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3097. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  3098. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  3099. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:5918 sofia/default/38631890254 Set 2833 dtmf send payload to 101 recv payload to 101
  3100. 2022-07-04 11:19:08.153230 [DEBUG] switch_core_media.c:8657 Audio params are unchanged for sofia/default/38631890254.
  3101. 2022-07-04 11:19:08.173230 [DEBUG] switch_ivr_bridge.c:655 sofia/default/38631890254 Bridge execute app sched_hangup(+6000 normal_clearing)
  3102. 2022-07-04 11:19:08.193231 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  3103. 2022-07-04 11:19:08.193231 [DEBUG] switch_ivr.c:632 sofia/default/38631890254 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  3104. EXECUTE [depth=0] sofia/default/38631890254 sched_hangup(+6000 normal_clearing)
  3105. 2022-07-04 11:19:08.193231 [DEBUG] switch_scheduler.c:263 Added task 960254 switch_ivr_schedule_hangup (56b9b871-a70d-4a15-bb06-07cade58e43f) to run at 1656932348
  3106. 2022-07-04 11:19:08.433241 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38617775044@148.251.195.149 [10513930-fe0b-4201-97f3-ea87d90f3606]
  3107. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_NEW (Cur 71 Tot 2864654)
  3108. 2022-07-04 11:19:08.433241 [INFO] sofia.c:10362 sofia/default/38617775044@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 692490c22dac6f156906746379d0a923@148.251.195.149:5060
  3109. 2022-07-04 11:19:08.433241 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
  3110. 2022-07-04 11:19:08.433241 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
  3111. 2022-07-04 11:19:08.433241 [DEBUG] sofia.c:7406 Channel sofia/default/38617775044@148.251.195.149 entering state [received][100]
  3112. 2022-07-04 11:19:08.433241 [DEBUG] sofia.c:7416 Remote SDP:
  3113. v=0
  3114. o=root 1896847229 1896847229 IN IP4 95.216.40.232
  3115. s=SIP.IO
  3116. c=IN IP4 95.216.40.232
  3117. t=0 0
  3118. m=audio 26858 RTP/AVP 8 101
  3119. a=rtpmap:8 PCMA/8000
  3120. a=rtpmap:101 telephone-event/8000
  3121. a=fmtp:101 0-16
  3122. a=silenceSupp:off - - - -
  3123. a=ptime:20
  3124.  
  3125. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3126. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3127. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3128. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  3129. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38617775044@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3130. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_codec.c:111 sofia/default/38617775044@148.251.195.149 Original read codec set to PCMA:8
  3131. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  3132. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_media.c:5918 sofia/default/38617775044@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
  3133. 2022-07-04 11:19:08.433241 [DEBUG] sofia.c:7840 (sofia/default/38617775044@148.251.195.149) State Change CS_NEW -> CS_INIT
  3134. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38617775044@148.251.195.149) State NEW
  3135. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_INIT (Cur 71 Tot 2864654)
  3136. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38617775044@148.251.195.149) State INIT
  3137. 2022-07-04 11:19:08.433241 [DEBUG] mod_sofia.c:93 sofia/default/38617775044@148.251.195.149 SOFIA INIT
  3138. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:40 sofia/default/38617775044@148.251.195.149 Standard INIT
  3139. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38617775044@148.251.195.149) State Change CS_INIT -> CS_ROUTING
  3140. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38617775044@148.251.195.149) State INIT going to sleep
  3141. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_ROUTING (Cur 71 Tot 2864654)
  3142. 2022-07-04 11:19:08.433241 [DEBUG] switch_channel.c:2332 (sofia/default/38617775044@148.251.195.149) Callstate Change DOWN -> RINGING
  3143. 2022-07-04 11:19:08.433241 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38617775044@148.251.195.149) State ROUTING
  3144. 2022-07-04 11:19:08.433241 [DEBUG] mod_sofia.c:154 sofia/default/38617775044@148.251.195.149 SOFIA ROUTING
  3145. 2022-07-04 11:19:08.453247 [DEBUG] switch_core_state_machine.c:236 sofia/default/38617775044@148.251.195.149 Standard ROUTING
  3146. 2022-07-04 11:19:08.453247 [INFO] mod_dialplan_xml.c:637 Processing 38617775044 <38617775044>->118638631209560 in context default
  3147. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3148. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3149. 2022-07-04 11:19:08.453247 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  3150. Event-Name: REQUEST_PARAMS
  3151. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  3152. FreeSWITCH-Hostname: ASTPP5
  3153. FreeSWITCH-Switchname: ASTPP5
  3154. FreeSWITCH-IPv4: 82.214.92.3
  3155. FreeSWITCH-IPv6: %3A%3A1
  3156. Event-Date-Local: 2022-07-04%2011%3A19%3A08
  3157. Event-Date-GMT: Mon,%2004%20Jul%202022%2009%3A19%3A08%20GMT
  3158. Event-Date-Timestamp: 1656926348453247
  3159. Event-Calling-File: mod_dialplan_xml.c
  3160. Event-Calling-Function: dialplan_xml_locate
  3161. Event-Calling-Line-Number: 608
  3162. Event-Sequence: 150867364
  3163. Channel-State: CS_ROUTING
  3164. Channel-Call-State: RINGING
  3165. Channel-State-Number: 2
  3166. Channel-Name: sofia/default/38617775044%40148.251.195.149
  3167. Unique-ID: 10513930-fe0b-4201-97f3-ea87d90f3606
  3168. Call-Direction: inbound
  3169. Presence-Call-Direction: inbound
  3170. Channel-HIT-Dialplan: true
  3171. Channel-Presence-ID: 38617775044%40148.251.195.149
  3172. Channel-Call-UUID: 10513930-fe0b-4201-97f3-ea87d90f3606
  3173. Answer-State: ringing
  3174. Channel-Read-Codec-Name: PCMA
  3175. Channel-Read-Codec-Rate: 8000
  3176. Channel-Read-Codec-Bit-Rate: 64000
  3177. Channel-Write-Codec-Name: PCMA
  3178. Channel-Write-Codec-Rate: 8000
  3179. Channel-Write-Codec-Bit-Rate: 64000
  3180. Caller-Direction: inbound
  3181. Caller-Logical-Direction: inbound
  3182. Caller-Username: 38617775044
  3183. Caller-Dialplan: XML
  3184. Caller-Caller-ID-Name: 38617775044
  3185. Caller-Caller-ID-Number: 38617775044
  3186. Caller-Orig-Caller-ID-Name: 38617775044
  3187. Caller-Orig-Caller-ID-Number: 38617775044
  3188. Caller-Network-Addr: 148.251.195.149
  3189. Caller-ANI: 38617775044
  3190. Caller-Destination-Number: 118638631209560
  3191. Caller-Unique-ID: 10513930-fe0b-4201-97f3-ea87d90f3606
  3192. Caller-Source: mod_sofia
  3193. Caller-Context: default
  3194. Caller-Channel-Name: sofia/default/38617775044%40148.251.195.149
  3195. Caller-Profile-Index: 1
  3196. Caller-Profile-Created-Time: 1656926348433241
  3197. Caller-Channel-Created-Time: 1656926348433241
  3198. Caller-Channel-Answered-Time: 0
  3199. Caller-Channel-Progress-Time: 0
  3200. Caller-Channel-Progress-Media-Time: 0
  3201. Caller-Channel-Hangup-Time: 0
  3202. Caller-Channel-Transfer-Time: 0
  3203. Caller-Channel-Resurrect-Time: 0
  3204. Caller-Channel-Bridged-Time: 0
  3205. Caller-Channel-Last-Hold: 0
  3206. Caller-Channel-Hold-Accum: 0
  3207. Caller-Screen-Bit: true
  3208. Caller-Privacy-Hide-Name: false
  3209. Caller-Privacy-Hide-Number: false
  3210. variable_direction: inbound
  3211. variable_uuid: 10513930-fe0b-4201-97f3-ea87d90f3606
  3212. variable_session_id: 2864654
  3213. variable_sip_from_user: 38617775044
  3214. variable_sip_from_uri: 38617775044%40148.251.195.149
  3215. variable_sip_from_host: 148.251.195.149
  3216. variable_video_media_flow: disabled
  3217. variable_text_media_flow: disabled
  3218. variable_channel_name: sofia/default/38617775044%40148.251.195.149
  3219. variable_sip_call_id: 692490c22dac6f156906746379d0a923%40148.251.195.149%3A5060
  3220. variable_sip_local_network_addr: 82.214.92.3
  3221. variable_sip_network_ip: 148.251.195.149
  3222. variable_sip_network_port: 5060
  3223. variable_sip_invite_stamp: 1656926348433241
  3224. variable_sip_received_ip: 148.251.195.149
  3225. variable_sip_received_port: 5060
  3226. variable_sip_via_protocol: udp
  3227. variable_sip_authorized: true
  3228. variable_sip_acl_authed_by: default
  3229. variable_sip_from_user_stripped: 38617775044
  3230. variable_sip_from_tag: as5316669a
  3231. variable_sofia_profile_name: default
  3232. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  3233. variable_recovery_profile_name: default
  3234. variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK1f33a369
  3235. variable_sip_full_from: %3Csip%3A38617775044%40148.251.195.149%3E%3Btag%3Das5316669a
  3236. variable_sip_full_to: %3Csip%3A118638631209560%40sipp.skytel.rs%3A5060%3E
  3237. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  3238. variable_sip_req_user: 118638631209560
  3239. variable_sip_req_port: 5060
  3240. variable_sip_req_uri: 118638631209560%40sipp.skytel.rs%3A5060
  3241. variable_sip_req_host: sipp.skytel.rs
  3242. variable_sip_to_user: 118638631209560
  3243. variable_sip_to_port: 5060
  3244. variable_sip_to_uri: 118638631209560%40sipp.skytel.rs%3A5060
  3245. variable_sip_to_host: sipp.skytel.rs
  3246. variable_sip_contact_user: 38617775044
  3247. variable_sip_contact_port: 5060
  3248. variable_sip_contact_uri: 38617775044%40148.251.195.149%3A5060
  3249. variable_sip_contact_host: 148.251.195.149
  3250. variable_sip_user_agent: SIP.IO
  3251. variable_sip_via_host: 148.251.195.149
  3252. variable_sip_via_port: 5060
  3253. variable_max_forwards: 70
  3254. variable_presence_id: 38617775044%40148.251.195.149
  3255. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201896847229%201896847229%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2026858%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  3256. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  3257. variable_rtp_use_codec_string: PCMA,PCMU
  3258. variable_remote_video_media_flow: inactive
  3259. variable_remote_text_media_flow: inactive
  3260. variable_remote_audio_media_flow: sendrecv
  3261. variable_audio_media_flow: sendrecv
  3262. variable_remote_media_ip: 95.216.40.232
  3263. variable_remote_media_port: 26858
  3264. variable_rtp_audio_recv_pt: 8
  3265. variable_rtp_use_codec_name: PCMA
  3266. variable_rtp_use_codec_rate: 8000
  3267. variable_rtp_use_codec_ptime: 20
  3268. variable_rtp_use_codec_channels: 1
  3269. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  3270. variable_read_codec: PCMA
  3271. variable_original_read_codec: PCMA
  3272. variable_read_rate: 8000
  3273. variable_original_read_rate: 8000
  3274. variable_write_codec: PCMA
  3275. variable_write_rate: 8000
  3276. variable_dtmf_type: rfc2833
  3277. variable_endpoint_disposition: RECEIVED
  3278. variable_call_uuid: 10513930-fe0b-4201-97f3-ea87d90f3606
  3279. Hunt-Direction: inbound
  3280. Hunt-Logical-Direction: inbound
  3281. Hunt-Username: 38617775044
  3282. Hunt-Dialplan: XML
  3283. Hunt-Caller-ID-Name: 38617775044
  3284. Hunt-Caller-ID-Number: 38617775044
  3285. Hunt-Orig-Caller-ID-Name: 38617775044
  3286. Hunt-Orig-Caller-ID-Number: 38617775044
  3287. Hunt-Network-Addr: 148.251.195.149
  3288. Hunt-ANI: 38617775044
  3289. Hunt-Destination-Number: 118638631209560
  3290. Hunt-Unique-ID: 10513930-fe0b-4201-97f3-ea87d90f3606
  3291. Hunt-Source: mod_sofia
  3292. Hunt-Context: default
  3293. Hunt-Channel-Name: sofia/default/38617775044%40148.251.195.149
  3294. Hunt-Profile-Index: 1
  3295. Hunt-Profile-Created-Time: 1656926348433241
  3296. Hunt-Channel-Created-Time: 1656926348433241
  3297. Hunt-Channel-Answered-Time: 0
  3298. Hunt-Channel-Progress-Time: 0
  3299. Hunt-Channel-Progress-Media-Time: 0
  3300. Hunt-Channel-Hangup-Time: 0
  3301. Hunt-Channel-Transfer-Time: 0
  3302. Hunt-Channel-Resurrect-Time: 0
  3303. Hunt-Channel-Bridged-Time: 0
  3304. Hunt-Channel-Last-Hold: 0
  3305. Hunt-Channel-Hold-Accum: 0
  3306. Hunt-Screen-Bit: true
  3307. Hunt-Privacy-Hide-Name: false
  3308. Hunt-Privacy-Hide-Number: false
  3309.  
  3310.  
  3311. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  3312. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  3313. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  3314. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  3315. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  3316. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 118638631209560
  3317. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '118638631209560' limit 1
  3318. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '118638631209560' AND status=0 limit 1
  3319. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '118638631209560' and status=0 LIMIT 1
  3320. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 38617775044 / 38617775044
  3321. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631209560" LIMIT 1
  3322. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="118638631209560"  AND domains.domain="sipp.skytel.rs" limit 1
  3323. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  3324. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "118638631209560"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  3325. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :1186/*.....118638631209560
  3326. 2022-07-04 11:19:08.453247 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 118638631209560
  3327. 2022-07-04 11:19:08.453247 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 38631209560
  3328. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3301514710]
  3329. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3301514710" AND deleted = 0 limit 1
  3330. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^38631209560.*' OR blocked_patterns = '^3863120956.*' OR blocked_patterns = '^386312095.*' OR blocked_patterns = '^38631209.*' OR blocked_patterns = '^3863120.*' OR blocked_patterns = '^386312.*' OR blocked_patterns = '^38631.*' OR blocked_patterns = '^3863.*' OR blocked_patterns = '^386.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 41 limit 1
  3331. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="38631209560" AND (accountid = 0 OR status = 1) LIMIT 1
  3332. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^38631209560.*' OR patterns = '^3863120956.*' OR patterns = '^386312095.*' OR patterns = '^38631209.*' OR patterns = '^3863120.*' OR patterns = '^386312.*' OR patterns = '^38631.*' OR patterns = '^3863.*' OR patterns = '^386.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 41 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3333. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="38631209560" AND A.accountid = '41' limit 1
  3334. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 38631209560
  3335. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="38631209560" LIMIT 1
  3336. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="38631209560"  AND domains.domain="sipp.skytel.rs" limit 1
  3337. 2022-07-04 11:19:08.453247 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  3338. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '38631209560' OR number = '3863120956' OR number = '386312095' OR number = '38631209' OR number = '3863120' OR number = '386312' OR number = '38631' OR number = '3863' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38631209560*' OR number = '3863120956*' OR number = '386312095*' OR number = '38631209*' OR number = '3863120*' OR number = '386312*' OR number = '38631*' OR number = '3863*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38617775044' OR number = '3861777504' OR number = '386177750' OR number = '38617775' OR number = '3861777' OR number = '386177' OR number = '38617' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38617775044*' OR number = '3861777504*' OR number = '386177750*' OR number = '38617775*' OR number = '3861777*' OR number = '386177*' OR number = '38617*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3339. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  3340. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38617775044
  3341. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  3342. 2022-07-04 11:19:08.453247 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38617775044' and status=0
  3343. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  3344. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='41' order by RAND() limit 1
  3345. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38617775046
  3346. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '38631209560' OR routing_prefix = '3863120956' OR routing_prefix = '386312095' OR routing_prefix = '38631209' OR routing_prefix = '3863120' OR routing_prefix = '386312' OR routing_prefix = '38631' OR routing_prefix = '3863' OR routing_prefix = '386' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3347. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  3348. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 41
  3349. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3301514710
  3350. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 4517.84464
  3351. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  3352. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
  3353. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
  3354. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  3355. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3356. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  3357. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3358. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^38631209560.*' OR pattern = '^3863120956.*' OR pattern = '^386312095.*' OR pattern = '^38631209.*' OR pattern = '^3863120.*' OR pattern = '^386312.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=41)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  3359. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  3360. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  3361. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4308
  3362. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3363. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  3364. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.05450
  3365. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Slovenia-Telekom Slovenije Mobile
  3366. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 169
  3367. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 41
  3368. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  3369. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  3370. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  3371. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your4517.84464 balance Accountid 41 !!!
  3372. 2022-07-04 11:19:08.473232 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  3373. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  3374. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 4308
  3375. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  3376. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
  3377. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^38631209560.*' OR pattern = '^3863120956.*' OR pattern = '^386312095.*' OR pattern = '^38631209.*' OR pattern = '^3863120.*' OR pattern = '^386312.*' OR pattern = '^38631.*' OR pattern = '^3863.*' OR pattern = '^386.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,10) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  3378. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  3379. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3380. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 366986
  3381. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38631.*
  3382. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Slovenia - Mobitel
  3383. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3384. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3385. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38631.*
  3386. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3387. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3388. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
  3389. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
  3390. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3391. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
  3392. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  3393. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3394. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
  3395. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3396. 2022-07-04 11:19:08.473232 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.66561 > 0.05450, skipping for loss less routing
  3397. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 41 AND status=0 LIMIT 1
  3398. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  3399. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3400. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  3401. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  3402. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3403. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38617775046
  3404. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
  3405. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 10) AND status=0 limit 1
  3406. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38617775046
  3407. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38617775046
  3408. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  3409. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38617775046' and status=0
  3410. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
  3411. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="118638631209560" LIMIT 1
  3412. 2022-07-04 11:19:08.473232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38617775046
  3413. 2022-07-04 11:19:08.473232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  3414. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3415. <document type="freeswitch/xml">
  3416. <section name="dialplan" description="ASTPP Dialplan">
  3417. <context name="default">
  3418. <extension name="38631209560">
  3419. <condition field="destination_number" expression="118638631209560">
  3420. <action application="set" data="effective_destination_number=38631209560"/>
  3421. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3422. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3423. <action application="set" data="callstart=2022-07-04 09:19:07"/>
  3424. <action application="set" data="hangup_after_bridge=true"/>
  3425. <action application="set" data="continue_on_fail=TRUE"/>
  3426. <action application="set" data="account_id=41"/>
  3427. <action application="set" data="parent_id=0"/>
  3428. <action application="set" data="entity_id=0"/>
  3429. <action application="set" data="call_processed=internal"/>
  3430. <action application="set" data="call_direction=outbound"/>
  3431. <action application="set" data="accountname=OIM Slovenia"/>
  3432. <action application="set" data="origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41"/>
  3433. <action application="set" data="original_caller_id_name=38617775046"/>
  3434. <action application="set" data="original_caller_id_number=38617775046"/>
  3435.  
  3436. <action application="set" data="effective_caller_id_name=38617775046"/>
  3437. <action application="set" data="effective_caller_id_number=38617775046"/>
  3438. <action application="set" data="calltype=STANDARD"/>
  3439. <action application="set" data="termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
  3440. <action application="set" data="trunk_id=10"/>
  3441. <action application="set" data="provider_id=9"/>
  3442. <action application="set" data="rate_flag=0"/>
  3443. <action application="set" data="force_trunk_flag=4308"/>
  3444. <action application="export" data="presence_data=trunk_id=10"/>
  3445. <action application="set" data="intcall=0"/>
  3446. <action application="export" data="presence_id=38631209560"/>
  3447. <action application="export" data="presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149"/>
  3448. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631209560"/>
  3449. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631209560"/>
  3450. </condition>
  3451. </extension>
  3452. </context>
  3453. </section>
  3454. </document>
  3455. Dialplan: sofia/default/38617775044@148.251.195.149 parsing [default->38631209560] continue=false
  3456. Dialplan: sofia/default/38617775044@148.251.195.149 Regex (PASS) [38631209560] destination_number(118638631209560) =~ /118638631209560/ break=on-false
  3457. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(effective_destination_number=38631209560)
  3458. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3459. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3460. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(callstart=2022-07-04 09:19:07)
  3461. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(hangup_after_bridge=true)
  3462. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(continue_on_fail=TRUE)
  3463. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(account_id=41)
  3464. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(parent_id=0)
  3465. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(entity_id=0)
  3466. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(call_processed=internal)
  3467. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(call_direction=outbound)
  3468. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(accountname=OIM Slovenia)
  3469. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
  3470. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(original_caller_id_name=38617775046)
  3471. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(original_caller_id_number=38617775046)
  3472. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(effective_caller_id_name=38617775046)
  3473. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(effective_caller_id_number=38617775046)
  3474. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(calltype=STANDARD)
  3475. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  3476. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(trunk_id=10)
  3477. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(provider_id=9)
  3478. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(rate_flag=0)
  3479. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(force_trunk_flag=4308)
  3480. Dialplan: sofia/default/38617775044@148.251.195.149 Action export(presence_data=trunk_id=10)
  3481. Dialplan: sofia/default/38617775044@148.251.195.149 Action set(intcall=0)
  3482. Dialplan: sofia/default/38617775044@148.251.195.149 Action export(presence_id=38631209560)
  3483. Dialplan: sofia/default/38617775044@148.251.195.149 Action export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
  3484. Dialplan: sofia/default/38617775044@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631209560)
  3485. Dialplan: sofia/default/38617775044@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/38631209560)
  3486. 2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38617775044@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
  3487. 2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38617775044@148.251.195.149) State ROUTING going to sleep
  3488. 2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_EXECUTE (Cur 71 Tot 2864654)
  3489. 2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38617775044@148.251.195.149) State EXECUTE
  3490. 2022-07-04 11:19:08.473232 [DEBUG] mod_sofia.c:209 sofia/default/38617775044@148.251.195.149 SOFIA EXECUTE
  3491. 2022-07-04 11:19:08.473232 [DEBUG] switch_core_state_machine.c:329 sofia/default/38617775044@148.251.195.149 Standard EXECUTE
  3492. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(effective_destination_number=38631209560)
  3493. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [effective_destination_number]=[38631209560]
  3494. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
  3495. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3496. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3497. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3498. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(callstart=2022-07-04 09:19:07)
  3499. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [callstart]=[2022-07-04 09:19:07]
  3500. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(hangup_after_bridge=true)
  3501. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [hangup_after_bridge]=[true]
  3502. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(continue_on_fail=TRUE)
  3503. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [continue_on_fail]=[TRUE]
  3504. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(account_id=41)
  3505. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [account_id]=[41]
  3506. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(parent_id=0)
  3507. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [parent_id]=[0]
  3508. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(entity_id=0)
  3509. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [entity_id]=[0]
  3510. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(call_processed=internal)
  3511. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [call_processed]=[internal]
  3512. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(call_direction=outbound)
  3513. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [call_direction]=[outbound]
  3514. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(accountname=OIM Slovenia)
  3515. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [accountname]=[OIM Slovenia]
  3516. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(origination_rates=ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41)
  3517. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [origination_rates]=[ID:4308|CODE:^38631.*|DESTINATION:Slovenia-Telekom Slovenije Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.05450|INC:2|INITIALBLOCK:2|RATEGROUP:11|MARKUP:0|CI:169|ACCID:41]
  3518. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(original_caller_id_name=38617775046)
  3519. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [original_caller_id_name]=[38617775046]
  3520. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(original_caller_id_number=38617775046)
  3521. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [original_caller_id_number]=[38617775046]
  3522. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(effective_caller_id_name=38617775046)
  3523. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [effective_caller_id_name]=[38617775046]
  3524. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(effective_caller_id_number=38617775046)
  3525. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [effective_caller_id_number]=[38617775046]
  3526. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(calltype=STANDARD)
  3527. 2022-07-04 11:19:08.473232 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [calltype]=[STANDARD]
  3528. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(termination_rates=ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  3529. 2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [termination_rates]=[ID:366986|CODE:^38631.*|DESTINATION:Slovenia - Mobitel|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01970|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
  3530. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(trunk_id=10)
  3531. 2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [trunk_id]=[10]
  3532. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(provider_id=9)
  3533. 2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [provider_id]=[9]
  3534. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(rate_flag=0)
  3535. 2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [rate_flag]=[0]
  3536. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(force_trunk_flag=4308)
  3537. 2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [force_trunk_flag]=[4308]
  3538. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 export(presence_data=trunk_id=10)
  3539. 2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
  3540. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 set(intcall=0)
  3541. 2022-07-04 11:19:08.493228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38617775044@148.251.195.149 [intcall]=[0]
  3542. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 export(presence_id=38631209560)
  3543. 2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[38631209560]
  3544. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 export(presence_data=x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149)
  3545. 2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149]
  3546. EXECUTE [depth=0] sofia/default/38617775044@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/38631209560)
  3547. 2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1264 sofia/default/38617775044@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
  3548. 2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1264 sofia/default/38617775044@148.251.195.149 EXPORTING[export_vars] [presence_id]=[38631209560] to event
  3549. 2022-07-04 11:19:08.493228 [DEBUG] switch_channel.c:1264 sofia/default/38617775044@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMSlovenia(3301514710)|||^38631.* // Slovenia-Telekom Slovenije Mobile // 0.05450 |||NovaTel // ^38631.* // Slovenia - Mobitel // 0.01970 // trunk_id=10|||STD|||148.251.195.149] to event
  3550. 2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  3551. 2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  3552. 2022-07-04 11:19:08.493228 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38631209560 [702acfa6-976c-447b-8020-bee279bc7909]
  3553. 2022-07-04 11:19:08.493228 [DEBUG] mod_sofia.c:5102 (sofia/default/38631209560) State Change CS_NEW -> CS_INIT
  3554. 2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:3142 sofia/default/38631209560 Setting leg timeout to 45
  3555. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631209560) Running State Change CS_INIT (Cur 72 Tot 2864655)
  3556. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631209560) State INIT
  3557. 2022-07-04 11:19:08.493228 [DEBUG] mod_sofia.c:93 sofia/default/38631209560 SOFIA INIT
  3558. 2022-07-04 11:19:08.493228 [INFO] sofia_glue.c:1621 sofia/default/38631209560 sending invite call-id: (null)
  3559. 2022-07-04 11:19:08.493228 [DEBUG] sofia_glue.c:1624 sofia/default/38631209560 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  3560. Local SDP:
  3561. v=0
  3562. o=FreeSWITCH 1656905246 1656905247 IN IP4 82.214.92.3
  3563. s=FreeSWITCH
  3564. c=IN IP4 82.214.92.3
  3565. t=0 0
  3566. m=audio 21102 RTP/AVP 8 0 101
  3567. a=rtpmap:8 PCMA/8000
  3568. a=rtpmap:0 PCMU/8000
  3569. a=rtpmap:101 telephone-event/8000
  3570. a=fmtp:101 0-16
  3571. a=ptime:20
  3572. a=sendrecv
  3573.  
  3574. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:40 sofia/default/38631209560 Standard INIT
  3575. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38631209560) State Change CS_INIT -> CS_ROUTING
  3576. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38631209560) State INIT going to sleep
  3577. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631209560) Running State Change CS_ROUTING (Cur 72 Tot 2864655)
  3578. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631209560) State ROUTING
  3579. 2022-07-04 11:19:08.493228 [DEBUG] mod_sofia.c:154 sofia/default/38631209560 SOFIA ROUTING
  3580. 2022-07-04 11:19:08.493228 [DEBUG] switch_ivr_originate.c:67 (sofia/default/38631209560) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3581. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38631209560) State ROUTING going to sleep
  3582. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38631209560) Running State Change CS_CONSUME_MEDIA (Cur 72 Tot 2864655)
  3583. 2022-07-04 11:19:08.493228 [DEBUG] sofia.c:7406 Channel sofia/default/38631209560 entering state [calling][0]
  3584. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631209560) State CONSUME_MEDIA
  3585. 2022-07-04 11:19:08.493228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/38631209560) State CONSUME_MEDIA going to sleep
  3586. 2022-07-04 11:19:08.653228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [terminated][503]
  3587. 2022-07-04 11:19:08.653228 [NOTICE] sofia.c:8641 Hangup sofia/default/12125551212 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  3588. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_HANGUP (Cur 72 Tot 2864655)
  3589. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12125551212) Callstate Change DOWN -> HANGUP
  3590. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP
  3591. 2022-07-04 11:19:08.653228 [DEBUG] mod_sofia.c:453 Channel sofia/default/12125551212 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  3592. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:60 sofia/default/12125551212 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  3593. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP going to sleep
  3594. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12125551212) State Change CS_HANGUP -> CS_REPORTING
  3595. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_REPORTING (Cur 72 Tot 2864655)
  3596. 2022-07-04 11:19:08.653228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING
  3597. 2022-07-04 11:19:08.653228 [INFO] mod_json_cdr.c:271 Process [273ebbbd-3c76-4c91-a53a-9e8e9d0b1107.cdr.json]
  3598. 2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  3599. 2022-07-04 11:19:08.673227 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  3600. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_name=+38220690267)
  3601. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_name]=[+38220690267]
  3602. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_number=+38220690267)
  3603. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_number]=[+38220690267]
  3604. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(calltype=STANDARD)
  3605. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [calltype]=[STANDARD]
  3606. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(termination_rates=ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  3607. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [termination_rates]=[ID:357752|CODE:^1212.*|DESTINATION:USA - Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01875|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
  3608. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(trunk_id=10)
  3609. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [trunk_id]=[10]
  3610. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(provider_id=9)
  3611. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [provider_id]=[9]
  3612. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(rate_flag=0)
  3613. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [rate_flag]=[0]
  3614. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(force_trunk_flag=3358)
  3615. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [force_trunk_flag]=[3358]
  3616. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=trunk_id=10)
  3617. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
  3618. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:174 sofia/default/12125551212 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  3619. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING going to sleep
  3620. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12125551212) State Change CS_REPORTING -> CS_DESTROY
  3621. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_session.c:1736 Session 2864645 (sofia/default/12125551212) Locked, Waiting on external entities
  3622. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(intcall=0)
  3623. 2022-07-04 11:19:08.673227 [NOTICE] switch_core_session.c:1754 Session 2864645 (sofia/default/12125551212) Ended
  3624. 2022-07-04 11:19:08.673227 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/12125551212 [CS_DESTROY]
  3625. 2022-07-04 11:19:08.673227 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [intcall]=[0]
  3626. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12125551212) Running State Change CS_DESTROY (Cur 71 Tot 2864655)
  3627. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY
  3628. 2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:364 sofia/default/12125551212 SOFIA DESTROY
  3629. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:181 sofia/default/12125551212 Standard DESTROY
  3630. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY going to sleep
  3631. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_id=12125551212)
  3632. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[12125551212]
  3633. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46)
  3634. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46]
  3635. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/12125551212)
  3636. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3637. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
  3638. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3639. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3640. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
  3641. 2022-07-04 11:19:08.673227 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3642. 2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  3643. 2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  3644. 2022-07-04 11:19:08.673227 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12125551212 [ba3d17a9-99d2-49ae-92a9-ab836c59cf31]
  3645. 2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:5102 (sofia/default/12125551212) State Change CS_NEW -> CS_INIT
  3646. 2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:3142 sofia/default/12125551212 Setting leg timeout to 45
  3647. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_INIT (Cur 72 Tot 2864656)
  3648. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT
  3649. 2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:93 sofia/default/12125551212 SOFIA INIT
  3650. 2022-07-04 11:19:08.673227 [INFO] sofia_glue.c:1621 sofia/default/12125551212 sending invite call-id: (null)
  3651. 2022-07-04 11:19:08.673227 [DEBUG] sofia_glue.c:1624 sofia/default/12125551212 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  3652. Local SDP:
  3653. v=0
  3654. o=FreeSWITCH 1656902614 1656902615 IN IP4 82.214.92.3
  3655. s=FreeSWITCH
  3656. c=IN IP4 82.214.92.3
  3657. t=0 0
  3658. m=audio 23734 RTP/AVP 8 0 101
  3659. a=rtpmap:8 PCMA/8000
  3660. a=rtpmap:0 PCMU/8000
  3661. a=rtpmap:101 telephone-event/8000
  3662. a=fmtp:101 0-16
  3663. a=ptime:20
  3664. a=sendrecv
  3665.  
  3666. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:40 sofia/default/12125551212 Standard INIT
  3667. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12125551212) State Change CS_INIT -> CS_ROUTING
  3668. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT going to sleep
  3669. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_ROUTING (Cur 72 Tot 2864656)
  3670. 2022-07-04 11:19:08.673227 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
  3671. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING
  3672. 2022-07-04 11:19:08.673227 [DEBUG] mod_sofia.c:154 sofia/default/12125551212 SOFIA ROUTING
  3673. 2022-07-04 11:19:08.673227 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12125551212) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3674. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING going to sleep
  3675. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_CONSUME_MEDIA (Cur 72 Tot 2864656)
  3676. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA
  3677. 2022-07-04 11:19:08.673227 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA going to sleep
  3678. 2022-07-04 11:19:08.813228 [DEBUG] sofia.c:6576 Remote Reason: 1
  3679. 2022-07-04 11:19:08.813228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [terminated][404]
  3680. 2022-07-04 11:19:08.813228 [NOTICE] sofia.c:8641 Hangup sofia/default/12125551212 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  3681. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_HANGUP (Cur 72 Tot 2864656)
  3682. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12125551212) Callstate Change DOWN -> HANGUP
  3683. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP
  3684. 2022-07-04 11:19:08.813228 [DEBUG] mod_sofia.c:453 Channel sofia/default/12125551212 hanging up, cause: UNALLOCATED_NUMBER
  3685. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:60 sofia/default/12125551212 Standard HANGUP, cause: UNALLOCATED_NUMBER
  3686. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP going to sleep
  3687. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12125551212) State Change CS_HANGUP -> CS_REPORTING
  3688. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_REPORTING (Cur 72 Tot 2864656)
  3689. 2022-07-04 11:19:08.813228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING
  3690. 2022-07-04 11:19:08.813228 [INFO] mod_json_cdr.c:271 Process [ba3d17a9-99d2-49ae-92a9-ab836c59cf31.cdr.json]
  3691. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:174 sofia/default/12125551212 Standard REPORTING, cause: UNALLOCATED_NUMBER
  3692. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING going to sleep
  3693. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12125551212) State Change CS_REPORTING -> CS_DESTROY
  3694. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_session.c:1736 Session 2864656 (sofia/default/12125551212) Locked, Waiting on external entities
  3695. 2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  3696. 2022-07-04 11:19:08.833228 [NOTICE] switch_core_session.c:1754 Session 2864656 (sofia/default/12125551212) Ended
  3697. 2022-07-04 11:19:08.833228 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/12125551212 [CS_DESTROY]
  3698. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12125551212) Running State Change CS_DESTROY (Cur 71 Tot 2864656)
  3699. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY
  3700. 2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:364 sofia/default/12125551212 SOFIA DESTROY
  3701. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:181 sofia/default/12125551212 Standard DESTROY
  3702. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY going to sleep
  3703. 2022-07-04 11:19:08.833228 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: UNALLOCATED_NUMBER
  3704. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/12125551212)
  3705. 2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3706. 2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
  3707. 2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3708. 2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3709. 2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[12125551212] to event
  3710. 2022-07-04 11:19:08.833228 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^1212.* // United States // 0.03000 |||NovaTel // ^1212.* // USA - Fixed // 0.01875 // trunk_id=10|||STD|||103.240.35.46] to event
  3711. 2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  3712. 2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  3713. 2022-07-04 11:19:08.833228 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12125551212 [363d74d4-2320-4c45-a359-ad5be31752f3]
  3714. 2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:5102 (sofia/default/12125551212) State Change CS_NEW -> CS_INIT
  3715. 2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:3142 sofia/default/12125551212 Setting leg timeout to 45
  3716. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_INIT (Cur 72 Tot 2864657)
  3717. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT
  3718. 2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:93 sofia/default/12125551212 SOFIA INIT
  3719. 2022-07-04 11:19:08.833228 [INFO] sofia_glue.c:1621 sofia/default/12125551212 sending invite call-id: (null)
  3720. 2022-07-04 11:19:08.833228 [DEBUG] sofia_glue.c:1624 sofia/default/12125551212 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  3721. Local SDP:
  3722. v=0
  3723. o=FreeSWITCH 1656897584 1656897585 IN IP4 82.214.92.3
  3724. s=FreeSWITCH
  3725. c=IN IP4 82.214.92.3
  3726. t=0 0
  3727. m=audio 28764 RTP/AVP 8 0 101
  3728. a=rtpmap:8 PCMA/8000
  3729. a=rtpmap:0 PCMU/8000
  3730. a=rtpmap:101 telephone-event/8000
  3731. a=fmtp:101 0-16
  3732. a=ptime:20
  3733. a=sendrecv
  3734.  
  3735. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:40 sofia/default/12125551212 Standard INIT
  3736. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12125551212) State Change CS_INIT -> CS_ROUTING
  3737. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12125551212) State INIT going to sleep
  3738. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_ROUTING (Cur 72 Tot 2864657)
  3739. 2022-07-04 11:19:08.833228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [calling][0]
  3740. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING
  3741. 2022-07-04 11:19:08.833228 [DEBUG] mod_sofia.c:154 sofia/default/12125551212 SOFIA ROUTING
  3742. 2022-07-04 11:19:08.833228 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12125551212) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3743. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12125551212) State ROUTING going to sleep
  3744. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_CONSUME_MEDIA (Cur 72 Tot 2864657)
  3745. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA
  3746. 2022-07-04 11:19:08.833228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12125551212) State CONSUME_MEDIA going to sleep
  3747. 2022-07-04 11:19:08.853228 [DEBUG] sofia.c:7406 Channel sofia/default/12125551212 entering state [terminated][503]
  3748. 2022-07-04 11:19:08.853228 [NOTICE] sofia.c:8641 Hangup sofia/default/12125551212 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  3749. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_HANGUP (Cur 72 Tot 2864657)
  3750. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12125551212) Callstate Change DOWN -> HANGUP
  3751. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP
  3752. 2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:453 Channel sofia/default/12125551212 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  3753. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:60 sofia/default/12125551212 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  3754. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12125551212) State HANGUP going to sleep
  3755. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12125551212) State Change CS_HANGUP -> CS_REPORTING
  3756. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12125551212) Running State Change CS_REPORTING (Cur 72 Tot 2864657)
  3757. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING
  3758. 2022-07-04 11:19:08.853228 [INFO] mod_json_cdr.c:271 Process [363d74d4-2320-4c45-a359-ad5be31752f3.cdr.json]
  3759. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:174 sofia/default/12125551212 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  3760. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12125551212) State REPORTING going to sleep
  3761. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12125551212) State Change CS_REPORTING -> CS_DESTROY
  3762. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_session.c:1736 Session 2864657 (sofia/default/12125551212) Locked, Waiting on external entities
  3763. 2022-07-04 11:19:08.853228 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  3764. 2022-07-04 11:19:08.853228 [NOTICE] switch_core_session.c:1754 Session 2864657 (sofia/default/12125551212) Ended
  3765. 2022-07-04 11:19:08.853228 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/12125551212 [CS_DESTROY]
  3766. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12125551212) Running State Change CS_DESTROY (Cur 71 Tot 2864657)
  3767. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY
  3768. 2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:364 sofia/default/12125551212 SOFIA DESTROY
  3769. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:181 sofia/default/12125551212 Standard DESTROY
  3770. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12125551212) State DESTROY going to sleep
  3771. 2022-07-04 11:19:08.853228 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  3772. 2022-07-04 11:19:08.853228 [NOTICE] switch_core_state_machine.c:386 sofia/default/sky001@skytel011.tdsltd.rs has executed the last dialplan instruction, hanging up.
  3773. 2022-07-04 11:19:08.853228 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/sky001@skytel011.tdsltd.rs [CS_EXECUTE] [NORMAL_CLEARING]
  3774. 2022-07-04 11:19:08.853228 [DEBUG] mod_hash.c:296 Usage for CPS_4307873302_CPS_user_4307873302 is now 0
  3775. 2022-07-04 11:19:08.853228 [DEBUG] mod_hash.c:296 Usage for CPS_5_CPS_trunk_5 is now 0
  3776. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE going to sleep
  3777. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_HANGUP (Cur 71 Tot 2864657)
  3778. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:848 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change RINGING -> HANGUP
  3779. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP
  3780. 2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:447 sofia/default/sky001@skytel011.tdsltd.rs Overriding SIP cause 480 with 503 from the other leg
  3781. 2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:453 Channel sofia/default/sky001@skytel011.tdsltd.rs hanging up, cause: NORMAL_CLEARING
  3782. 2022-07-04 11:19:08.853228 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 503
  3783. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:60 sofia/default/sky001@skytel011.tdsltd.rs Standard HANGUP, cause: NORMAL_CLEARING
  3784. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP going to sleep
  3785. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:620 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_HANGUP -> CS_REPORTING
  3786. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_REPORTING (Cur 71 Tot 2864657)
  3787. 2022-07-04 11:19:08.853228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING
  3788. 2022-07-04 11:19:08.853228 [INFO] mod_json_cdr.c:271 Process [8b3a4a3c-d818-44e0-abcf-6f4f39f55221.cdr.json]
  3789. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:174 sofia/default/sky001@skytel011.tdsltd.rs Standard REPORTING, cause: NORMAL_CLEARING
  3790. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING going to sleep
  3791. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:611 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_REPORTING -> CS_DESTROY
  3792. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_session.c:1736 Session 2864644 (sofia/default/sky001@skytel011.tdsltd.rs) Locked, Waiting on external entities
  3793. 2022-07-04 11:19:08.873229 [NOTICE] switch_core_session.c:1754 Session 2864644 (sofia/default/sky001@skytel011.tdsltd.rs) Ended
  3794. 2022-07-04 11:19:08.873229 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/sky001@skytel011.tdsltd.rs [CS_DESTROY]
  3795. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:739 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_DESTROY (Cur 70 Tot 2864657)
  3796. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY
  3797. 2022-07-04 11:19:08.873229 [DEBUG] mod_sofia.c:364 sofia/default/sky001@skytel011.tdsltd.rs SOFIA DESTROY
  3798. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:181 sofia/default/sky001@skytel011.tdsltd.rs Standard DESTROY
  3799. 2022-07-04 11:19:08.873229 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY going to sleep
  3800. 2022-07-04 11:19:09.273229 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38617775044@148.251.195.149 [c12b0168-7183-4678-b055-fab0ae1234f1]
  3801. 2022-07-04 11:19:09.273229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38617775044@148.251.195.149) Running State Change CS_NEW (Cur 71 Tot 2864658)
  3802. 2022-07-04 11:19:09.273229 [INFO] sofia.c:10362 sofia/default/38617775044@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 0ad179c151e0e7e87b2843d85e737f8e@148.251.195.149:5060
  3803. 2022-07-04 11:19:09.273229 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
  3804. 2022-07-04 11:19:09.273229 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
  3805. 2022-07-04 11:19:09.273229 [DEBUG] sofia.c:7406 Channel sofia/default/38617775044@148.251.195.149 entering state [received][100]
  3806. 2022-07-04 11:19:09.273229 [DEBUG] sofia.c:7416 Remote SDP:
  3807. v=0
  3808. o=root 1223863196 1223863196 IN IP4 95.216.40.232
  3809. s=SIP.IO
  3810. c=IN IP4 95.216.40.232
  3811. t=0 0
  3812. m=audio 18882 RTP/AVP 8 101
  3813. a=rtpmap:8 PCMA/8000
  3814. a=rtpmap:101 telephone-event/8000
  3815. a=fmtp:101 0-16
  3816. a=silenceSupp:off - - - -
  3817. a=ptime:20
  3818.