From Rafa cllaer id not- working, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2023-06-28 07:10:16.078653 99.13% [INFO] sofia.c:10462 sofia/default/621296037@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 16ef075b010ae90d60fecca4741c8e70@cloud.masip.es
  2. 2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  3. 2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  4. 2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:7499 Channel sofia/default/621296037@cloud.masip.es entering state [received][100]
  5. 2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:7509 Remote SDP:
  6. v=0
  7. o=root 1665780225 1665780225 IN IP4 51.91.247.55
  8. s=DialApplet
  9. c=IN IP4 51.91.247.55
  10. t=0 0
  11. m=audio 11298 RTP/AVP 8 18 101
  12. a=rtpmap:8 PCMA/8000
  13. a=rtpmap:18 G729/8000
  14. a=fmtp:18 annexb=no
  15. a=rtpmap:101 telephone-event/8000
  16. a=fmtp:101 0-16
  17. a=silenceSupp:off - - - -
  18. a=ptime:20
  19.  
  20. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  21. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  22. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  23. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  24. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  25. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  26. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  27. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  28. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  29. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296037@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  30. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_codec.c:111 sofia/default/621296037@cloud.masip.es Original read codec set to PCMA:8
  31. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  32. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_media.c:5973 sofia/default/621296037@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  33. 2023-06-28 07:10:16.078653 99.13% [DEBUG] sofia.c:7933 (sofia/default/621296037@cloud.masip.es) State Change CS_NEW -> CS_INIT
  34. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296037@cloud.masip.es) State NEW
  35. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296037@cloud.masip.es) Running State Change CS_INIT (Cur 27 Tot 9908)
  36. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296037@cloud.masip.es) State INIT
  37. 2023-06-28 07:10:16.078653 99.13% [DEBUG] mod_sofia.c:97 sofia/default/621296037@cloud.masip.es SOFIA INIT
  38. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296037@cloud.masip.es Standard INIT
  39. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296037@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  40. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296037@cloud.masip.es) State INIT going to sleep
  41. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296037@cloud.masip.es) Running State Change CS_ROUTING (Cur 27 Tot 9908)
  42. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_channel.c:2380 (sofia/default/621296037@cloud.masip.es) Callstate Change DOWN -> RINGING
  43. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296037@cloud.masip.es) State ROUTING
  44. 2023-06-28 07:10:16.078653 99.13% [DEBUG] mod_sofia.c:158 sofia/default/621296037@cloud.masip.es SOFIA ROUTING
  45. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296037@cloud.masip.es Standard ROUTING
  46. 2023-06-28 07:10:16.078653 99.13% [INFO] mod_dialplan_xml.c:639 Processing 621296037 <621296037>->34632770025 in context default
  47. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  48. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  49. 2023-06-28 07:10:16.078653 99.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  50. Event-Name: REQUEST_PARAMS
  51. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  52. FreeSWITCH-Hostname: ip-10-0-2-92
  53. FreeSWITCH-Switchname: ip-10-0-2-92
  54. FreeSWITCH-IPv4: 10.0.2.92
  55. FreeSWITCH-IPv6: %3A%3A1
  56. Event-Date-Local: 2023-06-28%2007%3A10%3A16
  57. Event-Date-GMT: Wed,%2028%20Jun%202023%2007%3A10%3A16%20GMT
  58. Event-Date-Timestamp: 1687936216078653
  59. Event-Calling-File: mod_dialplan_xml.c
  60. Event-Calling-Function: dialplan_xml_locate
  61. Event-Calling-Line-Number: 610
  62. Event-Sequence: 568815
  63. Channel-State: CS_ROUTING
  64. Channel-Call-State: RINGING
  65. Channel-State-Number: 2
  66. Channel-Name: sofia/default/621296037%40cloud.masip.es
  67. Unique-ID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
  68. Call-Direction: inbound
  69. Presence-Call-Direction: inbound
  70. Channel-HIT-Dialplan: true
  71. Channel-Presence-ID: 621296037%40cloud.masip.es
  72. Channel-Call-UUID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
  73. Answer-State: ringing
  74. Channel-Read-Codec-Name: PCMA
  75. Channel-Read-Codec-Rate: 8000
  76. Channel-Read-Codec-Bit-Rate: 64000
  77. Channel-Write-Codec-Name: PCMA
  78. Channel-Write-Codec-Rate: 8000
  79. Channel-Write-Codec-Bit-Rate: 64000
  80. Caller-Direction: inbound
  81. Caller-Logical-Direction: inbound
  82. Caller-Username: 621296037
  83. Caller-Dialplan: XML
  84. Caller-Caller-ID-Name: 621296037
  85. Caller-Caller-ID-Number: 621296037
  86. Caller-Orig-Caller-ID-Name: 621296037
  87. Caller-Orig-Caller-ID-Number: 621296037
  88. Caller-Network-Addr: 34.252.123.120
  89. Caller-ANI: 621296037
  90. Caller-Destination-Number: 34632770025
  91. Caller-Unique-ID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
  92. Caller-Source: mod_sofia
  93. Caller-Context: default
  94. Caller-Channel-Name: sofia/default/621296037%40cloud.masip.es
  95. Caller-Profile-Index: 1
  96. Caller-Profile-Created-Time: 1687936216078653
  97. Caller-Channel-Created-Time: 1687936216078653
  98. Caller-Channel-Answered-Time: 0
  99. Caller-Channel-Progress-Time: 0
  100. Caller-Channel-Progress-Media-Time: 0
  101. Caller-Channel-Hangup-Time: 0
  102. Caller-Channel-Transfer-Time: 0
  103. Caller-Channel-Resurrect-Time: 0
  104. Caller-Channel-Bridged-Time: 0
  105. Caller-Channel-Last-Hold: 0
  106. Caller-Channel-Hold-Accum: 0
  107. Caller-Screen-Bit: false
  108. Caller-Privacy-Hide-Name: false
  109. Caller-Privacy-Hide-Number: false
  110. variable_direction: inbound
  111. variable_uuid: 47d58b5b-3caa-454c-92a4-bd86d4430da8
  112. variable_session_id: 9908
  113. variable_sip_from_user: 621296037
  114. variable_sip_from_uri: 621296037%40cloud.masip.es
  115. variable_sip_from_host: cloud.masip.es
  116. variable_video_media_flow: disabled
  117. variable_text_media_flow: disabled
  118. variable_channel_name: sofia/default/621296037%40cloud.masip.es
  119. variable_sip_call_id: 16ef075b010ae90d60fecca4741c8e70%40cloud.masip.es
  120. variable_sip_local_network_addr: 54.220.206.86
  121. variable_sip_network_ip: 34.252.123.120
  122. variable_sip_network_port: 5060
  123. variable_sip_invite_stamp: 1687936216078653
  124. variable_sip_received_ip: 34.252.123.120
  125. variable_sip_received_port: 5060
  126. variable_sip_via_protocol: udp
  127. variable_sip_authorized: true
  128. variable_sip_acl_authed_by: default
  129. variable_sip_from_user_stripped: 621296037
  130. variable_sip_from_tag: as16362b2b
  131. variable_sofia_profile_name: default
  132. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  133. variable_recovery_profile_name: default
  134. variable_sip_Remote-Party-ID: %22621296037%22%20%3Csip%3A621296037%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  135. variable_sip_cid_type: rpid
  136. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das16362b2b%3Bdid%3D0bb.ca891aa6%3E
  137. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das16362b2b%3Bdid%3D0bb.ca891aa6%3E
  138. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKf7a6.70c62884.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK18967e0c
  139. variable_sip_from_display: 621296037
  140. variable_sip_full_from: %22621296037%22%20%3Csip%3A621296037%40cloud.masip.es%3E%3Btag%3Das16362b2b
  141. variable_sip_full_to: %3Csip%3A34632770025%40cloud.masip.es%3E
  142. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
  143. variable_sip_req_user: 34632770025
  144. variable_sip_req_uri: 34632770025%40cloud.masip.es
  145. variable_sip_req_host: cloud.masip.es
  146. variable_sip_to_user: 34632770025
  147. variable_sip_to_uri: 34632770025%40cloud.masip.es
  148. variable_sip_to_host: cloud.masip.es
  149. variable_sip_contact_user: 621296037
  150. variable_sip_contact_port: 5060
  151. variable_sip_contact_uri: 621296037%4051.91.247.55%3A5060
  152. variable_sip_contact_host: 51.91.247.55
  153. variable_sip_user_agent: DialApplet
  154. variable_sip_via_host: 34.252.123.120
  155. variable_sip_via_port: 5060
  156. variable_max_forwards: 69
  157. variable_presence_id: 621296037%40cloud.masip.es
  158. variable_sip_date_epoch_time: 1687936216
  159. variable_sip_h_X-AUTH-IP: 51.91.247.55
  160. variable_sip_h_P-Accountcode: 437146
  161. variable_sip_h_P-effective_caller_id_name: %22621296037%22
  162. variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
  163. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201665780225%201665780225%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2011298%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  164. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  165. variable_rtp_use_codec_string: G729,PCMA,PCMU
  166. variable_remote_video_media_flow: inactive
  167. variable_remote_text_media_flow: inactive
  168. variable_remote_audio_media_flow: sendrecv
  169. variable_audio_media_flow: sendrecv
  170. variable_remote_media_ip: 51.91.247.55
  171. variable_remote_media_port: 11298
  172. variable_rtp_audio_recv_pt: 8
  173. variable_rtp_use_codec_name: PCMA
  174. variable_rtp_use_codec_rate: 8000
  175. variable_rtp_use_codec_ptime: 20
  176. variable_rtp_use_codec_channels: 1
  177. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  178. variable_read_codec: PCMA
  179. variable_original_read_codec: PCMA
  180. variable_read_rate: 8000
  181. variable_original_read_rate: 8000
  182. variable_write_codec: PCMA
  183. variable_write_rate: 8000
  184. variable_dtmf_type: rfc2833
  185. variable_endpoint_disposition: RECEIVED
  186. variable_call_uuid: 47d58b5b-3caa-454c-92a4-bd86d4430da8
  187. Hunt-Direction: inbound
  188. Hunt-Logical-Direction: inbound
  189. Hunt-Username: 621296037
  190. Hunt-Dialplan: XML
  191. Hunt-Caller-ID-Name: 621296037
  192. Hunt-Caller-ID-Number: 621296037
  193. Hunt-Orig-Caller-ID-Name: 621296037
  194. Hunt-Orig-Caller-ID-Number: 621296037
  195. Hunt-Network-Addr: 34.252.123.120
  196. Hunt-ANI: 621296037
  197. Hunt-Destination-Number: 34632770025
  198. Hunt-Unique-ID: 47d58b5b-3caa-454c-92a4-bd86d4430da8
  199. Hunt-Source: mod_sofia
  200. Hunt-Context: default
  201. Hunt-Channel-Name: sofia/default/621296037%40cloud.masip.es
  202. Hunt-Profile-Index: 1
  203. Hunt-Profile-Created-Time: 1687936216078653
  204. Hunt-Channel-Created-Time: 1687936216078653
  205. Hunt-Channel-Answered-Time: 0
  206. Hunt-Channel-Progress-Time: 0
  207. Hunt-Channel-Progress-Media-Time: 0
  208. Hunt-Channel-Hangup-Time: 0
  209. Hunt-Channel-Transfer-Time: 0
  210. Hunt-Channel-Resurrect-Time: 0
  211. Hunt-Channel-Bridged-Time: 0
  212. Hunt-Channel-Last-Hold: 0
  213. Hunt-Channel-Hold-Accum: 0
  214. Hunt-Screen-Bit: false
  215. Hunt-Privacy-Hide-Name: false
  216. Hunt-Privacy-Hide-Number: false
  217.  
  218.  
  219. 2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  220. 2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  221. 2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  222. 2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  223. 2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34632770025
  224. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34632770025' AND status=0 limit 1
  225. 2023-06-28 07:10:16.078653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "621296037" / <null>
  226. 2023-06-28 07:10:16.078653 99.13% [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 ="34632770025" LIMIT 1
  227. 2023-06-28 07:10:16.078653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34632770025" limit 1
  228. 2023-06-28 07:10:16.098653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  229. 2023-06-28 07:10:16.098653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
  230. 2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
  231. 2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34632770025.*' OR blocked_patterns = '^3463277002.*' OR blocked_patterns = '^346327700.*' OR blocked_patterns = '^34632770.*' OR blocked_patterns = '^3463277.*' OR blocked_patterns = '^346327.*' OR blocked_patterns = '^34632.*' OR blocked_patterns = '^3463.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
  232. 2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34632770025" AND (accountid = 0 OR status = 1) LIMIT 1
  233. 2023-06-28 07:10:16.098653 99.13% [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 = '^34632770025.*' OR patterns = '^3463277002.*' OR patterns = '^346327700.*' OR patterns = '^34632770.*' OR patterns = '^3463277.*' OR patterns = '^346327.*' OR patterns = '^34632.*' OR patterns = '^3463.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
  234. 2023-06-28 07:10:16.098653 99.13% [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 ="34632770025" AND A.accountid = '107' limit 1
  235. 2023-06-28 07:10:16.098653 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34632770025
  236. 2023-06-28 07:10:16.098653 99.13% [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 ="34632770025" LIMIT 1
  237. 2023-06-28 07:10:16.098653 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="34632770025" limit 1
  238. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  239. 2023-06-28 07:10:16.118652 99.13% [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 = '34632770025' OR number = '3463277002' OR number = '346327700' OR number = '34632770' OR number = '3463277' OR number = '346327' OR number = '34632' OR number = '3463' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34632770025*' OR number = '3463277002*' OR number = '346327700*' OR number = '34632770*' OR number = '3463277*' OR number = '346327*' OR number = '34632*' OR number = '3463*' OR number = '346*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '<null>' OR number = '<null' OR number = '<nul' OR number = '<nu' OR number = '<n' OR number = '<' OR number ='--') OR (number = '<null>*' OR number = '<null*' OR number = '<nul*' OR number = '<nu*' OR number = '<n*' OR number = '<*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  240. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  241. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34632770025' OR routing_prefix = '3463277002' OR routing_prefix = '346327700' OR routing_prefix = '34632770' OR routing_prefix = '3463277' OR routing_prefix = '346327' OR routing_prefix = '34632' OR routing_prefix = '3463' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  242. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  243. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
  244. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
  245. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.3484
  246. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  247. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
  248. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  249. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  250. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  251. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  252. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  253. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34632770025.*' OR pattern = '^3463277002.*' OR pattern = '^346327700.*' OR pattern = '^34632770.*' OR pattern = '^3463277.*' OR pattern = '^346327.*' OR pattern = '^34632.*' OR pattern = '^3463.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 11 OR accountid=107)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  254. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  255. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  256. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87795
  257. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  258. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  259. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00750
  260. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Mobile
  261. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  262. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
  263. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  264. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  265. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  266. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.3484 balance Accountid 107 !!!
  267. 2023-06-28 07:10:16.118652 99.13% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  268. 2023-06-28 07:10:16.118652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  269. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  270. 2023-06-28 07:10:16.118652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=11 ORDER by id asc
  271. 2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^34632770025.*' OR pattern = '^3463277002.*' OR pattern = '^346327700.*' OR pattern = '^34632770.*' OR pattern = '^3463277.*' OR pattern = '^346327.*' OR pattern = '^34632.*' OR pattern = '^3463.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3,4,3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,4,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  272. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  273. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  274. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  275. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  276. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  277. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  278. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  279. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  280. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  281. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  282. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  283. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  284. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  285. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  286. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  287. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  288. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  289. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  290. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
  291. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  292. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  293. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  294. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  295. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  296. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  297. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  298. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  299. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  300. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  301. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  302. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  303. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  304. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  305. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  306. 2023-06-28 07:10:16.138652 99.13% [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 = 107 AND status=0 LIMIT 1
  307. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  308. 2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  309. 2023-06-28 07:10:16.138652 99.13% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  310. 2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  311. 2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
  312. 2023-06-28 07:10:16.138652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
  313. 2023-06-28 07:10:16.158652 99.13% [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 ="34632770025" LIMIT 1
  314. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  315. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 37) AND status=0 limit 1
  316. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  317. 2023-06-28 07:10:16.158652 99.13% [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 ="34632770025" LIMIT 1
  318. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  319. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  320. <document type="freeswitch/xml">
  321. <section name="dialplan" description="ASTPP Dialplan">
  322. <context name="default">
  323. <extension name="34632770025">
  324. <condition field="destination_number" expression="34632770025">
  325. <action application="set" data="effective_destination_number=34632770025"/>
  326. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  327. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  328. <action application="set" data="callstart=2023-06-28 07:10:16"/>
  329. <action application="set" data="hangup_after_bridge=true"/>
  330. <action application="set" data="continue_on_fail=TRUE"/>
  331. <action application="set" data="account_id=107"/>
  332. <action application="set" data="parent_id=0"/>
  333. <action application="set" data="entity_id=0"/>
  334. <action application="set" data="call_processed=internal"/>
  335. <action application="set" data="call_direction=outbound"/>
  336. <action application="set" data="accountname=default"/>
  337. <action application="set" data="origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107"/>
  338. <action application="set" data="original_caller_id_name=621296037"/>
  339. <action application="limit" data="db 437146 user_437146 100 "/>
  340.  
  341. <action application="set" data="effective_caller_id_name="621296037""/>
  342. <action application="set" data="calltype=STANDARD"/>
  343. <action application="set" data="termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
  344. <action application="set" data="trunk_id=3"/>
  345. <action application="set" data="provider_id=9"/>
  346. <action application="set" data="rate_flag=2"/>
  347. <action application="set" data="force_trunk_flag=0"/>
  348. <action application="export" data="presence_data=trunk_id=3"/>
  349. <action application="set" data="intcall=0"/>
  350. <action application="export" data="presence_id=34632770025"/>
  351. <action application="export" data="presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55"/>
  352. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34632770025;fs_path=sip:34.252.123.120:5060"/>
  353. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34632770025;fs_path=sip:34.252.123.120:5060"/>
  354. <action application="set" data="effective_caller_id_name="621296037""/>
  355. <action application="set" data="calltype=STANDARD"/>
  356. <action application="set" data="termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
  357. <action application="set" data="trunk_id=4"/>
  358. <action application="set" data="provider_id=37"/>
  359. <action application="set" data="rate_flag=2"/>
  360. <action application="set" data="force_trunk_flag=0"/>
  361. <action application="export" data="presence_data=trunk_id=4"/>
  362. <action application="set" data="intcall=0"/>
  363. <action application="export" data="presence_id=34632770025"/>
  364. <action application="export" data="presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55"/>
  365. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34632770025;fs_path=sip:34.252.123.120:5060"/>
  366. </condition>
  367. </extension>
  368. </context>
  369. </section>
  370. </document>
  371. Dialplan: sofia/default/621296037@cloud.masip.es parsing [default->34632770025] continue=false
  372. Dialplan: sofia/default/621296037@cloud.masip.es Regex (PASS) [34632770025] destination_number(34632770025) =~ /34632770025/ break=on-false
  373. Dialplan: sofia/default/621296037@cloud.masip.es Action set(effective_destination_number=34632770025)
  374. Dialplan: sofia/default/621296037@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
  375. Dialplan: sofia/default/621296037@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  376. Dialplan: sofia/default/621296037@cloud.masip.es Action set(callstart=2023-06-28 07:10:16)
  377. Dialplan: sofia/default/621296037@cloud.masip.es Action set(hangup_after_bridge=true)
  378. Dialplan: sofia/default/621296037@cloud.masip.es Action set(continue_on_fail=TRUE)
  379. Dialplan: sofia/default/621296037@cloud.masip.es Action set(account_id=107)
  380. Dialplan: sofia/default/621296037@cloud.masip.es Action set(parent_id=0)
  381. Dialplan: sofia/default/621296037@cloud.masip.es Action set(entity_id=0)
  382. Dialplan: sofia/default/621296037@cloud.masip.es Action set(call_processed=internal)
  383. Dialplan: sofia/default/621296037@cloud.masip.es Action set(call_direction=outbound)
  384. Dialplan: sofia/default/621296037@cloud.masip.es Action set(accountname=default)
  385. Dialplan: sofia/default/621296037@cloud.masip.es Action set(origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
  386. Dialplan: sofia/default/621296037@cloud.masip.es Action set(original_caller_id_name=621296037)
  387. Dialplan: sofia/default/621296037@cloud.masip.es Action limit(db 437146 user_437146 100 )
  388. Dialplan: sofia/default/621296037@cloud.masip.es Action set(effective_caller_id_name=)
  389. Dialplan: sofia/default/621296037@cloud.masip.es Action set(calltype=STANDARD)
  390. Dialplan: sofia/default/621296037@cloud.masip.es Action set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  391. Dialplan: sofia/default/621296037@cloud.masip.es Action set(trunk_id=3)
  392. Dialplan: sofia/default/621296037@cloud.masip.es Action set(provider_id=9)
  393. Dialplan: sofia/default/621296037@cloud.masip.es Action set(rate_flag=2)
  394. Dialplan: sofia/default/621296037@cloud.masip.es Action set(force_trunk_flag=0)
  395. Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_data=trunk_id=3)
  396. Dialplan: sofia/default/621296037@cloud.masip.es Action set(intcall=0)
  397. Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_id=34632770025)
  398. Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55)
  399. Dialplan: sofia/default/621296037@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34632770025;fs_path=sip:34.252.123.120:5060)
  400. Dialplan: sofia/default/621296037@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34632770025;fs_path=sip:34.252.123.120:5060)
  401. Dialplan: sofia/default/621296037@cloud.masip.es Action set(effective_caller_id_name=)
  402. Dialplan: sofia/default/621296037@cloud.masip.es Action set(calltype=STANDARD)
  403. Dialplan: sofia/default/621296037@cloud.masip.es Action set(termination_rates=ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
  404. Dialplan: sofia/default/621296037@cloud.masip.es Action set(trunk_id=4)
  405. Dialplan: sofia/default/621296037@cloud.masip.es Action set(provider_id=37)
  406. Dialplan: sofia/default/621296037@cloud.masip.es Action set(rate_flag=2)
  407. Dialplan: sofia/default/621296037@cloud.masip.es Action set(force_trunk_flag=0)
  408. Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_data=trunk_id=4)
  409. Dialplan: sofia/default/621296037@cloud.masip.es Action set(intcall=0)
  410. Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_id=34632770025)
  411. Dialplan: sofia/default/621296037@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55)
  412. Dialplan: sofia/default/621296037@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34632770025;fs_path=sip:34.252.123.120:5060)
  413. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296037@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  414. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296037@cloud.masip.es) State ROUTING going to sleep
  415. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296037@cloud.masip.es) Running State Change CS_EXECUTE (Cur 27 Tot 9908)
  416. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296037@cloud.masip.es) State EXECUTE
  417. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_sofia.c:213 sofia/default/621296037@cloud.masip.es SOFIA EXECUTE
  418. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296037@cloud.masip.es Standard EXECUTE
  419. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(effective_destination_number=34632770025)
  420. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [effective_destination_number]=[34632770025]
  421. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
  422. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
  423. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  424. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  425. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(callstart=2023-06-28 07:10:16)
  426. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [callstart]=[2023-06-28 07:10:16]
  427. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(hangup_after_bridge=true)
  428. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [hangup_after_bridge]=[true]
  429. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(continue_on_fail=TRUE)
  430. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [continue_on_fail]=[TRUE]
  431. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(account_id=107)
  432. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [account_id]=[107]
  433. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(parent_id=0)
  434. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [parent_id]=[0]
  435. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(entity_id=0)
  436. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [entity_id]=[0]
  437. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(call_processed=internal)
  438. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [call_processed]=[internal]
  439. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(call_direction=outbound)
  440. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [call_direction]=[outbound]
  441. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(accountname=default)
  442. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [accountname]=[default]
  443. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(origination_rates=ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
  444. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [origination_rates]=[ID:87795|CODE:^346.*|DESTINATION:Spain Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00750|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107]
  445. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(original_caller_id_name=621296037)
  446. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [original_caller_id_name]=[621296037]
  447. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es limit(db 437146 user_437146 100 )
  448. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
  449. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 2/100
  450. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(effective_caller_id_name=)
  451. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [effective_caller_id_name]=[UNDEF]
  452. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(calltype=STANDARD)
  453. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [calltype]=[STANDARD]
  454. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(termination_rates=ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  455. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [termination_rates]=[ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
  456. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(trunk_id=3)
  457. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [trunk_id]=[3]
  458. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(provider_id=9)
  459. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [provider_id]=[9]
  460. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(rate_flag=2)
  461. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [rate_flag]=[2]
  462. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(force_trunk_flag=0)
  463. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [force_trunk_flag]=[0]
  464. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es export(presence_data=trunk_id=3)
  465. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  466. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es set(intcall=0)
  467. 2023-06-28 07:10:16.158652 99.13% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296037@cloud.masip.es [intcall]=[0]
  468. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es export(presence_id=34632770025)
  469. 2023-06-28 07:10:16.158652 99.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34632770025]
  470. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55)
  471. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55]
  472. EXECUTE [depth=0] sofia/default/621296037@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34632770025;fs_path=sip:34.252.123.120:5060)
  473. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1269 sofia/default/621296037@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
  474. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1269 sofia/default/621296037@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34632770025] to event
  475. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_channel.c:1269 sofia/default/621296037@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||51.91.247.55] to event
  476. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  477. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  478. 2023-06-28 07:10:16.178649 99.13% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34632770025 [7711335c-c44c-41f6-9142-14f2be4a359a]
  479. 2023-06-28 07:10:16.178649 99.13% [DEBUG] mod_sofia.c:5121 (sofia/default/34632770025) State Change CS_NEW -> CS_INIT
  480. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34632770025 Setting leg timeout to 30
  481. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34632770025) Running State Change CS_INIT (Cur 28 Tot 9909)
  482. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34632770025) State INIT
  483. 2023-06-28 07:10:16.178649 99.13% [DEBUG] mod_sofia.c:97 sofia/default/34632770025 SOFIA INIT
  484. 2023-06-28 07:10:16.178649 99.13% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34632770025
  485. 2023-06-28 07:10:16.178649 99.13% [INFO] sofia_glue.c:1651 sofia/default/34632770025 sending invite call-id: (null)
  486. 2023-06-28 07:10:16.178649 99.13% [DEBUG] sofia_glue.c:1654 sofia/default/34632770025 sending invite version: 1.10.7 -release 64bit
  487. Local SDP:
  488. v=0
  489. o=FreeSWITCH 1687907672 1687907673 IN IP4 54.220.206.86
  490. s=FreeSWITCH
  491. c=IN IP4 54.220.206.86
  492. t=0 0
  493. m=audio 28544 RTP/AVP 18 0 8 101
  494. a=rtpmap:18 G729/8000
  495. a=fmtp:18 annexb=no
  496. a=rtpmap:0 PCMU/8000
  497. a=rtpmap:8 PCMA/8000
  498. a=rtpmap:101 telephone-event/8000
  499. a=fmtp:101 0-15
  500. a=ptime:20
  501. a=sendrecv
  502.  
  503. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:40 sofia/default/34632770025 Standard INIT
  504. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34632770025) State Change CS_INIT -> CS_ROUTING
  505. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34632770025) State INIT going to sleep
  506. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34632770025) Running State Change CS_ROUTING (Cur 28 Tot 9909)
  507. 2023-06-28 07:10:16.178649 99.13% [DEBUG] sofia.c:7499 Channel sofia/default/34632770025 entering state [calling][0]
  508. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34632770025) State ROUTING
  509. 2023-06-28 07:10:16.178649 99.13% [DEBUG] mod_sofia.c:158 sofia/default/34632770025 SOFIA ROUTING
  510. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34632770025) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  511. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34632770025) State ROUTING going to sleep
  512. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34632770025) Running State Change CS_CONSUME_MEDIA (Cur 28 Tot 9909)
  513. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34632770025) State CONSUME_MEDIA
  514. 2023-06-28 07:10:16.178649 99.13% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34632770025) State CONSUME_MEDIA going to sleep
  515.