From Sahil, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. 9990221e6 64bit
  2. 2021-04-12 12:43:13.190258 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 37.9.63.182:0.
  3. 2021-04-12 12:43:13.190258 [DEBUG] sofia.c:10366 IP 37.9.63.182 Approved by acl "default[]". Access Granted.
  4. 2021-04-12 12:43:13.190258 [DEBUG] sofia.c:7290 Channel sofia/default/09033161160@37.9.63.182:1024 entering state [received][100]
  5. 2021-04-12 12:43:13.190258 [DEBUG] sofia.c:7300 Remote SDP:
  6. v=0
  7. o=- 412822574 412822575 IN IP4 37.9.63.182
  8. s=VoipSIP
  9. c=IN IP4 37.9.63.182
  10. t=0 0
  11. m=audio 7298 RTP/AVP 0 8 18
  12. a=rtpmap:0 PCMU/8000
  13. a=rtpmap:8 PCMA/8000
  14. a=rtpmap:18 G729/8000/1
  15. a=fmtp:18 annexb=no
  16.  
  17. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  18. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  19. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  20. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  21. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  25. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  26. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  27. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  28. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  29. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/09033161160@37.9.63.182:1024 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  30. 2021-04-12 12:43:13.190258 [DEBUG] switch_core_codec.c:111 sofia/default/09033161160@37.9.63.182:1024 Original read codec set to PCMU:0
  31. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_media.c:5878 No 2833 in SDP. Liberal DTMF mode adding 101 as telephone-event.
  32. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_media.c:5907 sofia/default/09033161160@37.9.63.182:1024 Set 2833 dtmf send payload to 101 recv payload to 101
  33. 2021-04-12 12:43:13.210252 [DEBUG] sofia.c:7724 (sofia/default/09033161160@37.9.63.182:1024) State Change CS_NEW -> CS_INIT
  34. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:604 (sofia/default/09033161160@37.9.63.182:1024) State NEW
  35. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09033161160@37.9.63.182:1024) Running State Change CS_INIT (Cur 2 Tot 246063)
  36. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:628 (sofia/default/09033161160@37.9.63.182:1024) State INIT
  37. 2021-04-12 12:43:13.210252 [DEBUG] mod_sofia.c:93 sofia/default/09033161160@37.9.63.182:1024 SOFIA INIT
  38. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:40 sofia/default/09033161160@37.9.63.182:1024 Standard INIT
  39. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:48 (sofia/default/09033161160@37.9.63.182:1024) State Change CS_INIT -> CS_ROUTING
  40. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:628 (sofia/default/09033161160@37.9.63.182:1024) State INIT going to sleep
  41. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09033161160@37.9.63.182:1024) Running State Change CS_ROUTING (Cur 2 Tot 246063)
  42. 2021-04-12 12:43:13.210252 [DEBUG] switch_channel.c:2332 (sofia/default/09033161160@37.9.63.182:1024) Callstate Change DOWN -> RINGING
  43. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:644 (sofia/default/09033161160@37.9.63.182:1024) State ROUTING
  44. 2021-04-12 12:43:13.210252 [DEBUG] mod_sofia.c:154 sofia/default/09033161160@37.9.63.182:1024 SOFIA ROUTING
  45. 2021-04-12 12:43:13.210252 [DEBUG] switch_core_state_machine.c:236 sofia/default/09033161160@37.9.63.182:1024 Standard ROUTING
  46. 2021-04-12 12:43:13.210252 [INFO] mod_dialplan_xml.c:637 Processing 09033161160 <09033161160>->23418888416 in context default
  47. 2021-04-12 12:43:13.210252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  48. 2021-04-12 12:43:13.210252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2021-04-12 12:43:13.270248 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  50. Event-Name: REQUEST_PARAMS
  51. Core-UUID: ab3e105f-e6f4-458f-b102-a4065f4859ae
  52. FreeSWITCH-Hostname: soultech
  53. FreeSWITCH-Switchname: soultech
  54. FreeSWITCH-IPv4: 192.168.8.3
  55. FreeSWITCH-IPv6: %3A%3A1
  56. Event-Date-Local: 2021-04-12%2012%3A43%3A13
  57. Event-Date-GMT: Mon,%2012%20Apr%202021%2011%3A43%3A13%20GMT
  58. Event-Date-Timestamp: 1618227793210252
  59. Event-Calling-File: mod_dialplan_xml.c
  60. Event-Calling-Function: dialplan_xml_locate
  61. Event-Calling-Line-Number: 608
  62. Event-Sequence: 12820094
  63. Channel-State: CS_ROUTING
  64. Channel-Call-State: RINGING
  65. Channel-State-Number: 2
  66. Channel-Name: sofia/default/09033161160%4037.9.63.182%3A1024
  67. Unique-ID: 26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af
  68. Call-Direction: inbound
  69. Presence-Call-Direction: inbound
  70. Channel-HIT-Dialplan: true
  71. Channel-Presence-ID: 09033161160%4037.9.63.182
  72. Channel-Call-UUID: 26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af
  73. Answer-State: ringing
  74. Channel-Read-Codec-Name: PCMU
  75. Channel-Read-Codec-Rate: 8000
  76. Channel-Read-Codec-Bit-Rate: 64000
  77. Channel-Write-Codec-Name: PCMU
  78. Channel-Write-Codec-Rate: 8000
  79. Channel-Write-Codec-Bit-Rate: 64000
  80. Caller-Direction: inbound
  81. Caller-Logical-Direction: inbound
  82. Caller-Username: 09033161160
  83. Caller-Dialplan: XML
  84. Caller-Caller-ID-Name: 09033161160
  85. Caller-Caller-ID-Number: 09033161160
  86. Caller-Orig-Caller-ID-Name: 09033161160
  87. Caller-Orig-Caller-ID-Number: 09033161160
  88. Caller-Network-Addr: 37.9.63.182
  89. Caller-ANI: 09033161160
  90. Caller-Destination-Number: 23418888416
  91. Caller-Unique-ID: 26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af
  92. Caller-Source: mod_sofia
  93. Caller-Context: default
  94. Caller-Channel-Name: sofia/default/09033161160%4037.9.63.182%3A1024
  95. Caller-Profile-Index: 1
  96. Caller-Profile-Created-Time: 1618227793190258
  97. Caller-Channel-Created-Time: 1618227793190258
  98. Caller-Channel-Answered-Time: 0
  99. Caller-Channel-Progress-Time: 0
  100. Caller-Channel-Progress-Media-Time: 0
  101. Caller-Channel-Hangup-Time: 0
  102. Caller-Channel-Transfer-Time: 0
  103. Caller-Channel-Resurrect-Time: 0
  104. Caller-Channel-Bridged-Time: 0
  105. Caller-Channel-Last-Hold: 0
  106. Caller-Channel-Hold-Accum: 0
  107. Caller-Screen-Bit: true
  108. Caller-Privacy-Hide-Name: false
  109. Caller-Privacy-Hide-Number: false
  110. variable_direction: inbound
  111. variable_uuid: 26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af
  112. variable_session_id: 246063
  113. variable_sip_from_user: 09033161160
  114. variable_sip_from_port: 1024
  115. variable_sip_from_uri: 09033161160%4037.9.63.182%3A1024
  116. variable_sip_from_host: 37.9.63.182
  117. variable_video_media_flow: disabled
  118. variable_text_media_flow: disabled
  119. variable_channel_name: sofia/default/09033161160%4037.9.63.182%3A1024
  120. variable_sip_call_id: ucbbMeh0Qa%4037.9.63.182
  121. variable_sip_local_network_addr: 192.168.8.3
  122. variable_sip_network_ip: 37.9.63.182
  123. variable_sip_network_port: 1024
  124. variable_sip_invite_stamp: 1618227793190258
  125. variable_sip_received_ip: 37.9.63.182
  126. variable_sip_received_port: 1024
  127. variable_sip_via_protocol: udp
  128. variable_sip_authorized: true
  129. variable_sip_acl_authed_by: default
  130. variable_sip_from_user_stripped: 09033161160
  131. variable_sip_from_tag: 12431195398406
  132. variable_sofia_profile_name: default
  133. variable_sofia_profile_url: sip%3Amod_sofia%40192.168.8.3%3A5060
  134. variable_recovery_profile_name: default
  135. variable_sip_full_via: SIP/2.0/UDP%2037.9.63.182%3A1024%3Bbranch%3Dz9hG4bK43121111992757295398406%3Brport%3D1024
  136. variable_sip_from_display: 09033161160
  137. variable_sip_full_from: %2209033161160%22%20%3Csip%3A09033161160%4037.9.63.182%3A1024%3E%3Btag%3D12431195398406
  138. variable_sip_full_to: %3Csip%3A23418888416%40192.168.8.3%3A5060%3E
  139. variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20NOTIFY,%20MESSAGE,%20SUBSCRIBE,%20REFER,%20PUBLISH,%20UPDATE
  140. variable_sip_req_user: 23418888416
  141. variable_sip_req_port: 5060
  142. variable_sip_req_uri: 23418888416%40192.168.8.3%3A5060
  143. variable_sip_req_host: 192.168.8.3
  144. variable_sip_to_user: 23418888416
  145. variable_sip_to_port: 5060
  146. variable_sip_to_uri: 23418888416%40192.168.8.3%3A5060
  147. variable_sip_to_host: 192.168.8.3
  148. variable_sip_contact_params: transport%3Dudp
  149. variable_sip_contact_user: nobody
  150. variable_sip_contact_port: 1024
  151. variable_sip_contact_uri: nobody%4037.9.63.182%3A1024
  152. variable_sip_contact_host: 37.9.63.182
  153. variable_sip_via_host: 37.9.63.182
  154. variable_sip_via_port: 1024
  155. variable_sip_via_rport: 1024
  156. variable_max_forwards: 70
  157. variable_presence_id: 09033161160%4037.9.63.182
  158. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%20412822574%20412822575%20IN%20IP4%2037.9.63.182%0D%0As%3DVoipSIP%0D%0Ac%3DIN%20IP4%2037.9.63.182%0D%0At%3D0%200%0D%0Am%3Daudio%207298%20RTP/AVP%200%208%2018%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000/1%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0A
  159. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  160. variable_rtp_use_codec_string: PCMA,PCMU,G729
  161. variable_remote_video_media_flow: inactive
  162. variable_remote_text_media_flow: inactive
  163. variable_remote_audio_media_flow: sendrecv
  164. variable_audio_media_flow: sendrecv
  165. variable_remote_media_ip: 37.9.63.182
  166. variable_remote_media_port: 7298
  167. variable_rtp_audio_recv_pt: 0
  168. variable_rtp_use_codec_name: PCMU
  169. variable_rtp_use_codec_rate: 8000
  170. variable_rtp_use_codec_ptime: 20
  171. variable_rtp_use_codec_channels: 1
  172. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  173. variable_read_codec: PCMU
  174. variable_original_read_codec: PCMU
  175. variable_read_rate: 8000
  176. variable_original_read_rate: 8000
  177. variable_write_codec: PCMU
  178. variable_write_rate: 8000
  179. variable_dtmf_type: rfc2833
  180. variable_endpoint_disposition: RECEIVED
  181. variable_call_uuid: 26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af
  182. Hunt-Direction: inbound
  183. Hunt-Logical-Direction: inbound
  184. Hunt-Username: 09033161160
  185. Hunt-Dialplan: XML
  186. Hunt-Caller-ID-Name: 09033161160
  187. Hunt-Caller-ID-Number: 09033161160
  188. Hunt-Orig-Caller-ID-Name: 09033161160
  189. Hunt-Orig-Caller-ID-Number: 09033161160
  190. Hunt-Network-Addr: 37.9.63.182
  191. Hunt-ANI: 09033161160
  192. Hunt-Destination-Number: 23418888416
  193. Hunt-Unique-ID: 26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af
  194. Hunt-Source: mod_sofia
  195. Hunt-Context: default
  196. Hunt-Channel-Name: sofia/default/09033161160%4037.9.63.182%3A1024
  197. Hunt-Profile-Index: 1
  198. Hunt-Profile-Created-Time: 1618227793190258
  199. Hunt-Channel-Created-Time: 1618227793190258
  200. Hunt-Channel-Answered-Time: 0
  201. Hunt-Channel-Progress-Time: 0
  202. Hunt-Channel-Progress-Media-Time: 0
  203. Hunt-Channel-Hangup-Time: 0
  204. Hunt-Channel-Transfer-Time: 0
  205. Hunt-Channel-Resurrect-Time: 0
  206. Hunt-Channel-Bridged-Time: 0
  207. Hunt-Channel-Last-Hold: 0
  208. Hunt-Channel-Hold-Accum: 0
  209. Hunt-Screen-Bit: true
  210. Hunt-Privacy-Hide-Name: false
  211. Hunt-Privacy-Hide-Number: false
  212.  
  213.  
  214. 2021-04-12 12:43:13.270248 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  215. 2021-04-12 12:43:13.270248 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  216. 2021-04-12 12:43:13.270248 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  217. 2021-04-12 12:43:13.270248 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  218. 2021-04-12 12:43:13.270248 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  219. 2021-04-12 12:43:13.270248 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 23418888416
  220. 2021-04-12 12:43:13.270248 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '23418888416' limit 1
  221. 2021-04-12 12:43:13.270248 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '23418888416' AND status=0 limit 1
  222. 2021-04-12 12:43:13.270248 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '23418888416' and status=0 LIMIT 1
  223. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : 09033161160 / 09033161160
  224. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  225. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  226. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 23418888416
  227. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 018888416
  228. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [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 ="018888416" LIMIT 1
  229. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound
  230. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("37.9.63.182") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "23418888416"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  231. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 8090000000]
  232. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8090000000" AND deleted = 0 limit 1
  233. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE number = "8090000000" AND deleted = 0 limit 1
  234. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [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 ="23418888416" AND A.accountid = '49' limit 1
  235. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 23418888416
  236. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  237. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  238. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 23418888416
  239. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 018888416
  240. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [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 ="018888416" LIMIT 1
  241. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound
  242. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  243. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  244. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 23418888416
  245. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 018888416
  246. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="018888416" AND (accountid = 0 OR status = 1) LIMIT 1
  247. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  248. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :182
  249. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [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 = '^23418888416.*' OR patterns = '^2341888841.*' OR patterns = '^234188884.*' OR patterns = '^23418888.*' OR patterns = '^2341888.*' OR patterns = '^234188.*' OR patterns = '^23418.*' OR patterns = '^2341.*' OR patterns = '^234.*' OR patterns = '^23.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 182 ORDER BY LENGTH(PKGPTR.patterns) DESC
  250. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '23418888416' OR number = '2341888841' OR number = '234188884' OR number = '23418888' OR number = '2341888' OR number = '234188' OR number = '23418' OR number = '2341' OR number = '234' OR number = '23' OR number = '2' OR number ='--') OR (number = '23418888416*' OR number = '2341888841*' OR number = '234188884*' OR number = '23418888*' OR number = '2341888*' OR number = '234188*' OR number = '23418*' OR number = '2341*' OR number = '234*' OR number = '23*' OR number = '2*' OR number ='--') OR (number = '09033161160' OR number = '0903316116' OR number = '090331611' OR number = '09033161' OR number = '0903316' OR number = '090331' OR number = '09033' OR number = '0903' OR number = '090' OR number = '09' OR number = '0' OR number ='--') OR (number = '09033161160*' OR number = '0903316116*' OR number = '090331611*' OR number = '09033161*' OR number = '0903316*' OR number = '090331*' OR number = '09033*' OR number = '0903*' OR number = '090*' OR number = '09*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  251. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  252. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '23418888416' OR routing_prefix = '2341888841' OR routing_prefix = '234188884' OR routing_prefix = '23418888' OR routing_prefix = '2341888' OR routing_prefix = '234188' OR routing_prefix = '23418' OR routing_prefix = '2341' OR routing_prefix = '234' OR routing_prefix = '23' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  253. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  254. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 49
  255. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 8090000000
  256. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 10000
  257. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  258. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 1
  259. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  260. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  261. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH1: 1
  262. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  263. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  264. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound
  265. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH2: 1
  266. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1
  267. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [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 ="018888416" LIMIT 1
  268. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
  269. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  270. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 134
  271. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  272. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  273. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
  274. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 018888416
  275. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 141
  276. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 49
  277. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  278. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 49 !!!
  279. 2021-04-12 12:43:13.290252 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  280. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
  281. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
  282. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
  283. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 49 AND status=0 LIMIT 1
  284. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "182" AND deleted = 0 limit 1
  285. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [sandip] accountidSELECT * FROM accounts WHERE id = "182" AND deleted = 0 limit 1
  286. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:49
  287. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:49
  288. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 49
  289. 2021-04-12 12:43:13.290252 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
  290. 2021-04-12 12:43:13.290252 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 182 limit 1
  291. 2021-04-12 12:43:13.326697 [WARNING] switch_cpp.cpp:1443 [ASTPP] [user_domain] user_domainife88.9mobile.nativetalk.com.ng
  292. 2021-04-12 12:43:13.326697 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_7
  293. 2021-04-12 12:43:13.326697 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] call_type : 7
  294. 2021-04-12 12:43:13.326697 [INFO] switch_cpp.cpp:1443 [ASTPP] [PBX] call_type : Ring group
  295. 2021-04-12 12:43:13.326697 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value,music_on_hold_type,music_on_hold from pbx_ringgroup WHERE id = 36 and status = 0 LIMIT 1
  296. 2021-04-12 12:43:13.326697 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET MOH] Query :SELECT name FROM pbx_music_on_hold WHERE id = 0 ORDER BY RAND() LIMIT 1
  297. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"001","delay_1":"0","time_out_1":"10","Promptdropdown_1":"1","destination_2":"002","delay_2":"0","time_out_2":"10","Promptdropdown_2":"1","destination_3":"003","delay_3":"0","time_out_3":"10","Promptdropdown_3":"1","destination_4":"004","delay_4":"0","time_out_4":"10","Promptdropdown_4":"1","destination_5":"005","delay_5":"0","time_out_5":"10","Promptdropdown_5":"1"}
  298. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== announcement====Count===============20
  299. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== announcement===================0
  300. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  301. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  302. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  303. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  304. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== final_count========final_count===========0===
  305. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== ring_group_recording===================0
  306. 2021-04-12 12:43:13.330325 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== ringgroup_dlr_str===================[call_timeout=10,confirm=false,announcement=no_file,dialed_user=001,leg_timeout=10,leg_delay_start=0]user/001@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=002,leg_timeout=10,leg_delay_start=0]user/002@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=003,leg_timeout=10,leg_delay_start=0]user/003@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=004,leg_timeout=10,leg_delay_start=0]user/004@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=005,leg_timeout=10,leg_delay_start=0]user/005@ife88.9mobile.nativetalk.com.ng|
  307. 2021-04-12 12:43:13.330325 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  308. 2021-04-12 12:43:13.330325 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  309. <document type="freeswitch/xml">
  310. <section name="dialplan" description="ASTPP Dialplan">
  311. <context name="default">
  312. <extension name="018888416">
  313. <condition field="destination_number" expression="23418888416">
  314. <action application="set" data="effective_destination_number=23418888416"/>
  315. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  316. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  317. <action application="set" data="callstart=2021-04-12 11:43:09"/>
  318. <action application="set" data="hangup_after_bridge=true"/>
  319. <action application="set" data="continue_on_fail=TRUE"/>
  320. <action application="set" data="account_id=49"/>
  321. <action application="set" data="parent_id=0"/>
  322. <action application="set" data="entity_id=3"/>
  323. <action application="set" data="call_processed=internal"/>
  324. <action application="set" data="call_direction=inbound"/>
  325. <action application="set" data="accountname=VSM"/>
  326. <action application="set" data="origination_rates_did=ID:134|CODE:^018888416.*|DESTINATION:018888416|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:182"/>
  327. <action application="set" data="origination_rates=0"/>
  328. <action application="set" data="original_caller_id_name=09033161160"/>
  329. <action application="set" data="original_caller_id_number=09033161160"/>
  330. <action application="set" data="effective_caller_id_name=09033161160"/>
  331. <action application="set" data="effective_caller_id_number=09033161160"/>
  332. <action application="set" data="receiver_accid=182"/>
  333. <action application="set" data="domain_name=ife88.9mobile.nativetalk.com.ng"/>
  334. <action application="set" data="sip_to_host=ife88.9mobile.nativetalk.com.ng"/>
  335. <action application="export" data="domain_name=ife88.9mobile.nativetalk.com.ng"/>
  336. <action application="export" data="sip_to_host=ife88.9mobile.nativetalk.com.ng"/>
  337. <action application="export" data="presence_data=x|||9mobile(8090000000)|||^018888416.* // 018888416 // 0.00000||||||DID"/>
  338. <action application="export" data="call_type=7"/>
  339. <action application="set" data="did_calltype=7"/>
  340. <action application="set" data="did_extensions=36"/>
  341. <action application="set" data="group_confirm_key=exec"/>
  342. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  343. <action application="export" data="is_recording=1"/>
  344. <action application="export" data="media_bug_answer_req=true"/>
  345. <action application="export" data="RECORD_STEREO=true"/>
  346. <action application="export" data="record_sample_rate=8000"/>
  347. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  348. <action application="set" data="ringback="/>
  349. <action application="set" data="module_name=pbx"/>
  350. <action application="bridge" data="{sip_invite_params=user=LOCAL,absolute_codec_string=^^:PCMA:PCMU,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=49}[call_timeout=10,confirm=false,announcement=no_file,dialed_user=001,leg_timeout=10,leg_delay_start=0]user/001@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=002,leg_timeout=10,leg_delay_start=0]user/002@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=003,leg_timeout=10,leg_delay_start=0]user/003@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=004,leg_timeout=10,leg_delay_start=0]user/004@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=005,leg_timeout=10,leg_delay_start=0]user/005@ife88.9mobile.nativetalk.com.ng|"/>
  351. </condition>
  352. </extension>
  353. </context>
  354. </section>
  355. </document>
  356. Dialplan: sofia/default/09033161160@37.9.63.182:1024 parsing [default->018888416] continue=false
  357. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Regex (PASS) [018888416] destination_number(23418888416) =~ /23418888416/ break=on-false
  358. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(effective_destination_number=23418888416)
  359. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  360. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  361. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(callstart=2021-04-12 11:43:09)
  362. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(hangup_after_bridge=true)
  363. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(continue_on_fail=TRUE)
  364. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(account_id=49)
  365. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(parent_id=0)
  366. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(entity_id=3)
  367. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(call_processed=internal)
  368. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(call_direction=inbound)
  369. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(accountname=VSM)
  370. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(origination_rates_did=ID:134|CODE:^018888416.*|DESTINATION:018888416|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:182)
  371. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(origination_rates=0)
  372. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(original_caller_id_name=09033161160)
  373. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(original_caller_id_number=09033161160)
  374. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(effective_caller_id_name=09033161160)
  375. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(effective_caller_id_number=09033161160)
  376. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(receiver_accid=182)
  377. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(domain_name=ife88.9mobile.nativetalk.com.ng)
  378. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(sip_to_host=ife88.9mobile.nativetalk.com.ng)
  379. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(domain_name=ife88.9mobile.nativetalk.com.ng)
  380. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(sip_to_host=ife88.9mobile.nativetalk.com.ng)
  381. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(presence_data=x|||9mobile(8090000000)|||^018888416.* // 018888416 // 0.00000||||||DID)
  382. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(call_type=7)
  383. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(did_calltype=7)
  384. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(did_extensions=36)
  385. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(group_confirm_key=exec)
  386. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  387. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(is_recording=1)
  388. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(media_bug_answer_req=true)
  389. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(RECORD_STEREO=true)
  390. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(record_sample_rate=8000)
  391. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  392. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(ringback=)
  393. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action set(module_name=pbx)
  394. Dialplan: sofia/default/09033161160@37.9.63.182:1024 Action bridge({sip_invite_params=user=LOCAL,absolute_codec_string=^^:PCMA:PCMU,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=49}[call_timeout=10,confirm=false,announcement=no_file,dialed_user=001,leg_timeout=10,leg_delay_start=0]user/001@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=002,leg_timeout=10,leg_delay_start=0]user/002@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=003,leg_timeout=10,leg_delay_start=0]user/003@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=004,leg_timeout=10,leg_delay_start=0]user/004@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=005,leg_timeout=10,leg_delay_start=0]user/005@ife88.9mobile.nativetalk.com.ng|)
  395. 2021-04-12 12:43:13.330325 [DEBUG] switch_core_state_machine.c:287 (sofia/default/09033161160@37.9.63.182:1024) State Change CS_ROUTING -> CS_EXECUTE
  396. 2021-04-12 12:43:13.330325 [DEBUG] switch_core_state_machine.c:644 (sofia/default/09033161160@37.9.63.182:1024) State ROUTING going to sleep
  397. 2021-04-12 12:43:13.330325 [DEBUG] switch_core_state_machine.c:585 (sofia/default/09033161160@37.9.63.182:1024) Running State Change CS_EXECUTE (Cur 2 Tot 246063)
  398. 2021-04-12 12:43:13.330325 [DEBUG] switch_core_state_machine.c:651 (sofia/default/09033161160@37.9.63.182:1024) State EXECUTE
  399. 2021-04-12 12:43:13.330325 [DEBUG] mod_sofia.c:209 sofia/default/09033161160@37.9.63.182:1024 SOFIA EXECUTE
  400. 2021-04-12 12:43:13.330325 [DEBUG] switch_core_state_machine.c:329 sofia/default/09033161160@37.9.63.182:1024 Standard EXECUTE
  401. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(effective_destination_number=23418888416)
  402. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [effective_destination_number]=[23418888416]
  403. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(bridge_pre_execute_bleg_app=sched_hangup)
  404. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [bridge_pre_execute_bleg_app]=[sched_hangup]
  405. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  406. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  407. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(callstart=2021-04-12 11:43:09)
  408. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [callstart]=[2021-04-12 11:43:09]
  409. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(hangup_after_bridge=true)
  410. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [hangup_after_bridge]=[true]
  411. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(continue_on_fail=TRUE)
  412. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [continue_on_fail]=[TRUE]
  413. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(account_id=49)
  414. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [account_id]=[49]
  415. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(parent_id=0)
  416. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [parent_id]=[0]
  417. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(entity_id=3)
  418. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [entity_id]=[3]
  419. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(call_processed=internal)
  420. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [call_processed]=[internal]
  421. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(call_direction=inbound)
  422. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [call_direction]=[inbound]
  423. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(accountname=VSM)
  424. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [accountname]=[VSM]
  425. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(origination_rates_did=ID:134|CODE:^018888416.*|DESTINATION:018888416|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:182)
  426. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [origination_rates_did]=[ID:134|CODE:^018888416.*|DESTINATION:018888416|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:141|ACCID:182]
  427. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(origination_rates=0)
  428. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [origination_rates]=[0]
  429. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(original_caller_id_name=09033161160)
  430. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [original_caller_id_name]=[09033161160]
  431. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(original_caller_id_number=09033161160)
  432. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [original_caller_id_number]=[09033161160]
  433. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(effective_caller_id_name=09033161160)
  434. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [effective_caller_id_name]=[09033161160]
  435. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(effective_caller_id_number=09033161160)
  436. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [effective_caller_id_number]=[09033161160]
  437. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(receiver_accid=182)
  438. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [receiver_accid]=[182]
  439. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(domain_name=ife88.9mobile.nativetalk.com.ng)
  440. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [domain_name]=[ife88.9mobile.nativetalk.com.ng]
  441. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(sip_to_host=ife88.9mobile.nativetalk.com.ng)
  442. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [sip_to_host]=[ife88.9mobile.nativetalk.com.ng]
  443. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(domain_name=ife88.9mobile.nativetalk.com.ng)
  444. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[ife88.9mobile.nativetalk.com.ng]
  445. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(sip_to_host=ife88.9mobile.nativetalk.com.ng)
  446. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[ife88.9mobile.nativetalk.com.ng]
  447. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(presence_data=x|||9mobile(8090000000)|||^018888416.* // 018888416 // 0.00000||||||DID)
  448. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||9mobile(8090000000)|||^018888416.* // 018888416 // 0.00000||||||DID]
  449. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(call_type=7)
  450. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
  451. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(did_calltype=7)
  452. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [did_calltype]=[7]
  453. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(did_extensions=36)
  454. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [did_extensions]=[36]
  455. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(group_confirm_key=exec)
  456. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [group_confirm_key]=[exec]
  457. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  458. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  459. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(is_recording=1)
  460. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
  461. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(media_bug_answer_req=true)
  462. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
  463. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(RECORD_STEREO=true)
  464. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
  465. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(record_sample_rate=8000)
  466. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
  467. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 export(execute_on_answer=record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af.wav)
  468. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af.wav]
  469. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(ringback=)
  470. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [ringback]=[UNDEF]
  471. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 set(module_name=pbx)
  472. 2021-04-12 12:43:13.330325 [DEBUG] mod_dptools.c:1672 SET sofia/default/09033161160@37.9.63.182:1024 [module_name]=[pbx]
  473. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 bridge({sip_invite_params=user=LOCAL,absolute_codec_string=^^:PCMA:PCMU,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=49}[call_timeout=10,confirm=false,announcement=no_file,dialed_user=001,leg_timeout=10,leg_delay_start=0]user/001@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=002,leg_timeout=10,leg_delay_start=0]user/002@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=003,leg_timeout=10,leg_delay_start=0]user/003@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=004,leg_timeout=10,leg_delay_start=0]user/004@ife88.9mobile.nativetalk.com.ng|[call_timeout=10,confirm=false,announcement=no_file,dialed_user=005,leg_timeout=10,leg_delay_start=0]user/005@ife88.9mobile.nativetalk.com.ng|)
  474. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [domain_name]=[ife88.9mobile.nativetalk.com.ng] to event
  475. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [sip_to_host]=[ife88.9mobile.nativetalk.com.ng] to event
  476. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [presence_data]=[x|||9mobile(8090000000)|||^018888416.* // 018888416 // 0.00000||||||DID] to event
  477. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [call_type]=[7] to event
  478. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [is_recording]=[1] to event
  479. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  480. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  481. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  482. 2021-04-12 12:43:13.330325 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [execute_on_answer]=[record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af.wav] to event
  483. 2021-04-12 12:43:13.330325 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  484. 2021-04-12 12:43:13.330325 [DEBUG] switch_ivr_originate.c:2757 Parsing session specific variables
  485. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [domain_name]=[ife88.9mobile.nativetalk.com.ng] to event
  486. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [sip_to_host]=[ife88.9mobile.nativetalk.com.ng] to event
  487. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [presence_data]=[x|||9mobile(8090000000)|||^018888416.* // 018888416 // 0.00000||||||DID] to event
  488. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [call_type]=[7] to event
  489. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [is_recording]=[1] to event
  490. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  491. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  492. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  493. 2021-04-12 12:43:13.370557 [DEBUG] switch_channel.c:1264 sofia/default/09033161160@37.9.63.182:1024 EXPORTING[export_vars] [execute_on_answer]=[record_session /opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af.wav] to event
  494. 2021-04-12 12:43:13.370557 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  495. 2021-04-12 12:43:13.370557 [NOTICE] switch_channel.c:1118 New Channel sofia/default/001@41.204.244.230:48450 [90222d79-5253-4f72-8951-85a2a0f91a31]
  496. 2021-04-12 12:43:13.370557 [DEBUG] mod_sofia.c:5096 (sofia/default/001@41.204.244.230:48450) State Change CS_NEW -> CS_INIT
  497. 2021-04-12 12:43:13.370557 [DEBUG] switch_ivr_originate.c:3064 sofia/default/001@41.204.244.230:48450 Setting leg timeout to 10
  498. 2021-04-12 12:43:13.370557 [DEBUG] switch_ivr_originate.c:3064 sofia/default/001@41.204.244.230:48450 Setting leg timeout to 10
  499. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:585 (sofia/default/001@41.204.244.230:48450) Running State Change CS_INIT (Cur 3 Tot 246064)
  500. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:628 (sofia/default/001@41.204.244.230:48450) State INIT
  501. 2021-04-12 12:43:13.370557 [DEBUG] mod_sofia.c:93 sofia/default/001@41.204.244.230:48450 SOFIA INIT
  502. 2021-04-12 12:43:13.370557 [DEBUG] sofia_glue.c:1618 sofia/default/001@41.204.244.230:48450 sending invite version: 1.10.1 -release-12-f9990221e6 64bit
  503. Local SDP:
  504. v=0
  505. o=FreeSWITCH 1618200291 1618200292 IN IP4 192.168.8.3
  506. s=FreeSWITCH
  507. c=IN IP4 192.168.8.3
  508. t=0 0
  509. m=audio 27502 RTP/AVP 8 0 101
  510. a=rtpmap:8 PCMA/8000
  511. a=rtpmap:0 PCMU/8000
  512. a=rtpmap:101 telephone-event/8000
  513. a=fmtp:101 0-16
  514. a=ptime:20
  515. a=sendrecv
  516.  
  517. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:40 sofia/default/001@41.204.244.230:48450 Standard INIT
  518. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:48 (sofia/default/001@41.204.244.230:48450) State Change CS_INIT -> CS_ROUTING
  519. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:628 (sofia/default/001@41.204.244.230:48450) State INIT going to sleep
  520. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:585 (sofia/default/001@41.204.244.230:48450) Running State Change CS_ROUTING (Cur 3 Tot 246064)
  521. 2021-04-12 12:43:13.370557 [DEBUG] sofia.c:7290 Channel sofia/default/001@41.204.244.230:48450 entering state [calling][0]
  522. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:644 (sofia/default/001@41.204.244.230:48450) State ROUTING
  523. 2021-04-12 12:43:13.370557 [DEBUG] mod_sofia.c:154 sofia/default/001@41.204.244.230:48450 SOFIA ROUTING
  524. 2021-04-12 12:43:13.370557 [DEBUG] switch_ivr_originate.c:67 (sofia/default/001@41.204.244.230:48450) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  525. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:644 (sofia/default/001@41.204.244.230:48450) State ROUTING going to sleep
  526. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:585 (sofia/default/001@41.204.244.230:48450) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 246064)
  527. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:663 (sofia/default/001@41.204.244.230:48450) State CONSUME_MEDIA
  528. 2021-04-12 12:43:13.370557 [DEBUG] switch_core_state_machine.c:663 (sofia/default/001@41.204.244.230:48450) State CONSUME_MEDIA going to sleep
  529. 2021-04-12 12:43:13.590322 [DEBUG] sofia.c:7290 Channel sofia/default/001@41.204.244.230:48450 entering state [proceeding][180]
  530. 2021-04-12 12:43:13.590322 [NOTICE] sofia.c:7401 Ring-Ready sofia/default/001@41.204.244.230:48450!
  531. 2021-04-12 12:43:13.590322 [DEBUG] switch_channel.c:3437 (sofia/default/001@41.204.244.230:48450) Callstate Change DOWN -> RINGING
  532. 2021-04-12 12:43:13.630249 [NOTICE] mod_sofia.c:2505 Ring-Ready sofia/default/09033161160@37.9.63.182:1024!
  533. 2021-04-12 12:43:13.630249 [NOTICE] switch_ivr_originate.c:553 Ring Ready sofia/default/09033161160@37.9.63.182:1024!
  534. 2021-04-12 12:43:13.650325 [DEBUG] sofia.c:7290 Channel sofia/default/09033161160@37.9.63.182:1024 entering state [early][180]
  535. 2021-04-12 12:43:16.070316 [NOTICE] sofia.c:1084 Hangup sofia/default/07046391329@37.9.63.182:1024 [CS_EXECUTE] [NORMAL_CLEARING]
  536. 2021-04-12 12:43:16.070316 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/Multichoice1_220321031142.wav
  537. 2021-04-12 12:43:16.070316 [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
  538. 2021-04-12 12:43:16.070316 [DEBUG] switch_ivr_menu.c:425 digits ''
  539. 2021-04-12 12:43:16.070316 [DEBUG] switch_ivr_menu.c:664 IVR menu 'multichoice IVR0' no input detected
  540. 2021-04-12 12:43:16.070316 [DEBUG] switch_ivr_menu.c:676 exit-sound 'voicemail/vm-goodbye.wav'
  541. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_session.c:2905 sofia/default/07046391329@37.9.63.182:1024 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  542. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:651 (sofia/default/07046391329@37.9.63.182:1024) State EXECUTE going to sleep
  543. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07046391329@37.9.63.182:1024) Running State Change CS_HANGUP (Cur 3 Tot 246064)
  544. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:848 (sofia/default/07046391329@37.9.63.182:1024) Callstate Change ACTIVE -> HANGUP
  545. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07046391329@37.9.63.182:1024) State HANGUP
  546. 2021-04-12 12:43:16.070316 [DEBUG] mod_sofia.c:460 Channel sofia/default/07046391329@37.9.63.182:1024 hanging up, cause: NORMAL_CLEARING
  547. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:60 sofia/default/07046391329@37.9.63.182:1024 Standard HANGUP, cause: NORMAL_CLEARING
  548. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:850 (sofia/default/07046391329@37.9.63.182:1024) State HANGUP going to sleep
  549. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:620 (sofia/default/07046391329@37.9.63.182:1024) State Change CS_HANGUP -> CS_REPORTING
  550. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07046391329@37.9.63.182:1024) Running State Change CS_REPORTING (Cur 3 Tot 246064)
  551. 2021-04-12 12:43:16.070316 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07046391329@37.9.63.182:1024) State REPORTING
  552. 2021-04-12 12:43:16.070316 [INFO] mod_json_cdr.c:271 Process [36da503f-11c9-47fa-b022-e458580279ab.cdr.json]
  553. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:174 sofia/default/07046391329@37.9.63.182:1024 Standard REPORTING, cause: NORMAL_CLEARING
  554. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:936 (sofia/default/07046391329@37.9.63.182:1024) State REPORTING going to sleep
  555. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:611 (sofia/default/07046391329@37.9.63.182:1024) State Change CS_REPORTING -> CS_DESTROY
  556. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_session.c:1726 Session 246061 (sofia/default/07046391329@37.9.63.182:1024) Locked, Waiting on external entities
  557. 2021-04-12 12:43:16.090625 [NOTICE] switch_core_session.c:1744 Session 246061 (sofia/default/07046391329@37.9.63.182:1024) Ended
  558. 2021-04-12 12:43:16.090625 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/07046391329@37.9.63.182:1024 [CS_DESTROY]
  559. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:739 (sofia/default/07046391329@37.9.63.182:1024) Running State Change CS_DESTROY (Cur 2 Tot 246064)
  560. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07046391329@37.9.63.182:1024) State DESTROY
  561. 2021-04-12 12:43:16.090625 [DEBUG] mod_sofia.c:365 sofia/default/07046391329@37.9.63.182:1024 SOFIA DESTROY
  562. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:181 sofia/default/07046391329@37.9.63.182:1024 Standard DESTROY
  563. 2021-04-12 12:43:16.090625 [DEBUG] switch_core_state_machine.c:749 (sofia/default/07046391329@37.9.63.182:1024) State DESTROY going to sleep
  564. 2021-04-12 12:43:17.610310 [DEBUG] sofia.c:7290 Channel sofia/default/001@41.204.244.230:48450 entering state [completing][200]
  565. 2021-04-12 12:43:17.610310 [DEBUG] sofia.c:7300 Remote SDP:
  566. v=0
  567. o=- 3 2 IN IP4 41.204.244.230
  568. s=<CounterPath eyeBeam 1.5>
  569. c=IN IP4 41.204.244.230
  570. t=0 0
  571. m=audio 25220 RTP/AVP 8 0 101
  572. a=rtpmap:101 telephone-event/8000
  573. a=fmtp:101 0-15
  574. a=x-rtp-session-id:9C44A8EC01694233B339E3C22F88B0CD
  575.  
  576. 2021-04-12 12:43:17.610310 [DEBUG] sofia.c:7290 Channel sofia/default/001@41.204.244.230:48450 entering state [ready][200]
  577. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  578. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  579. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  580. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  581. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  582. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  583. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000
  584. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/001@41.204.244.230:48450 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  585. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_codec.c:111 sofia/default/001@41.204.244.230:48450 Original read codec set to PCMA:8
  586. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000
  587. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:5907 sofia/default/001@41.204.244.230:48450 Set 2833 dtmf send payload to 101 recv payload to 101
  588. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/001@41.204.244.230:48450] 192.168.8.3 port 27502 -> 41.204.244.230 port 25220 codec: 8 ms: 20
  589. 2021-04-12 12:43:17.610310 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
  590. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:8972 sofia/default/001@41.204.244.230:48450 Set 2833 dtmf send payload to 101
  591. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:8979 sofia/default/001@41.204.244.230:48450 Set 2833 dtmf receive payload to 101
  592. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media.c:9002 sofia/default/001@41.204.244.230:48450 Set rtp dtmf delay to 40
  593. 2021-04-12 12:43:17.610310 [NOTICE] sofia.c:8468 Channel [sofia/default/001@41.204.244.230:48450] has been answered
  594. EXECUTE [depth=1] sofia/default/001@41.204.244.230:48450 record_session(/opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af.wav)
  595. EXECUTE [depth=1] sofia/default/001@41.204.244.230:48450 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  596. 2021-04-12 12:43:17.610310 [DEBUG] switch_ivr_async.c:1347 Record session sample rate: 8000 -> 8000
  597. 2021-04-12 12:43:17.610310 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/001@41.204.244.230:48450
  598. 2021-04-12 12:43:17.658109 [DEBUG] switch_channel.c:3865 (sofia/default/001@41.204.244.230:48450) Callstate Change RINGING -> ACTIVE
  599. 2021-04-12 12:43:17.658109 [NOTICE] switch_cpp.cpp:1443 [Astpp_Call-Ring Group]  Ring group confirm flag ::false
  600. 2021-04-12 12:43:17.658109 [DEBUG] switch_cpp.cpp:1187 sofia/default/001@41.204.244.230:48450 destroy/unlink session from object
  601. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/09033161160@37.9.63.182:1024] 192.168.8.3 port 24236 -> 37.9.63.182 port 7298 codec: 0 ms: 20
  602. 2021-04-12 12:43:17.670626 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
  603. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_media.c:8972 sofia/default/09033161160@37.9.63.182:1024 Set 2833 dtmf send payload to 101
  604. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_media.c:8979 sofia/default/09033161160@37.9.63.182:1024 Set 2833 dtmf receive payload to 101
  605. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_media.c:9002 sofia/default/09033161160@37.9.63.182:1024 Set rtp dtmf delay to 40
  606. 2021-04-12 12:43:17.670626 [DEBUG] mod_sofia.c:905 Local SDP sofia/default/09033161160@37.9.63.182:1024:
  607. v=0
  608. o=FreeSWITCH 1618203561 1618203562 IN IP4 192.168.8.3
  609. s=FreeSWITCH
  610. c=IN IP4 192.168.8.3
  611. t=0 0
  612. m=audio 24236 RTP/AVP 0 101
  613. a=rtpmap:0 PCMU/8000
  614. a=rtpmap:101 telephone-event/8000
  615. a=fmtp:101 0-16
  616. a=ptime:20
  617. a=sendrecv
  618.  
  619. 2021-04-12 12:43:17.670626 [NOTICE] switch_ivr_originate.c:3748 Channel [sofia/default/09033161160@37.9.63.182:1024] has been answered
  620. 2021-04-12 12:43:17.670626 [DEBUG] sofia.c:7290 Channel sofia/default/09033161160@37.9.63.182:1024 entering state [completed][200]
  621. EXECUTE [depth=0] sofia/default/09033161160@37.9.63.182:1024 record_session(/opt/ASTPP/web_interface/astpp/playlist/example/media/recordings/26c5fc5b-04ec-4a1a-99e1-7f3ea6d1c7af.wav)
  622. 2021-04-12 12:43:17.670626 [DEBUG] switch_ivr_async.c:1347 Record session sample rate: 8000 -> 8000
  623. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/09033161160@37.9.63.182:1024
  624. 2021-04-12 12:43:17.670626 [DEBUG] switch_channel.c:3865 (sofia/default/09033161160@37.9.63.182:1024) Callstate Change RINGING -> ACTIVE
  625. 2021-04-12 12:43:17.670626 [DEBUG] switch_ivr_originate.c:3806 Originate Resulted in Success: [sofia/default/001@41.204.244.230:48450]
  626. 2021-04-12 12:43:17.670626 [DEBUG] switch_ivr_bridge.c:1794 (sofia/default/001@41.204.244.230:48450) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  627. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_state_machine.c:585 (sofia/default/001@41.204.244.230:48450) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 246064)
  628. 2021-04-12 12:43:17.670626 [DEBUG] switch_core_state_machine.c:654 (sofia/default/001@41.204.244.230:48450) State EXCHANGE_MEDIA
  629. 2021-04-12 12:43:17.670626 [DEBUG] mod_sofia.c:663 SOFIA EXCHANGE_MEDIA
  630. 2021-04-12 12:43:17.670626 [DEBUG] switch_ivr_async.c:1636 No silence detection configured; assuming start of speech
  631. 2021-04-12 12:43:17.670626 [DEBUG] switch_ivr_async.c:1636 No silence detection configured; assuming start of speech
  632. 2021-04-12 12:43:17.710250 [DEBUG] switch_rtp.c:7720 Correct audio ip/port confirmed.
  633. 2021-04-12 12:43:17.710250 [DEBUG] switch_core_media.c:3289 alternate payload received (received 0, expecting 8)
  634. 2021-04-12 12:43:17.710250 [WARNING] switch_core_media.c:3300 Changing current codec to PCMU (payload type 0).
  635. 2021-04-12 12:43:17.710250 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  636. 2021-04-12 12:43:17.730247 [DEBUG] switch_core_media.c:3732 Changing Codec from PCMA@20ms@8000hz to PCMU@20ms@8000hz
  637. 2021-04-12 12:43:17.770326 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/001@41.204.244.230:48450 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  638. 2021-04-12 12:43:17.770326 [DEBUG] switch_core_codec.c:123 sofia/default/001@41.204.244.230:48450 Original read codec replaced with PCMU:0
  639. 2021-04-12 12:43:17.770326 [DEBUG] switch_core_codec.c:153 Destroying BUG Codec PCMA:8
  640. 2021-04-12 12:43:17.770326 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  641. 2021-04-12 12:43:17.870322 [DEBUG] switch_ivr_bridge.c:658 sofia/default/001@41.204.244.230:48450 Bridge execute app sched_hangup(+6000 normal_clearing)
  642. 2021-04-12 12:43:17.870322 [DEBUG] switch_ivr.c:632 sofia/default/001@41.204.244.230:48450 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  643. EXECUTE [depth=0] sofia/default/001@41.204.244.230:48450 sched_hangup(+6000 normal_clearing)
  644. 2021-04-12 12:43:17.870322 [DEBUG] switch_scheduler.c:252 Added task 2357 switch_ivr_schedule_hangup (90222d79-5253-4f72-8951-85a2a0f91a31) to run at 1618233797
  645. 2021-04-12 12:43:18.210323 [DEBUG] sofia.c:7290 Channel sofia/default/09033161160@37.9.63.182:1024 entering state [ready][200]
  646. 2021-04-12 12:43:18.310320 [DEBUG] switch_rtp.c:7720 Correct audio ip/port confirmed.
  647. 2021-04-12 12:43:18.310320 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  648. 2021-04-12 12:43:28.690324 [NOTICE] switch_channel.c:1118 New Channel sofia/default/07046391329@37.9.63.182:1024 [0eb1890b-1ca2-4d2c-ba87-f72e2a6f02bb]
  649. 2021-04-12 12:43:28.690324 [DEBUG] switch_core_state_machine.c:585 (sofia/default/07046391329@37.9.63.182:1024) Running State Change CS_NEW (Cur 3 Tot 246065)
  650. 2021-04-12 12:43:28.690324 [DEBUG] sofia.c:10243 sofia/default/07046391329@37.9.63.182:1024 receiving invite from 37.9.63.182:1024 version: 1.10.1 -release-12-f9990221e6 64bit