From akash_patel, 4 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: goldenrod; font-weight: bold;"> 2019-07-03 13:16:36.947892 [DEBUG] sofia_reg.c:2462 Changing expire time to 120 by request of proxy sip:193.202.111.241
  2. 2019-07-03 13:17:21.087894 [NOTICE] switch_channel.c:1104 New Channel sofia/default/21622841218@46.19.210.14 [065fbe9c-28a6-4e25-89a5-8a73c43ff9cf]
  3. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:584 (sofia/default/21622841218@46.19.210.14) Running State Change CS_NEW (Cur 1 Tot 14018)
  4. 2019-07-03 13:17:21.087894 [DEBUG] sofia.c:10092 sofia/default/21622841218@46.19.210.14 receiving invite from 93.90.194.97:5060 version: 1.8.5 git 31281a0 2019-01-24 22:53:59Z 64bit
  5. 2019-07-03 13:17:21.087894 [DEBUG] sofia.c:10208 IP 93.90.194.97 Approved by acl "default[]". Access Granted.
  6. 2019-07-03 13:17:21.087894 [DEBUG] sofia.c:7291 Channel sofia/default/21622841218@46.19.210.14 entering state [received][100]
  7. 2019-07-03 13:17:21.087894 [DEBUG] sofia.c:7301 Remote SDP:
  8. v=0
  9. o=- 29878 7807 IN IP4 46.19.210.39
  10. s=-
  11. t=0 0
  12. m=audio 43588 RTP/AVP 0 8 18 4 101
  13. c=IN IP4 46.19.210.39
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:18 G729/8000
  17. a=fmtp:18 annexb=no
  18. a=rtpmap:4 G723/8000
  19. a=rtpmap:101 telephone-event/8000
  20. a=ptime:20
  21. a=direction:both
  22.  
  23. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  27. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  32. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  33. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  34. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  35. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  36. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  37. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  38. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5394 Set telephone-event payload to 101@8000
  39. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:3781 Set Codec sofia/default/21622841218@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_codec.c:111 sofia/default/21622841218@46.19.210.14 Original read codec set to PCMU:0
  41. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5737 Set telephone-event payload to 101@8000
  42. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_media.c:5795 sofia/default/21622841218@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2019-07-03 13:17:21.087894 [DEBUG] sofia.c:7716 (sofia/default/21622841218@46.19.210.14) State Change CS_NEW -> CS_INIT
  44. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:603 (sofia/default/21622841218@46.19.210.14) State NEW
  45. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:584 (sofia/default/21622841218@46.19.210.14) Running State Change CS_INIT (Cur 1 Tot 14018)
  46. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:627 (sofia/default/21622841218@46.19.210.14) State INIT
  47. 2019-07-03 13:17:21.087894 [DEBUG] mod_sofia.c:93 sofia/default/21622841218@46.19.210.14 SOFIA INIT
  48. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:40 sofia/default/21622841218@46.19.210.14 Standard INIT
  49. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:48 (sofia/default/21622841218@46.19.210.14) State Change CS_INIT -> CS_ROUTING
  50. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:627 (sofia/default/21622841218@46.19.210.14) State INIT going to sleep
  51. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:584 (sofia/default/21622841218@46.19.210.14) Running State Change CS_ROUTING (Cur 1 Tot 14018)
  52. 2019-07-03 13:17:21.087894 [DEBUG] switch_channel.c:2249 (sofia/default/21622841218@46.19.210.14) Callstate Change DOWN -> RINGING
  53. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:643 (sofia/default/21622841218@46.19.210.14) State ROUTING
  54. 2019-07-03 13:17:21.087894 [DEBUG] mod_sofia.c:154 sofia/default/21622841218@46.19.210.14 SOFIA ROUTING
  55. 2019-07-03 13:17:21.087894 [DEBUG] switch_core_state_machine.c:236 sofia/default/21622841218@46.19.210.14 Standard ROUTING
  56. 2019-07-03 13:17:21.087894 [INFO] mod_dialplan_xml.c:637 Processing 21622841218 <21622841218>->33178902620 in context default
  57. 2019-07-03 13:17:21.107724 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2019-07-03 13:17:21.107724 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2019-07-03 13:17:21.127680 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  60. Event-Name: REQUEST_PARAMS
  61. Core-UUID: 26e40cee-7fc2-4a39-8418-baf1a8c14dc7
  62. FreeSWITCH-Hostname: 53FF3FB.online-server.cloud
  63. FreeSWITCH-Switchname: 53FF3FB.online-server.cloud
  64. FreeSWITCH-IPv4: 93.90.193.204
  65. FreeSWITCH-IPv6: fe80%3A%3Aae1f%3A6bff%3Afe97%3Af9c2
  66. Event-Date-Local: 2019-07-03%2013%3A17%3A21
  67. Event-Date-GMT: Wed,%2003%20Jul%202019%2013%3A17%3A21%20GMT
  68. Event-Date-Timestamp: 1562159841087894
  69. Event-Calling-File: mod_dialplan_xml.c
  70. Event-Calling-Function: dialplan_xml_locate
  71. Event-Calling-Line-Number: 608
  72. Event-Sequence: 227446
  73. Channel-State: CS_ROUTING
  74. Channel-Call-State: RINGING
  75. Channel-State-Number: 2
  76. Channel-Name: sofia/default/21622841218%4046.19.210.14
  77. Unique-ID: 065fbe9c-28a6-4e25-89a5-8a73c43ff9cf
  78. Call-Direction: inbound
  79. Presence-Call-Direction: inbound
  80. Channel-HIT-Dialplan: true
  81. Channel-Presence-ID: 21622841218%4046.19.210.14
  82. Channel-Call-UUID: 065fbe9c-28a6-4e25-89a5-8a73c43ff9cf
  83. Answer-State: ringing
  84. Channel-Read-Codec-Name: PCMU
  85. Channel-Read-Codec-Rate: 8000
  86. Channel-Read-Codec-Bit-Rate: 64000
  87. Channel-Write-Codec-Name: PCMU
  88. Channel-Write-Codec-Rate: 8000
  89. Channel-Write-Codec-Bit-Rate: 64000
  90. Caller-Direction: inbound
  91. Caller-Logical-Direction: inbound
  92. Caller-Username: 21622841218
  93. Caller-Dialplan: XML
  94. Caller-Caller-ID-Name: 21622841218
  95. Caller-Caller-ID-Number: 21622841218
  96. Caller-Orig-Caller-ID-Name: 21622841218
  97. Caller-Orig-Caller-ID-Number: 21622841218
  98. Caller-Network-Addr: 93.90.194.97
  99. Caller-ANI: 21622841218
  100. Caller-Destination-Number: 33178902620
  101. Caller-Unique-ID: 065fbe9c-28a6-4e25-89a5-8a73c43ff9cf
  102. Caller-Source: mod_sofia
  103. Caller-Context: default
  104. Caller-Channel-Name: sofia/default/21622841218%4046.19.210.14
  105. Caller-Profile-Index: 1
  106. Caller-Profile-Created-Time: 1562159841087894
  107. Caller-Channel-Created-Time: 1562159841087894
  108. Caller-Channel-Answered-Time: 0
  109. Caller-Channel-Progress-Time: 0
  110. Caller-Channel-Progress-Media-Time: 0
  111. Caller-Channel-Hangup-Time: 0
  112. Caller-Channel-Transfer-Time: 0
  113. Caller-Channel-Resurrect-Time: 0
  114. Caller-Channel-Bridged-Time: 0
  115. Caller-Channel-Last-Hold: 0
  116. Caller-Channel-Hold-Accum: 0
  117. Caller-Screen-Bit: true
  118. Caller-Privacy-Hide-Name: false
  119. Caller-Privacy-Hide-Number: false
  120. variable_direction: inbound
  121. variable_uuid: 065fbe9c-28a6-4e25-89a5-8a73c43ff9cf
  122. variable_session_id: 14018
  123. variable_sip_from_user: 21622841218
  124. variable_sip_from_uri: 21622841218%4046.19.210.14
  125. variable_sip_from_host: 46.19.210.14
  126. variable_video_media_flow: disabled
  127. variable_text_media_flow: disabled
  128. variable_channel_name: sofia/default/21622841218%4046.19.210.14
  129. variable_sip_call_id: 11-11-51F63AF2-5D1CAAE100015BCE-85C70700
  130. variable_sip_local_network_addr: 93.90.193.204
  131. variable_sip_network_ip: 93.90.194.97
  132. variable_sip_network_port: 5060
  133. variable_sip_invite_stamp: 1562159841087894
  134. variable_sip_received_ip: 93.90.194.97
  135. variable_sip_received_port: 5060
  136. variable_sip_via_protocol: udp
  137. variable_sip_authorized: true
  138. variable_sip_acl_authed_by: default
  139. variable_sip_from_user_stripped: 21622841218
  140. variable_sip_from_tag: 11-4BFE52F1-5D1CAAE100015B1C-85C70700
  141. variable_sofia_profile_name: default
  142. variable_sofia_profile_url: sip%3Amod_sofia%4093.90.193.204%3A7777
  143. variable_recovery_profile_name: default
  144. variable_sip_invite_route_uri: %3Csip%3A93.90.194.97%3Blr%3Bdid%3D72c.9ce9cab6%3E
  145. variable_sip_invite_record_route: %3Csip%3A93.90.194.97%3Blr%3Bdid%3D72c.9ce9cab6%3E
  146. variable_sip_full_via: SIP/2.0/UDP%2093.90.194.97%3A5060%3Bbranch%3Dz9hG4bK5431.78d797a2.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKKupnqadf%3Brport%3D5060
  147. variable_sip_from_display: 21622841218
  148. variable_sip_full_from: %2221622841218%22%20%3Csip%3A21622841218%4046.19.210.14%3E%3Btag%3D11-4BFE52F1-5D1CAAE100015B1C-85C70700
  149. variable_sip_full_to: %3Csip%3A33178902620%4093.90.194.97%3E
  150. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE
  151. variable_sip_req_user: 33178902620
  152. variable_sip_req_uri: 33178902620%4093.90.194.97
  153. variable_sip_req_host: 93.90.194.97
  154. variable_sip_to_user: 33178902620
  155. variable_sip_to_uri: 33178902620%4093.90.194.97
  156. variable_sip_to_host: 93.90.194.97
  157. variable_sip_contact_params: transport%3Dudp
  158. variable_sip_contact_user: nobody
  159. variable_sip_contact_port: 5060
  160. variable_sip_contact_uri: nobody%4046.19.210.14%3A5060
  161. variable_sip_contact_host: 46.19.210.14
  162. variable_sip_user_agent: DIDWW%20SBC%20node
  163. variable_sip_via_host: 93.90.194.97
  164. variable_sip_via_port: 5060
  165. variable_max_forwards: 30
  166. variable_presence_id: 21622841218%4046.19.210.14
  167. variable_sip_h_Diversion: %3Csip%3A%2B33178902620%40sip.didww.com%3E%3Breason%3Dunconditional
  168. variable_sip_h_X-AUTH-IP: 46.19.210.14
  169. variable_sip_h_P-Accountcode: 6937639719
  170. variable_sip_h_P-effective_caller_id_name: %3Cnull%3E
  171. variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
  172. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%2029878%207807%20IN%20IP4%2046.19.210.39%0D%0As%3D-%0D%0At%3D0%200%0D%0Am%3Daudio%2043588%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0Aa%3Ddirection%3Aboth%0D%0A
  173. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  174. variable_rtp_use_codec_string: PCMA,PCMU,G729
  175. variable_remote_audio_media_flow: sendrecv
  176. variable_audio_media_flow: sendrecv
  177. variable_remote_media_ip: 46.19.210.39
  178. variable_remote_media_port: 43588
  179. variable_rtp_audio_recv_pt: 0
  180. variable_rtp_use_codec_name: PCMU
  181. variable_rtp_use_codec_rate: 8000
  182. variable_rtp_use_codec_ptime: 20
  183. variable_rtp_use_codec_channels: 1
  184. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  185. variable_read_codec: PCMU
  186. variable_original_read_codec: PCMU
  187. variable_read_rate: 8000
  188. variable_original_read_rate: 8000
  189. variable_write_codec: PCMU
  190. variable_write_rate: 8000
  191. variable_dtmf_type: rfc2833
  192. variable_endpoint_disposition: RECEIVED
  193. variable_call_uuid: 065fbe9c-28a6-4e25-89a5-8a73c43ff9cf
  194. Hunt-Direction: inbound
  195. Hunt-Logical-Direction: inbound
  196. Hunt-Username: 21622841218
  197. Hunt-Dialplan: XML
  198. Hunt-Caller-ID-Name: 21622841218
  199. Hunt-Caller-ID-Number: 21622841218
  200. Hunt-Orig-Caller-ID-Name: 21622841218
  201. Hunt-Orig-Caller-ID-Number: 21622841218
  202. Hunt-Network-Addr: 93.90.194.97
  203. Hunt-ANI: 21622841218
  204. Hunt-Destination-Number: 33178902620
  205. Hunt-Unique-ID: 065fbe9c-28a6-4e25-89a5-8a73c43ff9cf
  206. Hunt-Source: mod_sofia
  207. Hunt-Context: default
  208. Hunt-Channel-Name: sofia/default/21622841218%4046.19.210.14
  209. Hunt-Profile-Index: 1
  210. Hunt-Profile-Created-Time: 1562159841087894
  211. Hunt-Channel-Created-Time: 1562159841087894
  212. Hunt-Channel-Answered-Time: 0
  213. Hunt-Channel-Progress-Time: 0
  214. Hunt-Channel-Progress-Media-Time: 0
  215. Hunt-Channel-Hangup-Time: 0
  216. Hunt-Channel-Transfer-Time: 0
  217. Hunt-Channel-Resurrect-Time: 0
  218. Hunt-Channel-Bridged-Time: 0
  219. Hunt-Channel-Last-Hold: 0
  220. Hunt-Channel-Hold-Accum: 0
  221. Hunt-Screen-Bit: true
  222. Hunt-Privacy-Hide-Name: false
  223. Hunt-Privacy-Hide-Number: false
  224.  
  225.  
  226. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  227. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  228. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  229. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  230. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 33178902620
  231. 2019-07-03 13:17:21.127680 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '33178902620' AND status=0 limit 1
  232. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : <null> / <null>
  233. 2019-07-03 13:17:21.127680 [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 ="33178902620" LIMIT 1
  234. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : inbound
  235. 2019-07-03 13:17:21.127680 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 6937639719]
  236. 2019-07-03 13:17:21.127680 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "6937639719" AND deleted = 0 limit 1
  237. 2019-07-03 13:17:21.127680 [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 ="33178902620" AND A.accountid = '11' limit 1
  238. 2019-07-03 13:17:21.147624 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 33178902620
  239. 2019-07-03 13:17:21.147624 [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 ="33178902620" LIMIT 1
  240. 2019-07-03 13:17:21.147624 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : inbound
  241. 2019-07-03 13:17:21.147624 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="33178902620" AND (accountid = 0 OR status = 1) LIMIT 1
  242. 2019-07-03 13:17:21.147624 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  243. 2019-07-03 13:17:21.147624 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :4
  244. 2019-07-03 13:17:21.147624 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages_view as P inner join package_patterns as PKGPTR on P.id = PKGPTR.product_id WHERE (patterns = '^33178902620.*' OR patterns = '^3317890262.*' OR patterns = '^331789026.*' OR patterns = '^33178902.*' OR patterns = '^3317890.*' OR patterns = '^331789.*' OR patterns = '^33178.*' OR patterns = '^3317.*' OR patterns = '^331.*' OR patterns = '^33.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 4 ORDER BY LENGTH(PKGPTR.patterns) DESC
  245. 2019-07-03 13:17:21.147624 [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 = '33178902620' OR number = '3317890262' OR number = '331789026' OR number = '33178902' OR number = '3317890' OR number = '331789' OR number = '33178' OR number = '3317' OR number = '331' OR number = '33' OR number = '3' OR number ='--') OR (number = '33178902620*' OR number = '3317890262*' OR number = '331789026*' OR number = '33178902*' OR number = '3317890*' OR number = '331789*' OR number = '33178*' OR number = '3317*' OR number = '331*' OR number = '33*' OR number = '3*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  246. 2019-07-03 13:17:21.147624 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  247. 2019-07-03 13:17:21.167636 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '33178902620' OR routing_prefix = '3317890262' OR routing_prefix = '331789026' OR routing_prefix = '33178902' OR routing_prefix = '3317890' OR routing_prefix = '331789' OR routing_prefix = '33178' OR routing_prefix = '3317' OR routing_prefix = '331' OR routing_prefix = '33' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  248. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  249. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 11
  250. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 6937639719
  251. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 10000
  252. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  253. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 1
  254. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  255. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  256. 2019-07-03 13:17:21.167636 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  257. 2019-07-03 13:17:21.167636 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :inbound
  258. 2019-07-03 13:17:21.167636 [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 ="33178902620" LIMIT 1
  259. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: inbound
  260. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  261. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 2
  262. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  263. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  264. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.00000
  265. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : 33178902620
  266. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 66
  267. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 11
  268. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  269. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 11 !!!
  270. 2019-07-03 13:17:21.167636 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  271. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
  272. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] INB_FREE:TRUE
  273. 2019-07-03 13:17:21.167636 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] free_inbound:1
  274. 2019-07-03 13:17:21.167636 [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 = 11 AND status=0 LIMIT 1
  275. 2019-07-03 13:17:21.167636 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
  276. 2019-07-03 13:17:21.187694 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML:11
  277. 2019-07-03 13:17:21.187694 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Userinfo XML:11
  278. 2019-07-03 13:17:21.187694 [INFO] switch_cpp.cpp:1443 [ASTPP] [userinfo] Actual CustomerInfo XML : 11
  279. 2019-07-03 13:17:21.187694 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
  280. 2019-07-03 13:17:21.187694 [DEBUG] switch_cpp.cpp:1443 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  281. 2019-07-03 13:17:21.187694 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  282. <document type="freeswitch/xml">
  283. <section name="dialplan" description="ASTPP Dialplan">
  284. <context name="default">
  285. <extension name="33178902620">
  286. <condition field="destination_number" expression="33178902620">
  287. <action application="set" data="effective_destination_number=33178902620"/>
  288. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  289. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  290. <action application="set" data="callstart=2019-07-03 13:17:21"/>
  291. <action application="set" data="hangup_after_bridge=true"/>
  292. <action application="set" data="continue_on_fail=TRUE"/>
  293. <action application="set" data="account_id=11"/>
  294. <action application="set" data="parent_id=0"/>
  295. <action application="set" data="entity_id=3"/>
  296. <action application="set" data="call_processed=internal"/>
  297. <action application="set" data="call_direction=inbound"/>
  298. <action application="set" data="accountname=default"/>
  299. <action application="set" data="origination_rates_did=ID:2|CODE:^33178902620.*|DESTINATION:33178902620|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:4"/>
  300. <action application="set" data="receiver_accid=4"/>
  301. <action application="export" data="presence_data=x|||BUY DID(6937639719)|||^33178902620.* // 33178902620 // 0.00000||||||DID"/>
  302. <action application="export" data="call_type=0"/>
  303. <action application="set" data="calltype=DID-LOCAL"/>
  304. <action application="bridge" data="{sip_invite_params=user=LOCAL,sip_from_uri=8633640609@${domain_name}}[leg_timeout=0]sofia/${sofia_profile_name}/8633640609@93.90.194.58"/>
  305. <condition field="${cond(${user_data 8633640609@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  306. <action application="answer"/>
  307. <action application="export" data="voicemail_alternate_greet_id=33178902620"/>
  308. <action application="voicemail" data="default $${domain_name} 8633640609"/>
  309. <anti-action application="hangup" data="${originate_disposition}"/>
  310. </condition>
  311. <action application="set" data="did_id=2"/>
  312. <action application="set" data="destination_number=33178902620"/>
  313. <action application="set" data="leg_timeout=0"/>
  314. <action application="set" data="call_type_vm_flag=1"/>
  315. <action application="set" data="is_local_extension=1"/>
  316. <action application="lua" data="did_call_forwarding.lua"/>
  317. </condition>
  318. </extension>
  319. </context>
  320. </section>
  321. </document>
  322. Dialplan: sofia/default/21622841218@46.19.210.14 parsing [default->33178902620] continue=false
  323. Dialplan: sofia/default/21622841218@46.19.210.14 Regex (PASS) [33178902620] destination_number(33178902620) =~ /33178902620/ break=on-false
  324. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(effective_destination_number=33178902620)
  325. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  326. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  327. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(callstart=2019-07-03 13:17:21)
  328. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(hangup_after_bridge=true)
  329. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(continue_on_fail=TRUE)
  330. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(account_id=11)
  331. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(parent_id=0)
  332. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(entity_id=3)
  333. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(call_processed=internal)
  334. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(call_direction=inbound)
  335. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(accountname=default)
  336. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(origination_rates_did=ID:2|CODE:^33178902620.*|DESTINATION:33178902620|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:4)
  337. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(receiver_accid=4)
  338. Dialplan: sofia/default/21622841218@46.19.210.14 Action export(presence_data=x|||BUY DID(6937639719)|||^33178902620.* // 33178902620 // 0.00000||||||DID)
  339. Dialplan: sofia/default/21622841218@46.19.210.14 Action export(call_type=0)
  340. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(calltype=DID-LOCAL)
  341. Dialplan: sofia/default/21622841218@46.19.210.14 Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=8633640609@${domain_name}}[leg_timeout=0]sofia/${sofia_profile_name}/8633640609@93.90.194.58)
  342. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(did_id=2)
  343. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(destination_number=33178902620)
  344. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(leg_timeout=0)
  345. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(call_type_vm_flag=1)
  346. Dialplan: sofia/default/21622841218@46.19.210.14 Action set(is_local_extension=1)
  347. Dialplan: sofia/default/21622841218@46.19.210.14 Action lua(did_call_forwarding.lua)
  348. |--- Dialplan: Processing recursive conditions level:1 [33178902620_recur_1] require-nested=TRUE
  349. |--- Dialplan: sofia/default/21622841218@46.19.210.14 Regex (PASS) [33178902620_recur_1] ${cond(${user_data 8633640609@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  350. |--- Dialplan: sofia/default/21622841218@46.19.210.14 Action answer()
  351. |--- Dialplan: sofia/default/21622841218@46.19.210.14 Action export(voicemail_alternate_greet_id=33178902620)
  352. |--- Dialplan: sofia/default/21622841218@46.19.210.14 Action voicemail(default $${domain_name} 8633640609)
  353. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:286 (sofia/default/21622841218@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE
  354. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:643 (sofia/default/21622841218@46.19.210.14) State ROUTING going to sleep
  355. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:584 (sofia/default/21622841218@46.19.210.14) Running State Change CS_EXECUTE (Cur 1 Tot 14018)
  356. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:650 (sofia/default/21622841218@46.19.210.14) State EXECUTE
  357. 2019-07-03 13:17:21.207701 [DEBUG] mod_sofia.c:209 sofia/default/21622841218@46.19.210.14 SOFIA EXECUTE
  358. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:328 sofia/default/21622841218@46.19.210.14 Standard EXECUTE
  359. EXECUTE sofia/default/21622841218@46.19.210.14 set(effective_destination_number=33178902620)
  360. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [effective_destination_number]=[33178902620]
  361. EXECUTE sofia/default/21622841218@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup)
  362. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup]
  363. EXECUTE sofia/default/21622841218@46.19.210.14 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  364. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  365. EXECUTE sofia/default/21622841218@46.19.210.14 set(callstart=2019-07-03 13:17:21)
  366. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [callstart]=[2019-07-03 13:17:21]
  367. EXECUTE sofia/default/21622841218@46.19.210.14 set(hangup_after_bridge=true)
  368. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [hangup_after_bridge]=[true]
  369. EXECUTE sofia/default/21622841218@46.19.210.14 set(continue_on_fail=TRUE)
  370. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [continue_on_fail]=[TRUE]
  371. EXECUTE sofia/default/21622841218@46.19.210.14 set(account_id=11)
  372. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [account_id]=[11]
  373. EXECUTE sofia/default/21622841218@46.19.210.14 set(parent_id=0)
  374. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [parent_id]=[0]
  375. EXECUTE sofia/default/21622841218@46.19.210.14 set(entity_id=3)
  376. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [entity_id]=[3]
  377. EXECUTE sofia/default/21622841218@46.19.210.14 set(call_processed=internal)
  378. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [call_processed]=[internal]
  379. EXECUTE sofia/default/21622841218@46.19.210.14 set(call_direction=inbound)
  380. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [call_direction]=[inbound]
  381. EXECUTE sofia/default/21622841218@46.19.210.14 set(accountname=default)
  382. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [accountname]=[default]
  383. EXECUTE sofia/default/21622841218@46.19.210.14 set(origination_rates_did=ID:2|CODE:^33178902620.*|DESTINATION:33178902620|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:4)
  384. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [origination_rates_did]=[ID:2|CODE:^33178902620.*|DESTINATION:33178902620|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:66|ACCID:4]
  385. EXECUTE sofia/default/21622841218@46.19.210.14 set(receiver_accid=4)
  386. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [receiver_accid]=[4]
  387. EXECUTE sofia/default/21622841218@46.19.210.14 export(presence_data=x|||BUY DID(6937639719)|||^33178902620.* // 33178902620 // 0.00000||||||DID)
  388. 2019-07-03 13:17:21.207701 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||BUY DID(6937639719)|||^33178902620.* // 33178902620 // 0.00000||||||DID]
  389. EXECUTE sofia/default/21622841218@46.19.210.14 export(call_type=0)
  390. 2019-07-03 13:17:21.207701 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[0]
  391. EXECUTE sofia/default/21622841218@46.19.210.14 set(calltype=DID-LOCAL)
  392. 2019-07-03 13:17:21.207701 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [calltype]=[DID-LOCAL]
  393. EXECUTE sofia/default/21622841218@46.19.210.14 bridge({sip_invite_params=user=LOCAL,sip_from_uri=8633640609@93.90.193.204}[leg_timeout=0]sofia/default/8633640609@93.90.194.58)
  394. 2019-07-03 13:17:21.207701 [DEBUG] switch_channel.c:1250 sofia/default/21622841218@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||BUY DID(6937639719)|||^33178902620.* // 33178902620 // 0.00000||||||DID] to event
  395. 2019-07-03 13:17:21.207701 [DEBUG] switch_channel.c:1250 sofia/default/21622841218@46.19.210.14 EXPORTING[export_vars] [call_type]=[0] to event
  396. 2019-07-03 13:17:21.207701 [DEBUG] switch_ivr_originate.c:2204 Parsing global variables
  397. 2019-07-03 13:17:21.207701 [DEBUG] switch_ivr_originate.c:2749 Parsing session specific variables
  398. 2019-07-03 13:17:21.207701 [NOTICE] switch_channel.c:1104 New Channel sofia/default/8633640609@93.90.194.58 [389d3c8b-e4f7-429f-8cab-464f65fe179c]
  399. 2019-07-03 13:17:21.207701 [DEBUG] mod_sofia.c:5019 (sofia/default/8633640609@93.90.194.58) State Change CS_NEW -> CS_INIT
  400. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8633640609@93.90.194.58) Running State Change CS_INIT (Cur 2 Tot 14019)
  401. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8633640609@93.90.194.58) State INIT
  402. 2019-07-03 13:17:21.207701 [DEBUG] mod_sofia.c:93 sofia/default/8633640609@93.90.194.58 SOFIA INIT
  403. 2019-07-03 13:17:21.207701 [DEBUG] sofia_glue.c:1302 sofia/default/8633640609@93.90.194.58 sending invite version: 1.8.5 git 31281a0 2019-01-24 22:53:59Z 64bit
  404. Local SDP:
  405. v=0
  406. o=FreeSWITCH 1562138723 1562138724 IN IP4 93.90.193.204
  407. s=FreeSWITCH
  408. c=IN IP4 93.90.193.204
  409. t=0 0
  410. m=audio 21118 RTP/AVP 0 101
  411. a=rtpmap:0 PCMU/8000
  412. a=rtpmap:101 telephone-event/8000
  413. a=fmtp:101 0-16
  414. a=ptime:20
  415. a=sendrecv
  416.  
  417. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:40 sofia/default/8633640609@93.90.194.58 Standard INIT
  418. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8633640609@93.90.194.58) State Change CS_INIT -> CS_ROUTING
  419. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8633640609@93.90.194.58) State INIT going to sleep
  420. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8633640609@93.90.194.58) Running State Change CS_ROUTING (Cur 2 Tot 14019)
  421. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:643 (sofia/default/8633640609@93.90.194.58) State ROUTING
  422. 2019-07-03 13:17:21.207701 [DEBUG] mod_sofia.c:154 sofia/default/8633640609@93.90.194.58 SOFIA ROUTING
  423. 2019-07-03 13:17:21.207701 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8633640609@93.90.194.58) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  424. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:643 (sofia/default/8633640609@93.90.194.58) State ROUTING going to sleep
  425. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8633640609@93.90.194.58) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 14019)
  426. 2019-07-03 13:17:21.207701 [DEBUG] sofia.c:7291 Channel sofia/default/8633640609@93.90.194.58 entering state [calling][0]
  427. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:662 (sofia/default/8633640609@93.90.194.58) State CONSUME_MEDIA
  428. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:662 (sofia/default/8633640609@93.90.194.58) State CONSUME_MEDIA going to sleep
  429. 2019-07-03 13:17:21.207701 [DEBUG] sofia.c:7291 Channel sofia/default/8633640609@93.90.194.58 entering state [terminated][404]
  430. 2019-07-03 13:17:21.207701 [NOTICE] sofia.c:8484 Hangup sofia/default/8633640609@93.90.194.58 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  431. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8633640609@93.90.194.58) Running State Change CS_HANGUP (Cur 2 Tot 14019)
  432. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:847 (sofia/default/8633640609@93.90.194.58) Callstate Change DOWN -> HANGUP
  433. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:849 (sofia/default/8633640609@93.90.194.58) State HANGUP
  434. 2019-07-03 13:17:21.207701 [DEBUG] mod_sofia.c:449 Channel sofia/default/8633640609@93.90.194.58 hanging up, cause: UNALLOCATED_NUMBER
  435. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:60 sofia/default/8633640609@93.90.194.58 Standard HANGUP, cause: UNALLOCATED_NUMBER
  436. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:849 (sofia/default/8633640609@93.90.194.58) State HANGUP going to sleep
  437. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:619 (sofia/default/8633640609@93.90.194.58) State Change CS_HANGUP -> CS_REPORTING
  438. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8633640609@93.90.194.58) Running State Change CS_REPORTING (Cur 2 Tot 14019)
  439. 2019-07-03 13:17:21.207701 [DEBUG] switch_core_state_machine.c:935 (sofia/default/8633640609@93.90.194.58) State REPORTING
  440. 2019-07-03 13:17:21.207701 [INFO] mod_json_cdr.c:271 Process [389d3c8b-e4f7-429f-8cab-464f65fe179c.cdr.json]
  441. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:174 sofia/default/8633640609@93.90.194.58 Standard REPORTING, cause: UNALLOCATED_NUMBER
  442. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:935 (sofia/default/8633640609@93.90.194.58) State REPORTING going to sleep
  443. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:610 (sofia/default/8633640609@93.90.194.58) State Change CS_REPORTING -> CS_DESTROY
  444. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_session.c:1715 Session 14019 (sofia/default/8633640609@93.90.194.58) Locked, Waiting on external entities
  445. 2019-07-03 13:17:21.227616 [DEBUG] switch_ivr_originate.c:3941 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  446. 2019-07-03 13:17:21.227616 [NOTICE] switch_core_session.c:1733 Session 14019 (sofia/default/8633640609@93.90.194.58) Ended
  447. 2019-07-03 13:17:21.227616 [NOTICE] switch_core_session.c:1737 Close Channel sofia/default/8633640609@93.90.194.58 [CS_DESTROY]
  448. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:738 (sofia/default/8633640609@93.90.194.58) Running State Change CS_DESTROY (Cur 1 Tot 14019)
  449. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:748 (sofia/default/8633640609@93.90.194.58) State DESTROY
  450. 2019-07-03 13:17:21.227616 [DEBUG] mod_sofia.c:354 sofia/default/8633640609@93.90.194.58 SOFIA DESTROY
  451. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:181 sofia/default/8633640609@93.90.194.58 Standard DESTROY
  452. 2019-07-03 13:17:21.227616 [INFO] mod_dptools.c:3518 Originate Failed.  Cause: UNALLOCATED_NUMBER
  453. 2019-07-03 13:17:21.227616 [DEBUG] switch_core_state_machine.c:748 (sofia/default/8633640609@93.90.194.58) State DESTROY going to sleep
  454. EXECUTE sofia/default/21622841218@46.19.210.14 set(did_id=2)
  455. 2019-07-03 13:17:21.227616 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [did_id]=[2]
  456. EXECUTE sofia/default/21622841218@46.19.210.14 set(destination_number=33178902620)
  457. 2019-07-03 13:17:21.227616 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [destination_number]=[33178902620]
  458. EXECUTE sofia/default/21622841218@46.19.210.14 set(leg_timeout=0)
  459. 2019-07-03 13:17:21.227616 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [leg_timeout]=[0]
  460. EXECUTE sofia/default/21622841218@46.19.210.14 set(call_type_vm_flag=1)
  461. 2019-07-03 13:17:21.227616 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [call_type_vm_flag]=[1]
  462. EXECUTE sofia/default/21622841218@46.19.210.14 set(is_local_extension=1)
  463. 2019-07-03 13:17:21.227616 [DEBUG] mod_dptools.c:1598 SET sofia/default/21622841218@46.19.210.14 [is_local_extension]=[1]
  464. EXECUTE sofia/default/21622841218@46.19.210.14 lua(did_call_forwarding.lua)
  465. 2019-07-03 13:17:21.247670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  466. 2019-07-03 13:17:21.247670 [NOTICE] switch_cpp.cpp:1443 [ASTPP] SECTION
  467. 2019-07-03 13:17:21.247670 [DEBUG] switch_cpp.cpp:1443 [ASTPP] This is last opensips 0 This is DiD id :
  468. 2019-07-03 13:17:21.247670 [DEBUG] switch_cpp.cpp:1187 sofia/default/21622841218@46.19.210.14 destroy/unlink session from object
  469. EXECUTE sofia/default/21622841218@46.19.210.14 answer()
  470. 2019-07-03 13:17:21.247670 [DEBUG] switch_core_media.c:8511 AUDIO RTP [sofia/default/21622841218@46.19.210.14] 93.90.193.204 port 30374 -> 46.19.210.39 port 43588 codec: 0 ms: 20
  471. 2019-07-03 13:17:21.247670 [DEBUG] switch_rtp.c:4300 Starting timer [soft] 160 bytes per 20ms
  472. 2019-07-03 13:17:21.247670 [DEBUG] switch_core_media.c:8815 sofia/default/21622841218@46.19.210.14 Set 2833 dtmf send payload to 101
  473. 2019-07-03 13:17:21.247670 [DEBUG] switch_core_media.c:8822 sofia/default/21622841218@46.19.210.14 Set 2833 dtmf receive payload to 101
  474. 2019-07-03 13:17:21.247670 [DEBUG] switch_core_media.c:8845 sofia/default/21622841218@46.19.210.14 Set rtp dtmf delay to 40
  475. 2019-07-03 13:17:21.247670 [DEBUG] mod_sofia.c:882 Local SDP sofia/default/21622841218@46.19.210.14:
  476. v=0
  477. o=FreeSWITCH 1562129467 1562129468 IN IP4 93.90.193.204
  478. s=FreeSWITCH
  479. c=IN IP4 93.90.193.204
  480. t=0 0
  481. m=audio 30374 RTP/AVP 0 101
  482. a=rtpmap:0 PCMU/8000
  483. a=rtpmap:101 telephone-event/8000
  484. a=fmtp:101 0-16
  485. a=ptime:20
  486. a=sendrecv
  487.  
  488. 2019-07-03 13:17:21.247670 [NOTICE] mod_dptools.c:1360 Channel [sofia/default/21622841218@46.19.210.14] has been answered
  489. 2019-07-03 13:17:21.267641 [DEBUG] switch_channel.c:3781 (sofia/default/21622841218@46.19.210.14) Callstate Change RINGING -> ACTIVE
  490. 2019-07-03 13:17:21.267641 [DEBUG] sofia.c:7291 Channel sofia/default/21622841218@46.19.210.14 entering state [completed][200]
  491. EXECUTE sofia/default/21622841218@46.19.210.14 export(voicemail_alternate_greet_id=33178902620)
  492. 2019-07-03 13:17:21.267641 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [voicemail_alternate_greet_id]=[33178902620]
  493. EXECUTE sofia/default/21622841218@46.19.210.14 voicemail(default 93.90.193.204 8633640609)
  494. 2019-07-03 13:17:21.307891 [DEBUG] sofia.c:7291 Channel sofia/default/21622841218@46.19.210.14 entering state [ready][200]
  495. 2019-07-03 13:17:21.387761 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  496. 2019-07-03 13:17:21.407642 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  497. 2019-07-03 13:17:21.407642 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@8000hz 1 channels 20ms
  498. 2019-07-03 13:17:21.447694 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
  499. 2019-07-03 13:17:22.747890 [DEBUG] switch_ivr_play_say.c:1941 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  500. 2019-07-03 13:17:22.847894 [DEBUG] switch_ivr_play_say.c:250 Handle say:[33178902620] (en:en)
  501. 2019-07-03 13:17:22.847894 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@8000hz 1 channels 20ms
  502. 2019-07-03 13:17:28.007886 [DEBUG] switch_ivr_play_say.c:1941 done playing file file_string://digits/3.wav!digits/3.wav!digits/1.wav!digits/7.wav!digits/8.wav!digits/9.wav!digits/0.wav!digits/2.wav!digits/6.wav!digits/2.wav!digits/0.wav
  503. 2019-07-03 13:17:28.107905 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
  504. 2019-07-03 13:17:28.107905 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@8000hz 1 channels 20ms
  505. 2019-07-03 13:17:29.087888 [DEBUG] switch_ivr_play_say.c:1941 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
  506. 2019-07-03 13:17:29.187889 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  507. 2019-07-03 13:17:29.207635 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
  508. 2019-07-03 13:17:29.207635 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@8000hz 1 channels 20ms
  509. 2019-07-03 13:17:33.787887 [DEBUG] switch_ivr_play_say.c:1941 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
  510. 2019-07-03 13:17:34.567843 [NOTICE] sofia.c:1079 Hangup sofia/default/21622841218@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING]
  511. 2019-07-03 13:17:34.567843 [WARNING] mod_voicemail.c:1240 Failed to delete file [/usr/local/freeswitch/storage/voicemail/default/93.90.193.204/8633640609/msg_8e1c9e79-39b4-4a80-87d6-2b20fc190d12.wav]
  512. 2019-07-03 13:17:34.567843 [DEBUG] mod_voicemail.c:1247 Message is less than minimum record length: 3, discarding it.
  513. 2019-07-03 13:17:34.567843 [DEBUG] switch_core_session.c:2887 sofia/default/21622841218@46.19.210.14 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  514. 2019-07-03 13:17:34.567843 [DEBUG] switch_core_state_machine.c:650 (sofia/default/21622841218@46.19.210.14) State EXECUTE going to sleep
  515. 2019-07-03 13:17:34.567843 [DEBUG] switch_core_state_machine.c:584 (sofia/default/21622841218@46.19.210.14) Running State Change CS_HANGUP (Cur 1 Tot 14019)
  516. 2019-07-03 13:17:34.567843 [DEBUG] switch_core_state_machine.c:847 (sofia/default/21622841218@46.19.210.14) Callstate Change ACTIVE -> HANGUP
  517. 2019-07-03 13:17:34.567843 [DEBUG] switch_core_state_machine.c:849 (sofia/default/21622841218@46.19.210.14) State HANGUP
  518. 2019-07-03 13:17:34.567843 [DEBUG] mod_sofia.c:443 sofia/default/21622841218@46.19.210.14 Overriding SIP cause 480 with 404 from the other leg
  519. 2019-07-03 13:17:34.567843 [DEBUG] mod_sofia.c:449 Channel sofia/default/21622841218@46.19.210.14 hanging up, cause: NORMAL_CLEARING
  520. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:60 sofia/default/21622841218@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING
  521. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:849 (sofia/default/21622841218@46.19.210.14) State HANGUP going to sleep
  522. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:619 (sofia/default/21622841218@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING
  523. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:584 (sofia/default/21622841218@46.19.210.14) Running State Change CS_REPORTING (Cur 1 Tot 14019)
  524. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:935 (sofia/default/21622841218@46.19.210.14) State REPORTING
  525. 2019-07-03 13:17:34.587638 [INFO] mod_json_cdr.c:271 Process [065fbe9c-28a6-4e25-89a5-8a73c43ff9cf.cdr.json]
  526. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:174 sofia/default/21622841218@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING
  527. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:935 (sofia/default/21622841218@46.19.210.14) State REPORTING going to sleep
  528. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:610 (sofia/default/21622841218@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY
  529. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_session.c:1715 Session 14018 (sofia/default/21622841218@46.19.210.14) Locked, Waiting on external entities
  530. 2019-07-03 13:17:34.587638 [NOTICE] switch_core_session.c:1733 Session 14018 (sofia/default/21622841218@46.19.210.14) Ended
  531. 2019-07-03 13:17:34.587638 [NOTICE] switch_core_session.c:1737 Close Channel sofia/default/21622841218@46.19.210.14 [CS_DESTROY]
  532. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:738 (sofia/default/21622841218@46.19.210.14) Running State Change CS_DESTROY (Cur 0 Tot 14019)
  533. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:748 (sofia/default/21622841218@46.19.210.14) State DESTROY
  534. 2019-07-03 13:17:34.587638 [DEBUG] mod_sofia.c:354 sofia/default/21622841218@46.19.210.14 SOFIA DESTROY
  535. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:181 sofia/default/21622841218@46.19.210.14 Standard DESTROY
  536. 2019-07-03 13:17:34.587638 [DEBUG] switch_core_state_machine.c:748 (sofia/default/21622841218@46.19.210.14) State DESTROY going to sleep
  537. 2019-07-03 13:17:49.967665 [DEBUG] sofia_reg.c:2462 Changing expire time to 120 by request of proxy sip:193.202.111.241
  538. 2019-07-03 13:18:52.967823 [DEBUG] sofia_reg.c:2462 Changing expire time to 120 by request of proxy sip:193.202.111.241
  539. 2019-07-03 13:20:03.987891 [DEBUG] sofia_reg.c:2462 Changing expire time to 120 by request of proxy sip:193.202.111.241
  540. 2019-07-03 13:21:03.987847 [DEBUG] sofia_reg.c:2462 Changing expire time to 120 by request of proxy sip:193.202.111.241
  541.