From Cream Cat, 4 Years ago, written in Plain Text.
- view diff
Embed
  1. 2019-11-05 12:08:38.353473 [DEBUG] switch_core_state_machine.c:604 (sofia/default/1070@82.214.92.12) State NEW
  2. 2019-11-05 12:08:38.353473 [DEBUG] sofia.c:2426 detaching session 8cf4e991-8eff-44e6-9061-540f5bf5f4f8
  3. 2019-11-05 12:08:38.613465 [NOTICE] switch_channel.c:1118 New Channel sofia/default/+381653552255@109.245.237.28 [e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194]                                                                                                                                                    
  4. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_NEW (Cur 12 Tot 96273)                                                                                                                                              
  5. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:10243 sofia/default/+381653552255@109.245.237.28 receiving invite from 109.245.237.28:5060 version: 1.10.1 -release-12-f9990221e6 64bit                                                                                                                          
  6. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 109.245.237.28:0.
  7. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:10366 IP 109.245.237.28 Approved by acl "default[]". Access Granted.
  8. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:7290 Channel sofia/default/+381653552255@109.245.237.28 entering state [received][100]
  9. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:7300 Remote SDP:
  10. v=0                                                                                                                                                  
  11. o=root 1403115625 1403115625 IN IP4 109.245.237.28                                                                                                    
  12. s=Asterisk PBX 11.5.1                                                                                                                                
  13. c=IN IP4 109.245.237.28                                                                                                                              
  14. t=0 0                                                                                                                                                
  15. m=audio 17934 RTP/AVP 8 0 101                                                                                                                        
  16. a=rtpmap:8 PCMA/8000                                                                                                                                  
  17. a=rtpmap:0 PCMU/8000                                                                                                                                  
  18. a=rtpmap:101 telephone-event/8000                                                                                                                    
  19. a=fmtp:101 0-16                                                                                                                                      
  20. a=ptime:20                                                                                                                                            
  21.  
  22. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  23. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  24. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[SILK:117:8000:20:20000:1]
  26. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  28. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  29. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[SILK:117:8000:20:20000:1]
  30. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000
  31. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/+381653552255@109.245.237.28 PCMA/8000 20 ms 160 samples 64000 bits 1 channels                                                                                                                                          
  32. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_codec.c:111 sofia/default/+381653552255@109.245.237.28 Original read codec set to PCMA:8
  33. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000
  34. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5907 sofia/default/+381653552255@109.245.237.28 Set 2833 dtmf send payload to 101 recv payload to 101                                                                                                                                                
  35. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:7724 (sofia/default/+381653552255@109.245.237.28) State Change CS_NEW -> CS_INIT
  36. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:604 (sofia/default/+381653552255@109.245.237.28) State NEW
  37. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_INIT (Cur 12 Tot 96273)                                                                                                                                            
  38. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:628 (sofia/default/+381653552255@109.245.237.28) State INIT
  39. 2019-11-05 12:08:38.613465 [DEBUG] mod_sofia.c:93 sofia/default/+381653552255@109.245.237.28 SOFIA INIT
  40. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:40 sofia/default/+381653552255@109.245.237.28 Standard INIT
  41. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+381653552255@109.245.237.28) State Change CS_INIT -> CS_ROUTING
  42. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:628 (sofia/default/+381653552255@109.245.237.28) State INIT going to sleep
  43. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_ROUTING (Cur 12 Tot 96273)                                                                                                                                          
  44. 2019-11-05 12:08:38.613465 [DEBUG] switch_channel.c:2332 (sofia/default/+381653552255@109.245.237.28) Callstate Change DOWN -> RINGING
  45. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:644 (sofia/default/+381653552255@109.245.237.28) State ROUTING
  46. 2019-11-05 12:08:38.613465 [DEBUG] mod_sofia.c:154 sofia/default/+381653552255@109.245.237.28 SOFIA ROUTING
  47. 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:236 sofia/default/+381653552255@109.245.237.28 Standard ROUTING
  48. 2019-11-05 12:08:38.613465 [INFO] mod_dialplan_xml.c:637 Processing +381653552255 <+381653552255>->381114419082 in context default
  49. 2019-11-05 12:08:38.613465 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')                                                                                                  
  50. 2019-11-05 12:08:38.633456 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  51. 2019-11-05 12:08:38.673453 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params:
  52. Event-Name: REQUEST_PARAMS                                                                                                                            
  53. Core-UUID: 8189f664-1fdc-4e36-895b-453d6208be8a                                                                                                      
  54. FreeSWITCH-Hostname: deb                                                                                                                              
  55. FreeSWITCH-Switchname: deb                                                                                                                            
  56. FreeSWITCH-IPv4: 82.214.92.12                                                                                                                        
  57. FreeSWITCH-IPv6: %3A%3A1                                                                                                                              
  58. Event-Date-Local: 2019-11-05%2012%3A08%3A38                                                                                                          
  59. Event-Date-GMT: Tue,%2005%20Nov%202019%2011%3A08%3A38%20GMT                                                                                          
  60. Event-Date-Timestamp: 1572952118613465                                                                                                                
  61. Event-Calling-File: mod_dialplan_xml.c                                                                                                                
  62. Event-Calling-Function: dialplan_xml_locate                                                                                                          
  63. Event-Calling-Line-Number: 608                                                                                                                        
  64. Event-Sequence: 1520427                                                                                                                              
  65. Channel-State: CS_ROUTING                                                                                                                            
  66. Channel-Call-State: RINGING                                                                                                                          
  67. Channel-State-Number: 2                                                                                                                              
  68. Channel-Name: sofia/default/%2B381653552255%40109.245.237.28                                                                                          
  69. Unique-ID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194                                                                                                      
  70. Call-Direction: inbound                                                                                                                              
  71. Presence-Call-Direction: inbound                                                                                                                      
  72. Channel-HIT-Dialplan: true                                                                                                                            
  73. Channel-Presence-ID: %2B381653552255%40109.245.237.28                                                                                                
  74. Channel-Call-UUID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194                                                                                              
  75. Answer-State: ringing                                                                                                                                
  76. Channel-Read-Codec-Name: PCMA                                                                                                                        
  77. Channel-Read-Codec-Rate: 8000                                                                                                                        
  78. Channel-Read-Codec-Bit-Rate: 64000                                                                                                                    
  79. Channel-Write-Codec-Name: PCMA                                                                                                                        
  80. Channel-Write-Codec-Rate: 8000                                                                                                                        
  81. Channel-Write-Codec-Bit-Rate: 64000                                                                                                                  
  82. Caller-Direction: inbound                                                                                                                            
  83. Caller-Logical-Direction: inbound                                                                                                                    
  84. Caller-Username: %2B381653552255                                                                                                                      
  85. Caller-Dialplan: XML                                                                                                                                  
  86. Caller-Caller-ID-Name: %2B381653552255                                                                                                                
  87. Caller-Caller-ID-Number: %2B381653552255                                                                                                              
  88. Caller-Orig-Caller-ID-Name: %2B381653552255                                                                                                          
  89. Caller-Orig-Caller-ID-Number: %2B381653552255                                                                                                        
  90. Caller-Network-Addr: 109.245.237.28                                                                                                                  
  91. Caller-ANI: %2B381653552255                                                                                                                          
  92. Caller-Destination-Number: 381114419082                                                                                                              
  93. Caller-Unique-ID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194                                                                                                
  94. Caller-Source: mod_sofia                                                                                                                              
  95. Caller-Context: default                                                                                                                              
  96. Caller-Channel-Name: sofia/default/%2B381653552255%40109.245.237.28                                                                                  
  97. Caller-Profile-Index: 1                                                                                                                              
  98. Caller-Profile-Created-Time: 1572952118613465                                                                                                        
  99. Caller-Channel-Created-Time: 1572952118613465                                                                                                        
  100. Caller-Channel-Answered-Time: 0                                                                                                                      
  101. Caller-Channel-Progress-Time: 0                                                                                                                      
  102. Caller-Channel-Progress-Media-Time: 0                                                                                                                
  103. Caller-Channel-Hangup-Time: 0                                                                                                                        
  104. Caller-Channel-Transfer-Time: 0                                                                                                                      
  105. Caller-Channel-Resurrect-Time: 0                                                                                                                      
  106. Caller-Channel-Bridged-Time: 0                                                                                                                        
  107. Caller-Channel-Last-Hold: 0                                                                                                                          
  108. Caller-Channel-Hold-Accum: 0                                                                                                                          
  109. Caller-Screen-Bit: true                                                                                                                              
  110. Caller-Privacy-Hide-Name: false                                                                                                                      
  111. Caller-Privacy-Hide-Number: false                                                                                                                    
  112. variable_direction: inbound                                                                                                                          
  113. variable_uuid: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194                                                                                                  
  114. variable_session_id: 96273                                                                                                                            
  115. variable_sip_from_user: %2B381653552255                                                                                                              
  116. variable_sip_from_uri: %2B381653552255%40109.245.237.28                                                                                              
  117. variable_sip_from_host: 109.245.237.28                                                                                                                
  118. variable_video_media_flow: disabled                                                                                                                  
  119. variable_text_media_flow: disabled                                                                                                                    
  120. variable_channel_name: sofia/default/%2B381653552255%40109.245.237.28                                                                                
  121. variable_sip_call_id: 2a921c7b0b167c6d27c94fc519c7d498%40109.245.237.28%3A5060                                                                        
  122. variable_sip_local_network_addr: 82.214.92.12                                                                                                        
  123. variable_sip_network_ip: 109.245.237.28                                                                                                              
  124. variable_sip_network_port: 5060                                                                                                                      
  125. variable_sip_invite_stamp: 1572952118613465                                                                                                          
  126. variable_sip_received_ip: 109.245.237.28                                                                                                              
  127. variable_sip_received_port: 5060                                                                                                                      
  128. variable_sip_via_protocol: udp                                                                                                                        
  129. variable_sip_authorized: true                                                                                                                        
  130. variable_sip_acl_authed_by: default                                                                                                                  
  131. variable_sip_from_user_stripped: 381653552255                                                                                                        
  132. variable_sip_from_tag: as276011a3                                                                                                                    
  133. variable_sofia_profile_name: default                                                                                                                  
  134. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.12%3A5060                                                                                    
  135. variable_recovery_profile_name: default                                                                                                              
  136. variable_sip_full_via: SIP/2.0/UDP%20109.245.237.28%3A5060%3Bbranch%3Dz9hG4bK6772eb63                                                                
  137. variable_sip_from_display: %2B381653552255                                                                                                            
  138. variable_sip_full_from: %22%2B381653552255%22%20%3Csip%3A%2B381653552255%40109.245.237.28%3E%3Btag%3Das276011a3                                      
  139. variable_sip_full_to: %3Csip%3A381114419082%4082.214.92.12%3E                                                                                        
  140. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH                                      
  141. variable_sip_req_user: 381114419082                                                                                                                  
  142. variable_sip_req_uri: 381114419082%4082.214.92.12                                                                                                    
  143. variable_sip_req_host: 82.214.92.12                                                                                                                  
  144. variable_sip_to_user: 381114419082                                                                                                                    
  145. variable_sip_to_uri: 381114419082%4082.214.92.12                                                                                                      
  146. variable_sip_to_host: 82.214.92.12                                                                                                                    
  147. variable_sip_contact_user: %2B381653552255                                                                                                            
  148. variable_sip_contact_port: 5060                                                                                                                      
  149. variable_sip_contact_uri: %2B381653552255%40109.245.237.28%3A5060                                                                                    
  150. variable_sip_contact_host: 109.245.237.28                                                                                                            
  151. variable_sip_user_agent: FPBX-2.11.0(11.5.1)                                                                                                          
  152. variable_sip_via_host: 109.245.237.28                                                                                                                
  153. variable_sip_via_port: 5060                                                                                                                          
  154. variable_max_forwards: 70                                                                                                                            
  155. variable_presence_id: %2B381653552255%40109.245.237.28                                                                                                
  156. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201403115625%201403115625%20IN%20IP4%20109.245.237.28%0D%0As%3DAsterisk%20PBX%2011.5.1%0D%0Ac%3DIN%20IP4%20109.245.237.28%0D%0At%3D0%200%0D%0Am%3Daudio%2017934%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A                                                              
  157. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b                                    
  158. variable_rtp_use_codec_string: PCMA,PCMU,G.723,H264,SILK                                                                                              
  159. variable_remote_video_media_flow: inactive                                                                                                            
  160. variable_remote_text_media_flow: inactive                                                                                                            
  161. variable_remote_audio_media_flow: sendrecv                                                                                                            
  162. variable_audio_media_flow: sendrecv                                                                                                                  
  163. variable_remote_media_ip: 109.245.237.28                                                                                                              
  164. variable_remote_media_port: 17934                                                                                                                    
  165. variable_rtp_audio_recv_pt: 8                                                                                                                        
  166. variable_rtp_use_codec_name: PCMA                                                                                                                    
  167. variable_rtp_use_codec_rate: 8000                                                                                                                    
  168. variable_rtp_use_codec_ptime: 20                                                                                                                      
  169. variable_rtp_use_codec_channels: 1                                                                                                                    
  170. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c                                                                                        
  171. variable_read_codec: PCMA                                                                                                                            
  172. variable_original_read_codec: PCMA                                                                                                                    
  173. variable_read_rate: 8000                                                                                                                              
  174. variable_original_read_rate: 8000                                                                                                                    
  175. variable_write_codec: PCMA                                                                                                                            
  176. variable_write_rate: 8000                                                                                                                            
  177. variable_dtmf_type: rfc2833                                                                                                                          
  178. variable_endpoint_disposition: RECEIVED                                                                                                              
  179. variable_call_uuid: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194                                                                                              
  180. Hunt-Direction: inbound                                                                                                                              
  181. Hunt-Logical-Direction: inbound                                                                                                                      
  182. Hunt-Username: %2B381653552255                                                                                                                        
  183. Hunt-Dialplan: XML                                                                                                                                    
  184. Hunt-Caller-ID-Name: %2B381653552255                                                                                                                  
  185. Hunt-Caller-ID-Number: %2B381653552255                                                                                                                
  186. Hunt-Orig-Caller-ID-Name: %2B381653552255                                                                                                            
  187. Hunt-Orig-Caller-ID-Number: %2B381653552255                                                                                                          
  188. Hunt-Network-Addr: 109.245.237.28                                                                                                                    
  189. Hunt-ANI: %2B381653552255                                                                                                                            
  190. Hunt-Destination-Number: 381114419082                                                                                                                
  191. Hunt-Unique-ID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194                                                                                                  
  192. Hunt-Source: mod_sofia                                                                                                                                
  193. Hunt-Context: default                                                                                                                                
  194. Hunt-Channel-Name: sofia/default/%2B381653552255%40109.245.237.28                                                                                    
  195. Hunt-Profile-Index: 1                                                                                                                                
  196. Hunt-Profile-Created-Time: 1572952118613465                                                                                                          
  197. Hunt-Channel-Created-Time: 1572952118613465                                                                                                          
  198. Hunt-Channel-Answered-Time: 0                                                                                                                        
  199. Hunt-Channel-Progress-Time: 0                                                                                                                        
  200. Hunt-Channel-Progress-Media-Time: 0                                                                                                                  
  201. Hunt-Channel-Hangup-Time: 0                                                                                                                          
  202. Hunt-Channel-Transfer-Time: 0                                                                                                                        
  203. Hunt-Channel-Resurrect-Time: 0                                                                                                                        
  204. Hunt-Channel-Bridged-Time: 0                                                                                                                          
  205. Hunt-Channel-Last-Hold: 0                                                                                                                            
  206. Hunt-Channel-Hold-Accum: 0                                                                                                                            
  207. Hunt-Screen-Bit: true                                                                                                                                
  208. Hunt-Privacy-Hide-Name: false                                                                                                                        
  209. Hunt-Privacy-Hide-Number: false                                                                                                                      
  210.  
  211.  
  212. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name:
  213. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan
  214. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name:
  215. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value:
  216. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0
  217. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 381114419082
  218. 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '381114419082' limit 1                                                                                                              
  219. 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '381114419082' AND status=0 limit 1                                                                                                                    
  220. 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '381114419082' and status=0 LIMIT 1                                                                              
  221. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number  : +381653552255 / +381653552255
  222. 2019-11-05 12:08:38.673453 [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 ="381114419082" LIMIT 1                                                                                                                          
  223. 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381114419082"  AND domains.domain="82.214.92.12" limit 1                                                                
  224. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : outbound
  225. 2019-11-05 12:08:38.673453 [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("109.245.237.28") 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 "381114419082"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1                                                          
  226. 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 1625687638]
  227. 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1625687638" AND deleted = 0 limit 1                                                                                                                                          
  228. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^381114419082.*' OR blocked_patterns = '^38111441908.*' OR blocked_patterns = '^3811144190.*' OR blocked_patterns = '^381114419.*' OR blocked_patterns = '^38111441.*' OR blocked_patterns = '^3811144.*' OR blocked_patterns = '^381114.*' OR blocked_patterns = '^38111.*' OR blocked_patterns = '^3811.*' OR blocked_patterns = '^381.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 5 limit 1        
  229. 2019-11-05 12:08:38.693457 [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 ="381114419082" AND A.accountid = '5' limit 1                                              
  230. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 381114419082
  231. 2019-11-05 12:08:38.693457 [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 ="381114419082" LIMIT 1                                                                                                                          
  232. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="381114419082"  AND domains.domain="82.214.92.12" limit 1                                                                
  233. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : outbound
  234. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="381114419082" AND (accountid = 0 OR status = 1) LIMIT 1                                                                                                                              
  235. 2019-11-05 12:08:38.693457 [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 = '^381114419082.*' OR patterns = '^38111441908.*' OR patterns = '^3811144190.*' OR patterns = '^381114419.*' OR patterns = '^38111441.*' OR patterns = '^3811144.*' OR patterns = '^381114.*' OR patterns = '^38111.*' OR patterns = '^3811.*' OR patterns = '^381.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                
  236. 2019-11-05 12:08:38.693457 [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 = '381114419082' OR number = '38111441908' OR number = '3811144190' OR number = '381114419' OR number = '38111441' OR number = '3811144' OR number = '381114' OR number = '38111' OR number = '3811' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381114419082*' OR number = '38111441908*' OR number = '3811144190*' OR number = '381114419*' OR number = '38111441*' OR number = '3811144*' OR number = '381114*' OR number = '38111*' OR number = '3811*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '+381653552255' OR number = '+38165355225' OR number = '+3816535522' OR number = '+381653552' OR number = '+38165355' OR number = '+3816535' OR number = '+381653' OR number = '+38165' OR number = '+3816' OR number = '+381' OR number = '+38' OR number = '+3' OR number = '+' OR number ='--') OR (number = '+381653552255*' OR number = '+38165355225*' OR number = '+3816535522*' OR number = '+381653552*' OR number = '+38165355*' OR number = '+3816535*' OR number = '+381653*' OR number = '+38165*' OR number = '+3816*' OR number = '+381*' OR number = '+38*' OR number = '+3*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                    
  237. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1
  238. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '381114419082' OR routing_prefix = '38111441908' OR routing_prefix = '3811144190' OR routing_prefix = '381114419' OR routing_prefix = '38111441' OR routing_prefix = '3811144' OR routing_prefix = '381114' OR routing_prefix = '38111' OR routing_prefix = '3811' OR routing_prefix = '381' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                
  239. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information ===================
  240. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 5
  241. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 1625687638
  242. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 59.9122
  243. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  244. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 4
  245. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0
  246. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================================================
  247. 2019-11-05 12:08:38.693457 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH1: 1
  248. 2019-11-05 12:08:38.693457 [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                                                                                      
  249. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  250. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :outbound
  251. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^381114419082.*' OR pattern = '^38111441908.*' OR pattern = '^3811144190.*' OR pattern = '^381114419.*' OR pattern = '^38111441.*' OR pattern = '^3811144.*' OR pattern = '^381114.*' OR pattern = '^38111.*' OR pattern = '^3811.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 4 OR accountid=5)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1                                                    
  252. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: outbound
  253. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information ===================
  254. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 24
  255. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  256. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0
  257. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.01000
  258. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : Serbia-Belgrade
  259. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 164
  260. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 5
  261. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk ID: 3
  262. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Routing type:
  263. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================
  264. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your59.9122 balance Accountid 5 !!!
  265. 2019-11-05 12:08:38.693457 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  266. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes
  267. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [DIALPLAN] User Rate ID : 24
  268. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :3
  269. 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^381114419082.*' OR pattern = '^38111441908.*' OR pattern = '^3811144190.*' OR pattern = '^381114419.*' OR pattern = '^38111441.*' OR pattern = '^3811144.*' OR pattern = '^381114.*' OR pattern = '^38111.*' OR pattern = '^3811.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3)  ORDER by FIELD(TR.trunk_id,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC                                                                    
  270. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Termination Rates Information ===================
  271. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 2
  272. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Code : ^38111.*
  273. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Destination : Serbia-Fiksni-Beograd
  274. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000
  275. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Free Seconds : 0
  276. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Prefix : ^38111.*
  277. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Strip :
  278. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Prepend :
  279. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Carrier id : 3
  280. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] carrier_name : IPHouse
  281. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] dialplan_variable :
  282. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Failover gateway :
  283. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Vendor id : 5
  284. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Max channels : 10
  285. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk Name : IPHouse
  286. 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================END OF TERMINATION RATES=======================
  287. 2019-11-05 12:08:38.693457 [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 = 5 AND status=0 LIMIT 1                                                                      
  288. 2019-11-05 12:08:38.713455 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100
  289. 2019-11-05 12:08:38.713455 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  290. 2019-11-05 12:08:38.713455 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 5) AND status=0 limit 1                                                            
  291. 2019-11-05 12:08:38.713455 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 381114419082
  292. 2019-11-05 12:08:38.713455 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4419082
  293. 2019-11-05 12:08:38.713455 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:
  294. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                
  295. <document type="freeswitch/xml">                                                                                                                      
  296. <section name="dialplan" description="ASTPP Dialplan">                                                                                                
  297. <context name="default">                                                                                                                              
  298. <extension name="381114419082">                                                                                                                      
  299. <condition field="destination_number" expression="381114419082">                                                                                      
  300. <action application="set" data="effective_destination_number=381114419082"/>                                                                          
  301. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                          
  302. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                
  303. <action application="set" data="callstart=2019-11-05 11:08:38"/>                                                                                      
  304. <action application="set" data="hangup_after_bridge=true"/>                                                                                          
  305. <action application="set" data="continue_on_fail=TRUE"/>                                                                                              
  306. <action application="set" data="account_id=5"/>                                                                                                      
  307. <action application="set" data="parent_id=0"/>                                                                                                        
  308. <action application="set" data="entity_id=3"/>                                                                                                        
  309. <action application="set" data="call_processed=internal"/>                                                                                            
  310. <action application="set" data="call_direction=outbound"/>                                                                                            
  311. <action application="set" data="accountname=IPHouse-IP"/>                                                                                            
  312. <action application="set" data="origination_rates=ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5"/>                                                                                    
  313. <action application="set" data="original_caller_id_name=+381653552255"/>                                                                              
  314. <action application="set" data="original_caller_id_number=+381653552255"/>                                                                            
  315. <action application="limit" data="hash CPS_1625687638 CPS_user_1625687638 2/1 !SWITCH_CONGESTION"/>                                                  
  316.  
  317. <action application="set" data="effective_caller_id_name=+381653552255"/>                                                                            
  318. <action application="set" data="effective_caller_id_number=+381653552255"/>                                                                          
  319. <action application="set" data="calltype=STANDARD"/>                                                                                                  
  320. <action application="set" data="termination_rates=ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5"/>                                                                                                    
  321. <action application="set" data="trunk_id=3"/>                                                                                                        
  322. <action application="set" data="provider_id=5"/>                                                                                                      
  323. <action application="set" data="rate_flag=1"/>                                                                                                        
  324. <action application="set" data="force_trunk_flag=24"/>                                                                                                
  325. <action application="export" data="presence_data=trunk_id=3"/>                                                                                        
  326. <action application="set" data="intcall=0"/>                                                                                                          
  327. <action application="export" data="presence_data=x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD"/>                                                                                            
  328. <action application="limit" data="hash CPS_3 CPS_trunk_3 4/1 !SWITCH_CONGESTION"/>                                                                    
  329. <action application="limit_execute" data="db IPHouse gw_IPHouse 10 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082"/>                                                                                                                                              
  330. </condition>                                                                                                                                          
  331. </extension>                                                                                                                                          
  332. </context>                                                                                                                                            
  333. </section>                                                                                                                                            
  334. </document>                                                                                                                                          
  335. Dialplan: sofia/default/+381653552255@109.245.237.28 parsing [default->381114419082] continue=false
  336. Dialplan: sofia/default/+381653552255@109.245.237.28 Regex (PASS) [381114419082] destination_number(381114419082) =~ /381114419082/ break=on-false
  337. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(effective_destination_number=381114419082)
  338. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  339. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  340. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(callstart=2019-11-05 11:08:38)
  341. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(hangup_after_bridge=true)
  342. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(continue_on_fail=TRUE)
  343. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(account_id=5)
  344. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(parent_id=0)
  345. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(entity_id=3)
  346. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(call_processed=internal)
  347. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(call_direction=outbound)
  348. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(accountname=IPHouse-IP)
  349. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(origination_rates=ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5)                                                      
  350. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(original_caller_id_name=+381653552255)
  351. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(original_caller_id_number=+381653552255)
  352. Dialplan: sofia/default/+381653552255@109.245.237.28 Action limit(hash CPS_1625687638 CPS_user_1625687638 2/1 !SWITCH_CONGESTION)
  353. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(effective_caller_id_name=+381653552255)
  354. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(effective_caller_id_number=+381653552255)
  355. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(calltype=STANDARD)
  356. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(termination_rates=ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5)                                                                      
  357. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(trunk_id=3)
  358. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(provider_id=5)
  359. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(rate_flag=1)
  360. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(force_trunk_flag=24)
  361. Dialplan: sofia/default/+381653552255@109.245.237.28 Action export(presence_data=trunk_id=3)
  362. Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(intcall=0)
  363. Dialplan: sofia/default/+381653552255@109.245.237.28 Action export(presence_data=x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD)                                                              
  364. Dialplan: sofia/default/+381653552255@109.245.237.28 Action limit(hash CPS_3 CPS_trunk_3 4/1 !SWITCH_CONGESTION)
  365. Dialplan: sofia/default/+381653552255@109.245.237.28 Action limit_execute(db IPHouse gw_IPHouse 10 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082)                                                                                                                
  366. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:287 (sofia/default/+381653552255@109.245.237.28) State Change CS_ROUTING -> CS_EXECUTE
  367. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:644 (sofia/default/+381653552255@109.245.237.28) State ROUTING going to sleep
  368. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_EXECUTE (Cur 12 Tot 96273)                                                                                                                                          
  369. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:651 (sofia/default/+381653552255@109.245.237.28) State EXECUTE
  370. 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:209 sofia/default/+381653552255@109.245.237.28 SOFIA EXECUTE
  371. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:329 sofia/default/+381653552255@109.245.237.28 Standard EXECUTE
  372. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(effective_destination_number=381114419082)
  373. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [effective_destination_number]=[381114419082]
  374. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(bridge_pre_execute_bleg_app=sched_hangup)
  375. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [bridge_pre_execute_bleg_app]=[sched_hangup]
  376. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  377. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]                                                                                                                                                
  378. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(callstart=2019-11-05 11:08:38)
  379. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [callstart]=[2019-11-05 11:08:38]
  380. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(hangup_after_bridge=true)
  381. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [hangup_after_bridge]=[true]
  382. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(continue_on_fail=TRUE)
  383. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [continue_on_fail]=[TRUE]
  384. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(account_id=5)
  385. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [account_id]=[5]
  386. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(parent_id=0)
  387. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [parent_id]=[0]
  388. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(entity_id=3)
  389. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [entity_id]=[3]
  390. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(call_processed=internal)
  391. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [call_processed]=[internal]
  392. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(call_direction=outbound)
  393. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [call_direction]=[outbound]
  394. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(accountname=IPHouse-IP)
  395. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [accountname]=[IPHouse-IP]
  396. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(origination_rates=ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5)                                                    
  397. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [origination_rates]=[ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5]              
  398. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(original_caller_id_name=+381653552255)
  399. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [original_caller_id_name]=[+381653552255]
  400. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(original_caller_id_number=+381653552255)
  401. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [original_caller_id_number]=[+381653552255]
  402. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 limit(hash CPS_1625687638 CPS_user_1625687638 2/1 !SWITCH_CONGESTION)
  403. 2019-11-05 12:08:38.713455 [DEBUG] switch_limit.c:124 incr called: CPS_1625687638_CPS_user_1625687638 max:2, interval:1
  404. 2019-11-05 12:08:38.713455 [DEBUG] mod_hash.c:198 Usage for CPS_1625687638_CPS_user_1625687638 is now 1/2 for the last 1 seconds
  405. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(effective_caller_id_name=+381653552255)
  406. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [effective_caller_id_name]=[+381653552255]
  407. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(effective_caller_id_number=+381653552255)
  408. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [effective_caller_id_number]=[+381653552255]
  409. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(calltype=STANDARD)
  410. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [calltype]=[STANDARD]
  411. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(termination_rates=ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5)                                                                    
  412. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [termination_rates]=[ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5]                              
  413. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(trunk_id=3)
  414. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [trunk_id]=[3]
  415. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(provider_id=5)
  416. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [provider_id]=[5]
  417. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(rate_flag=1)
  418. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [rate_flag]=[1]
  419. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(force_trunk_flag=24)
  420. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [force_trunk_flag]=[24]
  421. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 export(presence_data=trunk_id=3)
  422. 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  423. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(intcall=0)
  424. 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [intcall]=[0]
  425. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 export(presence_data=x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD)                                                            
  426. 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD]                                                
  427. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 limit(hash CPS_3 CPS_trunk_3 4/1 !SWITCH_CONGESTION)
  428. 2019-11-05 12:08:38.713455 [DEBUG] switch_limit.c:124 incr called: CPS_3_CPS_trunk_3 max:4, interval:1
  429. 2019-11-05 12:08:38.713455 [DEBUG] mod_hash.c:198 Usage for CPS_3_CPS_trunk_3 is now 1/4 for the last 1 seconds
  430. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 limit_execute(db IPHouse gw_IPHouse 10 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082)                                                                                                                
  431. 2019-11-05 12:08:38.713455 [DEBUG] switch_limit.c:124 incr called: IPHouse_gw_IPHouse max:10, interval:0
  432. 2019-11-05 12:08:38.713455 [DEBUG] mod_db.c:194 Usage for IPHouse_gw_IPHouse is now 3/10
  433. EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082)
  434. 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1264 sofia/default/+381653552255@109.245.237.28 EXPORTING[export_vars] [presence_data]=[x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD] to event                                                                                                                                                
  435. 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1264 sofia/default/+381653552255@109.245.237.28 EXPORTING[export_vars] [presence_data]=[x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD] to event                                                                                                                                                
  436. 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables
  437. 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:2757 Parsing session specific variables
  438. 2019-11-05 12:08:38.713455 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4419082 [83861e5b-32cc-4117-8018-255c29916d1c]
  439. 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:5096 (sofia/default/4419082) State Change CS_NEW -> CS_INIT
  440. 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:3064 sofia/default/4419082 Setting leg timeout to 30
  441. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_INIT (Cur 13 Tot 96274)
  442. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4419082) State INIT
  443. 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:93 sofia/default/4419082 SOFIA INIT
  444. 2019-11-05 12:08:38.713455 [DEBUG] sofia_glue.c:1618 sofia/default/4419082 sending invite version: 1.10.1 -release-12-f9990221e6 64bit
  445. Local SDP:                                                                                                                                            
  446. v=0                                                                                                                                                  
  447. o=FreeSWITCH 1572923944 1572923945 IN IP4 82.214.92.12                                                                                                
  448. s=FreeSWITCH                                                                                                                                          
  449. c=IN IP4 82.214.92.12                                                                                                                                
  450. t=0 0                                                                                                                                                
  451. m=audio 28174 RTP/AVP 8 0 101                                                                                                                        
  452. a=rtpmap:8 PCMA/8000                                                                                                                                  
  453. a=rtpmap:0 PCMU/8000                                                                                                                                  
  454. a=rtpmap:101 telephone-event/8000                                                                                                                    
  455. a=fmtp:101 0-16                                                                                                                                      
  456. a=ptime:20                                                                                                                                            
  457. a=sendrecv                                                                                                                                            
  458.  
  459. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:40 sofia/default/4419082 Standard INIT
  460. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4419082) State Change CS_INIT -> CS_ROUTING
  461. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4419082) State INIT going to sleep
  462. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_ROUTING (Cur 13 Tot 96274)
  463. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4419082) State ROUTING
  464. 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:154 sofia/default/4419082 SOFIA ROUTING
  465. 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4419082) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  466. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4419082) State ROUTING going to sleep
  467. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_CONSUME_MEDIA (Cur 13 Tot 96274)
  468. 2019-11-05 12:08:38.713455 [DEBUG] sofia.c:7290 Channel sofia/default/4419082 entering state [calling][0]
  469. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4419082) State CONSUME_MEDIA
  470. 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4419082) State CONSUME_MEDIA going to sleep
  471. 2019-11-05 12:08:38.773455 [DEBUG] sofia.c:7290 Channel sofia/default/4419082 entering state [proceeding][180]
  472. 2019-11-05 12:08:38.773455 [NOTICE] sofia.c:7401 Ring-Ready sofia/default/4419082!
  473. 2019-11-05 12:08:38.773455 [DEBUG] switch_channel.c:3437 (sofia/default/4419082) Callstate Change DOWN -> RINGING
  474. 2019-11-05 12:08:38.793457 [NOTICE] mod_sofia.c:2505 Ring-Ready sofia/default/+381653552255@109.245.237.28!
  475. 2019-11-05 12:08:38.793457 [DEBUG] sofia.c:7290 Channel sofia/default/+381653552255@109.245.237.28 entering state [early][180]
  476. 2019-11-05 12:08:38.793457 [NOTICE] switch_ivr_originate.c:553 Ring Ready sofia/default/+381653552255@109.245.237.28!
  477. 2019-11-05 12:08:39.173455 [DEBUG] sofia.c:7290 Channel sofia/default/4419082 entering state [proceeding][183]
  478. 2019-11-05 12:08:39.173455 [DEBUG] sofia.c:7300 Remote SDP:
  479. v=0                                                                                                                                                  
  480. o=root 699491114 699491114 IN IP4 109.245.237.28                                                                                                      
  481. s=Asterisk PBX 11.5.1                                                                                                                                
  482. c=IN IP4 109.245.237.28                                                                                                                              
  483. t=0 0                                                                                                                                                
  484. m=audio 17990 RTP/AVP 8 0 101                                                                                                                        
  485. a=rtpmap:8 PCMA/8000                                                                                                                                  
  486. a=rtpmap:0 PCMU/8000                                                                                                                                  
  487. a=rtpmap:101 telephone-event/8000                                                                                                                    
  488. a=fmtp:101 0-16                                                                                                                                      
  489. a=ptime:20                                                                                                                                            
  490.  
  491. 2019-11-05 12:08:39.173455 [NOTICE] sofia.c:7303 Pre-Answer sofia/default/4419082!
  492. 2019-11-05 12:08:39.173455 [DEBUG] switch_channel.c:3565 (sofia/default/4419082) Callstate Change RINGING -> EARLY
  493. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  494. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  495. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  496. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  497. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  498. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  499. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000
  500. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/4419082 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  501. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_codec.c:111 sofia/default/4419082 Original read codec set to PCMA:8
  502. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000
  503. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5907 sofia/default/4419082 Set 2833 dtmf send payload to 101 recv payload to 101
  504. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/4419082] 82.214.92.12 port 28174 -> 109.245.237.28 port 17990 codec: 8 ms: 20                                                                                                                                          
  505. 2019-11-05 12:08:39.173455 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
  506. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:8972 sofia/default/4419082 Set 2833 dtmf send payload to 101
  507. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:8979 sofia/default/4419082 Set 2833 dtmf receive payload to 101
  508. 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:9002 sofia/default/4419082 Set rtp dtmf delay to 40
  509. 2019-11-05 12:08:39.193455 [INFO] switch_ivr_originate.c:3755 Sending early media
  510. 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/+381653552255@109.245.237.28] 82.214.92.12 port 16384 -> 109.245.237.28 port 17934 codec: 8 ms: 20                                                                                                                    
  511. 2019-11-05 12:08:39.193455 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms
  512. 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:8972 sofia/default/+381653552255@109.245.237.28 Set 2833 dtmf send payload to 101
  513. 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:8979 sofia/default/+381653552255@109.245.237.28 Set 2833 dtmf receive payload to 101
  514. 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:9002 sofia/default/+381653552255@109.245.237.28 Set rtp dtmf delay to 40
  515. 2019-11-05 12:08:39.193455 [DEBUG] mod_sofia.c:2600 Ring SDP:
  516. v=0                                                                                                                                                  
  517. o=FreeSWITCH 1572935735 1572935736 IN IP4 82.214.92.12                                                                                                
  518. s=FreeSWITCH                                                                                                                                          
  519. c=IN IP4 82.214.92.12                                                                                                                                
  520. t=0 0                                                                                                                                                
  521. m=audio 16384 RTP/AVP 8 101                                                                                                                          
  522. a=rtpmap:8 PCMA/8000                                                                                                                                  
  523. a=rtpmap:101 telephone-event/8000                                                                                                                    
  524. a=fmtp:101 0-16                                                                                                                                      
  525. a=ptime:20                                                                                                                                            
  526. a=sendrecv                                                                                                                                            
  527.  
  528. 2019-11-05 12:08:39.193455 [NOTICE] mod_sofia.c:2603 Pre-Answer sofia/default/+381653552255@109.245.237.28!
  529. 2019-11-05 12:08:39.193455 [DEBUG] switch_channel.c:3565 (sofia/default/+381653552255@109.245.237.28) Callstate Change RINGING -> EARLY
  530. 2019-11-05 12:08:39.193455 [DEBUG] switch_ivr_originate.c:3806 Originate Resulted in Success: [sofia/default/4419082]
  531. 2019-11-05 12:08:39.193455 [DEBUG] sofia.c:7290 Channel sofia/default/+381653552255@109.245.237.28 entering state [early][183]
  532. 2019-11-05 12:08:39.193455 [DEBUG] switch_ivr_bridge.c:1794 (sofia/default/4419082) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  533. 2019-11-05 12:08:39.193455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_EXCHANGE_MEDIA (Cur 13 Tot 96274)
  534. 2019-11-05 12:08:39.193455 [DEBUG] switch_core_state_machine.c:654 (sofia/default/4419082) State EXCHANGE_MEDIA
  535. 2019-11-05 12:08:39.193455 [DEBUG] mod_sofia.c:663 SOFIA EXCHANGE_MEDIA
  536. 2019-11-05 12:08:39.233457 [DEBUG] switch_rtp.c:7720 Correct audio ip/port confirmed.
  537. 2019-11-05 12:08:39.373454 [DEBUG] switch_ivr_bridge.c:658 sofia/default/4419082 Bridge execute app sched_hangup(+6000 normal_clearing)
  538. 2019-11-05 12:08:39.393453 [DEBUG] switch_ivr.c:632 sofia/default/4419082 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  539. EXECUTE [depth=0] sofia/default/4419082 sched_hangup(+6000 normal_clearing)
  540. 2019-11-05 12:08:39.393453 [DEBUG] switch_scheduler.c:252 Added task 2252 switch_ivr_schedule_hangup (83861e5b-32cc-4117-8018-255c29916d1c) to run at 1572958119                                                                                                                                            
  541. 2019-11-05 12:08:41.773460 [WARNING] switch_core_state_machine.c:688 a4f3338b-a928-4168-b1ce-f11511809e79 sofia/default/11777@82.214.92.12 Abandoned
  542. 2019-11-05 12:08:41.773460 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/11777@82.214.92.12 [CS_NEW] [WRONG_CALL_STATE]
  543. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/11777@82.214.92.12) Running State Change CS_HANGUP (Cur 13 Tot 96274)                                                                                                                                                    
  544. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:848 (sofia/default/11777@82.214.92.12) Callstate Change DOWN -> HANGUP
  545. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:850 (sofia/default/11777@82.214.92.12) State HANGUP
  546. 2019-11-05 12:08:41.773460 [DEBUG] mod_sofia.c:460 Channel sofia/default/11777@82.214.92.12 hanging up, cause: WRONG_CALL_STATE
  547. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:60 sofia/default/11777@82.214.92.12 Standard HANGUP, cause: WRONG_CALL_STATE
  548. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:850 (sofia/default/11777@82.214.92.12) State HANGUP going to sleep
  549. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:620 (sofia/default/11777@82.214.92.12) State Change CS_HANGUP -> CS_REPORTING
  550. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/11777@82.214.92.12) Running State Change CS_REPORTING (Cur 13 Tot 96274)                                                                                                                                                  
  551. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:936 (sofia/default/11777@82.214.92.12) State REPORTING
  552. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:174 sofia/default/11777@82.214.92.12 Standard REPORTING, cause: WRONG_CALL_STATE
  553. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:936 (sofia/default/11777@82.214.92.12) State REPORTING going to sleep
  554. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:611 (sofia/default/11777@82.214.92.12) State Change CS_REPORTING -> CS_DESTROY
  555. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_session.c:1726 Session 96266 (sofia/default/11777@82.214.92.12) Locked, Waiting on external entities
  556. 2019-11-05 12:08:41.773460 [NOTICE] switch_core_session.c:1744 Session 96266 (sofia/default/11777@82.214.92.12) Ended
  557. 2019-11-05 12:08:41.773460 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/11777@82.214.92.12 [CS_DESTROY]
  558. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:739 (sofia/default/11777@82.214.92.12) Running State Change CS_DESTROY (Cur 12 Tot 96274)                                                                                                                                                    
  559. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:749 (sofia/default/11777@82.214.92.12) State DESTROY
  560. 2019-11-05 12:08:41.773460 [DEBUG] mod_sofia.c:365 sofia/default/11777@82.214.92.12 SOFIA DESTROY
  561. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:181 sofia/default/11777@82.214.92.12 Standard DESTROY
  562. 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:749 (sofia/default/11777@82.214.92.12) State DESTROY going to sleep
  563. 2019-11-05 12:08:42.493459 [WARNING] switch_core_state_machine.c:688 1a848b5b-6880-44c1-957b-14c09f974583 sofia/default/91261@82.214.92.12 Abandoned
  564. 2019-11-05 12:08:42.493459 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/91261@82.214.92.12 [CS_NEW] [WRONG_CALL_STATE]
  565. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/91261@82.214.92.12) Running State Change CS_HANGUP (Cur 12 Tot 96274)                                                                                                                                                    
  566. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:848 (sofia/default/91261@82.214.92.12) Callstate Change DOWN -> HANGUP
  567. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/91261@82.214.92.12) State HANGUP
  568. 2019-11-05 12:08:42.493459 [DEBUG] mod_sofia.c:460 Channel sofia/default/91261@82.214.92.12 hanging up, cause: WRONG_CALL_STATE
  569. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:60 sofia/default/91261@82.214.92.12 Standard HANGUP, cause: WRONG_CALL_STATE
  570. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/91261@82.214.92.12) State HANGUP going to sleep
  571. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:620 (sofia/default/91261@82.214.92.12) State Change CS_HANGUP -> CS_REPORTING
  572. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/91261@82.214.92.12) Running State Change CS_REPORTING (Cur 12 Tot 96274)                                                                                                                                                  
  573. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/91261@82.214.92.12) State REPORTING
  574. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:174 sofia/default/91261@82.214.92.12 Standard REPORTING, cause: WRONG_CALL_STATE
  575. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/91261@82.214.92.12) State REPORTING going to sleep
  576. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:611 (sofia/default/91261@82.214.92.12) State Change CS_REPORTING -> CS_DESTROY
  577. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_session.c:1726 Session 96267 (sofia/default/91261@82.214.92.12) Locked, Waiting on external entities
  578. 2019-11-05 12:08:42.493459 [NOTICE] switch_core_session.c:1744 Session 96267 (sofia/default/91261@82.214.92.12) Ended
  579. 2019-11-05 12:08:42.493459 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/91261@82.214.92.12 [CS_DESTROY]
  580. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:739 (sofia/default/91261@82.214.92.12) Running State Change CS_DESTROY (Cur 11 Tot 96274)                                                                                                                                                    
  581. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/91261@82.214.92.12) State DESTROY
  582. 2019-11-05 12:08:42.493459 [DEBUG] mod_sofia.c:365 sofia/default/91261@82.214.92.12 SOFIA DESTROY
  583. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:181 sofia/default/91261@82.214.92.12 Standard DESTROY
  584. 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/91261@82.214.92.12) State DESTROY going to sleep
  585. 2019-11-05 12:08:44.413456 [NOTICE] switch_channel.c:1118 New Channel sofia/default/adella@82.214.92.12 [bb6a44b9-9b1e-4e33-a61d-52d915b74cd8]
  586. 2019-11-05 12:08:44.413456 [DEBUG] switch_core_state_machine.c:585 (sofia/default/adella@82.214.92.12) Running State Change CS_NEW (Cur 12 Tot 96275)
  587. 2019-11-05 12:08:44.413456 [DEBUG] sofia.c:10243 sofia/default/adella@82.214.92.12 receiving invite from 45.125.65.33:53022 version: 1.10.1 -release-12-f9990221e6 64bit
  588. 2019-11-05 12:08:44.413456 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 45.125.65.33:0.
  589. 2019-11-05 12:08:44.413456 [WARNING] sofia_reg.c:1793 SIP auth challenge (INVITE) on sofia profile 'default' for [0048257495002@82.214.92.12] from ip 45.125.65.33
  590. 2019-11-05 12:08:44.413456 [DEBUG] switch_core_state_machine.c:604 (sofia/default/adella@82.214.92.12) State NEW
  591. 2019-11-05 12:08:44.413456 [DEBUG] sofia.c:2426 detaching session bb6a44b9-9b1e-4e33-a61d-52d915b74cd8
  592. 2019-11-05 12:08:45.853459 [WARNING] switch_core_state_machine.c:688 5fd40666-3422-4d91-8dbd-b28caa7e4e57 sofia/default/ehs@82.214.92.12 Abandoned
  593. 2019-11-05 12:08:45.853459 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/ehs@82.214.92.12 [CS_NEW] [WRONG_CALL_STATE]
  594. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/ehs@82.214.92.12) Running State Change CS_HANGUP (Cur 12 Tot 96275)
  595. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:848 (sofia/default/ehs@82.214.92.12) Callstate Change DOWN -> HANGUP
  596. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/ehs@82.214.92.12) State HANGUP
  597. 2019-11-05 12:08:45.853459 [DEBUG] mod_sofia.c:460 Channel sofia/default/ehs@82.214.92.12 hanging up, cause: WRONG_CALL_STATE
  598. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:60 sofia/default/ehs@82.214.92.12 Standard HANGUP, cause: WRONG_CALL_STATE
  599. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/ehs@82.214.92.12) State HANGUP going to sleep
  600. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:620 (sofia/default/ehs@82.214.92.12) State Change CS_HANGUP -> CS_REPORTING
  601. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/ehs@82.214.92.12) Running State Change CS_REPORTING (Cur 12 Tot 96275)
  602. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/ehs@82.214.92.12) State REPORTING
  603. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:174 sofia/default/ehs@82.214.92.12 Standard REPORTING, cause: WRONG_CALL_STATE
  604. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/ehs@82.214.92.12) State REPORTING going to sleep
  605. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:611 (sofia/default/ehs@82.214.92.12) State Change CS_REPORTING -> CS_DESTROY
  606. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_session.c:1726 Session 96268 (sofia/default/ehs@82.214.92.12) Locked, Waiting on external entities
  607. 2019-11-05 12:08:45.853459 [NOTICE] switch_core_session.c:1744 Session 96268 (sofia/default/ehs@82.214.92.12) Ended
  608. 2019-11-05 12:08:45.853459 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/ehs@82.214.92.12 [CS_DESTROY]
  609. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:739 (sofia/default/ehs@82.214.92.12) Running State Change CS_DESTROY (Cur 11 Tot 96275)
  610. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/ehs@82.214.92.12) State DESTROY
  611. 2019-11-05 12:08:45.853459 [DEBUG] mod_sofia.c:365 sofia/default/ehs@82.214.92.12 SOFIA DESTROY
  612. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:181 sofia/default/ehs@82.214.92.12 Standard DESTROY
  613. 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/ehs@82.214.92.12) State DESTROY going to sleep
  614.