From Sahil, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and *2- attended transfer
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-07-29 05:55:22.276300 [NOTICE] switch_channel.c:1118 New Channel sofia/default/9550763767@13.233.197.178:7777 [b203a0e0-43c8-4350-9323-3160df3883b5]
  2. 2021-07-29 05:55:22.276300 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_NEW (Cur 1 Tot 74)
  3. 2021-07-29 05:55:22.276300 [INFO] sofia.c:10362 sofia/default/9550763767@13.233.197.178:7777 receiving invite from 117.247.91.162:42362 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: OGE5NDZiODI5NmM5YmE3ZjI4NjVlZmQ3NTM1N2FjMjg.
  4. 2021-07-29 05:55:22.276300 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 117.247.91.162:0.
  5. 2021-07-29 05:55:22.276300 [DEBUG] sofia.c:2447 detaching session b203a0e0-43c8-4350-9323-3160df3883b5
  6. 2021-07-29 05:55:22.276300 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [0185787228@13.233.197.178] from ip 117.247.91.162
  7. 2021-07-29 05:55:22.276300 [DEBUG] switch_core_state_machine.c:604 (sofia/default/9550763767@13.233.197.178:7777) State NEW
  8. 2021-07-29 05:55:22.356288 [DEBUG] sofia.c:2562 Re-attaching to session b203a0e0-43c8-4350-9323-3160df3883b5
  9. 2021-07-29 05:55:22.356288 [INFO] sofia.c:10362 sofia/default/9550763767@13.233.197.178:7777 receiving invite from 117.247.91.162:42362 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: OGE5NDZiODI5NmM5YmE3ZjI4NjVlZmQ3NTM1N2FjMjg.
  10. 2021-07-29 05:55:22.356288 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 117.247.91.162:0.
  11. 2021-07-29 05:55:22.376282 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
  12. 2021-07-29 05:55:22.376282 [DEBUG] sofia.c:7406 Channel sofia/default/9550763767@13.233.197.178:7777 entering state [received][100]
  13. 2021-07-29 05:55:22.376282 [DEBUG] sofia.c:7416 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 117.247.91.162
  16. s=Z
  17. c=IN IP4 117.247.91.162
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  39. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/9550763767@13.233.197.178:7777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_codec.c:111 sofia/default/9550763767@13.233.197.178:7777 Original read codec set to PCMA:8
  41. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  42. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_media.c:5918 sofia/default/9550763767@13.233.197.178:7777 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2021-07-29 05:55:22.376282 [DEBUG] sofia.c:7840 (sofia/default/9550763767@13.233.197.178:7777) State Change CS_NEW -> CS_INIT
  44. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_INIT (Cur 1 Tot 74)
  45. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9550763767@13.233.197.178:7777) State INIT
  46. 2021-07-29 05:55:22.376282 [DEBUG] mod_sofia.c:93 sofia/default/9550763767@13.233.197.178:7777 SOFIA INIT
  47. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:40 sofia/default/9550763767@13.233.197.178:7777 Standard INIT
  48. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:48 (sofia/default/9550763767@13.233.197.178:7777) State Change CS_INIT -> CS_ROUTING
  49. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:628 (sofia/default/9550763767@13.233.197.178:7777) State INIT going to sleep
  50. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_ROUTING (Cur 1 Tot 74)
  51. 2021-07-29 05:55:22.376282 [DEBUG] switch_channel.c:2332 (sofia/default/9550763767@13.233.197.178:7777) Callstate Change DOWN -> RINGING
  52. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9550763767@13.233.197.178:7777) State ROUTING
  53. 2021-07-29 05:55:22.376282 [DEBUG] mod_sofia.c:154 sofia/default/9550763767@13.233.197.178:7777 SOFIA ROUTING
  54. 2021-07-29 05:55:22.376282 [DEBUG] switch_core_state_machine.c:236 sofia/default/9550763767@13.233.197.178:7777 Standard ROUTING
  55. 2021-07-29 05:55:22.376282 [INFO] mod_dialplan_xml.c:637 Processing 9550763767 <9550763767>->0185787228 in context default
  56. 2021-07-29 05:55:22.376282 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  57. 2021-07-29 05:55:22.376282 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2021-07-29 05:55:22.376282 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  59. Event-Name: REQUEST_PARAMS
  60. Core-UUID: 8c80636e-808d-4991-a1bf-d4a0890404ab
  61. FreeSWITCH-Hostname: ip-172-31-34-76
  62. FreeSWITCH-Switchname: ip-172-31-34-76
  63. FreeSWITCH-IPv4: 172.31.34.76
  64. FreeSWITCH-IPv6: %3A%3A1
  65. Event-Date-Local: 2021-07-29%2005%3A55%3A22
  66. Event-Date-GMT: Thu,%2029%20Jul%202021%2005%3A55%3A22%20GMT
  67. Event-Date-Timestamp: 1627538122376282
  68. Event-Calling-File: mod_dialplan_xml.c
  69. Event-Calling-Function: dialplan_xml_locate
  70. Event-Calling-Line-Number: 608
  71. Event-Sequence: 85114
  72. Channel-State: CS_ROUTING
  73. Channel-Call-State: RINGING
  74. Channel-State-Number: 2
  75. Channel-Name: sofia/default/9550763767%4013.233.197.178%3A7777
  76. Unique-ID: b203a0e0-43c8-4350-9323-3160df3883b5
  77. Call-Direction: inbound
  78. Presence-Call-Direction: inbound
  79. Channel-HIT-Dialplan: true
  80. Channel-Presence-ID: 9550763767%4013.233.197.178
  81. Channel-Call-UUID: b203a0e0-43c8-4350-9323-3160df3883b5
  82. Answer-State: ringing
  83. Channel-Read-Codec-Name: PCMA
  84. Channel-Read-Codec-Rate: 8000
  85. Channel-Read-Codec-Bit-Rate: 64000
  86. Channel-Write-Codec-Name: PCMA
  87. Channel-Write-Codec-Rate: 8000
  88. Channel-Write-Codec-Bit-Rate: 64000
  89. Caller-Direction: inbound
  90. Caller-Logical-Direction: inbound
  91. Caller-Username: 9550763767
  92. Caller-Dialplan: XML
  93. Caller-Caller-ID-Name: 9550763767
  94. Caller-Caller-ID-Number: 9550763767
  95. Caller-Orig-Caller-ID-Name: 9550763767
  96. Caller-Orig-Caller-ID-Number: 9550763767
  97. Caller-Network-Addr: 117.247.91.162
  98. Caller-ANI: 9550763767
  99. Caller-Destination-Number: 0185787228
  100. Caller-Unique-ID: b203a0e0-43c8-4350-9323-3160df3883b5
  101. Caller-Source: mod_sofia
  102. Caller-Context: default
  103. Caller-Channel-Name: sofia/default/9550763767%4013.233.197.178%3A7777
  104. Caller-Profile-Index: 1
  105. Caller-Profile-Created-Time: 1627538122376282
  106. Caller-Channel-Created-Time: 1627538122376282
  107. Caller-Channel-Answered-Time: 0
  108. Caller-Channel-Progress-Time: 0
  109. Caller-Channel-Progress-Media-Time: 0
  110. Caller-Channel-Hangup-Time: 0
  111. Caller-Channel-Transfer-Time: 0
  112. Caller-Channel-Resurrect-Time: 0
  113. Caller-Channel-Bridged-Time: 0
  114. Caller-Channel-Last-Hold: 0
  115. Caller-Channel-Hold-Accum: 0
  116. Caller-Screen-Bit: true
  117. Caller-Privacy-Hide-Name: false
  118. Caller-Privacy-Hide-Number: false
  119. variable_direction: inbound
  120. variable_uuid: b203a0e0-43c8-4350-9323-3160df3883b5
  121. variable_session_id: 74
  122. variable_sip_from_params: transport%3DTCP
  123. variable_sip_from_user: 9550763767
  124. variable_sip_from_port: 7777
  125. variable_sip_from_uri: 9550763767%4013.233.197.178%3A7777
  126. variable_sip_from_host: 13.233.197.178
  127. variable_video_media_flow: disabled
  128. variable_text_media_flow: disabled
  129. variable_channel_name: sofia/default/9550763767%4013.233.197.178%3A7777
  130. variable_sip_call_id: OGE5NDZiODI5NmM5YmE3ZjI4NjVlZmQ3NTM1N2FjMjg.
  131. variable_sip_local_network_addr: 13.233.197.178
  132. variable_sip_network_ip: 117.247.91.162
  133. variable_sip_network_port: 42362
  134. variable_sip_invite_stamp: 1627538122356288
  135. variable_sip_received_ip: 117.247.91.162
  136. variable_sip_received_port: 42362
  137. variable_sip_via_protocol: tcp
  138. variable_sip_authorized: true
  139. variable_Event-Name: REQUEST_PARAMS
  140. variable_Core-UUID: 8c80636e-808d-4991-a1bf-d4a0890404ab
  141. variable_FreeSWITCH-Hostname: ip-172-31-34-76
  142. variable_FreeSWITCH-Switchname: ip-172-31-34-76
  143. variable_FreeSWITCH-IPv4: 172.31.34.76
  144. variable_FreeSWITCH-IPv6: %3A%3A1
  145. variable_Event-Date-Local: 2021-07-29%2005%3A55%3A22
  146. variable_Event-Date-GMT: Thu,%2029%20Jul%202021%2005%3A55%3A22%20GMT
  147. variable_Event-Date-Timestamp: 1627538122356288
  148. variable_Event-Calling-File: sofia.c
  149. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  150. variable_Event-Calling-Line-Number: 10624
  151. variable_Event-Sequence: 85105
  152. variable_sip_number_alias: 9550763767
  153. variable_sip_auth_username: 9550763767
  154. variable_sip_auth_realm: 13.233.197.178
  155. variable_number_alias: 9550763767
  156. variable_requested_user_name: 9550763767
  157. variable_requested_domain_name: 13.233.197.178
  158. variable_user_context: default
  159. variable_sipcall: true
  160. variable_sip_user: 9550763767
  161. variable_accountcode: 4727985745
  162. variable_user_name: 9550763767
  163. variable_domain_name: 13.233.197.178
  164. variable_sip_from_user_stripped: 9550763767
  165. variable_sip_from_tag: 4e529c62
  166. variable_sofia_profile_name: default
  167. variable_sofia_profile_url: sip%3Amod_sofia%4013.233.197.178%3A7777
  168. variable_recovery_profile_name: default
  169. variable_sip_full_via: SIP/2.0/TCP%20192.168.1.50%3A59931%3Bbranch%3Dz9hG4bK-d8754z-b7fe899ad5469963-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D42362
  170. variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.50%3A59931%3Bbranch%3Dz9hG4bK-d8754z-b7fe899ad5469963-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D42362
  171. variable_sip_full_from: %3Csip%3A9550763767%4013.233.197.178%3A7777%3Btransport%3DTCP%3E%3Btag%3D4e529c62
  172. variable_sip_full_to: %3Csip%3A0185787228%4013.233.197.178%3A7777%3Btransport%3DTCP%3E
  173. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  174. variable_sip_req_params: transport%3DTCP
  175. variable_sip_req_user: 0185787228
  176. variable_sip_req_port: 7777
  177. variable_sip_req_uri: 0185787228%4013.233.197.178%3A7777
  178. variable_sip_req_host: 13.233.197.178
  179. variable_sip_to_params: transport%3DTCP
  180. variable_sip_to_user: 0185787228
  181. variable_sip_to_port: 7777
  182. variable_sip_to_uri: 0185787228%4013.233.197.178%3A7777
  183. variable_sip_to_host: 13.233.197.178
  184. variable_sip_contact_params: transport%3DTCP
  185. variable_sip_contact_user: 9550763767
  186. variable_sip_contact_port: 59931
  187. variable_sip_contact_uri: 9550763767%40117.247.91.162%3A59931
  188. variable_sip_contact_host: 117.247.91.162
  189. variable_sip_user_agent: Z%203.3.25608%20r25552
  190. variable_sip_via_host: 192.168.1.50
  191. variable_sip_via_port: 59931
  192. variable_sip_via_rport: 42362
  193. variable_max_forwards: 70
  194. variable_presence_id: 9550763767%4013.233.197.178
  195. variable_sip_nat_detected: true
  196. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20117.247.91.162%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20117.247.91.162%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
  197. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  198. variable_rtp_use_codec_string: PCMA,PCMU
  199. variable_remote_video_media_flow: inactive
  200. variable_remote_text_media_flow: inactive
  201. variable_remote_audio_media_flow: sendrecv
  202. variable_audio_media_flow: sendrecv
  203. variable_remote_media_ip: 117.247.91.162
  204. variable_remote_media_port: 8000
  205. variable_rtp_audio_recv_pt: 8
  206. variable_rtp_use_codec_name: PCMA
  207. variable_rtp_use_codec_rate: 8000
  208. variable_rtp_use_codec_ptime: 20
  209. variable_rtp_use_codec_channels: 1
  210. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  211. variable_read_codec: PCMA
  212. variable_original_read_codec: PCMA
  213. variable_read_rate: 8000
  214. variable_original_read_rate: 8000
  215. variable_write_codec: PCMA
  216. variable_write_rate: 8000
  217. variable_dtmf_type: rfc2833
  218. variable_endpoint_disposition: RECEIVED
  219. variable_call_uuid: b203a0e0-43c8-4350-9323-3160df3883b5
  220. Hunt-Direction: inbound
  221. Hunt-Logical-Direction: inbound
  222. Hunt-Username: 9550763767
  223. Hunt-Dialplan: XML
  224. Hunt-Caller-ID-Name: 9550763767
  225. Hunt-Caller-ID-Number: 9550763767
  226. Hunt-Orig-Caller-ID-Name: 9550763767
  227. Hunt-Orig-Caller-ID-Number: 9550763767
  228. Hunt-Network-Addr: 117.247.91.162
  229. Hunt-ANI: 9550763767
  230. Hunt-Destination-Number: 0185787228
  231. Hunt-Unique-ID: b203a0e0-43c8-4350-9323-3160df3883b5
  232. Hunt-Source: mod_sofia
  233. Hunt-Context: default
  234. Hunt-Channel-Name: sofia/default/9550763767%4013.233.197.178%3A7777
  235. Hunt-Profile-Index: 1
  236. Hunt-Profile-Created-Time: 1627538122376282
  237. Hunt-Channel-Created-Time: 1627538122376282
  238. Hunt-Channel-Answered-Time: 0
  239. Hunt-Channel-Progress-Time: 0
  240. Hunt-Channel-Progress-Media-Time: 0
  241. Hunt-Channel-Hangup-Time: 0
  242. Hunt-Channel-Transfer-Time: 0
  243. Hunt-Channel-Resurrect-Time: 0
  244. Hunt-Channel-Bridged-Time: 0
  245. Hunt-Channel-Last-Hold: 0
  246. Hunt-Channel-Hold-Accum: 0
  247. Hunt-Screen-Bit: true
  248. Hunt-Privacy-Hide-Name: false
  249. Hunt-Privacy-Hide-Number: false
  250.  
  251.  
  252. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  253. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  254. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  255. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  256. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0185787228
  257. 2021-07-29 05:55:22.376282 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0185787228' AND status=0 limit 1
  258. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 9550763767 / 9550763767
  259. 2021-07-29 05:55:22.376282 [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 ="0185787228" LIMIT 1
  260. 2021-07-29 05:55:22.376282 [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 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="0185787228" limit 1
  261. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  262. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  263. 2021-07-29 05:55:22.376282 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =0185787228
  264. 2021-07-29 05:55:22.376282 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4727985745" AND deleted = 0 limit 1
  265. 2021-07-29 05:55:22.376282 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0185787228.*' OR blocked_patterns = '^018578722.*' OR blocked_patterns = '^01857872.*' OR blocked_patterns = '^0185787.*' OR blocked_patterns = '^018578.*' OR blocked_patterns = '^01857.*' OR blocked_patterns = '^0185.*' OR blocked_patterns = '^018.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  266. 2021-07-29 05:55:22.376282 [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 ="0185787228" AND A.accountid = '2' limit 1
  267. 2021-07-29 05:55:22.376282 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0185787228
  268. 2021-07-29 05:55:22.376282 [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 ="0185787228" LIMIT 1
  269. 2021-07-29 05:55:22.376282 [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 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="0185787228" limit 1
  270. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  271. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0185787228" AND (accountid = 0 OR status = 1) LIMIT 1
  272. 2021-07-29 05:55:22.396280 [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 = '^0185787228.*' OR patterns = '^018578722.*' OR patterns = '^01857872.*' OR patterns = '^0185787.*' OR patterns = '^018578.*' OR patterns = '^01857.*' OR patterns = '^0185.*' OR patterns = '^018.*' OR patterns = '^01.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  273. 2021-07-29 05:55:22.396280 [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 = '0185787228' OR number = '018578722' OR number = '01857872' OR number = '0185787' OR number = '018578' OR number = '01857' OR number = '0185' OR number = '018' OR number = '01' OR number = '0' OR number ='--') OR (number = '0185787228*' OR number = '018578722*' OR number = '01857872*' OR number = '0185787*' OR number = '018578*' OR number = '01857*' OR number = '0185*' OR number = '018*' OR number = '01*' OR number = '0*' OR number ='--') OR (number = '9550763767' OR number = '955076376' OR number = '95507637' OR number = '9550763' OR number = '955076' OR number = '95507' OR number = '9550' OR number = '955' OR number = '95' OR number = '9' OR number ='--') OR (number = '9550763767*' OR number = '955076376*' OR number = '95507637*' OR number = '9550763*' OR number = '955076*' OR number = '95507*' OR number = '9550*' OR number = '955*' OR number = '95*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  274. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  275. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0185787228' OR routing_prefix = '018578722' OR routing_prefix = '01857872' OR routing_prefix = '0185787' OR routing_prefix = '018578' OR routing_prefix = '01857' OR routing_prefix = '0185' OR routing_prefix = '018' OR routing_prefix = '01' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  276. 2021-07-29 05:55:22.396280 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (0185787228)!!!!
  277. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] ported_num :27185787228
  278. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Query :SELECT rnoroute FROM ported_number WHERE dnfrom ='27185787228' limit 1
  279. 2021-07-29 05:55:22.396280 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After append Ported Number:::: (0185787228)!!!!
  280. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  281. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  282. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  283. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 918.2826
  284. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  285. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  286. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  287. 2021-07-29 05:55:22.396280 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  288. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  289. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  290. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  291. 2021-07-29 05:55:22.396280 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0185787228.*' OR pattern = '^018578722.*' OR pattern = '^01857872.*' OR pattern = '^0185787.*' OR pattern = '^018578.*' OR pattern = '^01857.*' OR pattern = '^0185.*' OR pattern = '^018.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 2 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  292. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  293. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  294. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 57
  295. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  296. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  297. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
  298. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] comment :
  299. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  300. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  301. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  302. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  303. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  304. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your918.2826 balance Accountid 2 !!!
  305. 2021-07-29 05:55:22.416281 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  306. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 100 minutes
  307. 2021-07-29 05:55:22.416281 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :
  308. 2021-07-29 05:55:22.416281 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=2 ORDER by id asc
  309. 2021-07-29 05:55:22.416281 [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 = '^0185787228.*' OR pattern = '^018578722.*' OR pattern = '^01857872.*' OR pattern = '^0185787.*' OR pattern = '^018578.*' OR pattern = '^01857.*' OR pattern = '^0185.*' OR pattern = '^018.*' OR pattern = '^01.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  310. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  311. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 53
  312. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^0185787228.*
  313. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  314. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  315. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  316. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^0185787228.*
  317. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  318. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  319. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  320. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Silver
  321. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  322. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  323. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  324. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  325. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Silver
  326. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  327. 2021-07-29 05:55:22.416281 [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 = 2 AND status=0 LIMIT 1
  328. 2021-07-29 05:55:22.416281 [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 100
  329. 2021-07-29 05:55:22.416281 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  330. 2021-07-29 05:55:22.416281 [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
  331. 2021-07-29 05:55:22.416281 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  332. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  333. <document type="freeswitch/xml">
  334. <section name="dialplan" description="ASTPP Dialplan">
  335. <context name="default">
  336. <extension name="0185787228">
  337. <condition field="destination_number" expression="0185787228">
  338. <action application="set" data="effective_destination_number=0185787228"/>
  339. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  340. <action application="set" data="origination_caller_id_name=9550763767"/>
  341. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  342. <action application="set" data="callstart=2021-07-29 05:55:22"/>
  343. <action application="set" data="hangup_after_bridge=true"/>
  344. <action application="set" data="continue_on_fail=TRUE"/>
  345. <action application="set" data="account_id=2"/>
  346. <action application="set" data="parent_id=0"/>
  347. <action application="set" data="entity_id=0"/>
  348. <action application="set" data="call_processed=internal"/>
  349. <action application="set" data="call_direction=outbound"/>
  350. <action application="set" data="accountname=default"/>
  351. <action application="set" data="origination_rates=ID:57|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2"/>
  352. <action application="set" data="original_caller_id_name=9550763767"/>
  353. <action application="set" data="original_caller_id_number=9550763767"/>
  354. <action application="limit" data="db 4727985745 user_4727985745 1 !SWITCH_CONGESTION"/>
  355.  
  356. <action application="export" data="is_recording=1"/>
  357. <action application="export" data="media_bug_answer_req=true"/>
  358. <action application="export" data="record_sample_rate=8000"/>
  359. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  360. <action application="set" data="effective_caller_id_number=9550763767"/>
  361. <action application="set" data="calltype=STANDARD"/>
  362. <action application="set" data="termination_rates=ID:53|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3"/>
  363. <action application="set" data="trunk_id=3"/>
  364. <action application="set" data="provider_id=3"/>
  365. <action application="set" data="rate_flag=0"/>
  366. <action application="set" data="force_trunk_flag=0"/>
  367. <action application="export" data="presence_data=trunk_id=3"/>
  368. <action application="set" data="intcall=0"/>
  369. <action application="export" data="presence_data=x|||default(4727985745)|||^0185787228.* //  // 0.03000 // trunk_id=|||Silver // ^0185787228.* //  // 0.02000 // trunk_id=3|||STD|||117.247.91.162"/>
  370. <action application="set" data="tod_tz_offset=+5" inline="true"/>
  371. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Silver/0185787228"/>
  372. </condition>
  373. </extension>
  374. </context>
  375. </section>
  376. </document>
  377. Dialplan: sofia/default/9550763767@13.233.197.178:7777 parsing [default->0185787228] continue=false
  378. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Regex (PASS) [0185787228] destination_number(0185787228) =~ /0185787228/ break=on-false
  379. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(effective_destination_number=0185787228)
  380. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  381. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(origination_caller_id_name=9550763767)
  382. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  383. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(callstart=2021-07-29 05:55:22)
  384. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(hangup_after_bridge=true)
  385. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(continue_on_fail=TRUE)
  386. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(account_id=2)
  387. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(parent_id=0)
  388. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(entity_id=0)
  389. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(call_processed=internal)
  390. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(call_direction=outbound)
  391. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(accountname=default)
  392. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(origination_rates=ID:57|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2)
  393. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(original_caller_id_name=9550763767)
  394. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(original_caller_id_number=9550763767)
  395. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  396. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action export(is_recording=1)
  397. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action export(media_bug_answer_req=true)
  398. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action export(record_sample_rate=8000)
  399. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  400. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(effective_caller_id_number=9550763767)
  401. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(calltype=STANDARD)
  402. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(termination_rates=ID:53|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3)
  403. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(trunk_id=3)
  404. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(provider_id=3)
  405. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(rate_flag=0)
  406. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(force_trunk_flag=0)
  407. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action export(presence_data=trunk_id=3)
  408. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(intcall=0)
  409. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action export(presence_data=x|||default(4727985745)|||^0185787228.* //  // 0.03000 // trunk_id=|||Silver // ^0185787228.* //  // 0.02000 // trunk_id=3|||STD|||117.247.91.162)
  410. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action set(tod_tz_offset=+5) INLINE
  411. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(tod_tz_offset=+5)
  412. 2021-07-29 05:55:22.416281 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [tod_tz_offset]=[+5]
  413. Dialplan: sofia/default/9550763767@13.233.197.178:7777 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Silver/0185787228)
  414. 2021-07-29 05:55:22.416281 [DEBUG] switch_core_state_machine.c:287 (sofia/default/9550763767@13.233.197.178:7777) State Change CS_ROUTING -> CS_EXECUTE
  415. 2021-07-29 05:55:22.416281 [DEBUG] switch_core_state_machine.c:644 (sofia/default/9550763767@13.233.197.178:7777) State ROUTING going to sleep
  416. 2021-07-29 05:55:22.416281 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_EXECUTE (Cur 1 Tot 74)
  417. 2021-07-29 05:55:22.416281 [DEBUG] switch_core_state_machine.c:651 (sofia/default/9550763767@13.233.197.178:7777) State EXECUTE
  418. 2021-07-29 05:55:22.416281 [DEBUG] mod_sofia.c:209 sofia/default/9550763767@13.233.197.178:7777 SOFIA EXECUTE
  419. 2021-07-29 05:55:22.436278 [DEBUG] switch_core_state_machine.c:329 sofia/default/9550763767@13.233.197.178:7777 Standard EXECUTE
  420. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(effective_destination_number=0185787228)
  421. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [effective_destination_number]=[0185787228]
  422. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(bridge_pre_execute_bleg_app=sched_hangup)
  423. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [bridge_pre_execute_bleg_app]=[sched_hangup]
  424. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(origination_caller_id_name=9550763767)
  425. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [origination_caller_id_name]=[9550763767]
  426. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  427. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  428. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(callstart=2021-07-29 05:55:22)
  429. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [callstart]=[2021-07-29 05:55:22]
  430. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(hangup_after_bridge=true)
  431. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [hangup_after_bridge]=[true]
  432. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(continue_on_fail=TRUE)
  433. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [continue_on_fail]=[TRUE]
  434. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(account_id=2)
  435. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [account_id]=[2]
  436. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(parent_id=0)
  437. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [parent_id]=[0]
  438. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(entity_id=0)
  439. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [entity_id]=[0]
  440. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(call_processed=internal)
  441. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [call_processed]=[internal]
  442. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(call_direction=outbound)
  443. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [call_direction]=[outbound]
  444. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(accountname=default)
  445. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [accountname]=[default]
  446. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(origination_rates=ID:57|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2)
  447. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [origination_rates]=[ID:57|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:2]
  448. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(original_caller_id_name=9550763767)
  449. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [original_caller_id_name]=[9550763767]
  450. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(original_caller_id_number=9550763767)
  451. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [original_caller_id_number]=[9550763767]
  452. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 limit(db 4727985745 user_4727985745 1 !SWITCH_CONGESTION)
  453. 2021-07-29 05:55:22.436278 [DEBUG] switch_limit.c:124 incr called: 4727985745_user_4727985745 max:1, interval:0
  454. 2021-07-29 05:55:22.436278 [DEBUG] mod_db.c:194 Usage for 4727985745_user_4727985745 is now 1/1
  455. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 export(is_recording=1)
  456. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
  457. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 export(media_bug_answer_req=true)
  458. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
  459. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 export(record_sample_rate=8000)
  460. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
  461. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav)
  462. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav]
  463. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(effective_caller_id_number=9550763767)
  464. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [effective_caller_id_number]=[9550763767]
  465. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(calltype=STANDARD)
  466. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [calltype]=[STANDARD]
  467. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(termination_rates=ID:53|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3)
  468. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [termination_rates]=[ID:53|CODE:^0185787228.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02000|INC:0|INITIALBLOCK:0|TRUNK:3|PROVIDER:3]
  469. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(trunk_id=3)
  470. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [trunk_id]=[3]
  471. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(provider_id=3)
  472. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [provider_id]=[3]
  473. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(rate_flag=0)
  474. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [rate_flag]=[0]
  475. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(force_trunk_flag=0)
  476. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [force_trunk_flag]=[0]
  477. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 export(presence_data=trunk_id=3)
  478. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  479. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 set(intcall=0)
  480. 2021-07-29 05:55:22.436278 [DEBUG] mod_dptools.c:1685 SET sofia/default/9550763767@13.233.197.178:7777 [intcall]=[0]
  481. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 export(presence_data=x|||default(4727985745)|||^0185787228.* //  // 0.03000 // trunk_id=|||Silver // ^0185787228.* //  // 0.02000 // trunk_id=3|||STD|||117.247.91.162)
  482. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||default(4727985745)|||^0185787228.* //  // 0.03000 // trunk_id=|||Silver // ^0185787228.* //  // 0.02000 // trunk_id=3|||STD|||117.247.91.162]
  483. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Silver/0185787228)
  484. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1264 sofia/default/9550763767@13.233.197.178:7777 EXPORTING[export_vars] [is_recording]=[1] to event
  485. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1264 sofia/default/9550763767@13.233.197.178:7777 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  486. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1264 sofia/default/9550763767@13.233.197.178:7777 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  487. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1264 sofia/default/9550763767@13.233.197.178:7777 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav] to event
  488. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1264 sofia/default/9550763767@13.233.197.178:7777 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^0185787228.* //  // 0.03000 // trunk_id=|||Silver // ^0185787228.* //  // 0.02000 // trunk_id=3|||STD|||117.247.91.162] to event
  489. 2021-07-29 05:55:22.436278 [DEBUG] switch_channel.c:1264 sofia/default/9550763767@13.233.197.178:7777 EXPORTING[export_vars] [presence_data]=[x|||default(4727985745)|||^0185787228.* //  // 0.03000 // trunk_id=|||Silver // ^0185787228.* //  // 0.02000 // trunk_id=3|||STD|||117.247.91.162] to event
  490. 2021-07-29 05:55:22.436278 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  491. 2021-07-29 05:55:22.436278 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  492. 2021-07-29 05:55:22.436278 [NOTICE] switch_channel.c:1118 New Channel sofia/default/0185787228 [a1c38b93-2e5a-4551-9dad-13204fcd31e2]
  493. 2021-07-29 05:55:22.436278 [DEBUG] mod_sofia.c:5102 (sofia/default/0185787228) State Change CS_NEW -> CS_INIT
  494. 2021-07-29 05:55:22.436278 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0185787228) Running State Change CS_INIT (Cur 2 Tot 75)
  495. 2021-07-29 05:55:22.436278 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0185787228) State INIT
  496. 2021-07-29 05:55:22.436278 [DEBUG] mod_sofia.c:93 sofia/default/0185787228 SOFIA INIT
  497. 2021-07-29 05:55:22.436278 [INFO] sofia_glue.c:1621 sofia/default/0185787228 sending invite call-id: (null)
  498. 2021-07-29 05:55:22.456279 [DEBUG] sofia_glue.c:1624 sofia/default/0185787228 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  499. Local SDP:
  500. v=0
  501. o=FreeSWITCH 1627517922 1627517923 IN IP4 13.233.197.178
  502. s=FreeSWITCH
  503. c=IN IP4 13.233.197.178
  504. t=0 0
  505. m=audio 20200 RTP/AVP 8 0 18 101
  506. a=rtpmap:8 PCMA/8000
  507. a=rtpmap:0 PCMU/8000
  508. a=rtpmap:18 G729/8000
  509. a=rtpmap:101 telephone-event/8000
  510. a=fmtp:101 0-16
  511. a=ptime:20
  512. a=sendrecv
  513.  
  514. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:40 sofia/default/0185787228 Standard INIT
  515. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:48 (sofia/default/0185787228) State Change CS_INIT -> CS_ROUTING
  516. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:628 (sofia/default/0185787228) State INIT going to sleep
  517. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0185787228) Running State Change CS_ROUTING (Cur 2 Tot 75)
  518. 2021-07-29 05:55:22.456279 [DEBUG] sofia.c:7406 Channel sofia/default/0185787228 entering state [calling][0]
  519. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0185787228) State ROUTING
  520. 2021-07-29 05:55:22.456279 [DEBUG] mod_sofia.c:154 sofia/default/0185787228 SOFIA ROUTING
  521. 2021-07-29 05:55:22.456279 [DEBUG] switch_ivr_originate.c:67 (sofia/default/0185787228) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  522. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:644 (sofia/default/0185787228) State ROUTING going to sleep
  523. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0185787228) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 75)
  524. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0185787228) State CONSUME_MEDIA
  525. 2021-07-29 05:55:22.456279 [DEBUG] switch_core_state_machine.c:663 (sofia/default/0185787228) State CONSUME_MEDIA going to sleep
  526. 2021-07-29 05:55:23.196279 [DEBUG] sofia.c:7406 Channel sofia/default/0185787228 entering state [proceeding][180]
  527. 2021-07-29 05:55:23.196279 [NOTICE] sofia.c:7517 Ring-Ready sofia/default/0185787228!
  528. 2021-07-29 05:55:23.196279 [DEBUG] switch_channel.c:3437 (sofia/default/0185787228) Callstate Change DOWN -> RINGING
  529. 2021-07-29 05:55:23.196279 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/9550763767@13.233.197.178:7777!
  530. 2021-07-29 05:55:23.196279 [DEBUG] sofia.c:7406 Channel sofia/default/9550763767@13.233.197.178:7777 entering state [early][180]
  531. 2021-07-29 05:55:23.196279 [NOTICE] switch_ivr_originate.c:564 Ring Ready sofia/default/9550763767@13.233.197.178:7777!
  532. 2021-07-29 05:55:27.796283 [DEBUG] sofia.c:7406 Channel sofia/default/0185787228 entering state [completing][200]
  533. 2021-07-29 05:55:27.796283 [DEBUG] sofia.c:7416 Remote SDP:
  534. v=0
  535. o=root 1776585838 1776585838 IN IP4 159.203.131.36
  536. s=Asterisk PBX 16.4.0
  537. c=IN IP4 159.203.131.36
  538. t=0 0
  539. m=audio 13858 RTP/AVP 0 8 101
  540. a=rtpmap:0 PCMU/8000
  541. a=rtpmap:8 PCMA/8000
  542. a=rtpmap:101 telephone-event/8000
  543. a=fmtp:101 0-16
  544. a=maxptime:150
  545.  
  546. 2021-07-29 05:55:27.796283 [DEBUG] sofia.c:7406 Channel sofia/default/0185787228 entering state [ready][200]
  547. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  548. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  549. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  550. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  551. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  552. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  553. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  554. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  555. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  556. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/0185787228 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  557. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_codec.c:111 sofia/default/0185787228 Original read codec set to PCMU:0
  558. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  559. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:5918 sofia/default/0185787228 Set 2833 dtmf send payload to 101 recv payload to 101
  560. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/0185787228] 172.31.34.76 port 20200 -> 159.203.131.36 port 13858 codec: 0 ms: 20
  561. 2021-07-29 05:55:27.796283 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  562. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:8989 sofia/default/0185787228 Set 2833 dtmf send payload to 101
  563. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:8996 sofia/default/0185787228 Set 2833 dtmf receive payload to 101
  564. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:9019 sofia/default/0185787228 Set rtp dtmf delay to 40
  565. 2021-07-29 05:55:27.796283 [NOTICE] sofia.c:8586 Channel [sofia/default/0185787228] has been answered
  566. EXECUTE [depth=1] sofia/default/0185787228 record_session(/var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav)
  567. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:8675 AUDIO RTP [sofia/default/9550763767@13.233.197.178:7777] 172.31.34.76 port 20494 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  568. 2021-07-29 05:55:27.796283 [DEBUG] switch_rtp.c:4478 Starting timer [soft] 160 bytes per 20ms
  569. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:8989 sofia/default/9550763767@13.233.197.178:7777 Set 2833 dtmf send payload to 101
  570. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:8996 sofia/default/9550763767@13.233.197.178:7777 Set 2833 dtmf receive payload to 101
  571. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media.c:9019 sofia/default/9550763767@13.233.197.178:7777 Set rtp dtmf delay to 40
  572. 2021-07-29 05:55:27.796283 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/9550763767@13.233.197.178:7777:
  573. v=0
  574. o=FreeSWITCH 1627517633 1627517634 IN IP4 172.31.34.76
  575. s=FreeSWITCH
  576. c=IN IP4 172.31.34.76
  577. t=0 0
  578. m=audio 20494 RTP/AVP 8 101
  579. a=rtpmap:8 PCMA/8000
  580. a=rtpmap:101 telephone-event/8000
  581. a=fmtp:101 0-16
  582. a=ptime:20
  583. a=sendrecv
  584.  
  585. 2021-07-29 05:55:27.796283 [DEBUG] sofia.c:7406 Channel sofia/default/9550763767@13.233.197.178:7777 entering state [completed][200]
  586. 2021-07-29 05:55:27.796283 [NOTICE] switch_ivr_originate.c:3825 Channel [sofia/default/9550763767@13.233.197.178:7777] has been answered
  587. EXECUTE [depth=0] sofia/default/9550763767@13.233.197.178:7777 record_session(/var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav)
  588. 2021-07-29 05:55:27.796283 [DEBUG] switch_ivr_async.c:1427 Record session sample rate: 8000 -> 8000
  589. 2021-07-29 05:55:27.796283 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/0185787228
  590. 2021-07-29 05:55:27.796283 [DEBUG] switch_channel.c:3865 (sofia/default/0185787228) Callstate Change RINGING -> ACTIVE
  591. 2021-07-29 05:55:27.816279 [DEBUG] switch_ivr_async.c:1427 Record session sample rate: 8000 -> 8000
  592. 2021-07-29 05:55:27.816279 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/9550763767@13.233.197.178:7777
  593. 2021-07-29 05:55:27.816279 [DEBUG] switch_channel.c:3865 (sofia/default/9550763767@13.233.197.178:7777) Callstate Change RINGING -> ACTIVE
  594. 2021-07-29 05:55:27.816279 [DEBUG] switch_ivr_originate.c:3883 Originate Resulted in Success: [sofia/default/0185787228]
  595. 2021-07-29 05:55:27.816279 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/0185787228) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  596. 2021-07-29 05:55:27.816279 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0185787228) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 75)
  597. 2021-07-29 05:55:27.816279 [DEBUG] switch_core_state_machine.c:654 (sofia/default/0185787228) State EXCHANGE_MEDIA
  598. 2021-07-29 05:55:27.816279 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  599. 2021-07-29 05:55:27.816279 [DEBUG] switch_ivr_async.c:1717 No silence detection configured; assuming start of speech
  600. 2021-07-29 05:55:27.816279 [DEBUG] switch_ivr_async.c:1717 No silence detection configured; assuming start of speech
  601. 2021-07-29 05:55:27.856298 [DEBUG] sofia.c:7406 Channel sofia/default/9550763767@13.233.197.178:7777 entering state [ready][200]
  602. 2021-07-29 05:55:27.996277 [DEBUG] switch_ivr_bridge.c:655 sofia/default/0185787228 Bridge execute app sched_hangup(+6000 normal_clearing)
  603. 2021-07-29 05:55:28.016285 [DEBUG] switch_ivr.c:632 sofia/default/0185787228 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  604. EXECUTE [depth=0] sofia/default/0185787228 sched_hangup(+6000 normal_clearing)
  605. 2021-07-29 05:55:28.016285 [DEBUG] switch_scheduler.c:263 Added task 17 switch_ivr_schedule_hangup (a1c38b93-2e5a-4551-9dad-13204fcd31e2) to run at 1627544128
  606. 2021-07-29 05:55:28.056310 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed.
  607. 2021-07-29 05:55:28.056310 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  608. 2021-07-29 05:55:30.576305 [DEBUG] switch_rtp.c:8038 RTP RECV DTMF *:960
  609. 2021-07-29 05:55:30.576305 [INFO] switch_channel.c:522 RECV DTMF *:960
  610. 2021-07-29 05:55:30.576305 [DEBUG] switch_rtp.c:5619 Send start packet for [*] ts=4281981176 dur=160/160/960 seq=23957 lw=4281981176
  611. 2021-07-29 05:55:30.576305 [DEBUG] switch_rtp.c:5518 Send middle packet for [*] ts=4281981176 dur=320/320/960 seq=23958 lw=4281981336
  612. 2021-07-29 05:55:30.596304 [DEBUG] switch_rtp.c:5518 Send middle packet for [*] ts=4281981176 dur=480/480/960 seq=23959 lw=4281981496
  613. 2021-07-29 05:55:30.596304 [DEBUG] switch_rtp.c:5518 Send middle packet for [*] ts=4281981176 dur=640/640/960 seq=23960 lw=4281981656
  614. 2021-07-29 05:55:30.616304 [DEBUG] switch_rtp.c:5518 Send middle packet for [*] ts=4281981176 dur=800/800/960 seq=23961 lw=4281981816
  615. 2021-07-29 05:55:30.616304 [DEBUG] switch_rtp.c:5518 Send end packet for [*] ts=4281981176 dur=960/960/960 seq=23962 lw=4281981816
  616. 2021-07-29 05:55:30.616304 [DEBUG] switch_rtp.c:5518 Send end packet for [*] ts=4281981176 dur=960/960/960 seq=23963 lw=4281981816
  617. 2021-07-29 05:55:30.616304 [DEBUG] switch_rtp.c:5518 Send end packet for [*] ts=4281981176 dur=960/960/960 seq=23964 lw=4281981816
  618. 2021-07-29 05:55:30.616304 [DEBUG] switch_rtp.c:5466 Queue digit delay of 40ms
  619. 2021-07-29 05:55:31.456288 [DEBUG] switch_rtp.c:8038 RTP RECV DTMF 3:960
  620. 2021-07-29 05:55:31.456288 [INFO] switch_channel.c:522 RECV DTMF 3:960
  621. 2021-07-29 05:55:31.456288 [DEBUG] switch_rtp.c:5619 Send start packet for [3] ts=4281987896 dur=160/160/960 seq=23998 lw=4281987896
  622. 2021-07-29 05:55:31.456288 [DEBUG] switch_rtp.c:5518 Send middle packet for [3] ts=4281987896 dur=320/320/960 seq=23999 lw=4281988056
  623. 2021-07-29 05:55:31.476304 [DEBUG] switch_rtp.c:5518 Send middle packet for [3] ts=4281987896 dur=480/480/960 seq=24000 lw=4281988216
  624. 2021-07-29 05:55:31.476304 [DEBUG] switch_rtp.c:5518 Send middle packet for [3] ts=4281987896 dur=640/640/960 seq=24001 lw=4281988376
  625. 2021-07-29 05:55:31.496301 [DEBUG] switch_rtp.c:5518 Send middle packet for [3] ts=4281987896 dur=800/800/960 seq=24002 lw=4281988536
  626. 2021-07-29 05:55:31.496301 [DEBUG] switch_rtp.c:5518 Send end packet for [3] ts=4281987896 dur=960/960/960 seq=24003 lw=4281988536
  627. 2021-07-29 05:55:31.496301 [DEBUG] switch_rtp.c:5518 Send end packet for [3] ts=4281987896 dur=960/960/960 seq=24004 lw=4281988536
  628. 2021-07-29 05:55:31.496301 [DEBUG] switch_rtp.c:5518 Send end packet for [3] ts=4281987896 dur=960/960/960 seq=24005 lw=4281988536
  629. 2021-07-29 05:55:31.496301 [DEBUG] switch_rtp.c:5466 Queue digit delay of 40ms
  630. 2021-07-29 05:55:37.496295 [NOTICE] sofia.c:1090 Hangup sofia/default/9550763767@13.233.197.178:7777 [CS_EXECUTE] [NORMAL_CLEARING]
  631. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_bridge.c:820 sofia/default/9550763767@13.233.197.178:7777 ending bridge by request from write function
  632. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/0185787228]
  633. 2021-07-29 05:55:37.516288 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/0185787228 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  634. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:654 (sofia/default/0185787228) State EXCHANGE_MEDIA going to sleep
  635. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0185787228) Running State Change CS_HANGUP (Cur 2 Tot 75)
  636. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_async.c:1520 Stop recording file /var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav
  637. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9550763767@13.233.197.178:7777]
  638. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/0185787228 skip receive message [UNBRIDGE] (channel is hungup already)
  639. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9550763767@13.233.197.178:7777 skip receive message [UNBRIDGE] (channel is hungup already)
  640. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_session.c:2914 sofia/default/9550763767@13.233.197.178:7777 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  641. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:651 (sofia/default/9550763767@13.233.197.178:7777) State EXECUTE going to sleep
  642. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_HANGUP (Cur 2 Tot 75)
  643. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_async.c:1520 Stop recording file /var/lib/freeswitch/recordings/b203a0e0-43c8-4350-9323-3160df3883b5.wav
  644. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_async.c:1597 Channel is hung up
  645. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_media_bug.c:1312 Removing BUG from sofia/default/9550763767@13.233.197.178:7777
  646. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:848 (sofia/default/9550763767@13.233.197.178:7777) Callstate Change ACTIVE -> HANGUP
  647. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9550763767@13.233.197.178:7777) State HANGUP
  648. 2021-07-29 05:55:37.516288 [DEBUG] mod_sofia.c:453 Channel sofia/default/9550763767@13.233.197.178:7777 hanging up, cause: NORMAL_CLEARING
  649. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:60 sofia/default/9550763767@13.233.197.178:7777 Standard HANGUP, cause: NORMAL_CLEARING
  650. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:850 (sofia/default/9550763767@13.233.197.178:7777) State HANGUP going to sleep
  651. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:620 (sofia/default/9550763767@13.233.197.178:7777) State Change CS_HANGUP -> CS_REPORTING
  652. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:585 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_REPORTING (Cur 2 Tot 75)
  653. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9550763767@13.233.197.178:7777) State REPORTING
  654. 2021-07-29 05:55:37.516288 [INFO] mod_json_cdr.c:271 Process [b203a0e0-43c8-4350-9323-3160df3883b5.cdr.json]
  655. 2021-07-29 05:55:37.516288 [INFO] mod_json_cdr.c:275 Log to disk [/var/log/freeswitch/json_cdr/b203a0e0-43c8-4350-9323-3160df3883b5.cdr.json]
  656. 2021-07-29 05:55:37.516288 [DEBUG] switch_ivr_async.c:1597 Channel is hung up
  657. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_media_bug.c:1312 Removing BUG from sofia/default/0185787228
  658. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:848 (sofia/default/0185787228) Callstate Change ACTIVE -> HANGUP
  659. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0185787228) State HANGUP
  660. 2021-07-29 05:55:37.516288 [DEBUG] mod_sofia.c:447 sofia/default/0185787228 Overriding SIP cause 480 with 200 from the other leg
  661. 2021-07-29 05:55:37.516288 [DEBUG] mod_sofia.c:453 Channel sofia/default/0185787228 hanging up, cause: NORMAL_CLEARING
  662. 2021-07-29 05:55:37.516288 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/0185787228
  663. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:60 sofia/default/0185787228 Standard HANGUP, cause: NORMAL_CLEARING
  664. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:850 (sofia/default/0185787228) State HANGUP going to sleep
  665. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:620 (sofia/default/0185787228) State Change CS_HANGUP -> CS_REPORTING
  666. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:585 (sofia/default/0185787228) Running State Change CS_REPORTING (Cur 2 Tot 75)
  667. 2021-07-29 05:55:37.516288 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0185787228) State REPORTING
  668. 2021-07-29 05:55:37.516288 [INFO] mod_json_cdr.c:271 Process [a1c38b93-2e5a-4551-9dad-13204fcd31e2.cdr.json]
  669. 2021-07-29 05:55:37.516288 [INFO] mod_json_cdr.c:275 Log to disk [/var/log/freeswitch/json_cdr/a1c38b93-2e5a-4551-9dad-13204fcd31e2.cdr.json]
  670. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:174 sofia/default/0185787228 Standard REPORTING, cause: NORMAL_CLEARING
  671. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:936 (sofia/default/0185787228) State REPORTING going to sleep
  672. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:611 (sofia/default/0185787228) State Change CS_REPORTING -> CS_DESTROY
  673. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_session.c:1736 Session 75 (sofia/default/0185787228) Locked, Waiting on external entities
  674. 2021-07-29 05:55:37.536277 [NOTICE] switch_core_session.c:1754 Session 75 (sofia/default/0185787228) Ended
  675. 2021-07-29 05:55:37.536277 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/0185787228 [CS_DESTROY]
  676. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:739 (sofia/default/0185787228) Running State Change CS_DESTROY (Cur 1 Tot 75)
  677. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0185787228) State DESTROY
  678. 2021-07-29 05:55:37.536277 [DEBUG] mod_sofia.c:364 sofia/default/0185787228 SOFIA DESTROY
  679. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:181 sofia/default/0185787228 Standard DESTROY
  680. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:749 (sofia/default/0185787228) State DESTROY going to sleep
  681. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:174 sofia/default/9550763767@13.233.197.178:7777 Standard REPORTING, cause: NORMAL_CLEARING
  682. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:936 (sofia/default/9550763767@13.233.197.178:7777) State REPORTING going to sleep
  683. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:611 (sofia/default/9550763767@13.233.197.178:7777) State Change CS_REPORTING -> CS_DESTROY
  684. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_session.c:1736 Session 74 (sofia/default/9550763767@13.233.197.178:7777) Locked, Waiting on external entities
  685. 2021-07-29 05:55:37.536277 [NOTICE] switch_core_session.c:1754 Session 74 (sofia/default/9550763767@13.233.197.178:7777) Ended
  686. 2021-07-29 05:55:37.536277 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/9550763767@13.233.197.178:7777 [CS_DESTROY]
  687. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:739 (sofia/default/9550763767@13.233.197.178:7777) Running State Change CS_DESTROY (Cur 0 Tot 75)
  688. 2021-07-29 05:55:37.536277 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9550763767@13.233.197.178:7777) State DESTROY
  689. 2021-07-29 05:55:37.536277 [DEBUG] mod_sofia.c:364 sofia/default/9550763767@13.233.197.178:7777 SOFIA DESTROY
  690. 2021-07-29 05:55:37.556273 [DEBUG] switch_core_state_machine.c:181 sofia/default/9550763767@13.233.197.178:7777 Standard DESTROY
  691. 2021-07-29 05:55:37.556273 [DEBUG] switch_core_state_machine.c:749 (sofia/default/9550763767@13.233.197.178:7777) State DESTROY going to sleep
  692. 2021-07-29 05:55:38.016303 [DEBUG] switch_scheduler.c:147 Deleting task 17 switch_ivr_schedule_hangup (a1c38b93-2e5a-4551-9dad-13204fcd31e2)
  693.