From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. [This app Best viewed at 160x60 or more..]
  2. +OK log level  [7]
  3. 2022-02-08 13:26:15.778969 95.57% [NOTICE] sofia_reg.c:459 Registering Alpesh
  4. 2022-02-08 13:26:15.958975 95.57% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #65
  5. 2022-02-08 13:26:16.778978 95.53% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds.
  6. 2022-02-08 13:26:47.818980 99.00% [NOTICE] sofia_reg.c:459 Registering Alpesh
  7. 2022-02-08 13:26:47.998967 99.00% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #66
  8. 2022-02-08 13:26:48.818975 99.17% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds.
  9. 2022-02-08 13:27:11.318945 98.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/7111332114@13.233.144.222:5066 [f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef]
  10. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_NEW (Cur 1 Tot 9)
  11. 2022-02-08 13:27:11.318945 98.00% [INFO] sofia.c:10462 sofia/default/7111332114@13.233.144.222:5066 receiving invite from 172.31.15.133:5066 version: 1.10.7 -release-19-883d2cb662 64bit call-id: NDBmZDM2NTNiNDFlNDI1ZWExNDQ0YWUxOTY5ZTYyYWY.
  12. 2022-02-08 13:27:11.318945 98.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.15.133:0.
  13. 2022-02-08 13:27:11.318945 98.00% [DEBUG] sofia.c:10585 IP 172.31.15.133 Approved by acl "default[]". Access Granted.
  14. 2022-02-08 13:27:11.318945 98.00% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  15. 2022-02-08 13:27:11.318945 98.00% [DEBUG] sofia.c:7499 Channel sofia/default/7111332114@13.233.144.222:5066 entering state [received][100]
  16. 2022-02-08 13:27:11.318945 98.00% [DEBUG] sofia.c:7509 Remote SDP:
  17. v=0
  18. o=3cxVCE 214136370 363066450 IN IP4 150.129.107.251
  19. s=3cxVCE Audio Call
  20. c=IN IP4 150.129.107.251
  21. t=0 0
  22. m=audio 40032 RTP/AVP 0 8 3 101
  23. a=rtpmap:0 PCMU/8000
  24. a=rtpmap:8 PCMA/8000
  25. a=rtpmap:3 GSM/8000
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-15
  28. a=ptime:20
  29. m=video 40004 RTP/AVP 34
  30. c=IN IP4 150.129.107.251
  31. a=rtpmap:34 H263/90000
  32. a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
  33. a=oldoip:192.168.1.13
  34. a=oldcip:192.168.1.13
  35. a=oldcip:192.168.1.13
  36.  
  37. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  38. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  39. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  43. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  44. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  45. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  46. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/7111332114@13.233.144.222:5066 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  47. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_codec.c:111 sofia/default/7111332114@13.233.144.222:5066 Original read codec set to PCMU:0
  48. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  49. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:5973 sofia/default/7111332114@13.233.144.222:5066 Set 2833 dtmf send payload to 101 recv payload to 101
  50. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
  51. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
  52. 2022-02-08 13:27:11.318945 98.00% [DEBUG] sofia.c:7933 (sofia/default/7111332114@13.233.144.222:5066) State Change CS_NEW -> CS_INIT
  53. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/7111332114@13.233.144.222:5066) State NEW
  54. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_INIT (Cur 1 Tot 9)
  55. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7111332114@13.233.144.222:5066) State INIT
  56. 2022-02-08 13:27:11.318945 98.00% [DEBUG] mod_sofia.c:97 sofia/default/7111332114@13.233.144.222:5066 SOFIA INIT
  57. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/7111332114@13.233.144.222:5066 Standard INIT
  58. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/7111332114@13.233.144.222:5066) State Change CS_INIT -> CS_ROUTING
  59. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/7111332114@13.233.144.222:5066) State INIT going to sleep
  60. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_ROUTING (Cur 1 Tot 9)
  61. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_channel.c:2380 (sofia/default/7111332114@13.233.144.222:5066) Callstate Change DOWN -> RINGING
  62. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7111332114@13.233.144.222:5066) State ROUTING
  63. 2022-02-08 13:27:11.318945 98.00% [DEBUG] mod_sofia.c:158 sofia/default/7111332114@13.233.144.222:5066 SOFIA ROUTING
  64. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/7111332114@13.233.144.222:5066 Standard ROUTING
  65. 2022-02-08 13:27:11.318945 98.00% [INFO] mod_dialplan_xml.c:639 Processing 7111332114 <7111332114>->770232323234344 in context default
  66. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes')
  67. 2022-02-08 13:27:11.318945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2022-02-08 13:27:11.338940 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  69. Event-Name: REQUEST_PARAMS
  70. Core-UUID: 6b5c7b87-1e4e-494e-b23f-d2532d0bfd9d
  71. FreeSWITCH-Hostname: ip-172-31-15-133
  72. FreeSWITCH-Switchname: ip-172-31-15-133
  73. FreeSWITCH-IPv4: 172.31.15.133
  74. FreeSWITCH-IPv6: %3A%3A1
  75. Event-Date-Local: 2022-02-08%2013%3A27%3A11
  76. Event-Date-GMT: Tue,%2008%20Feb%202022%2013%3A27%3A11%20GMT
  77. Event-Date-Timestamp: 1644326831318945
  78. Event-Calling-File: mod_dialplan_xml.c
  79. Event-Calling-Function: dialplan_xml_locate
  80. Event-Calling-Line-Number: 610
  81. Event-Sequence: 1819
  82. Channel-State: CS_ROUTING
  83. Channel-Call-State: RINGING
  84. Channel-State-Number: 2
  85. Channel-Name: sofia/default/7111332114%4013.233.144.222%3A5066
  86. Unique-ID: f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef
  87. Call-Direction: inbound
  88. Presence-Call-Direction: inbound
  89. Channel-HIT-Dialplan: true
  90. Channel-Presence-ID: 7111332114%4013.233.144.222
  91. Channel-Call-UUID: f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef
  92. Answer-State: ringing
  93. Channel-Read-Codec-Name: PCMU
  94. Channel-Read-Codec-Rate: 8000
  95. Channel-Read-Codec-Bit-Rate: 64000
  96. Channel-Write-Codec-Name: PCMU
  97. Channel-Write-Codec-Rate: 8000
  98. Channel-Write-Codec-Bit-Rate: 64000
  99. Caller-Direction: inbound
  100. Caller-Logical-Direction: inbound
  101. Caller-Username: 7111332114
  102. Caller-Dialplan: XML
  103. Caller-Caller-ID-Name: 7111332114
  104. Caller-Caller-ID-Number: 7111332114
  105. Caller-Orig-Caller-ID-Name: 7111332114
  106. Caller-Orig-Caller-ID-Number: 7111332114
  107. Caller-Network-Addr: 172.31.15.133
  108. Caller-ANI: 7111332114
  109. Caller-Destination-Number: 770232323234344
  110. Caller-Unique-ID: f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef
  111. Caller-Source: mod_sofia
  112. Caller-Context: default
  113. Caller-Channel-Name: sofia/default/7111332114%4013.233.144.222%3A5066
  114. Caller-Profile-Index: 1
  115. Caller-Profile-Created-Time: 1644326831318945
  116. Caller-Channel-Created-Time: 1644326831318945
  117. Caller-Channel-Answered-Time: 0
  118. Caller-Channel-Progress-Time: 0
  119. Caller-Channel-Progress-Media-Time: 0
  120. Caller-Channel-Hangup-Time: 0
  121. Caller-Channel-Transfer-Time: 0
  122. Caller-Channel-Resurrect-Time: 0
  123. Caller-Channel-Bridged-Time: 0
  124. Caller-Channel-Last-Hold: 0
  125. Caller-Channel-Hold-Accum: 0
  126. Caller-Screen-Bit: true
  127. Caller-Privacy-Hide-Name: false
  128. Caller-Privacy-Hide-Number: false
  129. variable_direction: inbound
  130. variable_uuid: f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef
  131. variable_session_id: 9
  132. variable_sip_from_user: 7111332114
  133. variable_sip_from_port: 5066
  134. variable_sip_from_uri: 7111332114%4013.233.144.222%3A5066
  135. variable_sip_from_host: 13.233.144.222
  136. variable_text_media_flow: disabled
  137. variable_channel_name: sofia/default/7111332114%4013.233.144.222%3A5066
  138. variable_sip_call_id: NDBmZDM2NTNiNDFlNDI1ZWExNDQ0YWUxOTY5ZTYyYWY.
  139. variable_sip_local_network_addr: 13.233.144.222
  140. variable_sip_network_ip: 172.31.15.133
  141. variable_sip_network_port: 5066
  142. variable_sip_invite_stamp: 1644326831318945
  143. variable_sip_received_ip: 172.31.15.133
  144. variable_sip_received_port: 5066
  145. variable_sip_via_protocol: udp
  146. variable_sip_authorized: true
  147. variable_sip_acl_authed_by: default
  148. variable_sip_from_user_stripped: 7111332114
  149. variable_sip_from_tag: 8a19a976
  150. variable_sofia_profile_name: default
  151. variable_sofia_profile_url: sip%3Amod_sofia%4013.233.144.222%3A5074
  152. variable_recovery_profile_name: default
  153. variable_sip_invite_route_uri: %3Csip%3A13.233.144.222%3A5066%3Blr%3Bdid%3Dd26.da284bb7%3E
  154. variable_sip_invite_record_route: %3Csip%3A13.233.144.222%3A5066%3Blr%3Bdid%3Dd26.da284bb7%3E
  155. variable_sip_full_via: SIP/2.0/UDP%2013.233.144.222%3A5066%3Bbranch%3Dz9hG4bK1664.69c5c2f.0%3Breceived%3D172.31.15.133,SIP/2.0/UDP%20192.168.1.13%3A55038%3Breceived%3D150.129.107.251%3Bbranch%3Dz9hG4bK-d8754z-f50d9647cf374f36-1---d8754z-%3Brport%3D55038
  156. variable_sip_full_from: %3Csip%3A7111332114%4013.233.144.222%3A5066%3E%3Btag%3D8a19a976
  157. variable_sip_full_to: %3Csip%3A770232323234344%4013.233.144.222%3A5066%3E
  158. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REGISTER,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20INFO,%20MESSAGE
  159. variable_sip_req_user: 770232323234344
  160. variable_sip_req_port: 5066
  161. variable_sip_req_uri: 770232323234344%4013.233.144.222%3A5066
  162. variable_sip_req_host: 13.233.144.222
  163. variable_sip_to_user: 770232323234344
  164. variable_sip_to_port: 5066
  165. variable_sip_to_uri: 770232323234344%4013.233.144.222%3A5066
  166. variable_sip_to_host: 13.233.144.222
  167. variable_sip_contact_params: rinstance%3D2a8606f0b64ba9b9
  168. variable_sip_contact_user: 7111332114
  169. variable_sip_contact_port: 55038
  170. variable_sip_contact_uri: 7111332114%40150.129.107.251%3A55038
  171. variable_sip_contact_host: 150.129.107.251
  172. variable_sip_user_agent: 3CXPhone%206.0.26523.0
  173. variable_sip_via_host: 13.233.144.222
  174. variable_sip_via_port: 5066
  175. variable_max_forwards: 69
  176. variable_presence_id: 7111332114%4013.233.144.222
  177. variable_sip_h_X-AUTH-IP: 150.129.107.251
  178. variable_sip_h_P-Prefix: %3Cnull%3E
  179. variable_sip_h_P-Accountcode: 7111332114
  180. variable_sip_h_P-effective_caller_id_name: External%20caller%20PKQA
  181. variable_sip_h_P-effective_caller_id_number: 77111332999
  182. variable_sip_nat_detected: true
  183. variable_switch_r_sdp: v%3D0%0D%0Ao%3D3cxVCE%20214136370%20363066450%20IN%20IP4%20150.129.107.251%0D%0As%3D3cxVCE%20Audio%20Call%0D%0Ac%3DIN%20IP4%20150.129.107.251%0D%0At%3D0%200%0D%0Am%3Daudio%2040032%20RTP/AVP%200%208%203%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0Am%3Dvideo%2040004%20RTP/AVP%2034%0D%0Ac%3DIN%20IP4%20150.129.107.251%0D%0Aa%3Drtpmap%3A34%20H263/90000%0D%0Aa%3Dfmtp%3A34%20QCIF%3D1%3BCIF%3D1%3BSQCIF%3D1%3BCIF4%3D1%0D%0Aa%3Doldoip%3A192.168.1.13%0D%0Aa%3Doldcip%3A192.168.1.13%0D%0Aa%3Doldcip%3A192.168.1.13%0D%0A
  184. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  185. variable_rtp_use_codec_string: PCMU,PCMA
  186. variable_remote_text_media_flow: inactive
  187. variable_remote_audio_media_flow: sendrecv
  188. variable_audio_media_flow: sendrecv
  189. variable_remote_media_ip: 150.129.107.251
  190. variable_remote_media_port: 40032
  191. variable_rtp_audio_recv_pt: 0
  192. variable_rtp_use_codec_name: PCMU
  193. variable_rtp_use_codec_rate: 8000
  194. variable_rtp_use_codec_ptime: 20
  195. variable_rtp_use_codec_channels: 1
  196. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  197. variable_read_codec: PCMU
  198. variable_original_read_codec: PCMU
  199. variable_read_rate: 8000
  200. variable_original_read_rate: 8000
  201. variable_write_codec: PCMU
  202. variable_write_rate: 8000
  203. variable_dtmf_type: rfc2833
  204. variable_remote_video_media_flow: sendrecv
  205. variable_video_media_flow: sendrecv
  206. variable_video_possible: true
  207. variable_endpoint_disposition: RECEIVED
  208. variable_call_uuid: f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef
  209. Hunt-Direction: inbound
  210. Hunt-Logical-Direction: inbound
  211. Hunt-Username: 7111332114
  212. Hunt-Dialplan: XML
  213. Hunt-Caller-ID-Name: 7111332114
  214. Hunt-Caller-ID-Number: 7111332114
  215. Hunt-Orig-Caller-ID-Name: 7111332114
  216. Hunt-Orig-Caller-ID-Number: 7111332114
  217. Hunt-Network-Addr: 172.31.15.133
  218. Hunt-ANI: 7111332114
  219. Hunt-Destination-Number: 770232323234344
  220. Hunt-Unique-ID: f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef
  221. Hunt-Source: mod_sofia
  222. Hunt-Context: default
  223. Hunt-Channel-Name: sofia/default/7111332114%4013.233.144.222%3A5066
  224. Hunt-Profile-Index: 1
  225. Hunt-Profile-Created-Time: 1644326831318945
  226. Hunt-Channel-Created-Time: 1644326831318945
  227. Hunt-Channel-Answered-Time: 0
  228. Hunt-Channel-Progress-Time: 0
  229. Hunt-Channel-Progress-Media-Time: 0
  230. Hunt-Channel-Hangup-Time: 0
  231. Hunt-Channel-Transfer-Time: 0
  232. Hunt-Channel-Resurrect-Time: 0
  233. Hunt-Channel-Bridged-Time: 0
  234. Hunt-Channel-Last-Hold: 0
  235. Hunt-Channel-Hold-Accum: 0
  236. Hunt-Screen-Bit: true
  237. Hunt-Privacy-Hide-Name: false
  238. Hunt-Privacy-Hide-Number: false
  239.  
  240.  
  241. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  242. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  243. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  244. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  245. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 770232323234344
  246. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '770232323234344' AND status=0 limit 1
  247. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER7111332114
  248. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  249. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '770232323234344' limit 1
  250. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : External caller PKQA / 77111332999
  251. 2022-02-08 13:27:11.338940 98.00% [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  252. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  253. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  254. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="770232323234344" limit 1
  255. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  256. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 150.129.107.251
  257. 2022-02-08 13:27:11.338940 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7111332114]
  258. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7111332114" AND deleted = 0 limit 1
  259. 2022-02-08 13:27:11.338940 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^770232323234344.*' OR blocked_patterns = '^77023232323434.*' OR blocked_patterns = '^7702323232343.*' OR blocked_patterns = '^770232323234.*' OR blocked_patterns = '^77023232323.*' OR blocked_patterns = '^7702323232.*' OR blocked_patterns = '^770232323.*' OR blocked_patterns = '^77023232.*' OR blocked_patterns = '^7702323.*' OR blocked_patterns = '^770232.*' OR blocked_patterns = '^77023.*' OR blocked_patterns = '^7702.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 34 limit 1
  260. 2022-02-08 13:27:11.358983 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="770232323234344" AND (accountid = 0 OR status = 1) LIMIT 1
  261. 2022-02-08 13:27:11.358983 98.00% [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 = '^770232323234344.*' OR patterns = '^77023232323434.*' OR patterns = '^7702323232343.*' OR patterns = '^770232323234.*' OR patterns = '^77023232323.*' OR patterns = '^7702323232.*' OR patterns = '^770232323.*' OR patterns = '^77023232.*' OR patterns = '^7702323.*' OR patterns = '^770232.*' OR patterns = '^77023.*' OR patterns = '^7702.*' OR patterns = '^770.*' OR patterns = '^77.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 34 ORDER BY LENGTH(PKGPTR.patterns) DESC
  262. 2022-02-08 13:27:11.358983 98.00% [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 ="770232323234344" AND A.accountid = '34' limit 1
  263. 2022-02-08 13:27:11.378943 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 770232323234344
  264. 2022-02-08 13:27:11.378943 98.00% [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  265. 2022-02-08 13:27:11.378943 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  266. 2022-02-08 13:27:11.378943 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  267. 2022-02-08 13:27:11.378943 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="770232323234344" limit 1
  268. 2022-02-08 13:27:11.378943 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  269. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '770232323234344' OR number = '77023232323434' OR number = '7702323232343' OR number = '770232323234' OR number = '77023232323' OR number = '7702323232' OR number = '770232323' OR number = '77023232' OR number = '7702323' OR number = '770232' OR number = '77023' OR number = '7702' OR number = '770' OR number = '77' OR number = '7' OR number ='--') OR (number = '770232323234344*' OR number = '77023232323434*' OR number = '7702323232343*' OR number = '770232323234*' OR number = '77023232323*' OR number = '7702323232*' OR number = '770232323*' OR number = '77023232*' OR number = '7702323*' OR number = '770232*' OR number = '77023*' OR number = '7702*' OR number = '770*' OR number = '77*' OR number = '7*' OR number ='--') OR (number = '77111332999' OR number = '7711133299' OR number = '771113329' OR number = '77111332' OR number = '7711133' OR number = '771113' OR number = '77111' OR number = '7711' OR number = '771' OR number = '77' OR number = '7' OR number ='--') OR (number = '77111332999*' OR number = '7711133299*' OR number = '771113329*' OR number = '77111332*' OR number = '7711133*' OR number = '771113*' OR number = '77111*' OR number = '7711*' OR number = '771*' OR number = '77*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  270. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  271. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '770232323234344' OR routing_prefix = '77023232323434' OR routing_prefix = '7702323232343' OR routing_prefix = '770232323234' OR routing_prefix = '77023232323' OR routing_prefix = '7702323232' OR routing_prefix = '770232323' OR routing_prefix = '77023232' OR routing_prefix = '7702323' OR routing_prefix = '770232' OR routing_prefix = '77023' OR routing_prefix = '7702' OR routing_prefix = '770' OR routing_prefix = '77' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 33 limit 1
  272. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  273. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 34
  274. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7111332114
  275. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1927.6221
  276. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  277. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
  278. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  279. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  280. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
  281. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  282. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
  283. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^770232323234344.*' OR pattern = '^77023232323434.*' OR pattern = '^7702323232343.*' OR pattern = '^770232323234.*' OR pattern = '^77023232323.*' OR pattern = '^7702323232.*' OR pattern = '^770232323.*' OR pattern = '^77023232.*' OR pattern = '^7702323.*' OR pattern = '^770232.*' OR pattern = '^77023.*' OR pattern = '^7702.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^77111332999.*' OR caller_id_pattern = '^7711133299.*' OR caller_id_pattern = '^771113329.*' OR caller_id_pattern = '^77111332.*' OR caller_id_pattern = '^7711133.*' OR caller_id_pattern = '^771113.*' OR caller_id_pattern = '^77111.*' OR caller_id_pattern = '^7711.*' OR caller_id_pattern = '^771.*' OR caller_id_pattern = '^77.*' OR caller_id_pattern = '^7.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 7 OR accountid=34)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  284. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  285. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  286. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:5.00000
  287. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:7
  288. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '7' and status=0
  289. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:5.00000
  290. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  291. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 33
  292. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  293. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  294. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 5.00000
  295. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : caller id pattern
  296. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 35
  297. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 34
  298. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  299. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  300. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  301. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1927.6221 balance Accountid 34 !!!
  302. 2022-02-08 13:27:11.398945 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  303. 2022-02-08 13:27:11.398945 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 33
  304. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "33" AND deleted = 0 limit 1
  305. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^770232323234344.*' OR blocked_patterns = '^77023232323434.*' OR blocked_patterns = '^7702323232343.*' OR blocked_patterns = '^770232323234.*' OR blocked_patterns = '^77023232323.*' OR blocked_patterns = '^7702323232.*' OR blocked_patterns = '^770232323.*' OR blocked_patterns = '^77023232.*' OR blocked_patterns = '^7702323.*' OR blocked_patterns = '^770232.*' OR blocked_patterns = '^77023.*' OR blocked_patterns = '^7702.*' OR blocked_patterns = '^770.*' OR blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 33 limit 1
  306. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  307. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 33
  308. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1980689661
  309. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1928.15
  310. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  311. 2022-02-08 13:27:11.398945 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  312. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  313. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  314. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  315. 2022-02-08 13:27:11.398945 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^770232323234344.*' OR pattern = '^77023232323434.*' OR pattern = '^7702323232343.*' OR pattern = '^770232323234.*' OR pattern = '^77023232323.*' OR pattern = '^7702323232.*' OR pattern = '^770232323.*' OR pattern = '^77023232.*' OR pattern = '^7702323.*' OR pattern = '^770232.*' OR pattern = '^77023.*' OR pattern = '^7702.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND (caller_id_pattern = '^77111332999.*' OR caller_id_pattern = '^7711133299.*' OR caller_id_pattern = '^771113329.*' OR caller_id_pattern = '^77111332.*' OR caller_id_pattern = '^7711133.*' OR caller_id_pattern = '^771113.*' OR caller_id_pattern = '^77111.*' OR caller_id_pattern = '^7711.*' OR caller_id_pattern = '^771.*' OR caller_id_pattern = '^77.*' OR caller_id_pattern = '^7.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 3 OR accountid=33)  ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  316. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  317. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
  318. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:3.00000
  319. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:3
  320. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '3' and status=0
  321. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
  322. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :8-2
  323. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
  324. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.27
  325. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :3
  326. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :5
  327. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:3.45
  328. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  329. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
  330. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  331. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  332. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 3.45
  333. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : UK-Entdemo
  334. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 89
  335. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 33
  336. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  337. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  338. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  339. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1928.15 balance Accountid 33 !!!
  340. 2022-02-08 13:27:11.418948 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  341. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:33|CODE:^77.*|DESTINATION:caller id pattern|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:35|ACCID:34||ID:3|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.45|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:89|ACCID:33
  342. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  343. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  344. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  345. 2022-02-08 13:27:11.418948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  346. 2022-02-08 13:27:11.418948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=3 ORDER by id asc
  347. 2022-02-08 13:27:11.418948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^770232323234344.*' OR pattern = '^77023232323434.*' OR pattern = '^7702323232343.*' OR pattern = '^770232323234.*' OR pattern = '^77023232323.*' OR pattern = '^7702323232.*' OR pattern = '^770232323.*' OR pattern = '^77023232.*' OR pattern = '^7702323.*' OR pattern = '^770232.*' OR pattern = '^77023.*' OR pattern = '^7702.*' OR pattern = '^770.*' OR pattern = '^77.*' OR pattern = '^7.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4,6) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  348. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  349. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2
  350. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  351. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : UK-Entdemo
  352. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  353. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  354. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  355. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  356. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  357. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  358. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Continue_to_fail_Gw
  359. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  360. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  361. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  362. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  363. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Ent-Demo
  364. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  365. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  366. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
  367. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^77.*
  368. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Continue_on_fail
  369. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  370. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  371. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^77.*
  372. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  373. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  374. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6
  375. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Continue_to_fail_Gw
  376. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  377. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  378. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  379. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  380. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Continue_to_fail_Trunk
  381. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  382. 2022-02-08 13:27:11.418948 98.00% [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 = 34 AND status=0 LIMIT 1
  383. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  384. 2022-02-08 13:27:11.418948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  385. 2022-02-08 13:27:11.418948 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  386. 2022-02-08 13:27:11.418948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  387. 2022-02-08 13:27:11.438948 98.00% [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 = 3) AND status=0 limit 1
  388. 2022-02-08 13:27:11.438948 98.00% [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 = 4) AND status=0 limit 1
  389. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7111332114" limit 1
  390. 2022-02-08 13:27:11.438948 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec :
  391. 2022-02-08 13:27:11.438948 98.00% [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  392. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  393. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  394. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  395. 2022-02-08 13:27:11.438948 98.00% [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 = 3) AND status=0 limit 1
  396. 2022-02-08 13:27:11.438948 98.00% [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
  397. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="7111332114" limit 1
  398. 2022-02-08 13:27:11.438948 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] sip_codec :
  399. 2022-02-08 13:27:11.438948 98.00% [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, A.codec as did_codec FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  400. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] 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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="770232323234344" LIMIT 1
  401. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  402. 2022-02-08 13:27:11.438948 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  403. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  404. <document type="freeswitch/xml">
  405. <section name="dialplan" description="ASTPP Dialplan">
  406. <context name="default">
  407. <extension name="770232323234344">
  408. <condition field="destination_number" expression="770232323234344">
  409. <action application="set" data="effective_destination_number=770232323234344"/>
  410. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  411. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  412. <action application="set" data="callstart=2022-02-08 13:27:11"/>
  413. <action application="set" data="hangup_after_bridge=true"/>
  414. <action application="set" data="continue_on_fail=TRUE"/>
  415. <action application="set" data="account_id=34"/>
  416. <action application="set" data="parent_id=33"/>
  417. <action application="set" data="entity_id=0"/>
  418. <action application="set" data="call_processed=internal"/>
  419. <action application="set" data="call_direction=outbound"/>
  420. <action application="set" data="accountname=default"/>
  421. <action application="set" data="origination_rates=ID:33|CODE:^77.*|DESTINATION:caller id pattern|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:35|ACCID:34||ID:3|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.45|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:89|ACCID:33"/>
  422. <action application="set" data="original_caller_id_name=External caller PKQA"/>
  423. <action application="set" data="original_caller_id_number=77111332999"/>
  424.  
  425. <action application="set" data="effective_caller_id_name=External caller PKQA"/>
  426. <action application="set" data="effective_caller_id_number=77111332999"/>
  427. <action application="set" data="calltype=STANDARD"/>
  428. <action application="set" data="termination_rates=ID:2|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3"/>
  429. <action application="set" data="trunk_id=4"/>
  430. <action application="set" data="provider_id=3"/>
  431. <action application="set" data="rate_flag=0"/>
  432. <action application="set" data="force_trunk_flag=0"/>
  433. <action application="export" data="presence_data=trunk_id=4"/>
  434. <action application="set" data="intcall=0"/>
  435. <action application="export" data="presence_id=770232323234344"/>
  436. <action application="export" data="presence_data=x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Ent-Demo // ^77.* // UK-Entdemo // 1.00000 // trunk_id=4|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo"/>
  437. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/Continue_to_fail_Gw/770232323234344;fs_path=sip:172.31.15.133:5066"/>
  438. <action application="set" data="effective_caller_id_name=External caller PKQA"/>
  439. <action application="set" data="effective_caller_id_number=77111332999"/>
  440. <action application="set" data="calltype=STANDARD"/>
  441. <action application="set" data="termination_rates=ID:12|CODE:^77.*|DESTINATION:Continue_on_fail|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:6|PROVIDER:3"/>
  442. <action application="set" data="trunk_id=6"/>
  443. <action application="set" data="provider_id=3"/>
  444. <action application="set" data="rate_flag=0"/>
  445. <action application="set" data="force_trunk_flag=0"/>
  446. <action application="export" data="presence_data=trunk_id=6"/>
  447. <action application="set" data="intcall=0"/>
  448. <action application="export" data="presence_id=770232323234344"/>
  449. <action application="export" data="presence_data=x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Continue_to_fail_Trunk // ^77.* // Continue_on_fail // 1.00000 // trunk_id=6|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo"/>
  450. <action application="bridge" data="{sip_cid_type=rpid}[leg_timeout=0]sofia/gateway/Continue_to_fail_Gw/770232323234344;fs_path=sip:172.31.15.133:5066"/>
  451. </condition>
  452. </extension>
  453. </context>
  454. </section>
  455. </document>
  456. Dialplan: sofia/default/7111332114@13.233.144.222:5066 parsing [default->770232323234344] continue=false
  457. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Regex (PASS) [770232323234344] destination_number(770232323234344) =~ /770232323234344/ break=on-false
  458. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(effective_destination_number=770232323234344)
  459. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  460. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  461. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(callstart=2022-02-08 13:27:11)
  462. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(hangup_after_bridge=true)
  463. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(continue_on_fail=TRUE)
  464. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(account_id=34)
  465. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(parent_id=33)
  466. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(entity_id=0)
  467. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(call_processed=internal)
  468. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(call_direction=outbound)
  469. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(accountname=default)
  470. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(origination_rates=ID:33|CODE:^77.*|DESTINATION:caller id pattern|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:35|ACCID:34||ID:3|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.45|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:89|ACCID:33)
  471. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(original_caller_id_name=External caller PKQA)
  472. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(original_caller_id_number=77111332999)
  473. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(effective_caller_id_name=External caller PKQA)
  474. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(effective_caller_id_number=77111332999)
  475. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(calltype=STANDARD)
  476. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(termination_rates=ID:2|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3)
  477. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(trunk_id=4)
  478. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(provider_id=3)
  479. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(rate_flag=0)
  480. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(force_trunk_flag=0)
  481. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action export(presence_data=trunk_id=4)
  482. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(intcall=0)
  483. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action export(presence_id=770232323234344)
  484. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action export(presence_data=x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Ent-Demo // ^77.* // UK-Entdemo // 1.00000 // trunk_id=4|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo)
  485. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/Continue_to_fail_Gw/770232323234344;fs_path=sip:172.31.15.133:5066)
  486. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(effective_caller_id_name=External caller PKQA)
  487. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(effective_caller_id_number=77111332999)
  488. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(calltype=STANDARD)
  489. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(termination_rates=ID:12|CODE:^77.*|DESTINATION:Continue_on_fail|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:6|PROVIDER:3)
  490. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(trunk_id=6)
  491. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(provider_id=3)
  492. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(rate_flag=0)
  493. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(force_trunk_flag=0)
  494. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action export(presence_data=trunk_id=6)
  495. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action set(intcall=0)
  496. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action export(presence_id=770232323234344)
  497. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action export(presence_data=x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Continue_to_fail_Trunk // ^77.* // Continue_on_fail // 1.00000 // trunk_id=6|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo)
  498. Dialplan: sofia/default/7111332114@13.233.144.222:5066 Action bridge({sip_cid_type=rpid}[leg_timeout=0]sofia/gateway/Continue_to_fail_Gw/770232323234344;fs_path=sip:172.31.15.133:5066)
  499. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/7111332114@13.233.144.222:5066) State Change CS_ROUTING -> CS_EXECUTE
  500. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/7111332114@13.233.144.222:5066) State ROUTING going to sleep
  501. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_EXECUTE (Cur 1 Tot 9)
  502. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7111332114@13.233.144.222:5066) State EXECUTE
  503. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_sofia.c:213 sofia/default/7111332114@13.233.144.222:5066 SOFIA EXECUTE
  504. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/7111332114@13.233.144.222:5066 Standard EXECUTE
  505. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(effective_destination_number=770232323234344)
  506. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [effective_destination_number]=[770232323234344]
  507. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(bridge_pre_execute_bleg_app=sched_hangup)
  508. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [bridge_pre_execute_bleg_app]=[sched_hangup]
  509. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  510. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  511. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(callstart=2022-02-08 13:27:11)
  512. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [callstart]=[2022-02-08 13:27:11]
  513. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(hangup_after_bridge=true)
  514. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [hangup_after_bridge]=[true]
  515. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(continue_on_fail=TRUE)
  516. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [continue_on_fail]=[TRUE]
  517. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(account_id=34)
  518. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [account_id]=[34]
  519. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(parent_id=33)
  520. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [parent_id]=[33]
  521. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(entity_id=0)
  522. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [entity_id]=[0]
  523. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(call_processed=internal)
  524. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [call_processed]=[internal]
  525. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(call_direction=outbound)
  526. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [call_direction]=[outbound]
  527. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(accountname=default)
  528. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [accountname]=[default]
  529. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(origination_rates=ID:33|CODE:^77.*|DESTINATION:caller id pattern|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:35|ACCID:34||ID:3|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.45|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:89|ACCID:33)
  530. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [origination_rates]=[ID:33|CODE:^77.*|DESTINATION:caller id pattern|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:0|CI:35|ACCID:34||ID:3|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:3.45|INC:60|INITIALBLOCK:60|RATEGROUP:3|MARKUP:0|CI:89|ACCID:33]
  531. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(original_caller_id_name=External caller PKQA)
  532. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [original_caller_id_name]=[External caller PKQA]
  533. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(original_caller_id_number=77111332999)
  534. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [original_caller_id_number]=[77111332999]
  535. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(effective_caller_id_name=External caller PKQA)
  536. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [effective_caller_id_name]=[External caller PKQA]
  537. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(effective_caller_id_number=77111332999)
  538. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [effective_caller_id_number]=[77111332999]
  539. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(calltype=STANDARD)
  540. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [calltype]=[STANDARD]
  541. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(termination_rates=ID:2|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3)
  542. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [termination_rates]=[ID:2|CODE:^77.*|DESTINATION:UK-Entdemo|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:60|INITIALBLOCK:60|TRUNK:4|PROVIDER:3]
  543. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(trunk_id=4)
  544. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [trunk_id]=[4]
  545. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(provider_id=3)
  546. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [provider_id]=[3]
  547. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(rate_flag=0)
  548. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [rate_flag]=[0]
  549. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(force_trunk_flag=0)
  550. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [force_trunk_flag]=[0]
  551. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 export(presence_data=trunk_id=4)
  552. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  553. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 set(intcall=0)
  554. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/7111332114@13.233.144.222:5066 [intcall]=[0]
  555. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 export(presence_id=770232323234344)
  556. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[770232323234344]
  557. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 export(presence_data=x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Ent-Demo // ^77.* // UK-Entdemo // 1.00000 // trunk_id=4|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo)
  558. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Ent-Demo // ^77.* // UK-Entdemo // 1.00000 // trunk_id=4|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo]
  559. EXECUTE [depth=0] sofia/default/7111332114@13.233.144.222:5066 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/Continue_to_fail_Gw/770232323234344;fs_path=sip:172.31.15.133:5066)
  560. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_channel.c:1269 sofia/default/7111332114@13.233.144.222:5066 EXPORTING[export_vars] [presence_data]=[x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Ent-Demo // ^77.* // UK-Entdemo // 1.00000 // trunk_id=4|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo] to event
  561. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_channel.c:1269 sofia/default/7111332114@13.233.144.222:5066 EXPORTING[export_vars] [presence_id]=[770232323234344] to event
  562. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_channel.c:1269 sofia/default/7111332114@13.233.144.222:5066 EXPORTING[export_vars] [presence_data]=[x//33|||Postpaid(7111332114)|||^77.* // caller id pattern // 5.00000 |||Ent-Demo // ^77.* // UK-Entdemo // 1.00000 // trunk_id=4|||STD|||150.129.107.251|||3.45 // ^77.* // UK-Entdemo] to event
  563. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  564. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  565. 2022-02-08 13:27:11.458949 98.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/770232323234344 [61331cf0-4bb3-4108-9fb4-b21f8aafc217]
  566. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_sofia.c:5121 (sofia/default/770232323234344) State Change CS_NEW -> CS_INIT
  567. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/770232323234344) Running State Change CS_INIT (Cur 2 Tot 10)
  568. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/770232323234344) State INIT
  569. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_sofia.c:97 sofia/default/770232323234344 SOFIA INIT
  570. 2022-02-08 13:27:11.458949 98.00% [DEBUG] sofia_glue.c:1620 sip:172.31.15.133:5066 Setting proxy route to sofia/default/770232323234344
  571. 2022-02-08 13:27:11.458949 98.00% [INFO] sofia_glue.c:1651 sofia/default/770232323234344 sending invite call-id: (null)
  572. 2022-02-08 13:27:11.458949 98.00% [DEBUG] sofia_glue.c:1654 sofia/default/770232323234344 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  573. Local SDP:
  574. v=0
  575. o=FreeSWITCH 1644304969 1644304970 IN IP4 172.31.15.133
  576. s=FreeSWITCH
  577. c=IN IP4 172.31.15.133
  578. t=0 0
  579. m=audio 21862 RTP/AVP 0 101
  580. a=rtpmap:0 PCMU/8000
  581. a=rtpmap:101 telephone-event/8000
  582. a=fmtp:101 0-15
  583. a=ptime:20
  584. a=sendrecv
  585.  
  586. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/770232323234344 Standard INIT
  587. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/770232323234344) State Change CS_INIT -> CS_ROUTING
  588. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/770232323234344) State INIT going to sleep
  589. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/770232323234344) Running State Change CS_ROUTING (Cur 2 Tot 10)
  590. 2022-02-08 13:27:11.458949 98.00% [DEBUG] sofia.c:7499 Channel sofia/default/770232323234344 entering state [calling][0]
  591. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/770232323234344) State ROUTING
  592. 2022-02-08 13:27:11.458949 98.00% [DEBUG] mod_sofia.c:158 sofia/default/770232323234344 SOFIA ROUTING
  593. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/770232323234344) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  594. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/770232323234344) State ROUTING going to sleep
  595. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/770232323234344) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 10)
  596. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/770232323234344) State CONSUME_MEDIA
  597. 2022-02-08 13:27:11.458949 98.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/770232323234344) State CONSUME_MEDIA going to sleep
  598. 2022-02-08 13:27:11.718971 98.00% [DEBUG] sofia.c:7499 Channel sofia/default/770232323234344 entering state [proceeding][180]
  599. 2022-02-08 13:27:11.718971 98.00% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/770232323234344!
  600. 2022-02-08 13:27:11.718971 98.00% [DEBUG] switch_channel.c:3494 (sofia/default/770232323234344) Callstate Change DOWN -> RINGING
  601. 2022-02-08 13:27:11.738966 98.00% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/7111332114@13.233.144.222:5066!
  602. 2022-02-08 13:27:11.738966 98.00% [DEBUG] sofia.c:7499 Channel sofia/default/7111332114@13.233.144.222:5066 entering state [early][180]
  603. 2022-02-08 13:27:11.738966 98.00% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/7111332114@13.233.144.222:5066!
  604. 2022-02-08 13:27:19.858967 96.90% [NOTICE] sofia_reg.c:459 Registering Alpesh
  605. 2022-02-08 13:27:20.038949 96.90% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #67
  606. 2022-02-08 13:27:20.878963 96.90% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds.
  607. 2022-02-08 13:27:21.738955 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/770232323234344 entering state [completing][200]
  608. 2022-02-08 13:27:21.738955 96.87% [DEBUG] sofia.c:7509 Remote SDP:
  609. v=0
  610. o=root 995108103 995108103 IN IP4 159.203.131.36
  611. s=Asterisk PBX 16.4.0
  612. c=IN IP4 159.203.131.36
  613. t=0 0
  614. m=audio 10424 RTP/AVP 0 101
  615. a=rtpmap:0 PCMU/8000
  616. a=rtpmap:101 telephone-event/8000
  617. a=fmtp:101 0-16
  618. a=maxptime:150
  619.  
  620. 2022-02-08 13:27:21.738955 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/770232323234344 entering state [ready][200]
  621. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  622. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  623. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  624. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/770232323234344 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  625. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_codec.c:111 sofia/default/770232323234344 Original read codec set to PCMU:0
  626. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  627. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:5973 sofia/default/770232323234344 Set 2833 dtmf send payload to 101 recv payload to 101
  628. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/770232323234344] 172.31.15.133 port 21862 -> 159.203.131.36 port 10424 codec: 0 ms: 20
  629. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  630. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:9089 sofia/default/770232323234344 Set 2833 dtmf send payload to 101
  631. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:9096 sofia/default/770232323234344 Set 2833 dtmf receive payload to 101
  632. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:9119 sofia/default/770232323234344 Set rtp dtmf delay to 40
  633. 2022-02-08 13:27:21.738955 96.87% [NOTICE] sofia.c:8683 Channel [sofia/default/770232323234344] has been answered
  634. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_channel.c:3950 (sofia/default/770232323234344) Callstate Change RINGING -> ACTIVE
  635. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/7111332114@13.233.144.222:5066] 172.31.15.133 port 25262 -> 150.129.107.251 port 40032 codec: 0 ms: 20
  636. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  637. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:9089 sofia/default/7111332114@13.233.144.222:5066 Set 2833 dtmf send payload to 101
  638. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:9096 sofia/default/7111332114@13.233.144.222:5066 Set 2833 dtmf receive payload to 101
  639. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_core_media.c:9119 sofia/default/7111332114@13.233.144.222:5066 Set rtp dtmf delay to 40
  640. 2022-02-08 13:27:21.738955 96.87% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/7111332114@13.233.144.222:5066:
  641. v=0
  642. o=FreeSWITCH 1644301579 1644301580 IN IP4 172.31.15.133
  643. s=FreeSWITCH
  644. c=IN IP4 172.31.15.133
  645. t=0 0
  646. m=audio 25262 RTP/AVP 0 101
  647. a=rtpmap:0 PCMU/8000
  648. a=rtpmap:101 telephone-event/8000
  649. a=fmtp:101 0-15
  650. a=ptime:20
  651. a=sendrecv
  652. m=video 0 RTP/AVP 19
  653.  
  654. 2022-02-08 13:27:21.738955 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/7111332114@13.233.144.222:5066 entering state [completed][200]
  655. 2022-02-08 13:27:21.738955 96.87% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/7111332114@13.233.144.222:5066] has been answered
  656. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_channel.c:3950 (sofia/default/7111332114@13.233.144.222:5066) Callstate Change RINGING -> ACTIVE
  657. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/770232323234344] Peer UUID: 61331cf0-4bb3-4108-9fb4-b21f8aafc217
  658. 2022-02-08 13:27:21.738955 96.87% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/770232323234344) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  659. 2022-02-08 13:27:21.758958 96.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/770232323234344) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 10)
  660. 2022-02-08 13:27:21.758958 96.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/770232323234344) State EXCHANGE_MEDIA
  661. 2022-02-08 13:27:21.758958 96.87% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  662. 2022-02-08 13:27:21.818964 96.87% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  663. 2022-02-08 13:27:21.878938 96.87% [DEBUG] sofia.c:7499 Channel sofia/default/7111332114@13.233.144.222:5066 entering state [ready][200]
  664. 2022-02-08 13:27:21.938972 96.87% [DEBUG] switch_ivr_bridge.c:655 sofia/default/770232323234344 Bridge execute app sched_hangup(+6000 normal_clearing)
  665. 2022-02-08 13:27:21.958948 96.87% [DEBUG] switch_ivr.c:632 sofia/default/770232323234344 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  666. EXECUTE [depth=0] sofia/default/770232323234344 sched_hangup(+6000 normal_clearing)
  667. 2022-02-08 13:27:21.958948 96.87% [DEBUG] switch_scheduler.c:263 Added task 7 switch_ivr_schedule_hangup (61331cf0-4bb3-4108-9fb4-b21f8aafc217) to run at 1644332841
  668. 2022-02-08 13:27:22.118969 96.60% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  669. 2022-02-08 13:27:51.898968 98.50% [NOTICE] sofia_reg.c:459 Registering Alpesh
  670. 2022-02-08 13:27:52.078948 98.73% [ERR] sofia_reg.c:2677 Alpesh Failed Registration with status Service Unavailable [503]. failure #68
  671. 2022-02-08 13:27:52.898958 98.73% [WARNING] sofia_reg.c:516 Alpesh Failed Registration [503], setting retry to 30 seconds.
  672. 2022-02-08 13:28:10.898993 95.20% [NOTICE] sofia.c:1065 Hangup sofia/default/7111332114@13.233.144.222:5066 [CS_EXECUTE] [NORMAL_CLEARING]
  673. 2022-02-08 13:28:10.898993 95.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/7111332114@13.233.144.222:5066]
  674. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_ivr_bridge.c:820 sofia/default/7111332114@13.233.144.222:5066 ending bridge by request from write function
  675. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/770232323234344]
  676. 2022-02-08 13:28:10.918948 95.20% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/770232323234344 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  677. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:650 (sofia/default/770232323234344) State EXCHANGE_MEDIA going to sleep
  678. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/770232323234344) Running State Change CS_HANGUP (Cur 2 Tot 10)
  679. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/770232323234344) Callstate Change ACTIVE -> HANGUP
  680. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/770232323234344) State HANGUP
  681. 2022-02-08 13:28:10.918948 95.20% [DEBUG] mod_sofia.c:462 sofia/default/770232323234344 Overriding SIP cause 480 with 200 from the other leg
  682. 2022-02-08 13:28:10.918948 95.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/770232323234344 hanging up, cause: NORMAL_CLEARING
  683. 2022-02-08 13:28:10.918948 95.20% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/770232323234344
  684. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/770232323234344 Standard HANGUP, cause: NORMAL_CLEARING
  685. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/770232323234344) State HANGUP going to sleep
  686. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/770232323234344) State Change CS_HANGUP -> CS_REPORTING
  687. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/770232323234344) Running State Change CS_REPORTING (Cur 2 Tot 10)
  688. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/770232323234344) State REPORTING
  689. 2022-02-08 13:28:10.918948 95.20% [INFO] mod_json_cdr.c:271 Process [61331cf0-4bb3-4108-9fb4-b21f8aafc217.cdr.json]
  690. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/770232323234344 skip receive message [UNBRIDGE] (channel is hungup already)
  691. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/7111332114@13.233.144.222:5066 skip receive message [UNBRIDGE] (channel is hungup already)
  692. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_session.c:2983 sofia/default/7111332114@13.233.144.222:5066 skip receive message [PHONE_EVENT] (channel is hungup already)
  693. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/7111332114@13.233.144.222:5066) State EXECUTE going to sleep
  694. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_HANGUP (Cur 2 Tot 10)
  695. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:844 (sofia/default/7111332114@13.233.144.222:5066) Callstate Change ACTIVE -> HANGUP
  696. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7111332114@13.233.144.222:5066) State HANGUP
  697. 2022-02-08 13:28:10.918948 95.20% [DEBUG] mod_sofia.c:468 Channel sofia/default/7111332114@13.233.144.222:5066 hanging up, cause: NORMAL_CLEARING
  698. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:59 sofia/default/7111332114@13.233.144.222:5066 Standard HANGUP, cause: NORMAL_CLEARING
  699. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:846 (sofia/default/7111332114@13.233.144.222:5066) State HANGUP going to sleep
  700. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:616 (sofia/default/7111332114@13.233.144.222:5066) State Change CS_HANGUP -> CS_REPORTING
  701. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_REPORTING (Cur 2 Tot 10)
  702. 2022-02-08 13:28:10.918948 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7111332114@13.233.144.222:5066) State REPORTING
  703. 2022-02-08 13:28:10.918948 95.20% [INFO] mod_json_cdr.c:271 Process [f6bb0ec0-1978-4dfa-89cc-4c853a00e2ef.cdr.json]
  704. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/770232323234344 Standard REPORTING, cause: NORMAL_CLEARING
  705. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/770232323234344) State REPORTING going to sleep
  706. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/770232323234344) State Change CS_REPORTING -> CS_DESTROY
  707. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_session.c:1753 Session 10 (sofia/default/770232323234344) Locked, Waiting on external entities
  708. 2022-02-08 13:28:10.938947 95.20% [NOTICE] switch_core_session.c:1771 Session 10 (sofia/default/770232323234344) Ended
  709. 2022-02-08 13:28:10.938947 95.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/770232323234344 [CS_DESTROY]
  710. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/770232323234344) Running State Change CS_DESTROY (Cur 1 Tot 10)
  711. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/770232323234344) State DESTROY
  712. 2022-02-08 13:28:10.938947 95.20% [DEBUG] mod_sofia.c:379 sofia/default/770232323234344 SOFIA DESTROY
  713. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/770232323234344 Standard DESTROY
  714. 2022-02-08 13:28:10.938947 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/770232323234344) State DESTROY going to sleep
  715. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_scheduler.c:147 Deleting task 7 switch_ivr_schedule_hangup (61331cf0-4bb3-4108-9fb4-b21f8aafc217)
  716. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:168 sofia/default/7111332114@13.233.144.222:5066 Standard REPORTING, cause: NORMAL_CLEARING
  717. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:932 (sofia/default/7111332114@13.233.144.222:5066) State REPORTING going to sleep
  718. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:607 (sofia/default/7111332114@13.233.144.222:5066) State Change CS_REPORTING -> CS_DESTROY
  719. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_session.c:1753 Session 9 (sofia/default/7111332114@13.233.144.222:5066) Locked, Waiting on external entities
  720. 2022-02-08 13:28:10.958950 95.20% [NOTICE] switch_core_session.c:1771 Session 9 (sofia/default/7111332114@13.233.144.222:5066) Ended
  721. 2022-02-08 13:28:10.958950 95.20% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/7111332114@13.233.144.222:5066 [CS_DESTROY]
  722. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:735 (sofia/default/7111332114@13.233.144.222:5066) Running State Change CS_DESTROY (Cur 0 Tot 10)
  723. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7111332114@13.233.144.222:5066) State DESTROY
  724. 2022-02-08 13:28:10.958950 95.20% [DEBUG] mod_sofia.c:379 sofia/default/7111332114@13.233.144.222:5066 SOFIA DESTROY
  725. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:175 sofia/default/7111332114@13.233.144.222:5066 Standard DESTROY
  726. 2022-02-08 13:28:10.958950 95.20% [DEBUG] switch_core_state_machine.c:745 (sofia/default/7111332114@13.233.144.222:5066) State DESTROY going to sleep
  727. freeswitch@ip-172-31-15-133>
  728. freeswitch@ip-172-31-15-133>
  729. freeswitch@ip-172-31-15-133>
  730. freeswitch@ip-172-31-15-133>
  731. freeswitch@ip-172-31-15-133>
  732. freeswitch@ip-172-31-15-133> /exit
  733.