From Fiery Ibis, 2 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-02-19 10:05:54.934796 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/sipsbc/0552605318@nowhere [f623944f-090c-4b49-9ea1-32a4a8a89b55]
  2. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_NEW (Cur 1 Tot 394)
  3. 2024-02-19 10:05:54.934796 99.93% [INFO] sofia.c:10462 sofia/sipsbc/0552605318@nowhere receiving invite from 10.238.70.33:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: asbcdow95flt6zww0watto2r9af2lz6rk608@10.239.60.69                                                                                                                                                                                                
  4. 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 10.238.70.33:0.
  5. 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:7499 Channel sofia/sipsbc/0552605318@nowhere entering state [received][100]
  6. 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:7509 Remote SDP:
  7. v=0                                                                                                                                                                                                                
  8. o=- 8731711 8731711 IN IP4 10.238.70.3                                                                                                                                                                            
  9. s=SBC call                                                                                                                                                                                                        
  10. c=IN IP4 10.238.70.3                                                                                                                                                                                              
  11. t=0 0                                                                                                                                                                                                              
  12. m=audio 11390 RTP/AVP 8 18 96                                                                                                                                                                                      
  13. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  14. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  15. a=fmtp:18 annexb=yes                                                                                                                                                                                              
  16. a=rtpmap:96 telephone-event/8000                                                                                                                                                                                  
  17. a=fmtp:96 0-15                                                                                                                                                                                                    
  18.  
  19. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  20. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  21. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  22. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 96@8000
  25. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/sipsbc/0552605318@nowhere PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  26. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_codec.c:111 sofia/sipsbc/0552605318@nowhere Original read codec set to PCMA:8
  27. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 96@8000
  28. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_media.c:5973 sofia/sipsbc/0552605318@nowhere Set 2833 dtmf send payload to 96 recv payload to 96
  29. 2024-02-19 10:05:54.934796 99.93% [DEBUG] sofia.c:7933 (sofia/sipsbc/0552605318@nowhere) State Change CS_NEW -> CS_INIT
  30. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:600 (sofia/sipsbc/0552605318@nowhere) State NEW
  31. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_INIT (Cur 1 Tot 394)
  32. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/sipsbc/0552605318@nowhere) State INIT
  33. 2024-02-19 10:05:54.934796 99.93% [DEBUG] mod_sofia.c:97 sofia/sipsbc/0552605318@nowhere SOFIA INIT
  34. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/sipsbc/0552605318@nowhere Standard INIT
  35. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/sipsbc/0552605318@nowhere) State Change CS_INIT -> CS_ROUTING
  36. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/sipsbc/0552605318@nowhere) State INIT going to sleep
  37. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_ROUTING (Cur 1 Tot 394)
  38. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_channel.c:2380 (sofia/sipsbc/0552605318@nowhere) Callstate Change DOWN -> RINGING
  39. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/sipsbc/0552605318@nowhere) State ROUTING
  40. 2024-02-19 10:05:54.934796 99.93% [DEBUG] mod_sofia.c:158 sofia/sipsbc/0552605318@nowhere SOFIA ROUTING
  41. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/sipsbc/0552605318@nowhere Standard ROUTING
  42. 2024-02-19 10:05:54.934796 99.93% [INFO] mod_dialplan_xml.c:639 Processing 0552605318 <0552605318>->+97147160800 in context default
  43. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  44. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  45. 2024-02-19 10:05:54.934796 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  46. Event-Name: REQUEST_PARAMS                                                                                                                                                                                        
  47. Core-UUID: f8d4fef2-881c-4ff0-ab01-b61a7fa6ca38                                                                                                                                                                    
  48. FreeSWITCH-Hostname: sipsrvr01                                                                                                                                                                                    
  49. FreeSWITCH-Switchname: sipsrvr01                                                                                                                                                                                  
  50. FreeSWITCH-IPv4: 172.16.20.101                                                                                                                                                                                    
  51. FreeSWITCH-IPv6: %3A%3A1                                                                                                                                                                                          
  52. Event-Date-Local: 2024-02-19%2010%3A05%3A54                                                                                                                                                                        
  53. Event-Date-GMT: Mon,%2019%20Feb%202024%2010%3A05%3A54%20GMT                                                                                                                                                        
  54. Event-Date-Timestamp: 1708337154934796                                                                                                                                                                            
  55. Event-Calling-File: mod_dialplan_xml.c                                                                                                                                                                            
  56. Event-Calling-Function: dialplan_xml_locate                                                                                                                                                                        
  57. Event-Calling-Line-Number: 610                                                                                                                                                                                    
  58. Event-Sequence: 75581                                                                                                                                                                                              
  59. Channel-State: CS_ROUTING                                                                                                                                                                                          
  60. Channel-Call-State: RINGING                                                                                                                                                                                        
  61. Channel-State-Number: 2                                                                                                                                                                                            
  62. Channel-Name: sofia/sipsbc/0552605318%40nowhere                                                                                                                                                                    
  63. Unique-ID: f623944f-090c-4b49-9ea1-32a4a8a89b55                                                                                                                                                                    
  64. Call-Direction: inbound                                                                                                                                                                                            
  65. Presence-Call-Direction: inbound                                                                                                                                                                                  
  66. Channel-HIT-Dialplan: true                                                                                                                                                                                        
  67. Channel-Presence-ID: 0552605318%40                                                                                                                                                                                
  68. Channel-Call-UUID: f623944f-090c-4b49-9ea1-32a4a8a89b55                                                                                                                                                            
  69. Answer-State: ringing                                                                                                                                                                                              
  70. Channel-Read-Codec-Name: PCMA                                                                                                                                                                                      
  71. Channel-Read-Codec-Rate: 8000                                                                                                                                                                                      
  72. Channel-Read-Codec-Bit-Rate: 64000                                                                                                                                                                                
  73. Channel-Write-Codec-Name: PCMA                                                                                                                                                                                    
  74. Channel-Write-Codec-Rate: 8000                                                                                                                                                                                    
  75. Channel-Write-Codec-Bit-Rate: 64000                                                                                                                                                                                
  76. Caller-Direction: inbound                                                                                                                                                                                          
  77. Caller-Logical-Direction: inbound                                                                                                                                                                                  
  78. Caller-Username: 0552605318                                                                                                                                                                                        
  79. Caller-Dialplan: XML                                                                                                                                                                                              
  80. Caller-Caller-ID-Name: 0552605318                                                                                                                                                                                  
  81. Caller-Caller-ID-Number: 0552605318                                                                                                                                                                                
  82. Caller-Orig-Caller-ID-Name: 0552605318                                                                                                                                                                            
  83. Caller-Orig-Caller-ID-Number: 0552605318                                                                                                                                                                          
  84. Caller-Network-Addr: 10.238.70.33                                                                                                                                                                                  
  85. Caller-ANI: 0552605318                                                                                                                                                                                            
  86. Caller-Destination-Number: %2B97147160800                                                                                                                                                                          
  87. Caller-Unique-ID: f623944f-090c-4b49-9ea1-32a4a8a89b55                                                                                                                                                            
  88. Caller-Source: mod_sofia                                                                                                                                                                                          
  89. Caller-Context: default                                                                                                                                                                                            
  90. Caller-Channel-Name: sofia/sipsbc/0552605318%40nowhere                                                                                                                                                            
  91. Caller-Profile-Index: 1                                                                                                                                                                                            
  92. Caller-Profile-Created-Time: 1708337154934796                                                                                                                                                                      
  93. Caller-Channel-Created-Time: 1708337154934796                                                                                                                                                                      
  94. Caller-Channel-Answered-Time: 0                                                                                                                                                                                    
  95. Caller-Channel-Progress-Time: 0                                                                                                                                                                                    
  96. Caller-Channel-Progress-Media-Time: 0                                                                                                                                                                              
  97. Caller-Channel-Hangup-Time: 0                                                                                                                                                                                      
  98. Caller-Channel-Transfer-Time: 0                                                                                                                                                                                    
  99. Caller-Channel-Resurrect-Time: 0                                                                                                                                                                                  
  100. Caller-Channel-Bridged-Time: 0                                                                                                                                                                                    
  101. Caller-Channel-Last-Hold: 0                                                                                                                                                                                        
  102. Caller-Channel-Hold-Accum: 0                                                                                                                                                                                      
  103. Caller-Screen-Bit: true                                                                                                                                                                                            
  104. Caller-Privacy-Hide-Name: false                                                                                                                                                                                    
  105. Caller-Privacy-Hide-Number: false                                                                                                                                                                                  
  106. variable_direction: inbound                                                                                                                                                                                        
  107. variable_uuid: f623944f-090c-4b49-9ea1-32a4a8a89b55                                                                                                                                                                
  108. variable_session_id: 394                                                                                                                                                                                          
  109. variable_sip_from_params: noa%3Dnational%3Bsrvattri%3Dnational                                                                                                                                                    
  110. variable_sip_from_user: 0552605318                                                                                                                                                                                
  111. variable_sip_from_uri: 0552605318%40nowhere                                                                                                                                                                        
  112. variable_sip_from_host: nowhere                                                                                                                                                                                    
  113. variable_video_media_flow: disabled                                                                                                                                                                                
  114. variable_text_media_flow: disabled                                                                                                                                                                                
  115. variable_channel_name: sofia/sipsbc/0552605318%40nowhere                                                                                                                                                          
  116. variable_sip_call_id: asbcdow95flt6zww0watto2r9af2lz6rk608%4010.239.60.69                                                                                                                                          
  117. variable_sip_local_network_addr: 10.89.12.43                                                                                                                                                                      
  118. variable_sip_network_ip: 10.238.70.33                                                                                                                                                                              
  119. variable_sip_network_port: 5060                                                                                                                                                                                    
  120. variable_sip_invite_stamp: 1708337154934796                                                                                                                                                                        
  121. variable_sip_received_ip: 10.238.70.33                                                                                                                                                                            
  122. variable_sip_received_port: 5060                                                                                                                                                                                  
  123. variable_sip_via_protocol: udp                                                                                                                                                                                    
  124. variable_sip_from_user_stripped: 0552605318                                                                                                                                                                        
  125. variable_sip_from_tag: olko6686                                                                                                                                                                                    
  126. variable_sofia_profile_name: sipsbc                                                                                                                                                                                
  127. variable_sofia_profile_url: sip%3Amod_sofia%4010.89.12.43%3A5060                                                                                                                                                  
  128. variable_recovery_profile_name: sipsbc                                                                                                                                                                            
  129. variable_sip_P-Asserted-Identity: 0552605318                                                                                                                                                                      
  130. variable_sip_cid_type: pid                                                                                                                                                                                        
  131. variable_sip_full_via: SIP/2.0/UDP%2010.238.70.33%3A5060%3Bbranch%3Dz9hG4bKsz82vw86rwq7zs6g62p8vr0qz%3BRole%3D3%3BHpt%3D8e82_36%3BTRC%3Dffffffff-ffffffff                                                          
  132. variable_sip_full_from: %3Ctel%3A0552605318%3Bnoa%3Dnational%3Bsrvattri%3Dnational%3E%3Btag%3Dolko6686                                                                                                            
  133. variable_sip_full_to: %3Csip%3A564169390%4010.238.70.33%3Buser%3Dphone%3E                                                                                                                                          
  134. variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20PRACK,%20SUBSCRIBE,%20NOTIFY,%20UPDATE,%20MESSAGE,%20REFER                                                                    
  135. variable_sip_req_user: %2B97147160800                                                                                                                                                                              
  136. variable_sip_req_uri: %2B97147160800%40ims.etisalat.ae                                                                                                                                                            
  137. variable_sip_req_host: ims.etisalat.ae                                                                                                                                                                            
  138. variable_sip_to_params: user%3Dphone                                                                                                                                                                              
  139. variable_sip_to_user: 564169390                                                                                                                                                                                    
  140. variable_sip_to_uri: 564169390%4010.238.70.33                                                                                                                                                                      
  141. variable_sip_to_host: 10.238.70.33                                                                                                                                                                                
  142. variable_sip_contact_params: Dsp%3Debfa-200%3BHpt%3Dnw_63_65d36042_a10928_ex_8e82_16%3BCxtId%3D4%3BTRC%3Dffffffff-ffffffff                                                                                        
  143. variable_sip_contact_user: nobody                                                                                                                                                                                  
  144. variable_sip_contact_port: 5060                                                                                                                                                                                    
  145. variable_sip_contact_uri: nobody%4010.238.70.33%3A5060                                                                                                                                                            
  146. variable_sip_contact_host: 10.238.70.33                                                                                                                                                                            
  147. variable_sip_user_agent: Huawei%20SoftX3000%20V600R013                                                                                                                                                            
  148. variable_sip_via_host: 10.238.70.33                                                                                                                                                                                
  149. variable_sip_via_port: 5060                                                                                                                                                                                        
  150. variable_max_forwards: 64                                                                                                                                                                                          
  151. variable_presence_id: 0552605318%40                                                                                                                                                                                
  152. variable_sip_Privacy: none                                                                                                                                                                                        
  153. variable_sip_h_P-Called-Party-ID: %3Ctel%3A%2B97147160800%3E                                                                                                                                                      
  154. variable_sip_history_info: %3Csip%3A564169390%4010.238.70.33%3Buser%3Dphone%3E%3Bindex%3D1,%3Ctel%3A%2B97147160800%3E%3Bindex%3D1.1                                                                                
  155. variable_sip_h_P-Early-Media: supported,gated                                                                                                                                                                      
  156. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%208731711%208731711%20IN%20IP4%2010.238.70.3%0D%0As%3DSBC%20call%0D%0Ac%3DIN%20IP4%2010.238.70.3%0D%0At%3D0%200%0D%0Am%3Daudio%2011390%20RTP/AVP%208%2018%2096%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dyes%0D%0Aa%3Drtpmap%3A96%20telephone-event/8000%0D%0Aa%3Dfmtp%3A96%200-15%0D%0A                                                
  157. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b                                                                                                                                              
  158. variable_rtp_use_codec_string: PCMA,PCMU                                                                                                                                                                          
  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: 10.238.70.3                                                                                                                                                                              
  164. variable_remote_media_port: 11390                                                                                                                                                                                  
  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: f623944f-090c-4b49-9ea1-32a4a8a89b55                                                                                                                                                          
  180. Hunt-Direction: inbound                                                                                                                                                                                            
  181. Hunt-Logical-Direction: inbound                                                                                                                                                                                    
  182. Hunt-Username: 0552605318                                                                                                                                                                                          
  183. Hunt-Dialplan: XML                                                                                                                                                                                                
  184. Hunt-Caller-ID-Name: 0552605318                                                                                                                                                                                    
  185. Hunt-Caller-ID-Number: 0552605318                                                                                                                                                                                  
  186. Hunt-Orig-Caller-ID-Name: 0552605318                                                                                                                                                                              
  187. Hunt-Orig-Caller-ID-Number: 0552605318                                                                                                                                                                            
  188. Hunt-Network-Addr: 10.238.70.33                                                                                                                                                                                    
  189. Hunt-ANI: 0552605318                                                                                                                                                                                              
  190. Hunt-Destination-Number: %2B97147160800                                                                                                                                                                            
  191. Hunt-Unique-ID: f623944f-090c-4b49-9ea1-32a4a8a89b55                                                                                                                                                              
  192. Hunt-Source: mod_sofia                                                                                                                                                                                            
  193. Hunt-Context: default                                                                                                                                                                                              
  194. Hunt-Channel-Name: sofia/sipsbc/0552605318%40nowhere                                                                                                                                                              
  195. Hunt-Profile-Index: 1                                                                                                                                                                                              
  196. Hunt-Profile-Created-Time: 1708337154934796                                                                                                                                                                        
  197. Hunt-Channel-Created-Time: 1708337154934796                                                                                                                                                                        
  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. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  213. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  214. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  215. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  216. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : +97147160800
  217. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+97147160800' AND status=0 limit 1
  218. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 0552605318 / 0552605318
  219. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="+97147160800" LIMIT 1                                                                                                                                                    
  220. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  221. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [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("10.238.70.33") 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 "+97147160800"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1                                                                                      
  222. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3105994796]
  223. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3105994796" AND deleted = 0 limit 1
  224. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="+97147160800" AND (accountid = 0 OR status = 1) LIMIT 1
  225. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  226. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 13
  227. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^+97147160800.*' OR patterns = '^+9714716080.*' OR patterns = '^+971471608.*' OR patterns = '^+97147160.*' OR patterns = '^+9714716.*' OR patterns = '^+971471.*' OR patterns = '^+97147.*' OR patterns = '^+9714.*' OR patterns = '^+971.*' OR patterns = '^+97.*' OR patterns = '^+9.*' OR patterns = '^+.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                              
  228. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="+97147160800" AND A.accountid = '6' limit 1                                                                                                                                                                
  229. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +97147160800
  230. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="+97147160800" LIMIT 1                                                                                                                                                    
  231. 2024-02-19 10:05:54.934796 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  232. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '+97147160800' OR number = '+9714716080' OR number = '+971471608' OR number = '+97147160' OR number = '+9714716' OR number = '+971471' OR number = '+97147' OR number = '+9714' OR number = '+971' OR number = '+97' OR number = '+9' OR number = '+' OR number ='--') OR (number = '+97147160800*' OR number = '+9714716080*' OR number = '+971471608*' OR number = '+97147160*' OR number = '+9714716*' OR number = '+971471*' OR number = '+97147*' OR number = '+9714*' OR number = '+971*' OR number = '+97*' OR number = '+9*' OR number = '+*' OR number ='--') OR (number = '0552605318' OR number = '055260531' OR number = '05526053' OR number = '0552605' OR number = '055260' OR number = '05526' OR number = '0552' OR number = '055' OR number = '05' OR number = '0' OR number ='--') OR (number = '0552605318*' OR number = '055260531*' OR number = '05526053*' OR number = '0552605*' OR number = '055260*' OR number = '05526*' OR number = '0552*' OR number = '055*' OR number = '05*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                          
  233. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  234. 2024-02-19 10:05:54.934796 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '+97147160800' OR routing_prefix = '+9714716080' OR routing_prefix = '+971471608' OR routing_prefix = '+97147160' OR routing_prefix = '+9714716' OR routing_prefix = '+971471' OR routing_prefix = '+97147' OR routing_prefix = '+9714' OR routing_prefix = '+971' OR routing_prefix = '+97' OR routing_prefix = '+9' OR routing_prefix = '+' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                          
  235. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  236. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
  237. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3105994796
  238. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  239. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  240. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  241. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  242. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  243. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  244. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  245. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="+97147160800" LIMIT 1                                                                                                                                                    
  246. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  247. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  248. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 212
  249. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  250. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  251. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  252. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Dubai Dubai
  253. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 199
  254. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
  255. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  256. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 6 !!!
  257. 2024-02-19 10:05:54.954802 99.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  258. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  259. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  260. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  261. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1                                                                                                                                                                                        
  262. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
  263. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:6
  264. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:6
  265. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 6
  266. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  267. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  268. 2024-02-19 10:05:54.954802 99.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  269. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 13  and status = 0 limit 1
  270. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_3
  271. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  272. <document type="freeswitch/xml">                                                                                                                                                                                  
  273. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  274. <context name="default">                                                                                                                                                                                          
  275. <extension name="+97147160800">                                                                                                                                                                                    
  276. <condition field="destination_number" expression="\+97147160800">                                                                                                                                                  
  277. <action application="set" data="effective_destination_number=\+97147160800"/>                                                                                                                                      
  278. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  279. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  280. <action application="set" data="callstart=2024-02-19 10:05:54"/>                                                                                                                                                  
  281. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  282. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  283. <action application="set" data="account_id=6"/>                                                                                                                                                                    
  284. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  285. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  286. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  287. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  288. <action application="set" data="accountname=Etisalat"/>                                                                                                                                                            
  289. <action application="set" data="origination_rates_did=ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13"/>                                                                                                                                                                                                    
  290. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  291. <action application="set" data="original_caller_id_name=0552605318"/>                                                                                                                                              
  292. <action application="set" data="original_caller_id_number=0552605318"/>                                                                                                                                            
  293. <action application="limit" data="db 3105994796 user_3105994796 100 "/>                                                                                                                                            
  294. <action application="limit" data="hash CPS_3105994796 CPS_user_3105994796 100/1 "/>                                                                                                                                
  295. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  296. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  297. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  298. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  299. <action application="limit" data="db 13 user_13 200 "/>                                                                                                                                                            
  300. <action application="set" data="effective_caller_id_name=0552605318"/>                                                                                                                                            
  301. <action application="set" data="effective_caller_id_number=0552605318"/>                                                                                                                                          
  302. <action application="set" data="receiver_accid=13"/>                                                                                                                                                              
  303. <action application="export" data="domain_name="/>                                                                                                                                                                
  304. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  305. <action application="limit" data="db +97147160800 did_+97147160800 200 "/>                                                                                                                                        
  306. <action application="export" data="presence_data=x|||Sameh(4871496682)|||||||||DID|||10.238.70.33"/>                                                                                                              
  307. <action application="export" data="call_type=3"/>                                                                                                                                                                  
  308. <action application="set" data="calltype=OTHER"/>                                                                                                                                                                  
  309. <action application="bridge" data="[leg_timeout=30]sofia/LAN/+97147160800@172.16.6.1:5060"/>                                                                                                                      
  310. </condition>                                                                                                                                                                                                      
  311. </extension>                                                                                                                                                                                                      
  312. </context>                                                                                                                                                                                                        
  313. </section>                                                                                                                                                                                                        
  314. </document>                                                                                                                                                                                                        
  315. Dialplan: sofia/sipsbc/0552605318@nowhere parsing [default->+97147160800] continue=false
  316. Dialplan: sofia/sipsbc/0552605318@nowhere Regex (PASS) [+97147160800] destination_number(+97147160800) =~ /\+97147160800/ break=on-false
  317. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(effective_destination_number=\+97147160800)
  318. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(bridge_pre_execute_bleg_app=sched_hangup)
  319. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  320. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(callstart=2024-02-19 10:05:54)
  321. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(hangup_after_bridge=true)
  322. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(continue_on_fail=TRUE)
  323. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(account_id=6)
  324. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(parent_id=0)
  325. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(entity_id=3)
  326. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(call_processed=internal)
  327. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(call_direction=inbound)
  328. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(accountname=Etisalat)
  329. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(origination_rates_did=ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13)                                                                                                                                                                                  
  330. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(origination_rates=0)
  331. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(original_caller_id_name=0552605318)
  332. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(original_caller_id_number=0552605318)
  333. Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(db 3105994796 user_3105994796 100 )
  334. Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(hash CPS_3105994796 CPS_user_3105994796 100/1 )
  335. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(is_recording=1)
  336. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(media_bug_answer_req=true)
  337. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(record_sample_rate=8000)
  338. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  339. Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(db 13 user_13 200 )
  340. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(effective_caller_id_name=0552605318)
  341. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(effective_caller_id_number=0552605318)
  342. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(receiver_accid=13)
  343. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(domain_name=)
  344. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(sip_to_host=)
  345. Dialplan: sofia/sipsbc/0552605318@nowhere Action limit(db +97147160800 did_+97147160800 200 )
  346. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(presence_data=x|||Sameh(4871496682)|||||||||DID|||10.238.70.33)
  347. Dialplan: sofia/sipsbc/0552605318@nowhere Action export(call_type=3)
  348. Dialplan: sofia/sipsbc/0552605318@nowhere Action set(calltype=OTHER)
  349. Dialplan: sofia/sipsbc/0552605318@nowhere Action bridge([leg_timeout=30]sofia/LAN/+97147160800@172.16.6.1:5060)
  350. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:281 (sofia/sipsbc/0552605318@nowhere) State Change CS_ROUTING -> CS_EXECUTE
  351. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/sipsbc/0552605318@nowhere) State ROUTING going to sleep
  352. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_EXECUTE (Cur 1 Tot 394)
  353. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/sipsbc/0552605318@nowhere) State EXECUTE
  354. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:213 sofia/sipsbc/0552605318@nowhere SOFIA EXECUTE
  355. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:323 sofia/sipsbc/0552605318@nowhere Standard EXECUTE
  356. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(effective_destination_number=\+97147160800)
  357. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [effective_destination_number]=[\+97147160800]
  358. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(bridge_pre_execute_bleg_app=sched_hangup)
  359. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [bridge_pre_execute_bleg_app]=[sched_hangup]
  360. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  361. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  362. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(callstart=2024-02-19 10:05:54)
  363. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [callstart]=[2024-02-19 10:05:54]
  364. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(hangup_after_bridge=true)
  365. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [hangup_after_bridge]=[true]
  366. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(continue_on_fail=TRUE)
  367. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [continue_on_fail]=[TRUE]
  368. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(account_id=6)
  369. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [account_id]=[6]
  370. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(parent_id=0)
  371. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [parent_id]=[0]
  372. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(entity_id=3)
  373. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [entity_id]=[3]
  374. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(call_processed=internal)
  375. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [call_processed]=[internal]
  376. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(call_direction=inbound)
  377. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [call_direction]=[inbound]
  378. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(accountname=Etisalat)
  379. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [accountname]=[Etisalat]
  380. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(origination_rates_did=ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13)                                                                                                                                                                                
  381. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [origination_rates_did]=[ID:212|CODE:^+97147160800.*|DESTINATION:Dubai Dubai|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:199|ACCID:13]                                                                                                                                  
  382. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(origination_rates=0)
  383. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [origination_rates]=[0]
  384. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(original_caller_id_name=0552605318)
  385. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [original_caller_id_name]=[0552605318]
  386. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(original_caller_id_number=0552605318)
  387. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [original_caller_id_number]=[0552605318]
  388. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(db 3105994796 user_3105994796 100 )
  389. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: 3105994796_user_3105994796 max:100, interval:0
  390. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_db.c:194 Usage for 3105994796_user_3105994796 is now 1/100
  391. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(hash CPS_3105994796 CPS_user_3105994796 100/1 )
  392. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: CPS_3105994796_CPS_user_3105994796 max:100, interval:1
  393. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_hash.c:195 Usage for CPS_3105994796_CPS_user_3105994796 is now 1/100 for the last 1 seconds
  394. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(is_recording=1)
  395. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  396. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(media_bug_answer_req=true)
  397. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  398. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(record_sample_rate=8000)
  399. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  400. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(execute_on_answer=record_session /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav)
  401. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav]
  402. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(db 13 user_13 200 )
  403. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: 13_user_13 max:200, interval:0
  404. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_db.c:194 Usage for 13_user_13 is now 1/200
  405. freeswitch@sipsrvr01>
  406. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(effective_caller_id_name=0552605318)
  407. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [effective_caller_id_name]=[0552605318]
  408. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(effective_caller_id_number=0552605318)
  409. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [effective_caller_id_number]=[0552605318]
  410. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(receiver_accid=13)
  411. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [receiver_accid]=[13]
  412. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(domain_name=)
  413. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  414. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(sip_to_host=)
  415. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  416. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere limit(db +97147160800 did_+97147160800 200 )
  417. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_limit.c:124 incr called: +97147160800_did_+97147160800 max:200, interval:0
  418. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_db.c:194 Usage for +97147160800_did_+97147160800 is now 1/200
  419. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(presence_data=x|||Sameh(4871496682)|||||||||DID|||10.238.70.33)
  420. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Sameh(4871496682)|||||||||DID|||10.238.70.33]
  421. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere export(call_type=3)
  422. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[3]
  423. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere set(calltype=OTHER)
  424. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/sipsbc/0552605318@nowhere [calltype]=[OTHER]
  425. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere bridge([leg_timeout=30]sofia/LAN/+97147160800@172.16.6.1:5060)
  426. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [is_recording]=[1] to event
  427. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  428. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  429. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav] to event                                                                                                                                                                                          
  430. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [presence_data]=[x|||Sameh(4871496682)|||||||||DID|||10.238.70.33] to event
  431. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_channel.c:1269 sofia/sipsbc/0552605318@nowhere EXPORTING[export_vars] [call_type]=[3] to event
  432. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  433. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  434. 2024-02-19 10:05:54.954802 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 [b6315c63-dea1-4dd8-9726-69634490d5d8]
  435. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:5121 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_NEW -> CS_INIT
  436. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:3151 sofia/LAN/%2B97147160800@172.16.6.1:5060 Setting leg timeout to 30
  437. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_INIT (Cur 2 Tot 395)
  438. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State INIT
  439. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:97 sofia/LAN/%2B97147160800@172.16.6.1:5060 SOFIA INIT
  440. 2024-02-19 10:05:54.954802 99.93% [INFO] sofia_glue.c:1651 sofia/LAN/%2B97147160800@172.16.6.1:5060 sending invite call-id: (null)
  441. 2024-02-19 10:05:54.954802 99.93% [DEBUG] sofia_glue.c:1654 sofia/LAN/%2B97147160800@172.16.6.1:5060 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  442. Local SDP:                                                                                                                                                                                                        
  443. v=0                                                                                                                                                                                                                
  444. o=FreeSWITCH 1708310844 1708310845 IN IP4 172.16.20.101                                                                                                                                                            
  445. s=FreeSWITCH                                                                                                                                                                                                      
  446. c=IN IP4 172.16.20.101                                                                                                                                                                                            
  447. t=0 0                                                                                                                                                                                                              
  448. m=audio 26310 RTP/AVP 8 101                                                                                                                                                                                        
  449. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  450. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  451. a=fmtp:101 0-15                                                                                                                                                                                                    
  452. a=ptime:20                                                                                                                                                                                                        
  453. a=sendrecv                                                                                                                                                                                                        
  454.  
  455. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard INIT
  456. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_INIT -> CS_ROUTING
  457. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State INIT going to sleep
  458. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_ROUTING (Cur 2 Tot 395)
  459. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State ROUTING
  460. 2024-02-19 10:05:54.954802 99.93% [DEBUG] mod_sofia.c:158 sofia/LAN/%2B97147160800@172.16.6.1:5060 SOFIA ROUTING
  461. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_ivr_originate.c:67 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  462. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State ROUTING going to sleep
  463. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 395)
  464. 2024-02-19 10:05:54.954802 99.93% [DEBUG] sofia.c:7499 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 entering state [calling][0]
  465. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:659 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State CONSUME_MEDIA
  466. 2024-02-19 10:05:54.954802 99.93% [DEBUG] switch_core_state_machine.c:659 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State CONSUME_MEDIA going to sleep
  467. 2024-02-19 10:05:56.054806 99.73% [DEBUG] sofia.c:7499 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 entering state [completing][200]
  468. 2024-02-19 10:05:56.054806 99.73% [DEBUG] sofia.c:7509 Remote SDP:
  469. v=0                                                                                                                                                                                                                
  470. o=root 1795099062 1795099062 IN IP4 172.16.6.1                                                                                                                                                                    
  471. s=Asterisk PBX 16.9.0                                                                                                                                                                                              
  472. c=IN IP4 172.16.6.1                                                                                                                                                                                                
  473. t=0 0                                                                                                                                                                                                              
  474. m=audio 11170 RTP/AVP 8 101                                                                                                                                                                                        
  475. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  476. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  477. a=fmtp:101 0-16                                                                                                                                                                                                    
  478. a=ptime:20                                                                                                                                                                                                        
  479. a=maxptime:150                                                                                                                                                                                                    
  480.  
  481. 2024-02-19 10:05:56.054806 99.73% [DEBUG] sofia.c:7499 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 entering state [ready][200]
  482. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  483. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  484. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  485. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/LAN/%2B97147160800@172.16.6.1:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  486. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_codec.c:111 sofia/LAN/%2B97147160800@172.16.6.1:5060 Original read codec set to PCMA:8
  487. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  488. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:5973 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  489. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/LAN/%2B97147160800@172.16.6.1:5060] 172.16.20.101 port 26310 -> 172.16.6.1 port 11170 codec: 8 ms: 20
  490. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_rtp.c:4641 Not using a timer
  491. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:9089 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set 2833 dtmf send payload to 101
  492. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:9096 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set 2833 dtmf receive payload to 101
  493. 2024-02-19 10:05:56.054806 99.73% [DEBUG] switch_core_media.c:9119 sofia/LAN/%2B97147160800@172.16.6.1:5060 Set rtp dtmf delay to 40
  494. 2024-02-19 10:05:56.054806 99.73% [NOTICE] sofia.c:8683 Channel [sofia/LAN/%2B97147160800@172.16.6.1:5060] has been answered
  495. EXECUTE [depth=1] sofia/LAN/%2B97147160800@172.16.6.1:5060 record_session(/var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav)
  496. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  497. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/LAN/%2B97147160800@172.16.6.1:5060
  498. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_channel.c:3950 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Callstate Change DOWN -> ACTIVE
  499. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/sipsbc/0552605318@nowhere] 10.89.12.43 port 31386 -> 10.238.70.3 port 11390 codec: 8 ms: 20
  500. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  501. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:9089 sofia/sipsbc/0552605318@nowhere Set 2833 dtmf send payload to 96
  502. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:9096 sofia/sipsbc/0552605318@nowhere Set 2833 dtmf receive payload to 96
  503. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media.c:9119 sofia/sipsbc/0552605318@nowhere Set rtp dtmf delay to 40
  504. 2024-02-19 10:05:56.074792 99.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/sipsbc/0552605318@nowhere:
  505. v=0                                                                                                                                                                                                                
  506. o=FreeSWITCH 1708305770 1708305771 IN IP4 10.89.12.43                                                                                                                                                              
  507. s=FreeSWITCH                                                                                                                                                                                                      
  508. c=IN IP4 10.89.12.43                                                                                                                                                                                              
  509. t=0 0                                                                                                                                                                                                              
  510. m=audio 31386 RTP/AVP 8 96                                                                                                                                                                                        
  511. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  512. a=rtpmap:96 telephone-event/8000                                                                                                                                                                                  
  513. a=fmtp:96 0-15                                                                                                                                                                                                    
  514. a=ptime:20                                                                                                                                                                                                        
  515. a=sendrecv                                                                                                                                                                                                        
  516.  
  517. 2024-02-19 10:05:56.074792 99.73% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/sipsbc/0552605318@nowhere] has been answered
  518. 2024-02-19 10:05:56.074792 99.73% [DEBUG] sofia.c:7499 Channel sofia/sipsbc/0552605318@nowhere entering state [completed][200]
  519. EXECUTE [depth=0] sofia/sipsbc/0552605318@nowhere record_session(/var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav)
  520. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  521. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/sipsbc/0552605318@nowhere
  522. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_channel.c:3950 (sofia/sipsbc/0552605318@nowhere) Callstate Change RINGING -> ACTIVE
  523. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/LAN/%2B97147160800@172.16.6.1:5060] Peer UUID: b6315c63-dea1-4dd8-9726-69634490d5d8
  524. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_ivr_bridge.c:1793 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  525. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 395)
  526. 2024-02-19 10:05:56.074792 99.73% [DEBUG] switch_core_state_machine.c:650 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State EXCHANGE_MEDIA
  527. 2024-02-19 10:05:56.074792 99.73% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  528. 2024-02-19 10:05:56.094798 99.73% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  529. 2024-02-19 10:05:56.094798 99.73% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  530. 2024-02-19 10:05:56.154799 99.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  531. 2024-02-19 10:05:56.154799 99.73% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  532. 2024-02-19 10:05:56.194804 99.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  533. 2024-02-19 10:05:56.194804 99.73% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  534. 2024-02-19 10:05:56.234805 99.73% [DEBUG] sofia.c:7499 Channel sofia/sipsbc/0552605318@nowhere entering state [ready][200]
  535. 2024-02-19 10:05:56.354804 99.73% [DEBUG] switch_ivr_bridge.c:655 sofia/LAN/%2B97147160800@172.16.6.1:5060 Bridge execute app sched_hangup(+6000 normal_clearing)
  536. 2024-02-19 10:05:56.374812 99.73% [DEBUG] switch_ivr.c:632 sofia/LAN/%2B97147160800@172.16.6.1:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  537. EXECUTE [depth=0] sofia/LAN/%2B97147160800@172.16.6.1:5060 sched_hangup(+6000 normal_clearing)
  538. 2024-02-19 10:05:56.374812 99.73% [DEBUG] switch_scheduler.c:263 Added task 131 switch_ivr_schedule_hangup (b6315c63-dea1-4dd8-9726-69634490d5d8) to run at 1708343156
  539. 2024-02-19 10:06:05.354803 95.80% [NOTICE] sofia.c:1065 Hangup sofia/LAN/%2B97147160800@172.16.6.1:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  540. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/LAN/%2B97147160800@172.16.6.1:5060]
  541. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:650 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State EXCHANGE_MEDIA going to sleep
  542. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_HANGUP (Cur 2 Tot 395)
  543. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav
  544. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  545. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/LAN/%2B97147160800@172.16.6.1:5060
  546. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:844 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Callstate Change ACTIVE -> HANGUP
  547. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State HANGUP
  548. 2024-02-19 10:06:05.354803 95.80% [DEBUG] mod_sofia.c:468 Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 hanging up, cause: NORMAL_CLEARING
  549. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:59 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard HANGUP, cause: NORMAL_CLEARING
  550. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State HANGUP going to sleep
  551. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:616 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_HANGUP -> CS_REPORTING
  552. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_REPORTING (Cur 2 Tot 395)
  553. 2024-02-19 10:06:05.354803 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State REPORTING
  554. 2024-02-19 10:06:05.354803 95.80% [INFO] mod_json_cdr.c:271 Process [b6315c63-dea1-4dd8-9726-69634490d5d8.cdr.json]
  555. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_bridge.c:820 sofia/LAN/%2B97147160800@172.16.6.1:5060 ending bridge by request from write function
  556. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/sipsbc/0552605318@nowhere]
  557. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:168 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard REPORTING, cause: NORMAL_CLEARING
  558. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State REPORTING going to sleep
  559. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_bridge.c:1892 sofia/LAN/%2B97147160800@172.16.6.1:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  560. 2024-02-19 10:06:05.374793 95.80% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/sipsbc/0552605318@nowhere [CS_EXECUTE] [NORMAL_CLEARING]
  561. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:607 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State Change CS_REPORTING -> CS_DESTROY
  562. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_session.c:1753 Session 395 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Locked, Waiting on external entities
  563. 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_hash.c:293 Usage for CPS_3105994796_CPS_user_3105994796 is now 0
  564. 2024-02-19 10:06:05.374793 95.80% [NOTICE] switch_core_session.c:1771 Session 395 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Ended
  565. 2024-02-19 10:06:05.374793 95.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/LAN/%2B97147160800@172.16.6.1:5060 [CS_DESTROY]
  566. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_session.c:2983 sofia/sipsbc/0552605318@nowhere skip receive message [PHONE_EVENT] (channel is hungup already)
  567. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:647 (sofia/sipsbc/0552605318@nowhere) State EXECUTE going to sleep
  568. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_HANGUP (Cur 1 Tot 395)
  569. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:735 (sofia/LAN/%2B97147160800@172.16.6.1:5060) Running State Change CS_DESTROY (Cur 1 Tot 395)
  570. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/f623944f-090c-4b49-9ea1-32a4a8a89b55.wav
  571. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State DESTROY
  572. 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:379 sofia/LAN/%2B97147160800@172.16.6.1:5060 SOFIA DESTROY
  573. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:175 sofia/LAN/%2B97147160800@172.16.6.1:5060 Standard DESTROY
  574. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/LAN/%2B97147160800@172.16.6.1:5060) State DESTROY going to sleep
  575. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  576. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/sipsbc/0552605318@nowhere
  577. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:844 (sofia/sipsbc/0552605318@nowhere) Callstate Change ACTIVE -> HANGUP
  578. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/sipsbc/0552605318@nowhere) State HANGUP
  579. 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:462 sofia/sipsbc/0552605318@nowhere Overriding SIP cause 480 with 200 from the other leg
  580. 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:468 Channel sofia/sipsbc/0552605318@nowhere hanging up, cause: NORMAL_CLEARING
  581. 2024-02-19 10:06:05.374793 95.80% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/sipsbc/0552605318@nowhere
  582. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:59 sofia/sipsbc/0552605318@nowhere Standard HANGUP, cause: NORMAL_CLEARING
  583. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:846 (sofia/sipsbc/0552605318@nowhere) State HANGUP going to sleep
  584. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:616 (sofia/sipsbc/0552605318@nowhere) State Change CS_HANGUP -> CS_REPORTING
  585. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:581 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_REPORTING (Cur 1 Tot 395)
  586. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/sipsbc/0552605318@nowhere) State REPORTING
  587. 2024-02-19 10:06:05.374793 95.80% [INFO] mod_json_cdr.c:271 Process [f623944f-090c-4b49-9ea1-32a4a8a89b55.cdr.json]
  588. 2024-02-19 10:06:05.374793 95.80% [DEBUG] switch_scheduler.c:147 Deleting task 131 switch_ivr_schedule_hangup (b6315c63-dea1-4dd8-9726-69634490d5d8)
  589. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:168 sofia/sipsbc/0552605318@nowhere Standard REPORTING, cause: NORMAL_CLEARING
  590. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:932 (sofia/sipsbc/0552605318@nowhere) State REPORTING going to sleep
  591. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:607 (sofia/sipsbc/0552605318@nowhere) State Change CS_REPORTING -> CS_DESTROY
  592. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_session.c:1753 Session 394 (sofia/sipsbc/0552605318@nowhere) Locked, Waiting on external entities
  593. 2024-02-19 10:06:05.394798 95.80% [NOTICE] switch_core_session.c:1771 Session 394 (sofia/sipsbc/0552605318@nowhere) Ended
  594. 2024-02-19 10:06:05.394798 95.80% [NOTICE] switch_core_session.c:1775 Close Channel sofia/sipsbc/0552605318@nowhere [CS_DESTROY]
  595. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:735 (sofia/sipsbc/0552605318@nowhere) Running State Change CS_DESTROY (Cur 0 Tot 395)
  596. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/sipsbc/0552605318@nowhere) State DESTROY
  597. 2024-02-19 10:06:05.394798 95.80% [DEBUG] mod_sofia.c:379 sofia/sipsbc/0552605318@nowhere SOFIA DESTROY
  598. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:175 sofia/sipsbc/0552605318@nowhere Standard DESTROY
  599. 2024-02-19 10:06:05.394798 95.80% [DEBUG] switch_core_state_machine.c:745 (sofia/sipsbc/0552605318@nowhere) State DESTROY going to sleep
  600.