From Rafa cllaer id not- working, 1 Year ago, written in FreeSWITCH.
  1. span style="color: goldenrod; font-weight: bold;"> 2023-06-27 12:14:57.698652 99.03% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34636628167 Bridge execute app sched_hangup(+6000 normal_clearing)
  2. 2023-06-27 12:14:57.718653 99.03% [DEBUG] switch_ivr.c:632 sofia/default/34636628167 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  3. EXECUTE [depth=0] sofia/default/34636628167 sched_hangup(+6000 normal_clearing)
  4. 2023-06-27 12:14:57.718653 99.03% [DEBUG] switch_scheduler.c:263 Added task 3160 switch_ivr_schedule_hangup (93fcdc6b-78fd-44b3-82aa-82f8a33ac2fb) to run at 1687874097
  5. 2023-06-27 12:15:02.138651 98.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/919892479@cloud.masip.es [b47a6275-4b01-4552-a3ca-97cf714d6f8e]
  6. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_NEW (Cur 11 Tot 6703)
  7. 2023-06-27 12:15:02.138651 98.93% [INFO] sofia.c:10462 sofia/default/919892479@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 6c398952784f21ca0885914e3dcd8b6e@cloud.masip.es
  8. 2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  9. 2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  10. 2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [received][100]
  11. 2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:7509 Remote SDP:
  12. v=0
  13. o=root 2009377384 2009377384 IN IP4 18.100.96.199
  14. s=Asterisk PBX 13.32.0
  15. c=IN IP4 18.100.96.199
  16. t=0 0
  17. m=audio 18026 RTP/AVP 0 8 18 4 3 111 112 5 10 118 7 110 117 119 97 9 102 115 116 107 101
  18. a=rtpmap:0 PCMU/8000
  19. a=rtpmap:8 PCMA/8000
  20. a=rtpmap:18 G729/8000
  21. a=fmtp:18 annexb=no
  22. a=rtpmap:4 G723/8000
  23. a=fmtp:4 annexa=no
  24. a=rtpmap:3 GSM/8000
  25. a=rtpmap:111 G726-32/8000
  26. a=rtpmap:112 AAL2-G726-32/8000
  27. a=rtpmap:5 DVI4/8000
  28. a=rtpmap:10 L16/8000
  29. a=rtpmap:118 L16/16000
  30. a=rtpmap:7 LPC/8000
  31. a=rtpmap:110 speex/8000
  32. a=rtpmap:117 speex/16000
  33. a=rtpmap:119 speex/32000
  34. a=rtpmap:97 iLBC/8000
  35. a=rtpmap:9 G722/8000
  36. a=rtpmap:102 G7221/16000
  37. a=fmtp:102 bitrate=32000
  38. a=rtpmap:115 G7221/32000
  39. a=fmtp:115 bitrate=48000
  40. a=rtpmap:116 G719/48000
  41. a=fmtp:116 bitrate=64000
  42. a=rtpmap:107 opus/48000/2
  43. a=rtpmap:101 telephone-event/8000
  44. a=fmtp:101 0-16
  45. a=maxptime:20
  46. a=rtcp-mux
  47.  
  48. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  49. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  50. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  51. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  52. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  53. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  54. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  55. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  56. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  57. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  58. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  59. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  60. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G723:4:8000:30:6300:1]/[G729:18:8000:20:8000:1]
  61. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMA:8:8000:20:64000:1]
  62. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G723:4:8000:30:6300:1]/[PCMU:0:8000:20:64000:1]
  63. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  64. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  65. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  66. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:111:8000:20:0:1]/[G729:18:8000:20:8000:1]
  67. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  68. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  69. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[G729:18:8000:20:8000:1]
  70. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  71. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  72. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [DVI4:5:8000:20:0:1]/[G729:18:8000:20:8000:1]
  73. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  74. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  75. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:10:8000:20:0:1]/[G729:18:8000:20:8000:1]
  76. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:10:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  77. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:10:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  78. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:118:16000:20:0:1]/[G729:18:8000:20:8000:1]
  79. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:118:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  80. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [L16:118:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  81. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [LPC:7:8000:20:2400:1]/[G729:18:8000:20:8000:1]
  82. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [LPC:7:8000:20:2400:1]/[PCMA:8:8000:20:64000:1]
  83. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [LPC:7:8000:20:2400:1]/[PCMU:0:8000:20:64000:1]
  84. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  85. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  86. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  87. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:117:16000:20:0:1]/[G729:18:8000:20:8000:1]
  88. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:117:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  89. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:117:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  90. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:119:32000:20:0:1]/[G729:18:8000:20:8000:1]
  91. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:119:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
  92. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:119:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
  93. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:13330:1]/[G729:18:8000:20:8000:1]
  94. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:13330:1]/[PCMA:8:8000:20:64000:1]
  95. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:13330:1]/[PCMU:0:8000:20:64000:1]
  96. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  97. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  98. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  99. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:102:16000:20:0:1]/[G729:18:8000:20:8000:1]
  100. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:102:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  101. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:102:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  102. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:115:32000:20:0:1]/[G729:18:8000:20:8000:1]
  103. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:115:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
  104. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G7221:115:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
  105. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G719:116:48000:20:0:1]/[G729:18:8000:20:8000:1]
  106. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G719:116:48000:20:0:1]/[PCMA:8:8000:20:64000:1]
  107. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G719:116:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
  108. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:107:48000:20:0:2]/[G729:18:8000:20:8000:1]
  109. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:107:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  110. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:107:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  111. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  112. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/919892479@cloud.masip.es PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  113. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_codec.c:111 sofia/default/919892479@cloud.masip.es Original read codec set to PCMU:0
  114. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  115. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_media.c:5973 sofia/default/919892479@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  116. 2023-06-27 12:15:02.138651 98.93% [DEBUG] sofia.c:7933 (sofia/default/919892479@cloud.masip.es) State Change CS_NEW -> CS_INIT
  117. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:600 (sofia/default/919892479@cloud.masip.es) State NEW
  118. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_INIT (Cur 11 Tot 6703)
  119. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/919892479@cloud.masip.es) State INIT
  120. 2023-06-27 12:15:02.138651 98.93% [DEBUG] mod_sofia.c:97 sofia/default/919892479@cloud.masip.es SOFIA INIT
  121. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/919892479@cloud.masip.es Standard INIT
  122. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/919892479@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  123. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/919892479@cloud.masip.es) State INIT going to sleep
  124. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_ROUTING (Cur 11 Tot 6703)
  125. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_channel.c:2380 (sofia/default/919892479@cloud.masip.es) Callstate Change DOWN -> RINGING
  126. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/919892479@cloud.masip.es) State ROUTING
  127. 2023-06-27 12:15:02.138651 98.93% [DEBUG] mod_sofia.c:158 sofia/default/919892479@cloud.masip.es SOFIA ROUTING
  128. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_core_state_machine.c:230 sofia/default/919892479@cloud.masip.es Standard ROUTING
  129. 2023-06-27 12:15:02.138651 98.93% [INFO] mod_dialplan_xml.c:639 Processing 919892479 <919892479>->34653087880 in context default
  130. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  131. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  132. 2023-06-27 12:15:02.138651 98.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  133. Event-Name: REQUEST_PARAMS
  134. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  135. FreeSWITCH-Hostname: ip-10-0-2-92
  136. FreeSWITCH-Switchname: ip-10-0-2-92
  137. FreeSWITCH-IPv4: 10.0.2.92
  138. FreeSWITCH-IPv6: %3A%3A1
  139. Event-Date-Local: 2023-06-27%2012%3A15%3A02
  140. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A02%20GMT
  141. Event-Date-Timestamp: 1687868102138651
  142. Event-Calling-File: mod_dialplan_xml.c
  143. Event-Calling-Function: dialplan_xml_locate
  144. Event-Calling-Line-Number: 610
  145. Event-Sequence: 380789
  146. Channel-State: CS_ROUTING
  147. Channel-Call-State: RINGING
  148. Channel-State-Number: 2
  149. Channel-Name: sofia/default/919892479%40cloud.masip.es
  150. Unique-ID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
  151. Call-Direction: inbound
  152. Presence-Call-Direction: inbound
  153. Channel-HIT-Dialplan: true
  154. Channel-Presence-ID: 919892479%40cloud.masip.es
  155. Channel-Call-UUID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
  156. Answer-State: ringing
  157. Channel-Read-Codec-Name: PCMU
  158. Channel-Read-Codec-Rate: 8000
  159. Channel-Read-Codec-Bit-Rate: 64000
  160. Channel-Write-Codec-Name: PCMU
  161. Channel-Write-Codec-Rate: 8000
  162. Channel-Write-Codec-Bit-Rate: 64000
  163. Caller-Direction: inbound
  164. Caller-Logical-Direction: inbound
  165. Caller-Username: 919892479
  166. Caller-Dialplan: XML
  167. Caller-Caller-ID-Name: 919892479
  168. Caller-Caller-ID-Number: 919892479
  169. Caller-Orig-Caller-ID-Name: 919892479
  170. Caller-Orig-Caller-ID-Number: 919892479
  171. Caller-Network-Addr: 34.252.123.120
  172. Caller-ANI: 919892479
  173. Caller-Destination-Number: 34653087880
  174. Caller-Unique-ID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
  175. Caller-Source: mod_sofia
  176. Caller-Context: default
  177. Caller-Channel-Name: sofia/default/919892479%40cloud.masip.es
  178. Caller-Profile-Index: 1
  179. Caller-Profile-Created-Time: 1687868102138651
  180. Caller-Channel-Created-Time: 1687868102138651
  181. Caller-Channel-Answered-Time: 0
  182. Caller-Channel-Progress-Time: 0
  183. Caller-Channel-Progress-Media-Time: 0
  184. Caller-Channel-Hangup-Time: 0
  185. Caller-Channel-Transfer-Time: 0
  186. Caller-Channel-Resurrect-Time: 0
  187. Caller-Channel-Bridged-Time: 0
  188. Caller-Channel-Last-Hold: 0
  189. Caller-Channel-Hold-Accum: 0
  190. Caller-Screen-Bit: false
  191. Caller-Privacy-Hide-Name: false
  192. Caller-Privacy-Hide-Number: false
  193. variable_direction: inbound
  194. variable_uuid: b47a6275-4b01-4552-a3ca-97cf714d6f8e
  195. variable_session_id: 6703
  196. variable_sip_from_user: 919892479
  197. variable_sip_from_uri: 919892479%40cloud.masip.es
  198. variable_sip_from_host: cloud.masip.es
  199. variable_video_media_flow: disabled
  200. variable_text_media_flow: disabled
  201. variable_channel_name: sofia/default/919892479%40cloud.masip.es
  202. variable_sip_call_id: 6c398952784f21ca0885914e3dcd8b6e%40cloud.masip.es
  203. variable_sip_local_network_addr: 54.220.206.86
  204. variable_sip_network_ip: 34.252.123.120
  205. variable_sip_network_port: 5060
  206. variable_sip_invite_stamp: 1687868102138651
  207. variable_sip_received_ip: 34.252.123.120
  208. variable_sip_received_port: 5060
  209. variable_sip_via_protocol: udp
  210. variable_sip_authorized: true
  211. variable_sip_acl_authed_by: default
  212. variable_sip_from_user_stripped: 919892479
  213. variable_sip_from_tag: as20a38e90
  214. variable_sofia_profile_name: default
  215. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  216. variable_recovery_profile_name: default
  217. variable_sip_Remote-Party-ID: %22919892479%22%20%3Csip%3A919892479%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  218. variable_sip_cid_type: rpid
  219. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das20a38e90%3Bdid%3D22b.599a73c3%3E
  220. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das20a38e90%3Bdid%3D22b.599a73c3%3E
  221. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK2f9b.034296e6.0,SIP/2.0/UDP%2018.100.96.199%3A5060%3Bbranch%3Dz9hG4bK6d6e3ba2
  222. variable_sip_full_from: %3Csip%3A919892479%40cloud.masip.es%3E%3Btag%3Das20a38e90
  223. variable_sip_full_to: %3Csip%3A34653087880%40cloud.masip.es%3A5060%3E
  224. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  225. variable_sip_req_user: 34653087880
  226. variable_sip_req_port: 5060
  227. variable_sip_req_uri: 34653087880%40cloud.masip.es%3A5060
  228. variable_sip_req_host: cloud.masip.es
  229. variable_sip_to_user: 34653087880
  230. variable_sip_to_port: 5060
  231. variable_sip_to_uri: 34653087880%40cloud.masip.es%3A5060
  232. variable_sip_to_host: cloud.masip.es
  233. variable_sip_contact_user: 919892479
  234. variable_sip_contact_port: 5060
  235. variable_sip_contact_uri: 919892479%4018.100.96.199%3A5060
  236. variable_sip_contact_host: 18.100.96.199
  237. variable_sip_user_agent: Leontel%20PBX
  238. variable_sip_via_host: 34.252.123.120
  239. variable_sip_via_port: 5060
  240. variable_max_forwards: 69
  241. variable_presence_id: 919892479%40cloud.masip.es
  242. variable_sip_date_epoch_time: 1687868102
  243. variable_sip_h_X-AUTH-IP: 18.100.96.199
  244. variable_sip_h_P-Accountcode: 670663
  245. variable_sip_h_P-effective_caller_id_name: %3Cnull%3E
  246. variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
  247. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202009377384%202009377384%20IN%20IP4%2018.100.96.199%0D%0As%3DAsterisk%20PBX%2013.32.0%0D%0Ac%3DIN%20IP4%2018.100.96.199%0D%0At%3D0%200%0D%0Am%3Daudio%2018026%20RTP/AVP%200%208%2018%204%203%20111%20112%205%2010%20118%207%20110%20117%20119%2097%209%20102%20115%20116%20107%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Dfmtp%3A4%20annexa%3Dno%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A111%20G726-32/8000%0D%0Aa%3Drtpmap%3A112%20AAL2-G726-32/8000%0D%0Aa%3Drtpmap%3A5%20DVI4/8000%0D%0Aa%3Drtpmap%3A10%20L16/8000%0D%0Aa%3Drtpmap%3A118%20L16/16000%0D%0Aa%3Drtpmap%3A7%20LPC/8000%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A117%20speex/16000%0D%0Aa%3Drtpmap%3A119%20speex/32000%0D%0Aa%3Drtpmap%3A97%20iLBC/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A102%20G7221/16000%0D%0Aa%3Dfmtp%3A102%20bitrate%3D32000%0D%0Aa%3Drtpmap%3A115%20G7221/32000%0D%0Aa%3Dfmtp%3A115%20bitrate%3D48000%0D%0Aa%3Drtpmap%3A116%20G719/48000%0D%0Aa%3Dfmtp%3A116%20bitrate%3D64000%0D%0Aa%3Drtpmap%3A107%20opus/48000/2%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dmaxptime%3A20%0D%0Aa%3Drtcp-mux%0D%0A
  248. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  249. variable_rtp_use_codec_string: G729,PCMA,PCMU
  250. variable_remote_video_media_flow: inactive
  251. variable_remote_text_media_flow: inactive
  252. variable_remote_audio_media_flow: sendrecv
  253. variable_audio_media_flow: sendrecv
  254. variable_remote_media_ip: 18.100.96.199
  255. variable_remote_media_port: 18026
  256. variable_rtp_audio_recv_pt: 0
  257. variable_rtp_use_codec_name: PCMU
  258. variable_rtp_use_codec_rate: 8000
  259. variable_rtp_use_codec_ptime: 20
  260. variable_rtp_use_codec_channels: 1
  261. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  262. variable_read_codec: PCMU
  263. variable_original_read_codec: PCMU
  264. variable_read_rate: 8000
  265. variable_original_read_rate: 8000
  266. variable_write_codec: PCMU
  267. variable_write_rate: 8000
  268. variable_dtmf_type: rfc2833
  269. variable_endpoint_disposition: RECEIVED
  270. variable_call_uuid: b47a6275-4b01-4552-a3ca-97cf714d6f8e
  271. Hunt-Direction: inbound
  272. Hunt-Logical-Direction: inbound
  273. Hunt-Username: 919892479
  274. Hunt-Dialplan: XML
  275. Hunt-Caller-ID-Name: 919892479
  276. Hunt-Caller-ID-Number: 919892479
  277. Hunt-Orig-Caller-ID-Name: 919892479
  278. Hunt-Orig-Caller-ID-Number: 919892479
  279. Hunt-Network-Addr: 34.252.123.120
  280. Hunt-ANI: 919892479
  281. Hunt-Destination-Number: 34653087880
  282. Hunt-Unique-ID: b47a6275-4b01-4552-a3ca-97cf714d6f8e
  283. Hunt-Source: mod_sofia
  284. Hunt-Context: default
  285. Hunt-Channel-Name: sofia/default/919892479%40cloud.masip.es
  286. Hunt-Profile-Index: 1
  287. Hunt-Profile-Created-Time: 1687868102138651
  288. Hunt-Channel-Created-Time: 1687868102138651
  289. Hunt-Channel-Answered-Time: 0
  290. Hunt-Channel-Progress-Time: 0
  291. Hunt-Channel-Progress-Media-Time: 0
  292. Hunt-Channel-Hangup-Time: 0
  293. Hunt-Channel-Transfer-Time: 0
  294. Hunt-Channel-Resurrect-Time: 0
  295. Hunt-Channel-Bridged-Time: 0
  296. Hunt-Channel-Last-Hold: 0
  297. Hunt-Channel-Hold-Accum: 0
  298. Hunt-Screen-Bit: false
  299. Hunt-Privacy-Hide-Name: false
  300. Hunt-Privacy-Hide-Number: false
  301.  
  302.  
  303. 2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  304. 2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  305. 2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  306. 2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  307. 2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34653087880
  308. 2023-06-27 12:15:02.138651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34653087880' AND status=0 limit 1
  309. 2023-06-27 12:15:02.138651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / <null>
  310. 2023-06-27 12:15:02.138651 98.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 ="34653087880" LIMIT 1
  311. 2023-06-27 12:15:02.138651 98.93% [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="34653087880" limit 1
  312. 2023-06-27 12:15:02.158648 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  313. 2023-06-27 12:15:02.158648 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 670663]
  314. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "670663" AND deleted = 0 limit 1
  315. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34653087880.*' OR blocked_patterns = '^3465308788.*' OR blocked_patterns = '^346530878.*' OR blocked_patterns = '^34653087.*' OR blocked_patterns = '^3465308.*' OR blocked_patterns = '^346530.*' OR blocked_patterns = '^34653.*' OR blocked_patterns = '^3465.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 109 limit 1
  316. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34653087880" AND (accountid = 0 OR status = 1) LIMIT 1
  317. 2023-06-27 12:15:02.158648 98.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 2
  318. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
  319. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
  320. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
  321. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
  322. 2023-06-27 12:15:02.158648 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"6/346,7/347,8/348,9/349".....34653087880
  323. 2023-06-27 12:15:02.158648 98.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 = '^34653087880.*' OR patterns = '^3465308788.*' OR patterns = '^346530878.*' OR patterns = '^34653087.*' OR patterns = '^3465308.*' OR patterns = '^346530.*' OR patterns = '^34653.*' OR patterns = '^3465.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 109 ORDER BY LENGTH(PKGPTR.patterns) DESC
  324. 2023-06-27 12:15:02.158648 98.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 ="34653087880" AND A.accountid = '109' limit 1
  325. 2023-06-27 12:15:02.158648 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34653087880
  326. 2023-06-27 12:15:02.158648 98.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 ="34653087880" LIMIT 1
  327. 2023-06-27 12:15:02.178651 98.93% [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="34653087880" limit 1
  328. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  329. 2023-06-27 12:15:02.178651 98.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 = '34653087880' OR number = '3465308788' OR number = '346530878' OR number = '34653087' OR number = '3465308' OR number = '346530' OR number = '34653' OR number = '3465' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34653087880*' OR number = '3465308788*' OR number = '346530878*' OR number = '34653087*' OR number = '3465308*' OR number = '346530*' OR number = '34653*' OR number = '3465*' 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
  330. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  331. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34653087880' OR routing_prefix = '3465308788' OR routing_prefix = '346530878' OR routing_prefix = '34653087' OR routing_prefix = '3465308' OR routing_prefix = '346530' OR routing_prefix = '34653' OR routing_prefix = '3465' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  332. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  333. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 109
  334. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 670663
  335. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 45.9371
  336. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  337. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  338. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  339. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  340. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  341. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  342. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  343. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34653087880.*' OR pattern = '^3465308788.*' OR pattern = '^346530878.*' OR pattern = '^34653087.*' OR pattern = '^3465308.*' OR pattern = '^346530.*' OR pattern = '^34653.*' OR pattern = '^3465.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=109)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  344. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  345. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  346. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 54889
  347. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  348. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  349. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.04000
  350. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SPAIN
  351. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  352. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 109
  353. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  354. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  355. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  356. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your45.9371 balance Accountid 109 !!!
  357. 2023-06-27 12:15:02.178651 98.93% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  358. 2023-06-27 12:15:02.178651 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  359. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  360. 2023-06-27 12:15:02.178651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  361. 2023-06-27 12:15:02.198657 98.93% [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 = '^34653087880.*' OR pattern = '^3465308788.*' OR pattern = '^346530878.*' OR pattern = '^34653087.*' OR pattern = '^3465308.*' OR pattern = '^346530.*' OR pattern = '^34653.*' OR pattern = '^3465.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3,3,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,3,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  362. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  363. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  364. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  365. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  366. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  367. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  368. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  369. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  370. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  371. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  372. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  373. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  374. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  375. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  376. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  377. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  378. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  379. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  380. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
  381. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  382. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  383. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  384. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  385. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  386. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  387. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  388. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  389. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  390. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  391. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  392. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  393. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  394. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  395. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  396. 2023-06-27 12:15:02.198657 98.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 = 109 AND status=0 LIMIT 1
  397. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  398. 2023-06-27 12:15:02.198657 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  399. 2023-06-27 12:15:02.198657 98.93% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  400. 2023-06-27 12:15:02.198657 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  401. 2023-06-27 12:15:02.198657 98.93% [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
  402. 2023-06-27 12:15:02.198657 98.93% [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
  403. 2023-06-27 12:15:02.198657 98.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 ="34653087880" LIMIT 1
  404. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  405. 2023-06-27 12:15:02.218651 98.93% [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
  406. 2023-06-27 12:15:02.218651 98.93% [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
  407. 2023-06-27 12:15:02.218651 98.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 ="34653087880" LIMIT 1
  408. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  409. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  410. <document type="freeswitch/xml">
  411. <section name="dialplan" description="ASTPP Dialplan">
  412. <context name="default">
  413. <extension name="34653087880">
  414. <condition field="destination_number" expression="34653087880">
  415. <action application="set" data="effective_destination_number=34653087880"/>
  416. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  417. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  418. <action application="set" data="callstart=2023-06-27 12:15:02"/>
  419. <action application="set" data="hangup_after_bridge=true"/>
  420. <action application="set" data="continue_on_fail=TRUE"/>
  421. <action application="set" data="account_id=109"/>
  422. <action application="set" data="parent_id=0"/>
  423. <action application="set" data="entity_id=0"/>
  424. <action application="set" data="call_processed=internal"/>
  425. <action application="set" data="call_direction=outbound"/>
  426. <action application="set" data="accountname=default"/>
  427. <action application="set" data="origination_rates=ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109"/>
  428. <action application="limit" data="db 670663 user_670663 50 "/>
  429.  
  430. <action application="set" data="calltype=STANDARD"/>
  431. <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"/>
  432. <action application="set" data="trunk_id=3"/>
  433. <action application="set" data="provider_id=9"/>
  434. <action application="set" data="rate_flag=2"/>
  435. <action application="set" data="force_trunk_flag=0"/>
  436. <action application="export" data="presence_data=trunk_id=3"/>
  437. <action application="set" data="intcall=0"/>
  438. <action application="export" data="presence_id=34653087880"/>
  439. <action application="export" data="presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199"/>
  440. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34653087880;fs_path=sip:34.252.123.120:5060"/>
  441. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34653087880;fs_path=sip:34.252.123.120:5060"/>
  442. <action application="set" data="calltype=STANDARD"/>
  443. <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"/>
  444. <action application="set" data="trunk_id=4"/>
  445. <action application="set" data="provider_id=37"/>
  446. <action application="set" data="rate_flag=2"/>
  447. <action application="set" data="force_trunk_flag=0"/>
  448. <action application="export" data="presence_data=trunk_id=4"/>
  449. <action application="set" data="intcall=0"/>
  450. <action application="export" data="presence_id=34653087880"/>
  451. <action application="export" data="presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||18.100.96.199"/>
  452. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34653087880;fs_path=sip:34.252.123.120:5060"/>
  453. </condition>
  454. </extension>
  455. </context>
  456. </section>
  457. </document>
  458. Dialplan: sofia/default/919892479@cloud.masip.es parsing [default->34653087880] continue=false
  459. Dialplan: sofia/default/919892479@cloud.masip.es Regex (PASS) [34653087880] destination_number(34653087880) =~ /34653087880/ break=on-false
  460. Dialplan: sofia/default/919892479@cloud.masip.es Action set(effective_destination_number=34653087880)
  461. Dialplan: sofia/default/919892479@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
  462. Dialplan: sofia/default/919892479@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  463. Dialplan: sofia/default/919892479@cloud.masip.es Action set(callstart=2023-06-27 12:15:02)
  464. Dialplan: sofia/default/919892479@cloud.masip.es Action set(hangup_after_bridge=true)
  465. Dialplan: sofia/default/919892479@cloud.masip.es Action set(continue_on_fail=TRUE)
  466. Dialplan: sofia/default/919892479@cloud.masip.es Action set(account_id=109)
  467. Dialplan: sofia/default/919892479@cloud.masip.es Action set(parent_id=0)
  468. Dialplan: sofia/default/919892479@cloud.masip.es Action set(entity_id=0)
  469. Dialplan: sofia/default/919892479@cloud.masip.es Action set(call_processed=internal)
  470. Dialplan: sofia/default/919892479@cloud.masip.es Action set(call_direction=outbound)
  471. Dialplan: sofia/default/919892479@cloud.masip.es Action set(accountname=default)
  472. Dialplan: sofia/default/919892479@cloud.masip.es Action set(origination_rates=ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109)
  473. Dialplan: sofia/default/919892479@cloud.masip.es Action limit(db 670663 user_670663 50 )
  474. Dialplan: sofia/default/919892479@cloud.masip.es Action set(calltype=STANDARD)
  475. Dialplan: sofia/default/919892479@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)
  476. Dialplan: sofia/default/919892479@cloud.masip.es Action set(trunk_id=3)
  477. Dialplan: sofia/default/919892479@cloud.masip.es Action set(provider_id=9)
  478. Dialplan: sofia/default/919892479@cloud.masip.es Action set(rate_flag=2)
  479. Dialplan: sofia/default/919892479@cloud.masip.es Action set(force_trunk_flag=0)
  480. Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=trunk_id=3)
  481. Dialplan: sofia/default/919892479@cloud.masip.es Action set(intcall=0)
  482. Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_id=34653087880)
  483. Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199)
  484. Dialplan: sofia/default/919892479@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34653087880;fs_path=sip:34.252.123.120:5060)
  485. Dialplan: sofia/default/919892479@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34653087880;fs_path=sip:34.252.123.120:5060)
  486. Dialplan: sofia/default/919892479@cloud.masip.es Action set(calltype=STANDARD)
  487. Dialplan: sofia/default/919892479@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)
  488. Dialplan: sofia/default/919892479@cloud.masip.es Action set(trunk_id=4)
  489. Dialplan: sofia/default/919892479@cloud.masip.es Action set(provider_id=37)
  490. Dialplan: sofia/default/919892479@cloud.masip.es Action set(rate_flag=2)
  491. Dialplan: sofia/default/919892479@cloud.masip.es Action set(force_trunk_flag=0)
  492. Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=trunk_id=4)
  493. Dialplan: sofia/default/919892479@cloud.masip.es Action set(intcall=0)
  494. Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_id=34653087880)
  495. Dialplan: sofia/default/919892479@cloud.masip.es Action export(presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||18.100.96.199)
  496. Dialplan: sofia/default/919892479@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34653087880;fs_path=sip:34.252.123.120:5060)
  497. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:281 (sofia/default/919892479@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  498. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/919892479@cloud.masip.es) State ROUTING going to sleep
  499. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_EXECUTE (Cur 11 Tot 6703)
  500. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:647 (sofia/default/919892479@cloud.masip.es) State EXECUTE
  501. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:213 sofia/default/919892479@cloud.masip.es SOFIA EXECUTE
  502. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:323 sofia/default/919892479@cloud.masip.es Standard EXECUTE
  503. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(effective_destination_number=34653087880)
  504. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [effective_destination_number]=[34653087880]
  505. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
  506. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
  507. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  508. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  509. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(callstart=2023-06-27 12:15:02)
  510. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [callstart]=[2023-06-27 12:15:02]
  511. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(hangup_after_bridge=true)
  512. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [hangup_after_bridge]=[true]
  513. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(continue_on_fail=TRUE)
  514. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [continue_on_fail]=[TRUE]
  515. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(account_id=109)
  516. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [account_id]=[109]
  517. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(parent_id=0)
  518. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [parent_id]=[0]
  519. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(entity_id=0)
  520. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [entity_id]=[0]
  521. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(call_processed=internal)
  522. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [call_processed]=[internal]
  523. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(call_direction=outbound)
  524. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [call_direction]=[outbound]
  525. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(accountname=default)
  526. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [accountname]=[default]
  527. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(origination_rates=ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109)
  528. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [origination_rates]=[ID:54889|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:1|INITIALBLOCK:1|RATEGROUP:4|MARKUP:0|CI:0|ACCID:109]
  529. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es limit(db 670663 user_670663 50 )
  530. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_limit.c:124 incr called: 670663_user_670663 max:50, interval:0
  531. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_db.c:194 Usage for 670663_user_670663 is now 1/50
  532. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(calltype=STANDARD)
  533. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [calltype]=[STANDARD]
  534. EXECUTE [depth=0] sofia/default/919892479@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)
  535. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@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]
  536. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(trunk_id=3)
  537. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [trunk_id]=[3]
  538. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(provider_id=9)
  539. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [provider_id]=[9]
  540. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(rate_flag=2)
  541. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [rate_flag]=[2]
  542. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(force_trunk_flag=0)
  543. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [force_trunk_flag]=[0]
  544. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es export(presence_data=trunk_id=3)
  545. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  546. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es set(intcall=0)
  547. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/919892479@cloud.masip.es [intcall]=[0]
  548. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es export(presence_id=34653087880)
  549. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34653087880]
  550. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es export(presence_data=x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199)
  551. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199]
  552. EXECUTE [depth=0] sofia/default/919892479@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34653087880;fs_path=sip:34.252.123.120:5060)
  553. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1269 sofia/default/919892479@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199] to event
  554. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1269 sofia/default/919892479@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34653087880] to event
  555. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_channel.c:1269 sofia/default/919892479@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||New Horizon Media Agency SL(670663)|||^346.* // SPAIN // 0.04000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||18.100.96.199] to event
  556. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  557. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  558. 2023-06-27 12:15:02.218651 98.93% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34653087880 [e6a31c97-64b0-4301-91f8-91fb079f4dd6]
  559. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:5121 (sofia/default/34653087880) State Change CS_NEW -> CS_INIT
  560. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34653087880 Setting leg timeout to 30
  561. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_INIT (Cur 12 Tot 6704)
  562. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34653087880) State INIT
  563. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:97 sofia/default/34653087880 SOFIA INIT
  564. 2023-06-27 12:15:02.218651 98.93% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34653087880
  565. 2023-06-27 12:15:02.218651 98.93% [INFO] sofia_glue.c:1651 sofia/default/34653087880 sending invite call-id: (null)
  566. 2023-06-27 12:15:02.218651 98.93% [DEBUG] sofia_glue.c:1654 sofia/default/34653087880 sending invite version: 1.10.7 -release 64bit
  567. Local SDP:
  568. v=0
  569. o=FreeSWITCH 1687845296 1687845297 IN IP4 54.220.206.86
  570. s=FreeSWITCH
  571. c=IN IP4 54.220.206.86
  572. t=0 0
  573. m=audio 22806 RTP/AVP 18 0 8 101
  574. a=rtpmap:18 G729/8000
  575. a=fmtp:18 annexb=no
  576. a=rtpmap:0 PCMU/8000
  577. a=rtpmap:8 PCMA/8000
  578. a=rtpmap:101 telephone-event/8000
  579. a=fmtp:101 0-15
  580. a=ptime:20
  581. a=sendrecv
  582.  
  583. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:40 sofia/default/34653087880 Standard INIT
  584. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34653087880) State Change CS_INIT -> CS_ROUTING
  585. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34653087880) State INIT going to sleep
  586. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_ROUTING (Cur 12 Tot 6704)
  587. 2023-06-27 12:15:02.218651 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [calling][0]
  588. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34653087880) State ROUTING
  589. 2023-06-27 12:15:02.218651 98.93% [DEBUG] mod_sofia.c:158 sofia/default/34653087880 SOFIA ROUTING
  590. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34653087880) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  591. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34653087880) State ROUTING going to sleep
  592. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6704)
  593. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34653087880) State CONSUME_MEDIA
  594. 2023-06-27 12:15:02.218651 98.93% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34653087880) State CONSUME_MEDIA going to sleep
  595. 2023-06-27 12:15:02.578650 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][183]
  596. 2023-06-27 12:15:02.578650 98.93% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34653087880!
  597. 2023-06-27 12:15:02.578650 98.93% [DEBUG] switch_channel.c:3494 (sofia/default/34653087880) Callstate Change DOWN -> RINGING
  598. 2023-06-27 12:15:02.578650 98.93% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/919892479@cloud.masip.es!
  599. 2023-06-27 12:15:02.578650 98.93% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [early][180]
  600. 2023-06-27 12:15:02.578650 98.93% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/919892479@cloud.masip.es!
  601. 2023-06-27 12:15:03.738650 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][183]
  602. 2023-06-27 12:15:03.738650 98.87% [DEBUG] sofia.c:7509 Remote SDP:
  603. v=0
  604. o=Sonus_UAC 864233 801591 IN IP4 54.170.60.120
  605. s=SIP Media Capabilities
  606. c=IN IP4 54.170.60.120
  607. t=0 0
  608. m=audio 32180 RTP/AVP 8 101
  609. a=rtpmap:8 PCMA/8000
  610. a=rtpmap:101 telephone-event/8000
  611. a=fmtp:101 0-15
  612. a=ptime:20
  613.  
  614. 2023-06-27 12:15:03.738650 98.87% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34653087880!
  615. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_channel.c:3622 (sofia/default/34653087880) Callstate Change RINGING -> EARLY
  616. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  617. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  618. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  619. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  620. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  621. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34653087880 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  622. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_codec.c:111 sofia/default/34653087880 Original read codec set to PCMA:8
  623. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  624. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:5973 sofia/default/34653087880 Set 2833 dtmf send payload to 101 recv payload to 101
  625. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34653087880] 10.0.2.92 port 22806 -> 54.170.60.120 port 32180 codec: 8 ms: 20
  626. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  627. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:9089 sofia/default/34653087880 Set 2833 dtmf send payload to 101
  628. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:9096 sofia/default/34653087880 Set 2833 dtmf receive payload to 101
  629. 2023-06-27 12:15:03.738650 98.87% [DEBUG] switch_core_media.c:9119 sofia/default/34653087880 Set rtp dtmf delay to 40
  630. 2023-06-27 12:15:03.758650 98.87% [INFO] switch_ivr_originate.c:3841 Sending early media
  631. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/919892479@cloud.masip.es] 10.0.2.92 port 19000 -> 18.100.96.199 port 18026 codec: 0 ms: 20
  632. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  633. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 18026
  634. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 18026
  635. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:9089 sofia/default/919892479@cloud.masip.es Set 2833 dtmf send payload to 101
  636. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:9096 sofia/default/919892479@cloud.masip.es Set 2833 dtmf receive payload to 101
  637. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_media.c:9119 sofia/default/919892479@cloud.masip.es Set rtp dtmf delay to 40
  638. 2023-06-27 12:15:03.758650 98.87% [DEBUG] mod_sofia.c:2610 Ring SDP:
  639. v=0
  640. o=FreeSWITCH 1687849103 1687849104 IN IP4 54.220.206.86
  641. s=FreeSWITCH
  642. c=IN IP4 54.220.206.86
  643. t=0 0
  644. m=audio 19000 RTP/AVP 0 101
  645. a=rtpmap:0 PCMU/8000
  646. a=rtpmap:101 telephone-event/8000
  647. a=fmtp:101 0-15
  648. a=ptime:20
  649. a=sendrecv
  650. a=rtcp-mux
  651. a=rtcp:19000 IN IP4 54.220.206.86
  652.  
  653. 2023-06-27 12:15:03.758650 98.87% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/919892479@cloud.masip.es!
  654. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_channel.c:3622 (sofia/default/919892479@cloud.masip.es) Callstate Change RINGING -> EARLY
  655. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34653087880] Peer UUID: e6a31c97-64b0-4301-91f8-91fb079f4dd6
  656. 2023-06-27 12:15:03.758650 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [early][183]
  657. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34653087880) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  658. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6704)
  659. 2023-06-27 12:15:03.758650 98.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34653087880) State EXCHANGE_MEDIA
  660. 2023-06-27 12:15:03.758650 98.87% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  661. 2023-06-27 12:15:03.938650 98.87% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34653087880 Bridge execute app sched_hangup(+6000 normal_clearing)
  662. 2023-06-27 12:15:03.958650 98.87% [DEBUG] switch_ivr.c:632 sofia/default/34653087880 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  663. EXECUTE [depth=0] sofia/default/34653087880 sched_hangup(+6000 normal_clearing)
  664. 2023-06-27 12:15:03.958650 98.87% [DEBUG] switch_scheduler.c:263 Added task 3161 switch_ivr_schedule_hangup (e6a31c97-64b0-4301-91f8-91fb079f4dd6) to run at 1687874103
  665. 2023-06-27 12:15:04.058650 98.87% [NOTICE] sofia.c:1065 Hangup sofia/default/737989@cloud.masip.es [CS_EXECUTE] [NORMAL_CLEARING]
  666. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/737989@cloud.masip.es]
  667. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:820 sofia/default/737989@cloud.masip.es ending bridge by request from write function
  668. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34610702571]
  669. 2023-06-27 12:15:04.058650 98.87% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/34610702571 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  670. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34610702571) State EXCHANGE_MEDIA going to sleep
  671. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34610702571) Running State Change CS_HANGUP (Cur 12 Tot 6704)
  672. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34610702571) Callstate Change ACTIVE -> HANGUP
  673. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34610702571) State HANGUP
  674. 2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:462 sofia/default/34610702571 Overriding SIP cause 480 with 200 from the other leg
  675. 2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/34610702571 hanging up, cause: NORMAL_CLEARING
  676. 2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/34610702571
  677. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/34610702571 Standard HANGUP, cause: NORMAL_CLEARING
  678. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34610702571) State HANGUP going to sleep
  679. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34610702571) State Change CS_HANGUP -> CS_REPORTING
  680. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34610702571) Running State Change CS_REPORTING (Cur 12 Tot 6704)
  681. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34610702571) State REPORTING
  682. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/34610702571 skip receive message [UNBRIDGE] (channel is hungup already)
  683. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/737989@cloud.masip.es skip receive message [UNBRIDGE] (channel is hungup already)
  684. 2023-06-27 12:15:04.058650 98.87% [INFO] mod_json_cdr.c:271 Process [c80081c4-f5e6-4fd0-b862-96d8cce47aee.cdr.json]
  685. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_session.c:2983 sofia/default/737989@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
  686. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/737989@cloud.masip.es) State EXECUTE going to sleep
  687. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/737989@cloud.masip.es) Running State Change CS_HANGUP (Cur 12 Tot 6704)
  688. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/737989@cloud.masip.es) Callstate Change ACTIVE -> HANGUP
  689. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/737989@cloud.masip.es) State HANGUP
  690. 2023-06-27 12:15:04.058650 98.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/737989@cloud.masip.es hanging up, cause: NORMAL_CLEARING
  691. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/737989@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
  692. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/737989@cloud.masip.es) State HANGUP going to sleep
  693. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/737989@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
  694. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/737989@cloud.masip.es) Running State Change CS_REPORTING (Cur 12 Tot 6704)
  695. 2023-06-27 12:15:04.058650 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/737989@cloud.masip.es) State REPORTING
  696. 2023-06-27 12:15:04.058650 98.87% [INFO] mod_json_cdr.c:271 Process [da9c136b-0378-474c-8ff0-89d4922dd590.cdr.json]
  697. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/34610702571 Standard REPORTING, cause: NORMAL_CLEARING
  698. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34610702571) State REPORTING going to sleep
  699. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34610702571) State Change CS_REPORTING -> CS_DESTROY
  700. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_session.c:1753 Session 6633 (sofia/default/34610702571) Locked, Waiting on external entities
  701. 2023-06-27 12:15:04.078651 98.87% [NOTICE] switch_core_session.c:1771 Session 6633 (sofia/default/34610702571) Ended
  702. 2023-06-27 12:15:04.078651 98.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34610702571 [CS_DESTROY]
  703. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34610702571) Running State Change CS_DESTROY (Cur 11 Tot 6704)
  704. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34610702571) State DESTROY
  705. 2023-06-27 12:15:04.078651 98.87% [DEBUG] mod_sofia.c:379 sofia/default/34610702571 SOFIA DESTROY
  706. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/34610702571 Standard DESTROY
  707. 2023-06-27 12:15:04.078651 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34610702571) State DESTROY going to sleep
  708. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/737989@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
  709. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/737989@cloud.masip.es) State REPORTING going to sleep
  710. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/737989@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
  711. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_session.c:1753 Session 6632 (sofia/default/737989@cloud.masip.es) Locked, Waiting on external entities
  712. 2023-06-27 12:15:04.098650 98.87% [NOTICE] switch_core_session.c:1771 Session 6632 (sofia/default/737989@cloud.masip.es) Ended
  713. 2023-06-27 12:15:04.098650 98.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/737989@cloud.masip.es [CS_DESTROY]
  714. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/737989@cloud.masip.es) Running State Change CS_DESTROY (Cur 10 Tot 6704)
  715. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/737989@cloud.masip.es) State DESTROY
  716. 2023-06-27 12:15:04.098650 98.87% [DEBUG] mod_sofia.c:379 sofia/default/737989@cloud.masip.es SOFIA DESTROY
  717. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/737989@cloud.masip.es Standard DESTROY
  718. 2023-06-27 12:15:04.098650 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/737989@cloud.masip.es) State DESTROY going to sleep
  719. 2023-06-27 12:15:04.458649 98.87% [DEBUG] switch_scheduler.c:147 Deleting task 3129 switch_ivr_schedule_hangup (c80081c4-f5e6-4fd0-b862-96d8cce47aee)
  720. 2023-06-27 12:15:05.178648 98.70% [DEBUG] sofia.c:6678 Remote Reason: 17
  721. 2023-06-27 12:15:05.178648 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [terminated][486]
  722. 2023-06-27 12:15:05.178648 98.70% [NOTICE] sofia.c:8738 Hangup sofia/default/34636628167 [CS_EXCHANGE_MEDIA] [USER_BUSY]
  723. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_ivr_bridge.c:826 sofia/default/34636628167 ending bridge by request from read function
  724. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34636628167]
  725. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA going to sleep
  726. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_HANGUP (Cur 10 Tot 6704)
  727. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34636628167) Callstate Change EARLY -> HANGUP
  728. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP
  729. 2023-06-27 12:15:05.178648 98.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/34636628167 hanging up, cause: USER_BUSY
  730. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/34636628167 Standard HANGUP, cause: USER_BUSY
  731. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP going to sleep
  732. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34636628167) State Change CS_HANGUP -> CS_REPORTING
  733. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_REPORTING (Cur 10 Tot 6704)
  734. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING
  735. 2023-06-27 12:15:05.178648 98.70% [INFO] mod_json_cdr.c:271 Process [93fcdc6b-78fd-44b3-82aa-82f8a33ac2fb.cdr.json]
  736. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/34636628167 Standard REPORTING, cause: USER_BUSY
  737. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING going to sleep
  738. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34636628167) State Change CS_REPORTING -> CS_DESTROY
  739. 2023-06-27 12:15:05.178648 98.70% [DEBUG] switch_core_session.c:1753 Session 6702 (sofia/default/34636628167) Locked, Waiting on external entities
  740. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34636628167 ending bridge by request from write function
  741. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/621296053@cloud.masip.es]
  742. 2023-06-27 12:15:05.198650 98.70% [NOTICE] switch_core_session.c:1771 Session 6702 (sofia/default/34636628167) Ended
  743. 2023-06-27 12:15:05.198650 98.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34636628167 [CS_DESTROY]
  744. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34636628167;fs_path=sip:34.252.123.120:5060)
  745. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34636628167) Running State Change CS_DESTROY (Cur 9 Tot 6704)
  746. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY
  747. 2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:379 sofia/default/34636628167 SOFIA DESTROY
  748. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/34636628167 Standard DESTROY
  749. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY going to sleep
  750. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@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
  751. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34636628167] to event
  752. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@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
  753. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  754. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  755. 2023-06-27 12:15:05.198650 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34636628167 [357828e4-b0c4-47b7-b432-d08ada7333d1]
  756. 2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:5121 (sofia/default/34636628167) State Change CS_NEW -> CS_INIT
  757. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34636628167 Setting leg timeout to 30
  758. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_INIT (Cur 10 Tot 6705)
  759. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT
  760. 2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:97 sofia/default/34636628167 SOFIA INIT
  761. 2023-06-27 12:15:05.198650 98.70% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34636628167
  762. 2023-06-27 12:15:05.198650 98.70% [INFO] sofia_glue.c:1651 sofia/default/34636628167 sending invite call-id: (null)
  763. 2023-06-27 12:15:05.198650 98.70% [DEBUG] sofia_glue.c:1654 sofia/default/34636628167 sending invite version: 1.10.7 -release 64bit
  764. Local SDP:
  765. v=0
  766. o=FreeSWITCH 1687842129 1687842130 IN IP4 54.220.206.86
  767. s=FreeSWITCH
  768. c=IN IP4 54.220.206.86
  769. t=0 0
  770. m=audio 25976 RTP/AVP 18 0 8 101
  771. a=rtpmap:18 G729/8000
  772. a=fmtp:18 annexb=no
  773. a=rtpmap:0 PCMU/8000
  774. a=rtpmap:8 PCMA/8000
  775. a=rtpmap:101 telephone-event/8000
  776. a=fmtp:101 0-15
  777. a=ptime:20
  778. a=sendrecv
  779.  
  780. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/34636628167 Standard INIT
  781. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34636628167) State Change CS_INIT -> CS_ROUTING
  782. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT going to sleep
  783. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_ROUTING (Cur 10 Tot 6705)
  784. 2023-06-27 12:15:05.198650 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [calling][0]
  785. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING
  786. 2023-06-27 12:15:05.198650 98.70% [DEBUG] mod_sofia.c:158 sofia/default/34636628167 SOFIA ROUTING
  787. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34636628167) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  788. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING going to sleep
  789. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 6705)
  790. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA
  791. 2023-06-27 12:15:05.198650 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA going to sleep
  792. 2023-06-27 12:15:05.258648 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/621296053@cloud.masip.es [a9fe7359-f0c6-4f23-852f-e108091f0526]
  793. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_NEW (Cur 11 Tot 6706)
  794. 2023-06-27 12:15:05.258648 98.70% [INFO] sofia.c:10462 sofia/default/621296053@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 5c2bd0b661322079208fb9140f35b47b@cloud.masip.es
  795. 2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  796. 2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  797. 2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [received][100]
  798. 2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:7509 Remote SDP:
  799. v=0
  800. o=root 15112317 15112317 IN IP4 51.91.247.55
  801. s=DialApplet
  802. c=IN IP4 51.91.247.55
  803. t=0 0
  804. m=audio 17210 RTP/AVP 8 18 101
  805. a=rtpmap:8 PCMA/8000
  806. a=rtpmap:18 G729/8000
  807. a=fmtp:18 annexb=no
  808. a=rtpmap:101 telephone-event/8000
  809. a=fmtp:101 0-16
  810. a=silenceSupp:off - - - -
  811. a=ptime:20
  812.  
  813. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  814. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  815. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  816. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  817. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  818. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  819. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  820. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  821. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  822. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296053@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  823. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_codec.c:111 sofia/default/621296053@cloud.masip.es Original read codec set to PCMA:8
  824. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  825. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_media.c:5973 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  826. 2023-06-27 12:15:05.258648 98.70% [DEBUG] sofia.c:7933 (sofia/default/621296053@cloud.masip.es) State Change CS_NEW -> CS_INIT
  827. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296053@cloud.masip.es) State NEW
  828. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_INIT (Cur 11 Tot 6706)
  829. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT
  830. 2023-06-27 12:15:05.258648 98.70% [DEBUG] mod_sofia.c:97 sofia/default/621296053@cloud.masip.es SOFIA INIT
  831. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296053@cloud.masip.es Standard INIT
  832. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296053@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  833. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT going to sleep
  834. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_ROUTING (Cur 11 Tot 6706)
  835. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_channel.c:2380 (sofia/default/621296053@cloud.masip.es) Callstate Change DOWN -> RINGING
  836. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING
  837. 2023-06-27 12:15:05.258648 98.70% [DEBUG] mod_sofia.c:158 sofia/default/621296053@cloud.masip.es SOFIA ROUTING
  838. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296053@cloud.masip.es Standard ROUTING
  839. 2023-06-27 12:15:05.258648 98.70% [INFO] mod_dialplan_xml.c:639 Processing 621296053 <621296053>->34664223774 in context default
  840. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  841. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  842. 2023-06-27 12:15:05.258648 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  843. Event-Name: REQUEST_PARAMS
  844. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  845. FreeSWITCH-Hostname: ip-10-0-2-92
  846. FreeSWITCH-Switchname: ip-10-0-2-92
  847. FreeSWITCH-IPv4: 10.0.2.92
  848. FreeSWITCH-IPv6: %3A%3A1
  849. Event-Date-Local: 2023-06-27%2012%3A15%3A05
  850. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A05%20GMT
  851. Event-Date-Timestamp: 1687868105258648
  852. Event-Calling-File: mod_dialplan_xml.c
  853. Event-Calling-Function: dialplan_xml_locate
  854. Event-Calling-Line-Number: 610
  855. Event-Sequence: 380909
  856. Channel-State: CS_ROUTING
  857. Channel-Call-State: RINGING
  858. Channel-State-Number: 2
  859. Channel-Name: sofia/default/621296053%40cloud.masip.es
  860. Unique-ID: a9fe7359-f0c6-4f23-852f-e108091f0526
  861. Call-Direction: inbound
  862. Presence-Call-Direction: inbound
  863. Channel-HIT-Dialplan: true
  864. Channel-Presence-ID: 621296053%40cloud.masip.es
  865. Channel-Call-UUID: a9fe7359-f0c6-4f23-852f-e108091f0526
  866. Answer-State: ringing
  867. Channel-Read-Codec-Name: PCMA
  868. Channel-Read-Codec-Rate: 8000
  869. Channel-Read-Codec-Bit-Rate: 64000
  870. Channel-Write-Codec-Name: PCMA
  871. Channel-Write-Codec-Rate: 8000
  872. Channel-Write-Codec-Bit-Rate: 64000
  873. Caller-Direction: inbound
  874. Caller-Logical-Direction: inbound
  875. Caller-Username: 621296053
  876. Caller-Dialplan: XML
  877. Caller-Caller-ID-Name: 621296053
  878. Caller-Caller-ID-Number: 621296053
  879. Caller-Orig-Caller-ID-Name: 621296053
  880. Caller-Orig-Caller-ID-Number: 621296053
  881. Caller-Network-Addr: 34.252.123.120
  882. Caller-ANI: 621296053
  883. Caller-Destination-Number: 34664223774
  884. Caller-Unique-ID: a9fe7359-f0c6-4f23-852f-e108091f0526
  885. Caller-Source: mod_sofia
  886. Caller-Context: default
  887. Caller-Channel-Name: sofia/default/621296053%40cloud.masip.es
  888. Caller-Profile-Index: 1
  889. Caller-Profile-Created-Time: 1687868105258648
  890. Caller-Channel-Created-Time: 1687868105258648
  891. Caller-Channel-Answered-Time: 0
  892. Caller-Channel-Progress-Time: 0
  893. Caller-Channel-Progress-Media-Time: 0
  894. Caller-Channel-Hangup-Time: 0
  895. Caller-Channel-Transfer-Time: 0
  896. Caller-Channel-Resurrect-Time: 0
  897. Caller-Channel-Bridged-Time: 0
  898. Caller-Channel-Last-Hold: 0
  899. Caller-Channel-Hold-Accum: 0
  900. Caller-Screen-Bit: false
  901. Caller-Privacy-Hide-Name: false
  902. Caller-Privacy-Hide-Number: false
  903. variable_direction: inbound
  904. variable_uuid: a9fe7359-f0c6-4f23-852f-e108091f0526
  905. variable_session_id: 6706
  906. variable_sip_from_user: 621296053
  907. variable_sip_from_uri: 621296053%40cloud.masip.es
  908. variable_sip_from_host: cloud.masip.es
  909. variable_video_media_flow: disabled
  910. variable_text_media_flow: disabled
  911. variable_channel_name: sofia/default/621296053%40cloud.masip.es
  912. variable_sip_call_id: 5c2bd0b661322079208fb9140f35b47b%40cloud.masip.es
  913. variable_sip_local_network_addr: 54.220.206.86
  914. variable_sip_network_ip: 34.252.123.120
  915. variable_sip_network_port: 5060
  916. variable_sip_invite_stamp: 1687868105258648
  917. variable_sip_received_ip: 34.252.123.120
  918. variable_sip_received_port: 5060
  919. variable_sip_via_protocol: udp
  920. variable_sip_authorized: true
  921. variable_sip_acl_authed_by: default
  922. variable_sip_from_user_stripped: 621296053
  923. variable_sip_from_tag: as007e573b
  924. variable_sofia_profile_name: default
  925. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  926. variable_recovery_profile_name: default
  927. variable_sip_Remote-Party-ID: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  928. variable_sip_cid_type: rpid
  929. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das007e573b%3Bdid%3D8b.f3a85b83%3E
  930. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das007e573b%3Bdid%3D8b.f3a85b83%3E
  931. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK78fc.d7c9b472.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK0b70ae59
  932. variable_sip_from_display: 621296053
  933. variable_sip_full_from: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Btag%3Das007e573b
  934. variable_sip_full_to: %3Csip%3A34664223774%40cloud.masip.es%3E
  935. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
  936. variable_sip_req_user: 34664223774
  937. variable_sip_req_uri: 34664223774%40cloud.masip.es
  938. variable_sip_req_host: cloud.masip.es
  939. variable_sip_to_user: 34664223774
  940. variable_sip_to_uri: 34664223774%40cloud.masip.es
  941. variable_sip_to_host: cloud.masip.es
  942. variable_sip_contact_user: 621296053
  943. variable_sip_contact_port: 5060
  944. variable_sip_contact_uri: 621296053%4051.91.247.55%3A5060
  945. variable_sip_contact_host: 51.91.247.55
  946. variable_sip_user_agent: DialApplet
  947. variable_sip_via_host: 34.252.123.120
  948. variable_sip_via_port: 5060
  949. variable_max_forwards: 69
  950. variable_presence_id: 621296053%40cloud.masip.es
  951. variable_sip_date_epoch_time: 1687868105
  952. variable_sip_h_X-AUTH-IP: 51.91.247.55
  953. variable_sip_h_P-Accountcode: 437146
  954. variable_sip_h_P-effective_caller_id_name: %22621296053%22
  955. variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
  956. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%2015112317%2015112317%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2017210%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
  957. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  958. variable_rtp_use_codec_string: G729,PCMA,PCMU
  959. variable_remote_video_media_flow: inactive
  960. variable_remote_text_media_flow: inactive
  961. variable_remote_audio_media_flow: sendrecv
  962. variable_audio_media_flow: sendrecv
  963. variable_remote_media_ip: 51.91.247.55
  964. variable_remote_media_port: 17210
  965. variable_rtp_audio_recv_pt: 8
  966. variable_rtp_use_codec_name: PCMA
  967. variable_rtp_use_codec_rate: 8000
  968. variable_rtp_use_codec_ptime: 20
  969. variable_rtp_use_codec_channels: 1
  970. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  971. variable_read_codec: PCMA
  972. variable_original_read_codec: PCMA
  973. variable_read_rate: 8000
  974. variable_original_read_rate: 8000
  975. variable_write_codec: PCMA
  976. variable_write_rate: 8000
  977. variable_dtmf_type: rfc2833
  978. variable_endpoint_disposition: RECEIVED
  979. variable_call_uuid: a9fe7359-f0c6-4f23-852f-e108091f0526
  980. Hunt-Direction: inbound
  981. Hunt-Logical-Direction: inbound
  982. Hunt-Username: 621296053
  983. Hunt-Dialplan: XML
  984. Hunt-Caller-ID-Name: 621296053
  985. Hunt-Caller-ID-Number: 621296053
  986. Hunt-Orig-Caller-ID-Name: 621296053
  987. Hunt-Orig-Caller-ID-Number: 621296053
  988. Hunt-Network-Addr: 34.252.123.120
  989. Hunt-ANI: 621296053
  990. Hunt-Destination-Number: 34664223774
  991. Hunt-Unique-ID: a9fe7359-f0c6-4f23-852f-e108091f0526
  992. Hunt-Source: mod_sofia
  993. Hunt-Context: default
  994. Hunt-Channel-Name: sofia/default/621296053%40cloud.masip.es
  995. Hunt-Profile-Index: 1
  996. Hunt-Profile-Created-Time: 1687868105258648
  997. Hunt-Channel-Created-Time: 1687868105258648
  998. Hunt-Channel-Answered-Time: 0
  999. Hunt-Channel-Progress-Time: 0
  1000. Hunt-Channel-Progress-Media-Time: 0
  1001. Hunt-Channel-Hangup-Time: 0
  1002. Hunt-Channel-Transfer-Time: 0
  1003. Hunt-Channel-Resurrect-Time: 0
  1004. Hunt-Channel-Bridged-Time: 0
  1005. Hunt-Channel-Last-Hold: 0
  1006. Hunt-Channel-Hold-Accum: 0
  1007. Hunt-Screen-Bit: false
  1008. Hunt-Privacy-Hide-Name: false
  1009. Hunt-Privacy-Hide-Number: false
  1010.  
  1011.  
  1012. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  1013. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  1014. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  1015. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  1016. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34664223774
  1017. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34664223774' AND status=0 limit 1
  1018. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "621296053" / <null>
  1019. 2023-06-27 12:15:05.258648 98.70% [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 ="34664223774" LIMIT 1
  1020. 2023-06-27 12:15:05.258648 98.70% [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="34664223774" limit 1
  1021. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1022. 2023-06-27 12:15:05.258648 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
  1023. 2023-06-27 12:15:05.258648 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
  1024. 2023-06-27 12:15:05.278649 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34664223774.*' OR blocked_patterns = '^3466422377.*' OR blocked_patterns = '^346642237.*' OR blocked_patterns = '^34664223.*' OR blocked_patterns = '^3466422.*' OR blocked_patterns = '^346642.*' OR blocked_patterns = '^34664.*' OR blocked_patterns = '^3466.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
  1025. 2023-06-27 12:15:05.278649 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34664223774" AND (accountid = 0 OR status = 1) LIMIT 1
  1026. 2023-06-27 12:15:05.278649 98.70% [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 = '^34664223774.*' OR patterns = '^3466422377.*' OR patterns = '^346642237.*' OR patterns = '^34664223.*' OR patterns = '^3466422.*' OR patterns = '^346642.*' OR patterns = '^34664.*' OR patterns = '^3466.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1027. 2023-06-27 12:15:05.278649 98.70% [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 ="34664223774" AND A.accountid = '107' limit 1
  1028. 2023-06-27 12:15:05.278649 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34664223774
  1029. 2023-06-27 12:15:05.278649 98.70% [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 ="34664223774" LIMIT 1
  1030. 2023-06-27 12:15:05.278649 98.70% [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="34664223774" limit 1
  1031. 2023-06-27 12:15:05.278649 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1032. 2023-06-27 12:15:05.278649 98.70% [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 = '34664223774' OR number = '3466422377' OR number = '346642237' OR number = '34664223' OR number = '3466422' OR number = '346642' OR number = '34664' OR number = '3466' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34664223774*' OR number = '3466422377*' OR number = '346642237*' OR number = '34664223*' OR number = '3466422*' OR number = '346642*' OR number = '34664*' OR number = '3466*' 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
  1033. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1034. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34664223774' OR routing_prefix = '3466422377' OR routing_prefix = '346642237' OR routing_prefix = '34664223' OR routing_prefix = '3466422' OR routing_prefix = '346642' OR routing_prefix = '34664' OR routing_prefix = '3466' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1035. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1036. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
  1037. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
  1038. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.8322
  1039. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1040. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
  1041. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1042. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1043. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  1044. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1045. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  1046. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34664223774.*' OR pattern = '^3466422377.*' OR pattern = '^346642237.*' OR pattern = '^34664223.*' OR pattern = '^3466422.*' OR pattern = '^346642.*' OR pattern = '^34664.*' OR pattern = '^3466.*' 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
  1047. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1048. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1049. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87795
  1050. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1051. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1052. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00750
  1053. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Mobile
  1054. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  1055. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
  1056. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1057. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1058. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1059. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.8322 balance Accountid 107 !!!
  1060. 2023-06-27 12:15:05.298652 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1061. 2023-06-27 12:15:05.298652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1062. 2023-06-27 12:15:05.298652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1063. 2023-06-27 12:15:05.298652 98.70% [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
  1064. 2023-06-27 12:15:05.298652 98.70% [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 = '^34664223774.*' OR pattern = '^3466422377.*' OR pattern = '^346642237.*' OR pattern = '^34664223.*' OR pattern = '^3466422.*' OR pattern = '^346642.*' OR pattern = '^34664.*' OR pattern = '^3466.*' 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
  1065. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1066. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  1067. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  1068. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  1069. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1070. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1071. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  1072. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1073. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1074. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  1075. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  1076. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1077. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  1078. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  1079. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1080. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  1081. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1082. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1083. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
  1084. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  1085. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  1086. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1087. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1088. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  1089. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1090. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1091. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  1092. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  1093. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1094. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1095. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  1096. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1097. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  1098. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1099. 2023-06-27 12:15:05.318652 98.70% [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
  1100. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1101. 2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1102. 2023-06-27 12:15:05.318652 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1103. 2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  1104. 2023-06-27 12:15:05.318652 98.70% [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
  1105. 2023-06-27 12:15:05.318652 98.70% [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
  1106. 2023-06-27 12:15:05.318652 98.70% [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 ="34664223774" LIMIT 1
  1107. 2023-06-27 12:15:05.318652 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  1108. 2023-06-27 12:15:05.338651 98.70% [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
  1109. 2023-06-27 12:15:05.338651 98.70% [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
  1110. 2023-06-27 12:15:05.338651 98.70% [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 ="34664223774" LIMIT 1
  1111. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1112. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1113. <document type="freeswitch/xml">
  1114. <section name="dialplan" description="ASTPP Dialplan">
  1115. <context name="default">
  1116. <extension name="34664223774">
  1117. <condition field="destination_number" expression="34664223774">
  1118. <action application="set" data="effective_destination_number=34664223774"/>
  1119. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1120. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1121. <action application="set" data="callstart=2023-06-27 12:15:05"/>
  1122. <action application="set" data="hangup_after_bridge=true"/>
  1123. <action application="set" data="continue_on_fail=TRUE"/>
  1124. <action application="set" data="account_id=107"/>
  1125. <action application="set" data="parent_id=0"/>
  1126. <action application="set" data="entity_id=0"/>
  1127. <action application="set" data="call_processed=internal"/>
  1128. <action application="set" data="call_direction=outbound"/>
  1129. <action application="set" data="accountname=default"/>
  1130. <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"/>
  1131. <action application="set" data="original_caller_id_name=621296053"/>
  1132. <action application="limit" data="db 437146 user_437146 100 "/>
  1133.  
  1134. <action application="set" data="effective_caller_id_name="621296053""/>
  1135. <action application="set" data="calltype=STANDARD"/>
  1136. <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"/>
  1137. <action application="set" data="trunk_id=3"/>
  1138. <action application="set" data="provider_id=9"/>
  1139. <action application="set" data="rate_flag=2"/>
  1140. <action application="set" data="force_trunk_flag=0"/>
  1141. <action application="export" data="presence_data=trunk_id=3"/>
  1142. <action application="set" data="intcall=0"/>
  1143. <action application="export" data="presence_id=34664223774"/>
  1144. <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"/>
  1145. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34664223774;fs_path=sip:34.252.123.120:5060"/>
  1146. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34664223774;fs_path=sip:34.252.123.120:5060"/>
  1147. <action application="set" data="effective_caller_id_name="621296053""/>
  1148. <action application="set" data="calltype=STANDARD"/>
  1149. <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"/>
  1150. <action application="set" data="trunk_id=4"/>
  1151. <action application="set" data="provider_id=37"/>
  1152. <action application="set" data="rate_flag=2"/>
  1153. <action application="set" data="force_trunk_flag=0"/>
  1154. <action application="export" data="presence_data=trunk_id=4"/>
  1155. <action application="set" data="intcall=0"/>
  1156. <action application="export" data="presence_id=34664223774"/>
  1157. <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"/>
  1158. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34664223774;fs_path=sip:34.252.123.120:5060"/>
  1159. </condition>
  1160. </extension>
  1161. </context>
  1162. </section>
  1163. </document>
  1164. Dialplan: sofia/default/621296053@cloud.masip.es parsing [default->34664223774] continue=false
  1165. Dialplan: sofia/default/621296053@cloud.masip.es Regex (PASS) [34664223774] destination_number(34664223774) =~ /34664223774/ break=on-false
  1166. Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_destination_number=34664223774)
  1167. Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1168. Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1169. Dialplan: sofia/default/621296053@cloud.masip.es Action set(callstart=2023-06-27 12:15:05)
  1170. Dialplan: sofia/default/621296053@cloud.masip.es Action set(hangup_after_bridge=true)
  1171. Dialplan: sofia/default/621296053@cloud.masip.es Action set(continue_on_fail=TRUE)
  1172. Dialplan: sofia/default/621296053@cloud.masip.es Action set(account_id=107)
  1173. Dialplan: sofia/default/621296053@cloud.masip.es Action set(parent_id=0)
  1174. Dialplan: sofia/default/621296053@cloud.masip.es Action set(entity_id=0)
  1175. Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_processed=internal)
  1176. Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_direction=outbound)
  1177. Dialplan: sofia/default/621296053@cloud.masip.es Action set(accountname=default)
  1178. Dialplan: sofia/default/621296053@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)
  1179. Dialplan: sofia/default/621296053@cloud.masip.es Action set(original_caller_id_name=621296053)
  1180. Dialplan: sofia/default/621296053@cloud.masip.es Action limit(db 437146 user_437146 100 )
  1181. Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
  1182. Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
  1183. Dialplan: sofia/default/621296053@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)
  1184. Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=3)
  1185. Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=9)
  1186. Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
  1187. Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
  1188. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=3)
  1189. Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
  1190. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34664223774)
  1191. Dialplan: sofia/default/621296053@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)
  1192. Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34664223774;fs_path=sip:34.252.123.120:5060)
  1193. Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34664223774;fs_path=sip:34.252.123.120:5060)
  1194. Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
  1195. Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
  1196. Dialplan: sofia/default/621296053@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)
  1197. Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=4)
  1198. Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=37)
  1199. Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
  1200. Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
  1201. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=4)
  1202. Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
  1203. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34664223774)
  1204. Dialplan: sofia/default/621296053@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)
  1205. Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34664223774;fs_path=sip:34.252.123.120:5060)
  1206. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296053@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  1207. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING going to sleep
  1208. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_EXECUTE (Cur 11 Tot 6706)
  1209. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296053@cloud.masip.es) State EXECUTE
  1210. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:213 sofia/default/621296053@cloud.masip.es SOFIA EXECUTE
  1211. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296053@cloud.masip.es Standard EXECUTE
  1212. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_destination_number=34664223774)
  1213. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_destination_number]=[34664223774]
  1214. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
  1215. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
  1216. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1217. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1218. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(callstart=2023-06-27 12:15:05)
  1219. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [callstart]=[2023-06-27 12:15:05]
  1220. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(hangup_after_bridge=true)
  1221. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [hangup_after_bridge]=[true]
  1222. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(continue_on_fail=TRUE)
  1223. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [continue_on_fail]=[TRUE]
  1224. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(account_id=107)
  1225. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [account_id]=[107]
  1226. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(parent_id=0)
  1227. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [parent_id]=[0]
  1228. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(entity_id=0)
  1229. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [entity_id]=[0]
  1230. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_processed=internal)
  1231. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_processed]=[internal]
  1232. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_direction=outbound)
  1233. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_direction]=[outbound]
  1234. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(accountname=default)
  1235. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [accountname]=[default]
  1236. EXECUTE [depth=0] sofia/default/621296053@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)
  1237. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@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]
  1238. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(original_caller_id_name=621296053)
  1239. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [original_caller_id_name]=[621296053]
  1240. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es limit(db 437146 user_437146 100 )
  1241. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
  1242. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 2/100
  1243. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_caller_id_name=)
  1244. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_caller_id_name]=[UNDEF]
  1245. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(calltype=STANDARD)
  1246. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [calltype]=[STANDARD]
  1247. EXECUTE [depth=0] sofia/default/621296053@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)
  1248. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@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]
  1249. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(trunk_id=3)
  1250. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [trunk_id]=[3]
  1251. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(provider_id=9)
  1252. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [provider_id]=[9]
  1253. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(rate_flag=2)
  1254. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [rate_flag]=[2]
  1255. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(force_trunk_flag=0)
  1256. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [force_trunk_flag]=[0]
  1257. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=trunk_id=3)
  1258. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  1259. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(intcall=0)
  1260. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [intcall]=[0]
  1261. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_id=34664223774)
  1262. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34664223774]
  1263. EXECUTE [depth=0] sofia/default/621296053@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)
  1264. 2023-06-27 12:15:05.338651 98.70% [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]
  1265. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34664223774;fs_path=sip:34.252.123.120:5060)
  1266. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@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
  1267. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34664223774] to event
  1268. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_channel.c:1269 sofia/default/621296053@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
  1269. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1270. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1271. 2023-06-27 12:15:05.338651 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34664223774 [0a45be86-1dd7-4359-8526-d8c0fa01417e]
  1272. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:5121 (sofia/default/34664223774) State Change CS_NEW -> CS_INIT
  1273. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34664223774 Setting leg timeout to 30
  1274. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_INIT (Cur 12 Tot 6707)
  1275. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34664223774) State INIT
  1276. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:97 sofia/default/34664223774 SOFIA INIT
  1277. 2023-06-27 12:15:05.338651 98.70% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34664223774
  1278. 2023-06-27 12:15:05.338651 98.70% [INFO] sofia_glue.c:1651 sofia/default/34664223774 sending invite call-id: (null)
  1279. 2023-06-27 12:15:05.338651 98.70% [DEBUG] sofia_glue.c:1654 sofia/default/34664223774 sending invite version: 1.10.7 -release 64bit
  1280. Local SDP:
  1281. v=0
  1282. o=FreeSWITCH 1687849071 1687849072 IN IP4 54.220.206.86
  1283. s=FreeSWITCH
  1284. c=IN IP4 54.220.206.86
  1285. t=0 0
  1286. m=audio 19034 RTP/AVP 18 0 8 101
  1287. a=rtpmap:18 G729/8000
  1288. a=fmtp:18 annexb=no
  1289. a=rtpmap:0 PCMU/8000
  1290. a=rtpmap:8 PCMA/8000
  1291. a=rtpmap:101 telephone-event/8000
  1292. a=fmtp:101 0-15
  1293. a=ptime:20
  1294. a=sendrecv
  1295.  
  1296. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/34664223774 Standard INIT
  1297. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34664223774) State Change CS_INIT -> CS_ROUTING
  1298. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34664223774) State INIT going to sleep
  1299. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_ROUTING (Cur 12 Tot 6707)
  1300. 2023-06-27 12:15:05.338651 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [calling][0]
  1301. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34664223774) State ROUTING
  1302. 2023-06-27 12:15:05.338651 98.70% [DEBUG] mod_sofia.c:158 sofia/default/34664223774 SOFIA ROUTING
  1303. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34664223774) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1304. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34664223774) State ROUTING going to sleep
  1305. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6707)
  1306. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34664223774) State CONSUME_MEDIA
  1307. 2023-06-27 12:15:05.338651 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34664223774) State CONSUME_MEDIA going to sleep
  1308. 2023-06-27 12:15:05.458652 98.70% [DEBUG] switch_scheduler.c:147 Deleting task 3160 switch_ivr_schedule_hangup (93fcdc6b-78fd-44b3-82aa-82f8a33ac2fb)
  1309. 2023-06-27 12:15:05.798650 98.63% [INFO] sofia.c:1348 sofia/default/34636628167 Update Callee ID to "Outbound Call" <+34636628167>
  1310. 2023-06-27 12:15:05.798650 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][183]
  1311. 2023-06-27 12:15:05.798650 98.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34636628167!
  1312. 2023-06-27 12:15:05.798650 98.63% [DEBUG] switch_channel.c:3494 (sofia/default/34636628167) Callstate Change DOWN -> RINGING
  1313. 2023-06-27 12:15:05.918647 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][180]
  1314. 2023-06-27 12:15:05.918647 98.63% [DEBUG] sofia.c:7509 Remote SDP:
  1315. v=0
  1316. o=Sonus_UAC 848217 882021 IN IP4 52.211.114.106
  1317. s=SIP Media Capabilities
  1318. c=IN IP4 52.211.114.106
  1319. t=0 0
  1320. m=audio 17304 RTP/AVP 0 101
  1321. a=rtpmap:0 PCMU/8000
  1322. a=rtpmap:101 telephone-event/8000
  1323. a=fmtp:101 0-15
  1324. a=ptime:20
  1325.  
  1326. 2023-06-27 12:15:05.918647 98.63% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34636628167!
  1327. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_channel.c:3622 (sofia/default/34636628167) Callstate Change RINGING -> EARLY
  1328. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1329. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1330. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1331. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1332. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1333. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34636628167 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1334. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/34636628167 Original read codec set to PCMU:0
  1335. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1336. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:5973 sofia/default/34636628167 Set 2833 dtmf send payload to 101 recv payload to 101
  1337. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34636628167] 10.0.2.92 port 25976 -> 52.211.114.106 port 17304 codec: 0 ms: 20
  1338. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1339. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:9089 sofia/default/34636628167 Set 2833 dtmf send payload to 101
  1340. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:9096 sofia/default/34636628167 Set 2833 dtmf receive payload to 101
  1341. 2023-06-27 12:15:05.918647 98.63% [DEBUG] switch_core_media.c:9119 sofia/default/34636628167 Set rtp dtmf delay to 40
  1342. 2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34636628167] Peer UUID: 357828e4-b0c4-47b7-b432-d08ada7333d1
  1343. 2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34636628167) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1344. 2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6707)
  1345. 2023-06-27 12:15:05.938648 98.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA
  1346. 2023-06-27 12:15:05.938648 98.63% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1347. 2023-06-27 12:15:05.978646 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1348. 2023-06-27 12:15:06.118653 98.63% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34636628167 Bridge execute app sched_hangup(+6000 normal_clearing)
  1349. 2023-06-27 12:15:06.138650 98.63% [DEBUG] switch_ivr.c:632 sofia/default/34636628167 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1350. EXECUTE [depth=0] sofia/default/34636628167 sched_hangup(+6000 normal_clearing)
  1351. 2023-06-27 12:15:06.138650 98.63% [DEBUG] switch_scheduler.c:263 Added task 3162 switch_ivr_schedule_hangup (357828e4-b0c4-47b7-b432-d08ada7333d1) to run at 1687874106
  1352. 2023-06-27 12:15:06.218648 98.63% [INFO] sofia.c:1348 sofia/default/34664223774 Update Callee ID to "Outbound Call" <+34664223774>
  1353. 2023-06-27 12:15:06.218648 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [proceeding][183]
  1354. 2023-06-27 12:15:06.218648 98.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34664223774!
  1355. 2023-06-27 12:15:06.218648 98.63% [DEBUG] switch_channel.c:3494 (sofia/default/34664223774) Callstate Change DOWN -> RINGING
  1356. 2023-06-27 12:15:06.218648 98.63% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/621296053@cloud.masip.es!
  1357. 2023-06-27 12:15:06.218648 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [early][180]
  1358. 2023-06-27 12:15:06.218648 98.63% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/621296053@cloud.masip.es!
  1359. 2023-06-27 12:15:06.378651 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [proceeding][180]
  1360. 2023-06-27 12:15:06.378651 98.63% [DEBUG] sofia.c:7509 Remote SDP:
  1361. v=0
  1362. o=Sonus_UAC 649970 948296 IN IP4 54.170.60.120
  1363. s=SIP Media Capabilities
  1364. c=IN IP4 54.170.60.120
  1365. t=0 0
  1366. m=audio 32050 RTP/AVP 0 101
  1367. a=rtpmap:0 PCMU/8000
  1368. a=rtpmap:101 telephone-event/8000
  1369. a=fmtp:101 0-15
  1370. a=ptime:20
  1371.  
  1372. 2023-06-27 12:15:06.378651 98.63% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34664223774!
  1373. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_channel.c:3622 (sofia/default/34664223774) Callstate Change RINGING -> EARLY
  1374. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1375. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1376. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1377. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1378. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1379. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34664223774 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1380. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/34664223774 Original read codec set to PCMU:0
  1381. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1382. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:5973 sofia/default/34664223774 Set 2833 dtmf send payload to 101 recv payload to 101
  1383. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34664223774] 10.0.2.92 port 19034 -> 54.170.60.120 port 32050 codec: 0 ms: 20
  1384. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1385. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9089 sofia/default/34664223774 Set 2833 dtmf send payload to 101
  1386. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9096 sofia/default/34664223774 Set 2833 dtmf receive payload to 101
  1387. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9119 sofia/default/34664223774 Set rtp dtmf delay to 40
  1388. 2023-06-27 12:15:06.378651 98.63% [INFO] switch_ivr_originate.c:3841 Sending early media
  1389. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/621296053@cloud.masip.es] 10.0.2.92 port 16898 -> 51.91.247.55 port 17210 codec: 8 ms: 20
  1390. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1391. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9089 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101
  1392. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9096 sofia/default/621296053@cloud.masip.es Set 2833 dtmf receive payload to 101
  1393. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_media.c:9119 sofia/default/621296053@cloud.masip.es Set rtp dtmf delay to 40
  1394. 2023-06-27 12:15:06.378651 98.63% [DEBUG] mod_sofia.c:2610 Ring SDP:
  1395. v=0
  1396. o=FreeSWITCH 1687851208 1687851209 IN IP4 54.220.206.86
  1397. s=FreeSWITCH
  1398. c=IN IP4 54.220.206.86
  1399. t=0 0
  1400. m=audio 16898 RTP/AVP 8 101
  1401. a=rtpmap:8 PCMA/8000
  1402. a=rtpmap:101 telephone-event/8000
  1403. a=fmtp:101 0-15
  1404. a=ptime:20
  1405. a=sendrecv
  1406.  
  1407. 2023-06-27 12:15:06.378651 98.63% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/621296053@cloud.masip.es!
  1408. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_channel.c:3622 (sofia/default/621296053@cloud.masip.es) Callstate Change RINGING -> EARLY
  1409. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34664223774] Peer UUID: 0a45be86-1dd7-4359-8526-d8c0fa01417e
  1410. 2023-06-27 12:15:06.378651 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [early][183]
  1411. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34664223774) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1412. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34664223774) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6707)
  1413. 2023-06-27 12:15:06.378651 98.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34664223774) State EXCHANGE_MEDIA
  1414. 2023-06-27 12:15:06.378651 98.63% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1415. 2023-06-27 12:15:06.418650 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1416. 2023-06-27 12:15:06.438651 98.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1417. 2023-06-27 12:15:06.578660 98.63% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34664223774 Bridge execute app sched_hangup(+6000 normal_clearing)
  1418. 2023-06-27 12:15:06.598648 98.60% [DEBUG] switch_ivr.c:632 sofia/default/34664223774 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1419. EXECUTE [depth=0] sofia/default/34664223774 sched_hangup(+6000 normal_clearing)
  1420. 2023-06-27 12:15:06.598648 98.60% [DEBUG] switch_scheduler.c:263 Added task 3163 switch_ivr_schedule_hangup (0a45be86-1dd7-4359-8526-d8c0fa01417e) to run at 1687874106
  1421. 2023-06-27 12:15:08.038649 98.60% [DEBUG] sofia.c:6678 Remote Reason: 17
  1422. 2023-06-27 12:15:08.038649 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [terminated][486]
  1423. 2023-06-27 12:15:08.038649 98.60% [NOTICE] sofia.c:8738 Hangup sofia/default/34636628167 [CS_EXCHANGE_MEDIA] [USER_BUSY]
  1424. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_ivr_bridge.c:826 sofia/default/34636628167 ending bridge by request from read function
  1425. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34636628167]
  1426. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA going to sleep
  1427. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_HANGUP (Cur 12 Tot 6707)
  1428. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34636628167) Callstate Change EARLY -> HANGUP
  1429. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP
  1430. 2023-06-27 12:15:08.038649 98.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/34636628167 hanging up, cause: USER_BUSY
  1431. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/34636628167 Standard HANGUP, cause: USER_BUSY
  1432. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP going to sleep
  1433. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34636628167) State Change CS_HANGUP -> CS_REPORTING
  1434. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_REPORTING (Cur 12 Tot 6707)
  1435. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING
  1436. 2023-06-27 12:15:08.038649 98.60% [INFO] mod_json_cdr.c:271 Process [357828e4-b0c4-47b7-b432-d08ada7333d1.cdr.json]
  1437. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/34636628167 Standard REPORTING, cause: USER_BUSY
  1438. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING going to sleep
  1439. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34636628167) State Change CS_REPORTING -> CS_DESTROY
  1440. 2023-06-27 12:15:08.038649 98.60% [DEBUG] switch_core_session.c:1753 Session 6705 (sofia/default/34636628167) Locked, Waiting on external entities
  1441. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34636628167 ending bridge by request from write function
  1442. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/621296053@cloud.masip.es]
  1443. 2023-06-27 12:15:08.058649 98.60% [NOTICE] switch_core_session.c:1771 Session 6705 (sofia/default/34636628167) Ended
  1444. 2023-06-27 12:15:08.058649 98.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34636628167 [CS_DESTROY]
  1445. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_caller_id_name=)
  1446. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34636628167) Running State Change CS_DESTROY (Cur 11 Tot 6707)
  1447. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY
  1448. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:379 sofia/default/34636628167 SOFIA DESTROY
  1449. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_caller_id_name]=[UNDEF]
  1450. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/34636628167 Standard DESTROY
  1451. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY going to sleep
  1452. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(calltype=STANDARD)
  1453. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [calltype]=[STANDARD]
  1454. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es 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)
  1455. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [termination_rates]=[ID:32795|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00710|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37]
  1456. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(trunk_id=4)
  1457. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [trunk_id]=[4]
  1458. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(provider_id=37)
  1459. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [provider_id]=[37]
  1460. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(rate_flag=2)
  1461. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [rate_flag]=[2]
  1462. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(force_trunk_flag=0)
  1463. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [force_trunk_flag]=[0]
  1464. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=trunk_id=4)
  1465. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  1466. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(intcall=0)
  1467. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [intcall]=[0]
  1468. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_id=34636628167)
  1469. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34636628167]
  1470. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55)
  1471. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55]
  1472. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34636628167;fs_path=sip:34.252.123.120:5060)
  1473. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
  1474. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34636628167] to event
  1475. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
  1476. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
  1477. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34636628167] to event
  1478. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^346.* // Spain Mobile // 0.00750 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||51.91.247.55] to event
  1479. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1480. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1481. 2023-06-27 12:15:08.058649 98.60% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34636628167 [1188194b-be6a-419e-a671-4c0a9e6c8e3c]
  1482. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:5121 (sofia/default/34636628167) State Change CS_NEW -> CS_INIT
  1483. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34636628167 Setting leg timeout to 30
  1484. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_INIT (Cur 12 Tot 6708)
  1485. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT
  1486. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:97 sofia/default/34636628167 SOFIA INIT
  1487. 2023-06-27 12:15:08.058649 98.60% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34636628167
  1488. 2023-06-27 12:15:08.058649 98.60% [INFO] sofia_glue.c:1651 sofia/default/34636628167 sending invite call-id: (null)
  1489. 2023-06-27 12:15:08.058649 98.60% [DEBUG] sofia_glue.c:1654 sofia/default/34636628167 sending invite version: 1.10.7 -release 64bit
  1490. Local SDP:
  1491. v=0
  1492. o=FreeSWITCH 1687842954 1687842955 IN IP4 54.220.206.86
  1493. s=FreeSWITCH
  1494. c=IN IP4 54.220.206.86
  1495. t=0 0
  1496. m=audio 25154 RTP/AVP 18 0 8 101
  1497. a=rtpmap:18 G729/8000
  1498. a=fmtp:18 annexb=no
  1499. a=rtpmap:0 PCMU/8000
  1500. a=rtpmap:8 PCMA/8000
  1501. a=rtpmap:101 telephone-event/8000
  1502. a=fmtp:101 0-15
  1503. a=ptime:20
  1504. a=sendrecv
  1505.  
  1506. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/34636628167 Standard INIT
  1507. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34636628167) State Change CS_INIT -> CS_ROUTING
  1508. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34636628167) State INIT going to sleep
  1509. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_ROUTING (Cur 12 Tot 6708)
  1510. 2023-06-27 12:15:08.058649 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [calling][0]
  1511. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING
  1512. 2023-06-27 12:15:08.058649 98.60% [DEBUG] mod_sofia.c:158 sofia/default/34636628167 SOFIA ROUTING
  1513. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34636628167) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1514. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34636628167) State ROUTING going to sleep
  1515. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6708)
  1516. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA
  1517. 2023-06-27 12:15:08.058649 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34636628167) State CONSUME_MEDIA going to sleep
  1518. 2023-06-27 12:15:08.098650 98.60% [DEBUG] switch_scheduler.c:147 Deleting task 3162 switch_ivr_schedule_hangup (357828e4-b0c4-47b7-b432-d08ada7333d1)
  1519. 2023-06-27 12:15:08.098650 98.60% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1520. 2023-06-27 12:15:08.138650 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][180]
  1521. 2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][180]
  1522. 2023-06-27 12:15:08.158656 98.60% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34636628167!
  1523. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_channel.c:3494 (sofia/default/34636628167) Callstate Change DOWN -> RINGING
  1524. 2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [proceeding][183]
  1525. 2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7509 Remote SDP:
  1526. v=0
  1527. o=root 143979754 143979754 IN IP4 178.33.118.147
  1528. s=Voz.com
  1529. c=IN IP4 178.33.118.147
  1530. t=0 0
  1531. m=audio 10954 RTP/AVP 8 101
  1532. a=rtpmap:8 PCMA/8000
  1533. a=rtpmap:101 telephone-event/8000
  1534. a=fmtp:101 0-16
  1535. a=ptime:20
  1536. a=maxptime:150
  1537. a=rtcp-mux
  1538.  
  1539. 2023-06-27 12:15:08.158656 98.60% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34636628167!
  1540. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_channel.c:3622 (sofia/default/34636628167) Callstate Change RINGING -> EARLY
  1541. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1542. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1543. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1544. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1545. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1546. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34636628167 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1547. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_codec.c:111 sofia/default/34636628167 Original read codec set to PCMA:8
  1548. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1549. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5973 sofia/default/34636628167 Set 2833 dtmf send payload to 101 recv payload to 101
  1550. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34636628167] 10.0.2.92 port 25154 -> 178.33.118.147 port 10954 codec: 8 ms: 20
  1551. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1552. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 10954
  1553. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 10954
  1554. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:9089 sofia/default/34636628167 Set 2833 dtmf send payload to 101
  1555. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:9096 sofia/default/34636628167 Set 2833 dtmf receive payload to 101
  1556. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:9119 sofia/default/34636628167 Set rtp dtmf delay to 40
  1557. 2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7499 Channel sofia/default/34653087880 entering state [proceeding][183]
  1558. 2023-06-27 12:15:08.158656 98.60% [DEBUG] sofia.c:7506 Duplicate SDP
  1559. v=0
  1560. o=Sonus_UAC 864233 801591 IN IP4 54.170.60.120
  1561. s=SIP Media Capabilities
  1562. c=IN IP4 54.170.60.120
  1563. t=0 0
  1564. m=audio 32180 RTP/AVP 8 101
  1565. a=rtpmap:8 PCMA/8000
  1566. a=rtpmap:101 telephone-event/8000
  1567. a=fmtp:101 0-15
  1568. a=ptime:20
  1569.  
  1570. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1571. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1572. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1573. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1574. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1575. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1576. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:5973 sofia/default/34653087880 Set 2833 dtmf send payload to 101 recv payload to 101
  1577. 2023-06-27 12:15:08.158656 98.60% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34653087880.
  1578. 2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34636628167] Peer UUID: 1188194b-be6a-419e-a671-4c0a9e6c8e3c
  1579. 2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34636628167) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1580. 2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6708)
  1581. 2023-06-27 12:15:08.178648 98.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA
  1582. 2023-06-27 12:15:08.178648 98.60% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1583. 2023-06-27 12:15:08.198648 98.60% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[883787607] base_seq[6432]
  1584. 2023-06-27 12:15:08.218654 98.60% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1585. 2023-06-27 12:15:08.358647 98.60% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34636628167 Bridge execute app sched_hangup(+6000 normal_clearing)
  1586. 2023-06-27 12:15:08.378647 98.60% [DEBUG] switch_ivr.c:632 sofia/default/34636628167 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1587. EXECUTE [depth=0] sofia/default/34636628167 sched_hangup(+6000 normal_clearing)
  1588. 2023-06-27 12:15:08.378647 98.60% [DEBUG] switch_scheduler.c:263 Added task 3164 switch_ivr_schedule_hangup (1188194b-be6a-419e-a671-4c0a9e6c8e3c) to run at 1687874108
  1589. 2023-06-27 12:15:11.678649 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/34636628167 entering state [terminated][486]
  1590. 2023-06-27 12:15:11.678649 98.57% [NOTICE] sofia.c:8738 Hangup sofia/default/34636628167 [CS_EXCHANGE_MEDIA] [USER_BUSY]
  1591. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_ivr_bridge.c:826 sofia/default/34636628167 ending bridge by request from read function
  1592. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34636628167]
  1593. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34636628167) State EXCHANGE_MEDIA going to sleep
  1594. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_HANGUP (Cur 12 Tot 6708)
  1595. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34636628167) Callstate Change EARLY -> HANGUP
  1596. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP
  1597. 2023-06-27 12:15:11.678649 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/34636628167 hanging up, cause: USER_BUSY
  1598. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/34636628167 Standard HANGUP, cause: USER_BUSY
  1599. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34636628167) State HANGUP going to sleep
  1600. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34636628167) State Change CS_HANGUP -> CS_REPORTING
  1601. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34636628167) Running State Change CS_REPORTING (Cur 12 Tot 6708)
  1602. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING
  1603. 2023-06-27 12:15:11.678649 98.57% [INFO] mod_json_cdr.c:271 Process [1188194b-be6a-419e-a671-4c0a9e6c8e3c.cdr.json]
  1604. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/34636628167 Standard REPORTING, cause: USER_BUSY
  1605. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34636628167) State REPORTING going to sleep
  1606. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34636628167) State Change CS_REPORTING -> CS_DESTROY
  1607. 2023-06-27 12:15:11.678649 98.57% [DEBUG] switch_core_session.c:1753 Session 6708 (sofia/default/34636628167) Locked, Waiting on external entities
  1608. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_ivr_bridge.c:820 sofia/default/34636628167 ending bridge by request from write function
  1609. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/621296053@cloud.masip.es]
  1610. 2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1771 Session 6708 (sofia/default/34636628167) Ended
  1611. 2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34636628167 [CS_DESTROY]
  1612. 2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/621296053@cloud.masip.es has executed the last dialplan instruction, hanging up.
  1613. 2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/621296053@cloud.masip.es [CS_EXECUTE] [NORMAL_CLEARING]
  1614. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34636628167) Running State Change CS_DESTROY (Cur 11 Tot 6708)
  1615. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY
  1616. 2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:379 sofia/default/34636628167 SOFIA DESTROY
  1617. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/34636628167 Standard DESTROY
  1618. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34636628167) State DESTROY going to sleep
  1619. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296053@cloud.masip.es) State EXECUTE going to sleep
  1620. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_HANGUP (Cur 11 Tot 6708)
  1621. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/621296053@cloud.masip.es) Callstate Change EARLY -> HANGUP
  1622. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/621296053@cloud.masip.es) State HANGUP
  1623. 2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:462 sofia/default/621296053@cloud.masip.es Overriding SIP cause 480 with 486 from the other leg
  1624. 2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/621296053@cloud.masip.es hanging up, cause: NORMAL_CLEARING
  1625. 2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 486
  1626. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/621296053@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
  1627. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/621296053@cloud.masip.es) State HANGUP going to sleep
  1628. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/621296053@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
  1629. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_REPORTING (Cur 11 Tot 6708)
  1630. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/621296053@cloud.masip.es) State REPORTING
  1631. 2023-06-27 12:15:11.698649 98.57% [INFO] mod_json_cdr.c:271 Process [34835040-03dd-41cd-ae4d-9ad29d7f7607.cdr.json]
  1632. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/621296053@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
  1633. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/621296053@cloud.masip.es) State REPORTING going to sleep
  1634. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/621296053@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
  1635. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_session.c:1753 Session 6701 (sofia/default/621296053@cloud.masip.es) Locked, Waiting on external entities
  1636. 2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1771 Session 6701 (sofia/default/621296053@cloud.masip.es) Ended
  1637. 2023-06-27 12:15:11.698649 98.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/621296053@cloud.masip.es [CS_DESTROY]
  1638. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/621296053@cloud.masip.es) Running State Change CS_DESTROY (Cur 10 Tot 6708)
  1639. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/621296053@cloud.masip.es) State DESTROY
  1640. 2023-06-27 12:15:11.698649 98.57% [DEBUG] mod_sofia.c:379 sofia/default/621296053@cloud.masip.es SOFIA DESTROY
  1641. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/621296053@cloud.masip.es Standard DESTROY
  1642. 2023-06-27 12:15:11.698649 98.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/621296053@cloud.masip.es) State DESTROY going to sleep
  1643. 2023-06-27 12:15:11.878648 98.57% [DEBUG] switch_scheduler.c:147 Deleting task 3164 switch_ivr_schedule_hangup (1188194b-be6a-419e-a671-4c0a9e6c8e3c)
  1644. 2023-06-27 12:15:12.838650 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/960800730@54.170.60.120 [ae136b28-6126-4a7e-96fa-28d8a7cd03d9]
  1645. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_NEW (Cur 11 Tot 6709)
  1646. 2023-06-27 12:15:12.838650 98.57% [INFO] sofia.c:10462 sofia/default/960800730@54.170.60.120 receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 11934_67091508@54.170.60.120
  1647. 2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  1648. 2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  1649. 2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [received][100]
  1650. 2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:7509 Remote SDP:
  1651. v=0
  1652. o=Sonus_UAC 255048 70160 IN IP4 54.170.60.120
  1653. s=SIP Media Capabilities
  1654. c=IN IP4 54.170.60.120
  1655. t=0 0
  1656. m=audio 32270 RTP/AVP 8 18 0 98 13
  1657. a=rtpmap:8 PCMA/8000
  1658. a=rtpmap:18 G729/8000
  1659. a=fmtp:18 annexb=no
  1660. a=rtpmap:0 PCMU/8000
  1661. a=rtpmap:98 telephone-event/8000
  1662. a=fmtp:98 0-15
  1663. a=rtpmap:13 CN/8000
  1664. a=ptime:20
  1665.  
  1666. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1667. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1668. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1669. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1670. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  1671. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  1672. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  1673. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  1674. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  1675. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1676. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1677. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1678. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@8000
  1679. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/960800730@54.170.60.120 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1680. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_codec.c:111 sofia/default/960800730@54.170.60.120 Original read codec set to PCMA:8
  1681. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 98@8000
  1682. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/960800730@54.170.60.120 Set 2833 dtmf send payload to 98 recv payload to 98
  1683. 2023-06-27 12:15:12.838650 98.57% [DEBUG] sofia.c:7933 (sofia/default/960800730@54.170.60.120) State Change CS_NEW -> CS_INIT
  1684. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:600 (sofia/default/960800730@54.170.60.120) State NEW
  1685. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_INIT (Cur 11 Tot 6709)
  1686. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960800730@54.170.60.120) State INIT
  1687. 2023-06-27 12:15:12.838650 98.57% [DEBUG] mod_sofia.c:97 sofia/default/960800730@54.170.60.120 SOFIA INIT
  1688. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/960800730@54.170.60.120 Standard INIT
  1689. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/960800730@54.170.60.120) State Change CS_INIT -> CS_ROUTING
  1690. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960800730@54.170.60.120) State INIT going to sleep
  1691. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_ROUTING (Cur 11 Tot 6709)
  1692. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_channel.c:2380 (sofia/default/960800730@54.170.60.120) Callstate Change DOWN -> RINGING
  1693. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960800730@54.170.60.120) State ROUTING
  1694. 2023-06-27 12:15:12.838650 98.57% [DEBUG] mod_sofia.c:158 sofia/default/960800730@54.170.60.120 SOFIA ROUTING
  1695. 2023-06-27 12:15:12.838650 98.57% [DEBUG] switch_core_state_machine.c:230 sofia/default/960800730@54.170.60.120 Standard ROUTING
  1696. 2023-06-27 12:15:12.838650 98.57% [INFO] mod_dialplan_xml.c:639 Processing 960800730 <960800730>->931350100 in context default
  1697. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1698. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1699. 2023-06-27 12:15:12.858657 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  1700. Event-Name: REQUEST_PARAMS
  1701. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  1702. FreeSWITCH-Hostname: ip-10-0-2-92
  1703. FreeSWITCH-Switchname: ip-10-0-2-92
  1704. FreeSWITCH-IPv4: 10.0.2.92
  1705. FreeSWITCH-IPv6: %3A%3A1
  1706. Event-Date-Local: 2023-06-27%2012%3A15%3A12
  1707. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A12%20GMT
  1708. Event-Date-Timestamp: 1687868112838650
  1709. Event-Calling-File: mod_dialplan_xml.c
  1710. Event-Calling-Function: dialplan_xml_locate
  1711. Event-Calling-Line-Number: 610
  1712. Event-Sequence: 381088
  1713. Channel-State: CS_ROUTING
  1714. Channel-Call-State: RINGING
  1715. Channel-State-Number: 2
  1716. Channel-Name: sofia/default/960800730%4054.170.60.120
  1717. Unique-ID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
  1718. Call-Direction: inbound
  1719. Presence-Call-Direction: inbound
  1720. Channel-HIT-Dialplan: true
  1721. Channel-Presence-ID: 960800730%4054.170.60.120
  1722. Channel-Call-UUID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
  1723. Answer-State: ringing
  1724. Channel-Read-Codec-Name: PCMA
  1725. Channel-Read-Codec-Rate: 8000
  1726. Channel-Read-Codec-Bit-Rate: 64000
  1727. Channel-Write-Codec-Name: PCMA
  1728. Channel-Write-Codec-Rate: 8000
  1729. Channel-Write-Codec-Bit-Rate: 64000
  1730. Caller-Direction: inbound
  1731. Caller-Logical-Direction: inbound
  1732. Caller-Username: 960800730
  1733. Caller-Dialplan: XML
  1734. Caller-Caller-ID-Name: 960800730
  1735. Caller-Caller-ID-Number: 960800730
  1736. Caller-Orig-Caller-ID-Name: 960800730
  1737. Caller-Orig-Caller-ID-Number: 960800730
  1738. Caller-Network-Addr: 34.252.123.120
  1739. Caller-ANI: 960800730
  1740. Caller-Destination-Number: 931350100
  1741. Caller-Unique-ID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
  1742. Caller-Source: mod_sofia
  1743. Caller-Context: default
  1744. Caller-Channel-Name: sofia/default/960800730%4054.170.60.120
  1745. Caller-Profile-Index: 1
  1746. Caller-Profile-Created-Time: 1687868112838650
  1747. Caller-Channel-Created-Time: 1687868112838650
  1748. Caller-Channel-Answered-Time: 0
  1749. Caller-Channel-Progress-Time: 0
  1750. Caller-Channel-Progress-Media-Time: 0
  1751. Caller-Channel-Hangup-Time: 0
  1752. Caller-Channel-Transfer-Time: 0
  1753. Caller-Channel-Resurrect-Time: 0
  1754. Caller-Channel-Bridged-Time: 0
  1755. Caller-Channel-Last-Hold: 0
  1756. Caller-Channel-Hold-Accum: 0
  1757. Caller-Screen-Bit: true
  1758. Caller-Privacy-Hide-Name: false
  1759. Caller-Privacy-Hide-Number: false
  1760. variable_direction: inbound
  1761. variable_uuid: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
  1762. variable_session_id: 6709
  1763. variable_sip_from_user: 960800730
  1764. variable_sip_from_uri: 960800730%4054.170.60.120
  1765. variable_sip_from_host: 54.170.60.120
  1766. variable_video_media_flow: disabled
  1767. variable_text_media_flow: disabled
  1768. variable_channel_name: sofia/default/960800730%4054.170.60.120
  1769. variable_sip_call_id: 11934_67091508%4054.170.60.120
  1770. variable_sip_local_network_addr: 54.220.206.86
  1771. variable_sip_network_ip: 34.252.123.120
  1772. variable_sip_network_port: 5060
  1773. variable_sip_invite_stamp: 1687868112838650
  1774. variable_sip_received_ip: 34.252.123.120
  1775. variable_sip_received_port: 5060
  1776. variable_sip_via_protocol: udp
  1777. variable_sip_authorized: true
  1778. variable_sip_acl_authed_by: default
  1779. variable_sip_from_user_stripped: 960800730
  1780. variable_sip_from_tag: gK005789fd
  1781. variable_sofia_profile_name: default
  1782. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  1783. variable_recovery_profile_name: default
  1784. variable_sip_P-Asserted-Identity: 960800730
  1785. variable_sip_cid_type: pid
  1786. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3DgK005789fd%3Bdid%3Da6c.0788f033%3E
  1787. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3DgK005789fd%3Bdid%3Da6c.0788f033%3E
  1788. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK9688.efba9094.0,SIP/2.0/UDP%2054.170.60.120%3A5060%3Bbranch%3Dz9hG4bK00B0273999ac71e317b
  1789. variable_sip_full_from: %3Csip%3A960800730%4054.170.60.120%3E%3Btag%3DgK005789fd
  1790. variable_sip_full_to: %3Csip%3A931350100%4034.252.123.120%3E
  1791. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20REGISTER,%20REFER,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20PRACK,%20UPDATE,%20OPTIONS,%20MESSAGE,%20PUBLISH
  1792. variable_sip_req_user: 931350100
  1793. variable_sip_req_port: 5060
  1794. variable_sip_req_uri: 931350100%4034.252.123.120%3A5060
  1795. variable_sip_req_host: 34.252.123.120
  1796. variable_sip_to_user: 931350100
  1797. variable_sip_to_uri: 931350100%4034.252.123.120
  1798. variable_sip_to_host: 34.252.123.120
  1799. variable_sip_contact_user: 960800730
  1800. variable_sip_contact_port: 5060
  1801. variable_sip_contact_uri: 960800730%4054.170.60.120%3A5060
  1802. variable_sip_contact_host: 54.170.60.120
  1803. variable_sip_via_host: 34.252.123.120
  1804. variable_sip_via_port: 5060
  1805. variable_max_forwards: 69
  1806. variable_presence_id: 960800730%4054.170.60.120
  1807. variable_sip_h_X-AUTH-IP: 54.170.60.120
  1808. variable_sip_h_P-Accountcode: 226942
  1809. variable_sip_h_P-effective_caller_id_name: %3Cnull%3E
  1810. variable_sip_h_P-effective_caller_id_number: 960800730
  1811. variable_switch_r_sdp: v%3D0%0D%0Ao%3DSonus_UAC%20255048%2070160%20IN%20IP4%2054.170.60.120%0D%0As%3DSIP%20Media%20Capabilities%0D%0Ac%3DIN%20IP4%2054.170.60.120%0D%0At%3D0%200%0D%0Am%3Daudio%2032270%20RTP/AVP%208%2018%200%2098%2013%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A98%20telephone-event/8000%0D%0Aa%3Dfmtp%3A98%200-15%0D%0Aa%3Drtpmap%3A13%20CN/8000%0D%0Aa%3Dptime%3A20%0D%0A
  1812. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  1813. variable_rtp_use_codec_string: G729,PCMA,PCMU
  1814. variable_remote_video_media_flow: inactive
  1815. variable_remote_text_media_flow: inactive
  1816. variable_remote_audio_media_flow: sendrecv
  1817. variable_audio_media_flow: sendrecv
  1818. variable_remote_media_ip: 54.170.60.120
  1819. variable_remote_media_port: 32270
  1820. variable_rtp_audio_recv_pt: 8
  1821. variable_rtp_use_codec_name: PCMA
  1822. variable_rtp_use_codec_rate: 8000
  1823. variable_rtp_use_codec_ptime: 20
  1824. variable_rtp_use_codec_channels: 1
  1825. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  1826. variable_read_codec: PCMA
  1827. variable_original_read_codec: PCMA
  1828. variable_read_rate: 8000
  1829. variable_original_read_rate: 8000
  1830. variable_write_codec: PCMA
  1831. variable_write_rate: 8000
  1832. variable_dtmf_type: rfc2833
  1833. variable_endpoint_disposition: RECEIVED
  1834. variable_call_uuid: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
  1835. Hunt-Direction: inbound
  1836. Hunt-Logical-Direction: inbound
  1837. Hunt-Username: 960800730
  1838. Hunt-Dialplan: XML
  1839. Hunt-Caller-ID-Name: 960800730
  1840. Hunt-Caller-ID-Number: 960800730
  1841. Hunt-Orig-Caller-ID-Name: 960800730
  1842. Hunt-Orig-Caller-ID-Number: 960800730
  1843. Hunt-Network-Addr: 34.252.123.120
  1844. Hunt-ANI: 960800730
  1845. Hunt-Destination-Number: 931350100
  1846. Hunt-Unique-ID: ae136b28-6126-4a7e-96fa-28d8a7cd03d9
  1847. Hunt-Source: mod_sofia
  1848. Hunt-Context: default
  1849. Hunt-Channel-Name: sofia/default/960800730%4054.170.60.120
  1850. Hunt-Profile-Index: 1
  1851. Hunt-Profile-Created-Time: 1687868112838650
  1852. Hunt-Channel-Created-Time: 1687868112838650
  1853. Hunt-Channel-Answered-Time: 0
  1854. Hunt-Channel-Progress-Time: 0
  1855. Hunt-Channel-Progress-Media-Time: 0
  1856. Hunt-Channel-Hangup-Time: 0
  1857. Hunt-Channel-Transfer-Time: 0
  1858. Hunt-Channel-Resurrect-Time: 0
  1859. Hunt-Channel-Bridged-Time: 0
  1860. Hunt-Channel-Last-Hold: 0
  1861. Hunt-Channel-Hold-Accum: 0
  1862. Hunt-Screen-Bit: true
  1863. Hunt-Privacy-Hide-Name: false
  1864. Hunt-Privacy-Hide-Number: false
  1865.  
  1866.  
  1867. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  1868. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  1869. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  1870. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  1871. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 931350100
  1872. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '931350100' AND status=0 limit 1
  1873. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 960800730
  1874. 2023-06-27 12:15:12.858657 98.57% [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 ="931350100" LIMIT 1
  1875. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  1876. 2023-06-27 12:15:12.858657 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 226942]
  1877. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "226942" AND deleted = 0 limit 1
  1878. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="931350100" AND (accountid = 0 OR status = 1) LIMIT 1
  1879. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  1880. 2023-06-27 12:15:12.858657 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 13
  1881. 2023-06-27 12:15:12.858657 98.57% [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 = '^931350100.*' OR patterns = '^93135010.*' OR patterns = '^9313501.*' OR patterns = '^931350.*' OR patterns = '^93135.*' OR patterns = '^9313.*' OR patterns = '^931.*' OR patterns = '^93.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1882. 2023-06-27 12:15:12.878649 98.57% [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 ="931350100" AND A.accountid = '9' limit 1
  1883. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 931350100
  1884. 2023-06-27 12:15:12.878649 98.57% [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 ="931350100" LIMIT 1
  1885. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  1886. 2023-06-27 12:15:12.878649 98.57% [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 = '931350100' OR number = '93135010' OR number = '9313501' OR number = '931350' OR number = '93135' OR number = '9313' OR number = '931' OR number = '93' OR number = '9' OR number ='--') OR (number = '931350100*' OR number = '93135010*' OR number = '9313501*' OR number = '931350*' OR number = '93135*' OR number = '9313*' OR number = '931*' OR number = '93*' OR number = '9*' OR number ='--') OR (number = '960800730' OR number = '96080073' OR number = '9608007' OR number = '960800' OR number = '96080' OR number = '9608' OR number = '960' OR number = '96' OR number = '9' OR number ='--') OR (number = '960800730*' OR number = '96080073*' OR number = '9608007*' OR number = '960800*' OR number = '96080*' OR number = '9608*' OR number = '960*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1887. 2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1888. 2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '931350100' OR routing_prefix = '93135010' OR routing_prefix = '9313501' OR routing_prefix = '931350' OR routing_prefix = '93135' OR routing_prefix = '9313' OR routing_prefix = '931' OR routing_prefix = '93' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1889. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1890. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  1891. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 226942
  1892. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  1893. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1894. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 14
  1895. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1896. 2023-06-27 12:15:12.878649 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1897. 2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 14 AND status = 0
  1898. 2023-06-27 12:15:12.878649 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  1899. 2023-06-27 12:15:12.878649 98.57% [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 ="931350100" LIMIT 1
  1900. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  1901. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1902. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 37
  1903. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1904. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1905. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  1906. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Spain
  1907. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  1908. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  1909. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1910. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  1911. 2023-06-27 12:15:12.898648 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1912. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1913. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  1914. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0
  1915. 2023-06-27 12:15:12.898648 98.57% [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 = 9 AND status=0 LIMIT 1
  1916. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "13" AND deleted = 0 limit 1
  1917. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 14 AND status = 0
  1918. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1919. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 14 AND status = 0
  1920. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^931350100.*' OR pattern = '^93135010.*' OR pattern = '^9313501.*' OR pattern = '^931350.*' OR pattern = '^93135.*' OR pattern = '^9313.*' OR pattern = '^931.*' OR pattern = '^93.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 14 OR accountid=9)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1921. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1922. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1923. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87853
  1924. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1925. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1926. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  1927. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : MAS IP BCN
  1928. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  1929. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  1930. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1931. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1932. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1933. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  1934. 2023-06-27 12:15:12.898648 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  1935. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  1936. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  1937. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  1938. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1939. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1940. 2023-06-27 12:15:12.898648 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1941. 2023-06-27 12:15:12.898648 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 13  and status = 0 limit 1
  1942. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  1943. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  1944. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1945. <document type="freeswitch/xml">
  1946. <section name="dialplan" description="ASTPP Dialplan">
  1947. <context name="default">
  1948. <extension name="931350100">
  1949. <condition field="destination_number" expression="931350100">
  1950. <action application="set" data="effective_destination_number=931350100"/>
  1951. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1952. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1953. <action application="set" data="callstart=2023-06-27 12:15:12"/>
  1954. <action application="set" data="hangup_after_bridge=true"/>
  1955. <action application="set" data="continue_on_fail=TRUE"/>
  1956. <action application="set" data="account_id=9"/>
  1957. <action application="set" data="parent_id=0"/>
  1958. <action application="set" data="entity_id=3"/>
  1959. <action application="set" data="call_processed=internal"/>
  1960. <action application="set" data="call_direction=inbound"/>
  1961. <action application="set" data="accountname=default"/>
  1962. <action application="set" data="origination_rates_did=ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13"/>
  1963. <action application="set" data="origination_rates=ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9"/>
  1964. <action application="set" data="original_caller_id_number=960800730"/>
  1965. <action application="set" data="effective_caller_id_number=960800730"/>
  1966. <action application="set" data="receiver_accid=13"/>
  1967. <action application="export" data="domain_name="/>
  1968. <action application="export" data="sip_to_host="/>
  1969. <action application="export" data="presence_data=x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120"/>
  1970. <action application="export" data="call_type=5"/>
  1971. <action application="set" data="calltype=SIP-DID"/>
  1972. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/589399@cloud.masip.es^931350100"/>
  1973. <condition field="${cond(${user_data 589399@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  1974. <action application="answer"/>
  1975. <action application="export" data="voicemail_alternate_greet_id=931350100"/>
  1976. <action application="voicemail" data="default $${domain_name} 589399"/>
  1977. <anti-action application="hangup" data="${originate_disposition}"/>
  1978. </condition>
  1979. <action application="set" data="did_id=37"/>
  1980. <action application="set" data="destination_number=931350100"/>
  1981. <action application="set" data="leg_timeout=0"/>
  1982. <action application="set" data="call_type_vm_flag=1"/>
  1983. <action application="set" data="is_local_extension=1"/>
  1984. <action application="lua" data="did_call_forwarding.lua"/>
  1985. </condition>
  1986. </extension>
  1987. </context>
  1988. </section>
  1989. </document>
  1990. Dialplan: sofia/default/960800730@54.170.60.120 parsing [default->931350100] continue=false
  1991. Dialplan: sofia/default/960800730@54.170.60.120 Regex (PASS) [931350100] destination_number(931350100) =~ /931350100/ break=on-false
  1992. Dialplan: sofia/default/960800730@54.170.60.120 Action set(effective_destination_number=931350100)
  1993. Dialplan: sofia/default/960800730@54.170.60.120 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1994. Dialplan: sofia/default/960800730@54.170.60.120 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1995. Dialplan: sofia/default/960800730@54.170.60.120 Action set(callstart=2023-06-27 12:15:12)
  1996. Dialplan: sofia/default/960800730@54.170.60.120 Action set(hangup_after_bridge=true)
  1997. Dialplan: sofia/default/960800730@54.170.60.120 Action set(continue_on_fail=TRUE)
  1998. Dialplan: sofia/default/960800730@54.170.60.120 Action set(account_id=9)
  1999. Dialplan: sofia/default/960800730@54.170.60.120 Action set(parent_id=0)
  2000. Dialplan: sofia/default/960800730@54.170.60.120 Action set(entity_id=3)
  2001. Dialplan: sofia/default/960800730@54.170.60.120 Action set(call_processed=internal)
  2002. Dialplan: sofia/default/960800730@54.170.60.120 Action set(call_direction=inbound)
  2003. Dialplan: sofia/default/960800730@54.170.60.120 Action set(accountname=default)
  2004. Dialplan: sofia/default/960800730@54.170.60.120 Action set(origination_rates_did=ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13)
  2005. Dialplan: sofia/default/960800730@54.170.60.120 Action set(origination_rates=ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9)
  2006. Dialplan: sofia/default/960800730@54.170.60.120 Action set(original_caller_id_number=960800730)
  2007. Dialplan: sofia/default/960800730@54.170.60.120 Action set(effective_caller_id_number=960800730)
  2008. Dialplan: sofia/default/960800730@54.170.60.120 Action set(receiver_accid=13)
  2009. Dialplan: sofia/default/960800730@54.170.60.120 Action export(domain_name=)
  2010. Dialplan: sofia/default/960800730@54.170.60.120 Action export(sip_to_host=)
  2011. Dialplan: sofia/default/960800730@54.170.60.120 Action export(presence_data=x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120)
  2012. Dialplan: sofia/default/960800730@54.170.60.120 Action export(call_type=5)
  2013. Dialplan: sofia/default/960800730@54.170.60.120 Action set(calltype=SIP-DID)
  2014. Dialplan: sofia/default/960800730@54.170.60.120 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/589399@cloud.masip.es^931350100)
  2015. Dialplan: sofia/default/960800730@54.170.60.120 Action set(did_id=37)
  2016. Dialplan: sofia/default/960800730@54.170.60.120 Action set(destination_number=931350100)
  2017. Dialplan: sofia/default/960800730@54.170.60.120 Action set(leg_timeout=0)
  2018. Dialplan: sofia/default/960800730@54.170.60.120 Action set(call_type_vm_flag=1)
  2019. Dialplan: sofia/default/960800730@54.170.60.120 Action set(is_local_extension=1)
  2020. Dialplan: sofia/default/960800730@54.170.60.120 Action lua(did_call_forwarding.lua)
  2021. |--- Dialplan: Processing recursive conditions level:1 [931350100_recur_1] require-nested=TRUE
  2022. |--- Dialplan: sofia/default/960800730@54.170.60.120 Regex (PASS) [931350100_recur_1] ${cond(${user_data 589399@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  2023. |--- Dialplan: sofia/default/960800730@54.170.60.120 Action answer()
  2024. |--- Dialplan: sofia/default/960800730@54.170.60.120 Action export(voicemail_alternate_greet_id=931350100)
  2025. |--- Dialplan: sofia/default/960800730@54.170.60.120 Action voicemail(default $${domain_name} 589399)
  2026. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:281 (sofia/default/960800730@54.170.60.120) State Change CS_ROUTING -> CS_EXECUTE
  2027. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960800730@54.170.60.120) State ROUTING going to sleep
  2028. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_EXECUTE (Cur 11 Tot 6709)
  2029. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/960800730@54.170.60.120) State EXECUTE
  2030. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:213 sofia/default/960800730@54.170.60.120 SOFIA EXECUTE
  2031. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:323 sofia/default/960800730@54.170.60.120 Standard EXECUTE
  2032. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(effective_destination_number=931350100)
  2033. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [effective_destination_number]=[931350100]
  2034. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(bridge_pre_execute_bleg_app=sched_hangup)
  2035. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2036. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2037. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2038. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(callstart=2023-06-27 12:15:12)
  2039. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [callstart]=[2023-06-27 12:15:12]
  2040. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(hangup_after_bridge=true)
  2041. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [hangup_after_bridge]=[true]
  2042. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(continue_on_fail=TRUE)
  2043. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [continue_on_fail]=[TRUE]
  2044. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(account_id=9)
  2045. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [account_id]=[9]
  2046. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(parent_id=0)
  2047. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [parent_id]=[0]
  2048. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(entity_id=3)
  2049. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [entity_id]=[3]
  2050. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(call_processed=internal)
  2051. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [call_processed]=[internal]
  2052. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(call_direction=inbound)
  2053. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [call_direction]=[inbound]
  2054. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(accountname=default)
  2055. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [accountname]=[default]
  2056. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(origination_rates_did=ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13)
  2057. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [origination_rates_did]=[ID:37|CODE:^931350100.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:13]
  2058. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(origination_rates=ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9)
  2059. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [origination_rates]=[ID:87853|CODE:^931350100.*|DESTINATION:MAS IP BCN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:14|MARKUP:0|CI:174|ACCID:9]
  2060. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(original_caller_id_number=960800730)
  2061. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [original_caller_id_number]=[960800730]
  2062. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(effective_caller_id_number=960800730)
  2063. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [effective_caller_id_number]=[960800730]
  2064. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(receiver_accid=13)
  2065. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [receiver_accid]=[13]
  2066. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(domain_name=)
  2067. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  2068. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(sip_to_host=)
  2069. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  2070. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(presence_data=x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120)
  2071. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120]
  2072. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 export(call_type=5)
  2073. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[5]
  2074. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 set(calltype=SIP-DID)
  2075. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/default/960800730@54.170.60.120 [calltype]=[SIP-DID]
  2076. EXECUTE [depth=0] sofia/default/960800730@54.170.60.120 bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/589399@cloud.masip.es^931350100)
  2077. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1269 sofia/default/960800730@54.170.60.120 EXPORTING[export_vars] [presence_data]=[x|||MAS IP TI(589399)|||||||||DID|||54.170.60.120] to event
  2078. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_channel.c:1269 sofia/default/960800730@54.170.60.120 EXPORTING[export_vars] [call_type]=[5] to event
  2079. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2080. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2081. 2023-06-27 12:15:12.918655 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/default/589399@cloud.masip.es [373934f9-3eb0-46b3-8807-bc06da38483c]
  2082. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:5121 (sofia/default/589399@cloud.masip.es) State Change CS_NEW -> CS_INIT
  2083. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_INIT (Cur 12 Tot 6710)
  2084. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/589399@cloud.masip.es) State INIT
  2085. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:97 sofia/default/589399@cloud.masip.es SOFIA INIT
  2086. 2023-06-27 12:15:12.918655 98.57% [INFO] sofia_glue.c:1651 sofia/default/589399@cloud.masip.es sending invite call-id: (null)
  2087. 2023-06-27 12:15:12.918655 98.57% [DEBUG] sofia_glue.c:1654 sofia/default/589399@cloud.masip.es sending invite version: 1.10.7 -release 64bit
  2088. Local SDP:
  2089. v=0
  2090. o=FreeSWITCH 1687837562 1687837563 IN IP4 54.220.206.86
  2091. s=FreeSWITCH
  2092. c=IN IP4 54.220.206.86
  2093. t=0 0
  2094. m=audio 30550 RTP/AVP 8 101
  2095. a=rtpmap:8 PCMA/8000
  2096. a=rtpmap:101 telephone-event/8000
  2097. a=fmtp:101 0-15
  2098. a=ptime:20
  2099. a=sendrecv
  2100.  
  2101. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/default/589399@cloud.masip.es Standard INIT
  2102. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/default/589399@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  2103. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/default/589399@cloud.masip.es) State INIT going to sleep
  2104. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_ROUTING (Cur 12 Tot 6710)
  2105. 2023-06-27 12:15:12.918655 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/589399@cloud.masip.es entering state [calling][0]
  2106. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/589399@cloud.masip.es) State ROUTING
  2107. 2023-06-27 12:15:12.918655 98.57% [DEBUG] mod_sofia.c:158 sofia/default/589399@cloud.masip.es SOFIA ROUTING
  2108. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_ivr_originate.c:67 (sofia/default/589399@cloud.masip.es) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2109. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/default/589399@cloud.masip.es) State ROUTING going to sleep
  2110. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 6710)
  2111. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/589399@cloud.masip.es) State CONSUME_MEDIA
  2112. 2023-06-27 12:15:12.918655 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/default/589399@cloud.masip.es) State CONSUME_MEDIA going to sleep
  2113. 2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/589399@cloud.masip.es entering state [completing][200]
  2114. 2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7509 Remote SDP:
  2115. v=0
  2116. o=root 207746308 207746308 IN IP4 54.72.32.66
  2117. s=Asterisk PBX 13.20.0
  2118. c=IN IP4 54.72.32.66
  2119. t=0 0
  2120. m=audio 12832 RTP/AVP 8 101
  2121. a=rtpmap:8 PCMA/8000
  2122. a=rtpmap:101 telephone-event/8000
  2123. a=fmtp:101 0-16
  2124. a=maxptime:150
  2125.  
  2126. 2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/589399@cloud.masip.es entering state [ready][200]
  2127. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  2128. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2129. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2130. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/589399@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2131. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_codec.c:111 sofia/default/589399@cloud.masip.es Original read codec set to PCMA:8
  2132. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2133. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/589399@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  2134. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/589399@cloud.masip.es] 10.0.2.92 port 30550 -> 54.72.32.66 port 12832 codec: 8 ms: 20
  2135. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2136. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9089 sofia/default/589399@cloud.masip.es Set 2833 dtmf send payload to 101
  2137. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9096 sofia/default/589399@cloud.masip.es Set 2833 dtmf receive payload to 101
  2138. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9119 sofia/default/589399@cloud.masip.es Set rtp dtmf delay to 40
  2139. 2023-06-27 12:15:13.458647 98.57% [NOTICE] sofia.c:8683 Channel [sofia/default/589399@cloud.masip.es] has been answered
  2140. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_channel.c:3950 (sofia/default/589399@cloud.masip.es) Callstate Change DOWN -> ACTIVE
  2141. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/960800730@54.170.60.120] 10.0.2.92 port 21612 -> 54.170.60.120 port 32270 codec: 8 ms: 20
  2142. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2143. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9089 sofia/default/960800730@54.170.60.120 Set 2833 dtmf send payload to 98
  2144. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9096 sofia/default/960800730@54.170.60.120 Set 2833 dtmf receive payload to 98
  2145. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_media.c:9119 sofia/default/960800730@54.170.60.120 Set rtp dtmf delay to 40
  2146. 2023-06-27 12:15:13.458647 98.57% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/960800730@54.170.60.120:
  2147. v=0
  2148. o=FreeSWITCH 1687846501 1687846502 IN IP4 54.220.206.86
  2149. s=FreeSWITCH
  2150. c=IN IP4 54.220.206.86
  2151. t=0 0
  2152. m=audio 21612 RTP/AVP 8 98
  2153. a=rtpmap:8 PCMA/8000
  2154. a=rtpmap:98 telephone-event/8000
  2155. a=fmtp:98 0-15
  2156. a=ptime:20
  2157. a=sendrecv
  2158.  
  2159. 2023-06-27 12:15:13.458647 98.57% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/960800730@54.170.60.120] has been answered
  2160. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_channel.c:3950 (sofia/default/960800730@54.170.60.120) Callstate Change RINGING -> ACTIVE
  2161. 2023-06-27 12:15:13.458647 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [completed][200]
  2162. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/589399@cloud.masip.es] Peer UUID: 373934f9-3eb0-46b3-8807-bc06da38483c
  2163. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/589399@cloud.masip.es) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2164. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 6710)
  2165. 2023-06-27 12:15:13.458647 98.57% [DEBUG] switch_core_state_machine.c:650 (sofia/default/589399@cloud.masip.es) State EXCHANGE_MEDIA
  2166. 2023-06-27 12:15:13.458647 98.57% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  2167. 2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [ready][200]
  2168. 2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [received][100]
  2169. 2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:7509 Remote SDP:
  2170. v=0
  2171. o=Sonus_UAC 255048 70161 IN IP4 54.170.60.120
  2172. s=SIP Media Capabilities
  2173. c=IN IP4 54.170.60.120
  2174. t=0 0
  2175. m=audio 32270 RTP/AVP 8 98
  2176. a=rtpmap:8 PCMA/8000
  2177. a=rtpmap:98 telephone-event/8000
  2178. a=fmtp:98 0-15
  2179. a=ptime:20
  2180.  
  2181. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2182. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2183. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2184. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2185. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@8000
  2186. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 98@8000
  2187. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:5973 sofia/default/960800730@54.170.60.120 Set 2833 dtmf send payload to 98 recv payload to 98
  2188. 2023-06-27 12:15:13.478648 98.57% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/960800730@54.170.60.120.
  2189. 2023-06-27 12:15:13.478648 98.57% [DEBUG] sofia.c:8454 Processing updated SDP
  2190. 2023-06-27 12:15:13.498653 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [completed][200]
  2191. 2023-06-27 12:15:13.498653 98.57% [DEBUG] sofia.c:7499 Channel sofia/default/960800730@54.170.60.120 entering state [ready][200]
  2192. 2023-06-27 12:15:13.658649 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/589399@cloud.masip.es Bridge execute app sched_hangup(+6000 normal_clearing)
  2193. 2023-06-27 12:15:13.678650 98.47% [DEBUG] switch_ivr.c:632 sofia/default/589399@cloud.masip.es Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  2194. EXECUTE [depth=0] sofia/default/589399@cloud.masip.es sched_hangup(+6000 normal_clearing)
  2195. 2023-06-27 12:15:13.678650 98.47% [DEBUG] switch_scheduler.c:263 Added task 3165 switch_ivr_schedule_hangup (373934f9-3eb0-46b3-8807-bc06da38483c) to run at 1687874113
  2196. 2023-06-27 12:15:14.078648 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2197. 2023-06-27 12:15:16.198653 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [completing][200]
  2198. 2023-06-27 12:15:16.198653 98.43% [DEBUG] sofia.c:7506 Duplicate SDP
  2199. v=0
  2200. o=Sonus_UAC 649970 948296 IN IP4 54.170.60.120
  2201. s=SIP Media Capabilities
  2202. c=IN IP4 54.170.60.120
  2203. t=0 0
  2204. m=audio 32050 RTP/AVP 0 101
  2205. a=rtpmap:0 PCMU/8000
  2206. a=rtpmap:101 telephone-event/8000
  2207. a=fmtp:101 0-15
  2208. a=ptime:20
  2209.  
  2210. 2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [ready][200]
  2211. 2023-06-27 12:15:16.218651 98.43% [NOTICE] sofia.c:8624 Channel [sofia/default/34664223774] has been answered
  2212. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_channel.c:3950 (sofia/default/34664223774) Callstate Change EARLY -> ACTIVE
  2213. 2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [received][100]
  2214. 2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7509 Remote SDP:
  2215. v=0
  2216. o=Sonus_UAC 649970 948297 IN IP4 54.170.60.120
  2217. s=SIP Media Capabilities
  2218. c=IN IP4 54.170.60.120
  2219. t=0 0
  2220. m=audio 32050 RTP/AVP 8 101
  2221. a=rtpmap:8 PCMA/8000
  2222. a=rtpmap:101 telephone-event/8000
  2223. a=fmtp:101 0-15
  2224. a=ptime:20
  2225.  
  2226. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2227. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2228. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2229. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2230. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2231. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2232. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:5973 sofia/default/34664223774 Set 2833 dtmf send payload to 101 recv payload to 101
  2233. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34664223774.
  2234. 2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:8454 Processing updated SDP
  2235. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/621296053@cloud.masip.es.
  2236. 2023-06-27 12:15:16.218651 98.43% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/621296053@cloud.masip.es:
  2237. v=0
  2238. o=FreeSWITCH 1687851208 1687851210 IN IP4 54.220.206.86
  2239. s=FreeSWITCH
  2240. c=IN IP4 54.220.206.86
  2241. t=0 0
  2242. m=audio 16898 RTP/AVP 8 101
  2243. a=rtpmap:8 PCMA/8000
  2244. a=rtpmap:101 telephone-event/8000
  2245. a=fmtp:101 0-15
  2246. a=ptime:20
  2247. a=sendrecv
  2248.  
  2249. 2023-06-27 12:15:16.218651 98.43% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/621296053@cloud.masip.es] has been answered
  2250. 2023-06-27 12:15:16.218651 98.43% [DEBUG] switch_channel.c:3950 (sofia/default/621296053@cloud.masip.es) Callstate Change EARLY -> ACTIVE
  2251. 2023-06-27 12:15:16.218651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [completed][200]
  2252. 2023-06-27 12:15:16.238651 98.43% [DEBUG] switch_core_media.c:3768 Changing Codec from PCMU@20ms@8000hz to PCMA@20ms@8000hz
  2253. 2023-06-27 12:15:16.238651 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [ready][200]
  2254. 2023-06-27 12:15:16.278650 98.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34664223774 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2255. 2023-06-27 12:15:16.278650 98.43% [DEBUG] switch_core_codec.c:123 sofia/default/34664223774 Original read codec replaced with PCMA:8
  2256. 2023-06-27 12:15:16.278650 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [completed][200]
  2257. 2023-06-27 12:15:16.278650 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/34664223774 entering state [ready][200]
  2258. 2023-06-27 12:15:16.298651 98.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2259. 2023-06-27 12:15:16.298651 98.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2260. 2023-06-27 12:15:22.738650 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/621296078@cloud.masip.es [d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5]
  2261. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_NEW (Cur 13 Tot 6711)
  2262. 2023-06-27 12:15:22.738650 98.47% [INFO] sofia.c:10462 sofia/default/621296078@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 54926f641156e7911fd147002375c578@cloud.masip.es
  2263. 2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  2264. 2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  2265. 2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [received][100]
  2266. 2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:7509 Remote SDP:
  2267. v=0
  2268. o=root 781160963 781160963 IN IP4 51.91.247.55
  2269. s=DialApplet
  2270. c=IN IP4 51.91.247.55
  2271. t=0 0
  2272. m=audio 15860 RTP/AVP 8 18 101
  2273. a=rtpmap:8 PCMA/8000
  2274. a=rtpmap:18 G729/8000
  2275. a=fmtp:18 annexb=no
  2276. a=rtpmap:101 telephone-event/8000
  2277. a=fmtp:101 0-16
  2278. a=silenceSupp:off - - - -
  2279. a=ptime:20
  2280.  
  2281. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2282. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2283. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2284. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2285. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  2286. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2287. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  2288. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  2289. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2290. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296078@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2291. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/621296078@cloud.masip.es Original read codec set to PCMA:8
  2292. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2293. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/621296078@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  2294. 2023-06-27 12:15:22.738650 98.47% [DEBUG] sofia.c:7933 (sofia/default/621296078@cloud.masip.es) State Change CS_NEW -> CS_INIT
  2295. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296078@cloud.masip.es) State NEW
  2296. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_INIT (Cur 13 Tot 6711)
  2297. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296078@cloud.masip.es) State INIT
  2298. 2023-06-27 12:15:22.738650 98.47% [DEBUG] mod_sofia.c:97 sofia/default/621296078@cloud.masip.es SOFIA INIT
  2299. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296078@cloud.masip.es Standard INIT
  2300. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296078@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  2301. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296078@cloud.masip.es) State INIT going to sleep
  2302. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_ROUTING (Cur 13 Tot 6711)
  2303. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_channel.c:2380 (sofia/default/621296078@cloud.masip.es) Callstate Change DOWN -> RINGING
  2304. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296078@cloud.masip.es) State ROUTING
  2305. 2023-06-27 12:15:22.738650 98.47% [DEBUG] mod_sofia.c:158 sofia/default/621296078@cloud.masip.es SOFIA ROUTING
  2306. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296078@cloud.masip.es Standard ROUTING
  2307. 2023-06-27 12:15:22.738650 98.47% [INFO] mod_dialplan_xml.c:639 Processing 621296078 <621296078>->34928817922 in context default
  2308. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2309. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2310. 2023-06-27 12:15:22.738650 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  2311. Event-Name: REQUEST_PARAMS
  2312. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  2313. FreeSWITCH-Hostname: ip-10-0-2-92
  2314. FreeSWITCH-Switchname: ip-10-0-2-92
  2315. FreeSWITCH-IPv4: 10.0.2.92
  2316. FreeSWITCH-IPv6: %3A%3A1
  2317. Event-Date-Local: 2023-06-27%2012%3A15%3A22
  2318. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A22%20GMT
  2319. Event-Date-Timestamp: 1687868122738650
  2320. Event-Calling-File: mod_dialplan_xml.c
  2321. Event-Calling-Function: dialplan_xml_locate
  2322. Event-Calling-Line-Number: 610
  2323. Event-Sequence: 381186
  2324. Channel-State: CS_ROUTING
  2325. Channel-Call-State: RINGING
  2326. Channel-State-Number: 2
  2327. Channel-Name: sofia/default/621296078%40cloud.masip.es
  2328. Unique-ID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
  2329. Call-Direction: inbound
  2330. Presence-Call-Direction: inbound
  2331. Channel-HIT-Dialplan: true
  2332. Channel-Presence-ID: 621296078%40cloud.masip.es
  2333. Channel-Call-UUID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
  2334. Answer-State: ringing
  2335. Channel-Read-Codec-Name: PCMA
  2336. Channel-Read-Codec-Rate: 8000
  2337. Channel-Read-Codec-Bit-Rate: 64000
  2338. Channel-Write-Codec-Name: PCMA
  2339. Channel-Write-Codec-Rate: 8000
  2340. Channel-Write-Codec-Bit-Rate: 64000
  2341. Caller-Direction: inbound
  2342. Caller-Logical-Direction: inbound
  2343. Caller-Username: 621296078
  2344. Caller-Dialplan: XML
  2345. Caller-Caller-ID-Name: 621296078
  2346. Caller-Caller-ID-Number: 621296078
  2347. Caller-Orig-Caller-ID-Name: 621296078
  2348. Caller-Orig-Caller-ID-Number: 621296078
  2349. Caller-Network-Addr: 34.252.123.120
  2350. Caller-ANI: 621296078
  2351. Caller-Destination-Number: 34928817922
  2352. Caller-Unique-ID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
  2353. Caller-Source: mod_sofia
  2354. Caller-Context: default
  2355. Caller-Channel-Name: sofia/default/621296078%40cloud.masip.es
  2356. Caller-Profile-Index: 1
  2357. Caller-Profile-Created-Time: 1687868122738650
  2358. Caller-Channel-Created-Time: 1687868122738650
  2359. Caller-Channel-Answered-Time: 0
  2360. Caller-Channel-Progress-Time: 0
  2361. Caller-Channel-Progress-Media-Time: 0
  2362. Caller-Channel-Hangup-Time: 0
  2363. Caller-Channel-Transfer-Time: 0
  2364. Caller-Channel-Resurrect-Time: 0
  2365. Caller-Channel-Bridged-Time: 0
  2366. Caller-Channel-Last-Hold: 0
  2367. Caller-Channel-Hold-Accum: 0
  2368. Caller-Screen-Bit: false
  2369. Caller-Privacy-Hide-Name: false
  2370. Caller-Privacy-Hide-Number: false
  2371. variable_direction: inbound
  2372. variable_uuid: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
  2373. variable_session_id: 6711
  2374. variable_sip_from_user: 621296078
  2375. variable_sip_from_uri: 621296078%40cloud.masip.es
  2376. variable_sip_from_host: cloud.masip.es
  2377. variable_video_media_flow: disabled
  2378. variable_text_media_flow: disabled
  2379. variable_channel_name: sofia/default/621296078%40cloud.masip.es
  2380. variable_sip_call_id: 54926f641156e7911fd147002375c578%40cloud.masip.es
  2381. variable_sip_local_network_addr: 54.220.206.86
  2382. variable_sip_network_ip: 34.252.123.120
  2383. variable_sip_network_port: 5060
  2384. variable_sip_invite_stamp: 1687868122738650
  2385. variable_sip_received_ip: 34.252.123.120
  2386. variable_sip_received_port: 5060
  2387. variable_sip_via_protocol: udp
  2388. variable_sip_authorized: true
  2389. variable_sip_acl_authed_by: default
  2390. variable_sip_from_user_stripped: 621296078
  2391. variable_sip_from_tag: as6a0b8bd4
  2392. variable_sofia_profile_name: default
  2393. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  2394. variable_recovery_profile_name: default
  2395. variable_sip_Remote-Party-ID: %22621296078%22%20%3Csip%3A621296078%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  2396. variable_sip_cid_type: rpid
  2397. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6a0b8bd4%3Bdid%3De7.c0859dc5%3E
  2398. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6a0b8bd4%3Bdid%3De7.c0859dc5%3E
  2399. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKf4f2.618f59e3.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK263076af
  2400. variable_sip_from_display: 621296078
  2401. variable_sip_full_from: %22621296078%22%20%3Csip%3A621296078%40cloud.masip.es%3E%3Btag%3Das6a0b8bd4
  2402. variable_sip_full_to: %3Csip%3A34928817922%40cloud.masip.es%3E
  2403. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
  2404. variable_sip_req_user: 34928817922
  2405. variable_sip_req_uri: 34928817922%40cloud.masip.es
  2406. variable_sip_req_host: cloud.masip.es
  2407. variable_sip_to_user: 34928817922
  2408. variable_sip_to_uri: 34928817922%40cloud.masip.es
  2409. variable_sip_to_host: cloud.masip.es
  2410. variable_sip_contact_user: 621296078
  2411. variable_sip_contact_port: 5060
  2412. variable_sip_contact_uri: 621296078%4051.91.247.55%3A5060
  2413. variable_sip_contact_host: 51.91.247.55
  2414. variable_sip_user_agent: DialApplet
  2415. variable_sip_via_host: 34.252.123.120
  2416. variable_sip_via_port: 5060
  2417. variable_max_forwards: 69
  2418. variable_presence_id: 621296078%40cloud.masip.es
  2419. variable_sip_date_epoch_time: 1687868122
  2420. variable_sip_h_X-AUTH-IP: 51.91.247.55
  2421. variable_sip_h_P-Accountcode: 437146
  2422. variable_sip_h_P-effective_caller_id_name: %22621296078%22
  2423. variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
  2424. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20781160963%20781160963%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2015860%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
  2425. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  2426. variable_rtp_use_codec_string: G729,PCMA,PCMU
  2427. variable_remote_video_media_flow: inactive
  2428. variable_remote_text_media_flow: inactive
  2429. variable_remote_audio_media_flow: sendrecv
  2430. variable_audio_media_flow: sendrecv
  2431. variable_remote_media_ip: 51.91.247.55
  2432. variable_remote_media_port: 15860
  2433. variable_rtp_audio_recv_pt: 8
  2434. variable_rtp_use_codec_name: PCMA
  2435. variable_rtp_use_codec_rate: 8000
  2436. variable_rtp_use_codec_ptime: 20
  2437. variable_rtp_use_codec_channels: 1
  2438. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  2439. variable_read_codec: PCMA
  2440. variable_original_read_codec: PCMA
  2441. variable_read_rate: 8000
  2442. variable_original_read_rate: 8000
  2443. variable_write_codec: PCMA
  2444. variable_write_rate: 8000
  2445. variable_dtmf_type: rfc2833
  2446. variable_endpoint_disposition: RECEIVED
  2447. variable_call_uuid: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
  2448. Hunt-Direction: inbound
  2449. Hunt-Logical-Direction: inbound
  2450. Hunt-Username: 621296078
  2451. Hunt-Dialplan: XML
  2452. Hunt-Caller-ID-Name: 621296078
  2453. Hunt-Caller-ID-Number: 621296078
  2454. Hunt-Orig-Caller-ID-Name: 621296078
  2455. Hunt-Orig-Caller-ID-Number: 621296078
  2456. Hunt-Network-Addr: 34.252.123.120
  2457. Hunt-ANI: 621296078
  2458. Hunt-Destination-Number: 34928817922
  2459. Hunt-Unique-ID: d89e4bc3-61b0-4c1a-ab6c-7f5d96c537f5
  2460. Hunt-Source: mod_sofia
  2461. Hunt-Context: default
  2462. Hunt-Channel-Name: sofia/default/621296078%40cloud.masip.es
  2463. Hunt-Profile-Index: 1
  2464. Hunt-Profile-Created-Time: 1687868122738650
  2465. Hunt-Channel-Created-Time: 1687868122738650
  2466. Hunt-Channel-Answered-Time: 0
  2467. Hunt-Channel-Progress-Time: 0
  2468. Hunt-Channel-Progress-Media-Time: 0
  2469. Hunt-Channel-Hangup-Time: 0
  2470. Hunt-Channel-Transfer-Time: 0
  2471. Hunt-Channel-Resurrect-Time: 0
  2472. Hunt-Channel-Bridged-Time: 0
  2473. Hunt-Channel-Last-Hold: 0
  2474. Hunt-Channel-Hold-Accum: 0
  2475. Hunt-Screen-Bit: false
  2476. Hunt-Privacy-Hide-Name: false
  2477. Hunt-Privacy-Hide-Number: false
  2478.  
  2479.  
  2480. 2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  2481. 2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  2482. 2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  2483. 2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  2484. 2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34928817922
  2485. 2023-06-27 12:15:22.738650 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34928817922' AND status=0 limit 1
  2486. 2023-06-27 12:15:22.738650 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "621296078" / <null>
  2487. 2023-06-27 12:15:22.738650 98.47% [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 ="34928817922" LIMIT 1
  2488. 2023-06-27 12:15:22.738650 98.47% [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="34928817922" limit 1
  2489. 2023-06-27 12:15:22.758653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  2490. 2023-06-27 12:15:22.758653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
  2491. 2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
  2492. 2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34928817922.*' OR blocked_patterns = '^3492881792.*' OR blocked_patterns = '^349288179.*' OR blocked_patterns = '^34928817.*' OR blocked_patterns = '^3492881.*' OR blocked_patterns = '^349288.*' OR blocked_patterns = '^34928.*' OR blocked_patterns = '^3492.*' OR blocked_patterns = '^349.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
  2493. 2023-06-27 12:15:22.758653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34928817922" AND (accountid = 0 OR status = 1) LIMIT 1
  2494. 2023-06-27 12:15:22.758653 98.47% [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 = '^34928817922.*' OR patterns = '^3492881792.*' OR patterns = '^349288179.*' OR patterns = '^34928817.*' OR patterns = '^3492881.*' OR patterns = '^349288.*' OR patterns = '^34928.*' OR patterns = '^3492.*' OR patterns = '^349.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2495. 2023-06-27 12:15:22.758653 98.47% [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 ="34928817922" AND A.accountid = '107' limit 1
  2496. 2023-06-27 12:15:22.758653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34928817922
  2497. 2023-06-27 12:15:22.758653 98.47% [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 ="34928817922" LIMIT 1
  2498. 2023-06-27 12:15:22.758653 98.47% [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="34928817922" limit 1
  2499. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  2500. 2023-06-27 12:15:22.778653 98.47% [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 = '34928817922' OR number = '3492881792' OR number = '349288179' OR number = '34928817' OR number = '3492881' OR number = '349288' OR number = '34928' OR number = '3492' OR number = '349' OR number = '34' OR number = '3' OR number ='--') OR (number = '34928817922*' OR number = '3492881792*' OR number = '349288179*' OR number = '34928817*' OR number = '3492881*' OR number = '349288*' OR number = '34928*' OR number = '3492*' OR number = '349*' 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
  2501. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  2502. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34928817922' OR routing_prefix = '3492881792' OR routing_prefix = '349288179' OR routing_prefix = '34928817' OR routing_prefix = '3492881' OR routing_prefix = '349288' OR routing_prefix = '34928' OR routing_prefix = '3492' OR routing_prefix = '349' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  2503. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2504. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
  2505. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
  2506. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.8322
  2507. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2508. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
  2509. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  2510. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2511. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2512. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2513. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2514. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34928817922.*' OR pattern = '^3492881792.*' OR pattern = '^349288179.*' OR pattern = '^34928817.*' OR pattern = '^3492881.*' OR pattern = '^349288.*' OR pattern = '^34928.*' OR pattern = '^3492.*' OR pattern = '^349.*' 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
  2515. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2516. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2517. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87798
  2518. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2519. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2520. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00140
  2521. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Fixed
  2522. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  2523. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
  2524. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  2525. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2526. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2527. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.8322 balance Accountid 107 !!!
  2528. 2023-06-27 12:15:22.778653 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  2529. 2023-06-27 12:15:22.778653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  2530. 2023-06-27 12:15:22.778653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  2531. 2023-06-27 12:15:22.778653 98.47% [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
  2532. 2023-06-27 12:15:22.778653 98.47% [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 = '^34928817922.*' OR pattern = '^3492881792.*' OR pattern = '^349288179.*' OR pattern = '^34928817.*' OR pattern = '^3492881.*' OR pattern = '^349288.*' OR pattern = '^34928.*' OR pattern = '^3492.*' OR pattern = '^349.*' 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
  2533. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2534. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
  2535. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3492.*
  2536. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  2537. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2538. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2539. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3492.*
  2540. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2541. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2542. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  2543. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  2544. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2545. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  2546. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  2547. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2548. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  2549. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2550. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2551. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32787
  2552. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3492.*
  2553. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  2554. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2555. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2556. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3492.*
  2557. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2558. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2559. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  2560. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  2561. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2562. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2563. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  2564. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2565. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  2566. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2567. 2023-06-27 12:15:22.798652 98.47% [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
  2568. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  2569. 2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2570. 2023-06-27 12:15:22.798652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2571. 2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2572. 2023-06-27 12:15:22.798652 98.47% [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
  2573. 2023-06-27 12:15:22.798652 98.47% [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
  2574. 2023-06-27 12:15:22.798652 98.47% [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 ="34928817922" LIMIT 1
  2575. 2023-06-27 12:15:22.798652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  2576. 2023-06-27 12:15:22.818653 98.47% [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
  2577. 2023-06-27 12:15:22.818653 98.47% [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
  2578. 2023-06-27 12:15:22.818653 98.47% [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 ="34928817922" LIMIT 1
  2579. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2580. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2581. <document type="freeswitch/xml">
  2582. <section name="dialplan" description="ASTPP Dialplan">
  2583. <context name="default">
  2584. <extension name="34928817922">
  2585. <condition field="destination_number" expression="34928817922">
  2586. <action application="set" data="effective_destination_number=34928817922"/>
  2587. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2588. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  2589. <action application="set" data="callstart=2023-06-27 12:15:22"/>
  2590. <action application="set" data="hangup_after_bridge=true"/>
  2591. <action application="set" data="continue_on_fail=TRUE"/>
  2592. <action application="set" data="account_id=107"/>
  2593. <action application="set" data="parent_id=0"/>
  2594. <action application="set" data="entity_id=0"/>
  2595. <action application="set" data="call_processed=internal"/>
  2596. <action application="set" data="call_direction=outbound"/>
  2597. <action application="set" data="accountname=default"/>
  2598. <action application="set" data="origination_rates=ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107"/>
  2599. <action application="set" data="original_caller_id_name=621296078"/>
  2600. <action application="limit" data="db 437146 user_437146 100 "/>
  2601.  
  2602. <action application="set" data="effective_caller_id_name="621296078""/>
  2603. <action application="set" data="calltype=STANDARD"/>
  2604. <action application="set" data="termination_rates=ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
  2605. <action application="set" data="trunk_id=3"/>
  2606. <action application="set" data="provider_id=9"/>
  2607. <action application="set" data="rate_flag=2"/>
  2608. <action application="set" data="force_trunk_flag=0"/>
  2609. <action application="export" data="presence_data=trunk_id=3"/>
  2610. <action application="set" data="intcall=0"/>
  2611. <action application="export" data="presence_id=34928817922"/>
  2612. <action application="export" data="presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55"/>
  2613. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34928817922;fs_path=sip:34.252.123.120:5060"/>
  2614. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34928817922;fs_path=sip:34.252.123.120:5060"/>
  2615. <action application="set" data="effective_caller_id_name="621296078""/>
  2616. <action application="set" data="calltype=STANDARD"/>
  2617. <action application="set" data="termination_rates=ID:32787|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
  2618. <action application="set" data="trunk_id=4"/>
  2619. <action application="set" data="provider_id=37"/>
  2620. <action application="set" data="rate_flag=2"/>
  2621. <action application="set" data="force_trunk_flag=0"/>
  2622. <action application="export" data="presence_data=trunk_id=4"/>
  2623. <action application="set" data="intcall=0"/>
  2624. <action application="export" data="presence_id=34928817922"/>
  2625. <action application="export" data="presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||VozAntiDDos // ^3492.* // SPAIN // 0.00120 // trunk_id=4|||STD|||51.91.247.55"/>
  2626. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34928817922;fs_path=sip:34.252.123.120:5060"/>
  2627. </condition>
  2628. </extension>
  2629. </context>
  2630. </section>
  2631. </document>
  2632. Dialplan: sofia/default/621296078@cloud.masip.es parsing [default->34928817922] continue=false
  2633. Dialplan: sofia/default/621296078@cloud.masip.es Regex (PASS) [34928817922] destination_number(34928817922) =~ /34928817922/ break=on-false
  2634. Dialplan: sofia/default/621296078@cloud.masip.es Action set(effective_destination_number=34928817922)
  2635. Dialplan: sofia/default/621296078@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2636. Dialplan: sofia/default/621296078@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2637. Dialplan: sofia/default/621296078@cloud.masip.es Action set(callstart=2023-06-27 12:15:22)
  2638. Dialplan: sofia/default/621296078@cloud.masip.es Action set(hangup_after_bridge=true)
  2639. Dialplan: sofia/default/621296078@cloud.masip.es Action set(continue_on_fail=TRUE)
  2640. Dialplan: sofia/default/621296078@cloud.masip.es Action set(account_id=107)
  2641. Dialplan: sofia/default/621296078@cloud.masip.es Action set(parent_id=0)
  2642. Dialplan: sofia/default/621296078@cloud.masip.es Action set(entity_id=0)
  2643. Dialplan: sofia/default/621296078@cloud.masip.es Action set(call_processed=internal)
  2644. Dialplan: sofia/default/621296078@cloud.masip.es Action set(call_direction=outbound)
  2645. Dialplan: sofia/default/621296078@cloud.masip.es Action set(accountname=default)
  2646. Dialplan: sofia/default/621296078@cloud.masip.es Action set(origination_rates=ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
  2647. Dialplan: sofia/default/621296078@cloud.masip.es Action set(original_caller_id_name=621296078)
  2648. Dialplan: sofia/default/621296078@cloud.masip.es Action limit(db 437146 user_437146 100 )
  2649. Dialplan: sofia/default/621296078@cloud.masip.es Action set(effective_caller_id_name=)
  2650. Dialplan: sofia/default/621296078@cloud.masip.es Action set(calltype=STANDARD)
  2651. Dialplan: sofia/default/621296078@cloud.masip.es Action set(termination_rates=ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  2652. Dialplan: sofia/default/621296078@cloud.masip.es Action set(trunk_id=3)
  2653. Dialplan: sofia/default/621296078@cloud.masip.es Action set(provider_id=9)
  2654. Dialplan: sofia/default/621296078@cloud.masip.es Action set(rate_flag=2)
  2655. Dialplan: sofia/default/621296078@cloud.masip.es Action set(force_trunk_flag=0)
  2656. Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=trunk_id=3)
  2657. Dialplan: sofia/default/621296078@cloud.masip.es Action set(intcall=0)
  2658. Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_id=34928817922)
  2659. Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55)
  2660. Dialplan: sofia/default/621296078@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34928817922;fs_path=sip:34.252.123.120:5060)
  2661. Dialplan: sofia/default/621296078@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34928817922;fs_path=sip:34.252.123.120:5060)
  2662. Dialplan: sofia/default/621296078@cloud.masip.es Action set(effective_caller_id_name=)
  2663. Dialplan: sofia/default/621296078@cloud.masip.es Action set(calltype=STANDARD)
  2664. Dialplan: sofia/default/621296078@cloud.masip.es Action set(termination_rates=ID:32787|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
  2665. Dialplan: sofia/default/621296078@cloud.masip.es Action set(trunk_id=4)
  2666. Dialplan: sofia/default/621296078@cloud.masip.es Action set(provider_id=37)
  2667. Dialplan: sofia/default/621296078@cloud.masip.es Action set(rate_flag=2)
  2668. Dialplan: sofia/default/621296078@cloud.masip.es Action set(force_trunk_flag=0)
  2669. Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=trunk_id=4)
  2670. Dialplan: sofia/default/621296078@cloud.masip.es Action set(intcall=0)
  2671. Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_id=34928817922)
  2672. Dialplan: sofia/default/621296078@cloud.masip.es Action export(presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||VozAntiDDos // ^3492.* // SPAIN // 0.00120 // trunk_id=4|||STD|||51.91.247.55)
  2673. Dialplan: sofia/default/621296078@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34928817922;fs_path=sip:34.252.123.120:5060)
  2674. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296078@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  2675. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296078@cloud.masip.es) State ROUTING going to sleep
  2676. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296078@cloud.masip.es) Running State Change CS_EXECUTE (Cur 13 Tot 6711)
  2677. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296078@cloud.masip.es) State EXECUTE
  2678. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:213 sofia/default/621296078@cloud.masip.es SOFIA EXECUTE
  2679. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296078@cloud.masip.es Standard EXECUTE
  2680. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(effective_destination_number=34928817922)
  2681. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [effective_destination_number]=[34928817922]
  2682. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
  2683. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
  2684. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  2685. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  2686. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(callstart=2023-06-27 12:15:22)
  2687. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [callstart]=[2023-06-27 12:15:22]
  2688. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(hangup_after_bridge=true)
  2689. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [hangup_after_bridge]=[true]
  2690. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(continue_on_fail=TRUE)
  2691. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [continue_on_fail]=[TRUE]
  2692. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(account_id=107)
  2693. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [account_id]=[107]
  2694. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(parent_id=0)
  2695. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [parent_id]=[0]
  2696. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(entity_id=0)
  2697. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [entity_id]=[0]
  2698. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(call_processed=internal)
  2699. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [call_processed]=[internal]
  2700. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(call_direction=outbound)
  2701. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [call_direction]=[outbound]
  2702. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(accountname=default)
  2703. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [accountname]=[default]
  2704. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(origination_rates=ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107)
  2705. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [origination_rates]=[ID:87798|CODE:^3492.*|DESTINATION:Spain Fixed|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00140|INC:1|INITIALBLOCK:1|RATEGROUP:11|MARKUP:0|CI:174|ACCID:107]
  2706. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(original_caller_id_name=621296078)
  2707. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [original_caller_id_name]=[621296078]
  2708. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es limit(db 437146 user_437146 100 )
  2709. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
  2710. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 2/100
  2711. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(effective_caller_id_name=)
  2712. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [effective_caller_id_name]=[UNDEF]
  2713. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(calltype=STANDARD)
  2714. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [calltype]=[STANDARD]
  2715. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(termination_rates=ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  2716. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [termination_rates]=[ID:12|CODE:^3492.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00089|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
  2717. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(trunk_id=3)
  2718. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [trunk_id]=[3]
  2719. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(provider_id=9)
  2720. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [provider_id]=[9]
  2721. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(rate_flag=2)
  2722. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [rate_flag]=[2]
  2723. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(force_trunk_flag=0)
  2724. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [force_trunk_flag]=[0]
  2725. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es export(presence_data=trunk_id=3)
  2726. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  2727. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es set(intcall=0)
  2728. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296078@cloud.masip.es [intcall]=[0]
  2729. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es export(presence_id=34928817922)
  2730. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34928817922]
  2731. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es export(presence_data=x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55)
  2732. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55]
  2733. EXECUTE [depth=0] sofia/default/621296078@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34928817922;fs_path=sip:34.252.123.120:5060)
  2734. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1269 sofia/default/621296078@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55] to event
  2735. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1269 sofia/default/621296078@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34928817922] to event
  2736. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_channel.c:1269 sofia/default/621296078@cloud.masip.es EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||^3492.* // Spain Fixed // 0.00140 |||TELEFONICA // ^3492.* // SPAIN // 0.00089 // trunk_id=3|||STD|||51.91.247.55] to event
  2737. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2738. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2739. 2023-06-27 12:15:22.818653 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34928817922 [c8764941-7b9e-4d61-9557-130dcf996624]
  2740. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:5121 (sofia/default/34928817922) State Change CS_NEW -> CS_INIT
  2741. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34928817922 Setting leg timeout to 30
  2742. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_INIT (Cur 14 Tot 6712)
  2743. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34928817922) State INIT
  2744. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:97 sofia/default/34928817922 SOFIA INIT
  2745. 2023-06-27 12:15:22.818653 98.47% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34928817922
  2746. 2023-06-27 12:15:22.818653 98.47% [INFO] sofia_glue.c:1651 sofia/default/34928817922 sending invite call-id: (null)
  2747. 2023-06-27 12:15:22.818653 98.47% [DEBUG] sofia_glue.c:1654 sofia/default/34928817922 sending invite version: 1.10.7 -release 64bit
  2748. Local SDP:
  2749. v=0
  2750. o=FreeSWITCH 1687851046 1687851047 IN IP4 54.220.206.86
  2751. s=FreeSWITCH
  2752. c=IN IP4 54.220.206.86
  2753. t=0 0
  2754. m=audio 17076 RTP/AVP 18 0 8 101
  2755. a=rtpmap:18 G729/8000
  2756. a=fmtp:18 annexb=no
  2757. a=rtpmap:0 PCMU/8000
  2758. a=rtpmap:8 PCMA/8000
  2759. a=rtpmap:101 telephone-event/8000
  2760. a=fmtp:101 0-15
  2761. a=ptime:20
  2762. a=sendrecv
  2763.  
  2764. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/34928817922 Standard INIT
  2765. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34928817922) State Change CS_INIT -> CS_ROUTING
  2766. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34928817922) State INIT going to sleep
  2767. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_ROUTING (Cur 14 Tot 6712)
  2768. 2023-06-27 12:15:22.818653 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [calling][0]
  2769. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34928817922) State ROUTING
  2770. 2023-06-27 12:15:22.818653 98.47% [DEBUG] mod_sofia.c:158 sofia/default/34928817922 SOFIA ROUTING
  2771. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34928817922) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2772. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34928817922) State ROUTING going to sleep
  2773. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 6712)
  2774. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34928817922) State CONSUME_MEDIA
  2775. 2023-06-27 12:15:22.818653 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34928817922) State CONSUME_MEDIA going to sleep
  2776. 2023-06-27 12:15:23.138652 98.47% [INFO] sofia.c:1348 sofia/default/34928817922 Update Callee ID to "34 928817922" <+34928817922>
  2777. 2023-06-27 12:15:23.138652 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [proceeding][180]
  2778. 2023-06-27 12:15:23.138652 98.47% [DEBUG] sofia.c:7509 Remote SDP:
  2779. v=0
  2780. o=Sonus_UAC 482642 538250 IN IP4 54.170.60.120
  2781. s=SIP Media Capabilities
  2782. c=IN IP4 54.170.60.120
  2783. t=0 0
  2784. m=audio 32258 RTP/AVP 0 101
  2785. a=rtpmap:0 PCMU/8000
  2786. a=rtpmap:101 telephone-event/8000
  2787. a=fmtp:101 0-15
  2788. a=ptime:20
  2789.  
  2790. 2023-06-27 12:15:23.138652 98.47% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34928817922!
  2791. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/34928817922) Callstate Change DOWN -> EARLY
  2792. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  2793. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  2794. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  2795. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  2796. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2797. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34928817922 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  2798. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/34928817922 Original read codec set to PCMU:0
  2799. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2800. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/34928817922 Set 2833 dtmf send payload to 101 recv payload to 101
  2801. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34928817922] 10.0.2.92 port 17076 -> 54.170.60.120 port 32258 codec: 0 ms: 20
  2802. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2803. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/34928817922 Set 2833 dtmf send payload to 101
  2804. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/34928817922 Set 2833 dtmf receive payload to 101
  2805. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/34928817922 Set rtp dtmf delay to 40
  2806. 2023-06-27 12:15:23.138652 98.47% [INFO] switch_ivr_originate.c:3841 Sending early media
  2807. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/621296078@cloud.masip.es] 10.0.2.92 port 26570 -> 51.91.247.55 port 15860 codec: 8 ms: 20
  2808. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  2809. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/621296078@cloud.masip.es Set 2833 dtmf send payload to 101
  2810. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/621296078@cloud.masip.es Set 2833 dtmf receive payload to 101
  2811. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/621296078@cloud.masip.es Set rtp dtmf delay to 40
  2812. 2023-06-27 12:15:23.138652 98.47% [DEBUG] mod_sofia.c:2610 Ring SDP:
  2813. v=0
  2814. o=FreeSWITCH 1687841553 1687841554 IN IP4 54.220.206.86
  2815. s=FreeSWITCH
  2816. c=IN IP4 54.220.206.86
  2817. t=0 0
  2818. m=audio 26570 RTP/AVP 8 101
  2819. a=rtpmap:8 PCMA/8000
  2820. a=rtpmap:101 telephone-event/8000
  2821. a=fmtp:101 0-15
  2822. a=ptime:20
  2823. a=sendrecv
  2824.  
  2825. 2023-06-27 12:15:23.138652 98.47% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/621296078@cloud.masip.es!
  2826. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/621296078@cloud.masip.es) Callstate Change RINGING -> EARLY
  2827. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34928817922] Peer UUID: c8764941-7b9e-4d61-9557-130dcf996624
  2828. 2023-06-27 12:15:23.138652 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [early][183]
  2829. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34928817922) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  2830. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34928817922) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 6712)
  2831. 2023-06-27 12:15:23.138652 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34928817922) State EXCHANGE_MEDIA
  2832. 2023-06-27 12:15:23.138652 98.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  2833. 2023-06-27 12:15:23.178648 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2834. 2023-06-27 12:15:23.198653 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  2835. 2023-06-27 12:15:23.338651 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34928817922 Bridge execute app sched_hangup(+6000 normal_clearing)
  2836. 2023-06-27 12:15:23.358649 98.47% [DEBUG] switch_ivr.c:632 sofia/default/34928817922 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  2837. EXECUTE [depth=0] sofia/default/34928817922 sched_hangup(+6000 normal_clearing)
  2838. 2023-06-27 12:15:23.358649 98.47% [DEBUG] switch_scheduler.c:263 Added task 3166 switch_ivr_schedule_hangup (c8764941-7b9e-4d61-9557-130dcf996624) to run at 1687874123
  2839. 2023-06-27 12:15:27.698649 98.47% [NOTICE] sofia.c:1065 Hangup sofia/default/960800730@54.170.60.120 [CS_EXECUTE] [NORMAL_CLEARING]
  2840. 2023-06-27 12:15:27.698649 98.47% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/960800730@54.170.60.120]
  2841. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:820 sofia/default/960800730@54.170.60.120 ending bridge by request from write function
  2842. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/589399@cloud.masip.es]
  2843. 2023-06-27 12:15:27.718649 98.47% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/589399@cloud.masip.es [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2844. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/589399@cloud.masip.es) State EXCHANGE_MEDIA going to sleep
  2845. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_HANGUP (Cur 14 Tot 6712)
  2846. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/589399@cloud.masip.es) Callstate Change ACTIVE -> HANGUP
  2847. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/589399@cloud.masip.es) State HANGUP
  2848. 2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:462 sofia/default/589399@cloud.masip.es Overriding SIP cause 480 with 200 from the other leg
  2849. 2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/589399@cloud.masip.es hanging up, cause: NORMAL_CLEARING
  2850. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/589399@cloud.masip.es skip receive message [UNBRIDGE] (channel is hungup already)
  2851. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/960800730@54.170.60.120 skip receive message [UNBRIDGE] (channel is hungup already)
  2852. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_session.c:2983 sofia/default/960800730@54.170.60.120 skip receive message [PHONE_EVENT] (channel is hungup already)
  2853. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/960800730@54.170.60.120) State EXECUTE going to sleep
  2854. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_HANGUP (Cur 14 Tot 6712)
  2855. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/960800730@54.170.60.120) Callstate Change ACTIVE -> HANGUP
  2856. 2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/589399@cloud.masip.es
  2857. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/960800730@54.170.60.120) State HANGUP
  2858. 2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/960800730@54.170.60.120 hanging up, cause: NORMAL_CLEARING
  2859. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/589399@cloud.masip.es Standard HANGUP, cause: NORMAL_CLEARING
  2860. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/589399@cloud.masip.es) State HANGUP going to sleep
  2861. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/589399@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
  2862. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/589399@cloud.masip.es) Running State Change CS_REPORTING (Cur 14 Tot 6712)
  2863. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/589399@cloud.masip.es) State REPORTING
  2864. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/960800730@54.170.60.120 Standard HANGUP, cause: NORMAL_CLEARING
  2865. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/960800730@54.170.60.120) State HANGUP going to sleep
  2866. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/960800730@54.170.60.120) State Change CS_HANGUP -> CS_REPORTING
  2867. 2023-06-27 12:15:27.718649 98.47% [INFO] mod_json_cdr.c:271 Process [373934f9-3eb0-46b3-8807-bc06da38483c.cdr.json]
  2868. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960800730@54.170.60.120) Running State Change CS_REPORTING (Cur 14 Tot 6712)
  2869. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/960800730@54.170.60.120) State REPORTING
  2870. 2023-06-27 12:15:27.718649 98.47% [INFO] mod_json_cdr.c:271 Process [ae136b28-6126-4a7e-96fa-28d8a7cd03d9.cdr.json]
  2871. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/589399@cloud.masip.es Standard REPORTING, cause: NORMAL_CLEARING
  2872. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/589399@cloud.masip.es) State REPORTING going to sleep
  2873. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/589399@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
  2874. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_session.c:1753 Session 6710 (sofia/default/589399@cloud.masip.es) Locked, Waiting on external entities
  2875. 2023-06-27 12:15:27.718649 98.47% [NOTICE] switch_core_session.c:1771 Session 6710 (sofia/default/589399@cloud.masip.es) Ended
  2876. 2023-06-27 12:15:27.718649 98.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/589399@cloud.masip.es [CS_DESTROY]
  2877. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/589399@cloud.masip.es) Running State Change CS_DESTROY (Cur 13 Tot 6712)
  2878. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/589399@cloud.masip.es) State DESTROY
  2879. 2023-06-27 12:15:27.718649 98.47% [DEBUG] mod_sofia.c:379 sofia/default/589399@cloud.masip.es SOFIA DESTROY
  2880. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/589399@cloud.masip.es Standard DESTROY
  2881. 2023-06-27 12:15:27.718649 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/589399@cloud.masip.es) State DESTROY going to sleep
  2882. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/960800730@54.170.60.120 Standard REPORTING, cause: NORMAL_CLEARING
  2883. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/960800730@54.170.60.120) State REPORTING going to sleep
  2884. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/960800730@54.170.60.120) State Change CS_REPORTING -> CS_DESTROY
  2885. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_session.c:1753 Session 6709 (sofia/default/960800730@54.170.60.120) Locked, Waiting on external entities
  2886. 2023-06-27 12:15:27.738650 98.47% [NOTICE] switch_core_session.c:1771 Session 6709 (sofia/default/960800730@54.170.60.120) Ended
  2887. 2023-06-27 12:15:27.738650 98.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/960800730@54.170.60.120 [CS_DESTROY]
  2888. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/960800730@54.170.60.120) Running State Change CS_DESTROY (Cur 12 Tot 6712)
  2889. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/960800730@54.170.60.120) State DESTROY
  2890. 2023-06-27 12:15:27.738650 98.47% [DEBUG] mod_sofia.c:379 sofia/default/960800730@54.170.60.120 SOFIA DESTROY
  2891. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/960800730@54.170.60.120 Standard DESTROY
  2892. 2023-06-27 12:15:27.738650 98.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/960800730@54.170.60.120) State DESTROY going to sleep
  2893. 2023-06-27 12:15:27.858651 98.47% [DEBUG] switch_scheduler.c:147 Deleting task 3165 switch_ivr_schedule_hangup (373934f9-3eb0-46b3-8807-bc06da38483c)
  2894. 2023-06-27 12:15:29.718649 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/962067573@cloud.masip.es:7075 [92829f8f-fef1-4889-b094-2a2e976f23bc]
  2895. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_NEW (Cur 13 Tot 6713)
  2896. 2023-06-27 12:15:29.718649 98.47% [INFO] sofia.c:10462 sofia/default/962067573@cloud.masip.es:7075 receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 5e4faf18005619ba3fbe131d3856e0a7@cloud.masip.es
  2897. 2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  2898. 2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  2899. 2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/962067573@cloud.masip.es:7075 entering state [received][100]
  2900. 2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:7509 Remote SDP:
  2901. v=0
  2902. o=root 1017187847 1017187848 IN IP4 108.128.195.89
  2903. s=Asterisk PBX 13.38.3
  2904. c=IN IP4 108.128.195.89
  2905. t=0 0
  2906. m=audio 18108 RTP/AVP 8 18 101
  2907. a=rtpmap:8 PCMA/8000
  2908. a=rtpmap:18 G729/8000
  2909. a=fmtp:18 annexb=no
  2910. a=rtpmap:101 telephone-event/8000
  2911. a=fmtp:101 0-16
  2912. a=maxptime:150
  2913.  
  2914. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  2915. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  2916. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  2917. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  2918. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[G729:18:8000:20:8000:1]
  2919. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  2920. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMA:8:8000:20:64000:1]
  2921. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMU:0:8000:20:64000:1]
  2922. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  2923. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/962067573@cloud.masip.es:7075 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  2924. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/962067573@cloud.masip.es:7075 Original read codec set to PCMA:8
  2925. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  2926. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/962067573@cloud.masip.es:7075 Set 2833 dtmf send payload to 101 recv payload to 101
  2927. 2023-06-27 12:15:29.718649 98.47% [DEBUG] sofia.c:7933 (sofia/default/962067573@cloud.masip.es:7075) State Change CS_NEW -> CS_INIT
  2928. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/962067573@cloud.masip.es:7075) State NEW
  2929. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_INIT (Cur 13 Tot 6713)
  2930. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/962067573@cloud.masip.es:7075) State INIT
  2931. 2023-06-27 12:15:29.718649 98.47% [DEBUG] mod_sofia.c:97 sofia/default/962067573@cloud.masip.es:7075 SOFIA INIT
  2932. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/962067573@cloud.masip.es:7075 Standard INIT
  2933. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/962067573@cloud.masip.es:7075) State Change CS_INIT -> CS_ROUTING
  2934. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/962067573@cloud.masip.es:7075) State INIT going to sleep
  2935. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_ROUTING (Cur 13 Tot 6713)
  2936. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_channel.c:2380 (sofia/default/962067573@cloud.masip.es:7075) Callstate Change DOWN -> RINGING
  2937. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/962067573@cloud.masip.es:7075) State ROUTING
  2938. 2023-06-27 12:15:29.718649 98.47% [DEBUG] mod_sofia.c:158 sofia/default/962067573@cloud.masip.es:7075 SOFIA ROUTING
  2939. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/962067573@cloud.masip.es:7075 Standard ROUTING
  2940. 2023-06-27 12:15:29.718649 98.47% [INFO] mod_dialplan_xml.c:639 Processing 962067573 <962067573>->34965687928 in context default
  2941. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  2942. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2943. 2023-06-27 12:15:29.718649 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  2944. Event-Name: REQUEST_PARAMS
  2945. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  2946. FreeSWITCH-Hostname: ip-10-0-2-92
  2947. FreeSWITCH-Switchname: ip-10-0-2-92
  2948. FreeSWITCH-IPv4: 10.0.2.92
  2949. FreeSWITCH-IPv6: %3A%3A1
  2950. Event-Date-Local: 2023-06-27%2012%3A15%3A29
  2951. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A29%20GMT
  2952. Event-Date-Timestamp: 1687868129718649
  2953. Event-Calling-File: mod_dialplan_xml.c
  2954. Event-Calling-Function: dialplan_xml_locate
  2955. Event-Calling-Line-Number: 610
  2956. Event-Sequence: 381292
  2957. Channel-State: CS_ROUTING
  2958. Channel-Call-State: RINGING
  2959. Channel-State-Number: 2
  2960. Channel-Name: sofia/default/962067573%40cloud.masip.es%3A7075
  2961. Unique-ID: 92829f8f-fef1-4889-b094-2a2e976f23bc
  2962. Call-Direction: inbound
  2963. Presence-Call-Direction: inbound
  2964. Channel-HIT-Dialplan: true
  2965. Channel-Presence-ID: 962067573%40cloud.masip.es
  2966. Channel-Call-UUID: 92829f8f-fef1-4889-b094-2a2e976f23bc
  2967. Answer-State: ringing
  2968. Channel-Read-Codec-Name: PCMA
  2969. Channel-Read-Codec-Rate: 8000
  2970. Channel-Read-Codec-Bit-Rate: 64000
  2971. Channel-Write-Codec-Name: PCMA
  2972. Channel-Write-Codec-Rate: 8000
  2973. Channel-Write-Codec-Bit-Rate: 64000
  2974. Caller-Direction: inbound
  2975. Caller-Logical-Direction: inbound
  2976. Caller-Username: 962067573
  2977. Caller-Dialplan: XML
  2978. Caller-Caller-ID-Name: 962067573
  2979. Caller-Caller-ID-Number: 962067573
  2980. Caller-Orig-Caller-ID-Name: 962067573
  2981. Caller-Orig-Caller-ID-Number: 962067573
  2982. Caller-Network-Addr: 34.252.123.120
  2983. Caller-ANI: 962067573
  2984. Caller-Destination-Number: 34965687928
  2985. Caller-Unique-ID: 92829f8f-fef1-4889-b094-2a2e976f23bc
  2986. Caller-Source: mod_sofia
  2987. Caller-Context: default
  2988. Caller-Channel-Name: sofia/default/962067573%40cloud.masip.es%3A7075
  2989. Caller-Profile-Index: 1
  2990. Caller-Profile-Created-Time: 1687868129718649
  2991. Caller-Channel-Created-Time: 1687868129718649
  2992. Caller-Channel-Answered-Time: 0
  2993. Caller-Channel-Progress-Time: 0
  2994. Caller-Channel-Progress-Media-Time: 0
  2995. Caller-Channel-Hangup-Time: 0
  2996. Caller-Channel-Transfer-Time: 0
  2997. Caller-Channel-Resurrect-Time: 0
  2998. Caller-Channel-Bridged-Time: 0
  2999. Caller-Channel-Last-Hold: 0
  3000. Caller-Channel-Hold-Accum: 0
  3001. Caller-Screen-Bit: false
  3002. Caller-Privacy-Hide-Name: false
  3003. Caller-Privacy-Hide-Number: false
  3004. variable_direction: inbound
  3005. variable_uuid: 92829f8f-fef1-4889-b094-2a2e976f23bc
  3006. variable_session_id: 6713
  3007. variable_sip_from_user: 962067573
  3008. variable_sip_from_port: 7075
  3009. variable_sip_from_uri: 962067573%40cloud.masip.es%3A7075
  3010. variable_sip_from_host: cloud.masip.es
  3011. variable_video_media_flow: disabled
  3012. variable_text_media_flow: disabled
  3013. variable_channel_name: sofia/default/962067573%40cloud.masip.es%3A7075
  3014. variable_sip_call_id: 5e4faf18005619ba3fbe131d3856e0a7%40cloud.masip.es
  3015. variable_sip_local_network_addr: 54.220.206.86
  3016. variable_sip_network_ip: 34.252.123.120
  3017. variable_sip_network_port: 5060
  3018. variable_sip_invite_stamp: 1687868129718649
  3019. variable_sip_received_ip: 34.252.123.120
  3020. variable_sip_received_port: 5060
  3021. variable_sip_via_protocol: udp
  3022. variable_sip_authorized: true
  3023. variable_sip_acl_authed_by: default
  3024. variable_sip_from_user_stripped: 962067573
  3025. variable_sip_from_tag: as6d7743bb
  3026. variable_sofia_profile_name: default
  3027. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  3028. variable_recovery_profile_name: default
  3029. variable_sip_Remote-Party-ID: %22962067573%22%20%3Csip%3A962067573%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  3030. variable_sip_cid_type: rpid
  3031. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6d7743bb%3Bdid%3D4.aeb97477%3E
  3032. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das6d7743bb%3Bdid%3D4.aeb97477%3E
  3033. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bK5dee.f0e3c72.0,SIP/2.0/UDP%20108.128.195.89%3A7075%3Bbranch%3Dz9hG4bK6d7f9457
  3034. variable_sip_from_display: 962067573
  3035. variable_sip_full_from: %22962067573%22%20%3Csip%3A962067573%40cloud.masip.es%3A7075%3E%3Btag%3Das6d7743bb
  3036. variable_sip_full_to: %3Csip%3A34965687928%40cloud.masip.es%3E
  3037. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  3038. variable_sip_req_user: 34965687928
  3039. variable_sip_req_uri: 34965687928%40cloud.masip.es
  3040. variable_sip_req_host: cloud.masip.es
  3041. variable_sip_to_user: 34965687928
  3042. variable_sip_to_uri: 34965687928%40cloud.masip.es
  3043. variable_sip_to_host: cloud.masip.es
  3044. variable_sip_contact_user: 962067573
  3045. variable_sip_contact_port: 7075
  3046. variable_sip_contact_uri: 962067573%40108.128.195.89%3A7075
  3047. variable_sip_contact_host: 108.128.195.89
  3048. variable_sip_user_agent: PBX2-MASIP
  3049. variable_sip_via_host: 34.252.123.120
  3050. variable_sip_via_port: 5060
  3051. variable_max_forwards: 69
  3052. variable_presence_id: 962067573%40cloud.masip.es
  3053. variable_sip_date_epoch_time: 1687868129
  3054. variable_sip_h_X-AUTH-IP: 108.128.195.89
  3055. variable_sip_h_P-Prefix: %3Cnull%3E
  3056. variable_sip_h_P-Accountcode: 821955
  3057. variable_sip_h_P-effective_caller_id_name: %22962067573%22
  3058. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201017187847%201017187848%20IN%20IP4%20108.128.195.89%0D%0As%3DAsterisk%20PBX%2013.38.3%0D%0Ac%3DIN%20IP4%20108.128.195.89%0D%0At%3D0%200%0D%0Am%3Daudio%2018108%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%3Dmaxptime%3A150%0D%0A
  3059. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  3060. variable_rtp_use_codec_string: G729,PCMA,PCMU
  3061. variable_remote_video_media_flow: inactive
  3062. variable_remote_text_media_flow: inactive
  3063. variable_remote_audio_media_flow: sendrecv
  3064. variable_audio_media_flow: sendrecv
  3065. variable_remote_media_ip: 108.128.195.89
  3066. variable_remote_media_port: 18108
  3067. variable_rtp_audio_recv_pt: 8
  3068. variable_rtp_use_codec_name: PCMA
  3069. variable_rtp_use_codec_rate: 8000
  3070. variable_rtp_use_codec_ptime: 20
  3071. variable_rtp_use_codec_channels: 1
  3072. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  3073. variable_read_codec: PCMA
  3074. variable_original_read_codec: PCMA
  3075. variable_read_rate: 8000
  3076. variable_original_read_rate: 8000
  3077. variable_write_codec: PCMA
  3078. variable_write_rate: 8000
  3079. variable_dtmf_type: rfc2833
  3080. variable_endpoint_disposition: RECEIVED
  3081. variable_call_uuid: 92829f8f-fef1-4889-b094-2a2e976f23bc
  3082. Hunt-Direction: inbound
  3083. Hunt-Logical-Direction: inbound
  3084. Hunt-Username: 962067573
  3085. Hunt-Dialplan: XML
  3086. Hunt-Caller-ID-Name: 962067573
  3087. Hunt-Caller-ID-Number: 962067573
  3088. Hunt-Orig-Caller-ID-Name: 962067573
  3089. Hunt-Orig-Caller-ID-Number: 962067573
  3090. Hunt-Network-Addr: 34.252.123.120
  3091. Hunt-ANI: 962067573
  3092. Hunt-Destination-Number: 34965687928
  3093. Hunt-Unique-ID: 92829f8f-fef1-4889-b094-2a2e976f23bc
  3094. Hunt-Source: mod_sofia
  3095. Hunt-Context: default
  3096. Hunt-Channel-Name: sofia/default/962067573%40cloud.masip.es%3A7075
  3097. Hunt-Profile-Index: 1
  3098. Hunt-Profile-Created-Time: 1687868129718649
  3099. Hunt-Channel-Created-Time: 1687868129718649
  3100. Hunt-Channel-Answered-Time: 0
  3101. Hunt-Channel-Progress-Time: 0
  3102. Hunt-Channel-Progress-Media-Time: 0
  3103. Hunt-Channel-Hangup-Time: 0
  3104. Hunt-Channel-Transfer-Time: 0
  3105. Hunt-Channel-Resurrect-Time: 0
  3106. Hunt-Channel-Bridged-Time: 0
  3107. Hunt-Channel-Last-Hold: 0
  3108. Hunt-Channel-Hold-Accum: 0
  3109. Hunt-Screen-Bit: false
  3110. Hunt-Privacy-Hide-Name: false
  3111. Hunt-Privacy-Hide-Number: false
  3112.  
  3113.  
  3114. 2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  3115. 2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  3116. 2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  3117. 2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  3118. 2023-06-27 12:15:29.718649 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34965687928
  3119. 2023-06-27 12:15:29.718649 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34965687928' AND status=0 limit 1
  3120. 2023-06-27 12:15:29.738648 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "962067573" / 962067573
  3121. 2023-06-27 12:15:29.738648 98.47% [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 ="34965687928" LIMIT 1
  3122. 2023-06-27 12:15:29.738648 98.47% [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="34965687928" limit 1
  3123. 2023-06-27 12:15:29.738648 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  3124. 2023-06-27 12:15:29.738648 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 821955]
  3125. 2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "821955" AND deleted = 0 limit 1
  3126. 2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34965687928.*' OR blocked_patterns = '^3496568792.*' OR blocked_patterns = '^349656879.*' OR blocked_patterns = '^34965687.*' OR blocked_patterns = '^3496568.*' OR blocked_patterns = '^349656.*' OR blocked_patterns = '^34965.*' OR blocked_patterns = '^3496.*' OR blocked_patterns = '^349.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 27 limit 1
  3127. 2023-06-27 12:15:29.738648 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34965687928" AND (accountid = 0 OR status = 1) LIMIT 1
  3128. 2023-06-27 12:15:29.738648 98.47% [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 = '^34965687928.*' OR patterns = '^3496568792.*' OR patterns = '^349656879.*' OR patterns = '^34965687.*' OR patterns = '^3496568.*' OR patterns = '^349656.*' OR patterns = '^34965.*' OR patterns = '^3496.*' OR patterns = '^349.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 27 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3129. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 69
  3130. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 42
  3131. 2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 42 AND status = 0
  3132. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product : 7
  3133. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
  3134. 2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 27 AND package_id = 69 AND status=1 LIMIT 1
  3135. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 0
  3136. 2023-06-27 12:15:29.758651 98.47% [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 ="34965687928" AND A.accountid = '27' limit 1
  3137. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34965687928
  3138. 2023-06-27 12:15:29.758651 98.47% [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 ="34965687928" LIMIT 1
  3139. 2023-06-27 12:15:29.758651 98.47% [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="34965687928" limit 1
  3140. 2023-06-27 12:15:29.758651 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  3141. 2023-06-27 12:15:29.758651 98.47% [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 = '34965687928' OR number = '3496568792' OR number = '349656879' OR number = '34965687' OR number = '3496568' OR number = '349656' OR number = '34965' OR number = '3496' OR number = '349' OR number = '34' OR number = '3' OR number ='--') OR (number = '34965687928*' OR number = '3496568792*' OR number = '349656879*' OR number = '34965687*' OR number = '3496568*' OR number = '349656*' OR number = '34965*' OR number = '3496*' OR number = '349*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '962067573' OR number = '96206757' OR number = '9620675' OR number = '962067' OR number = '96206' OR number = '9620' OR number = '962' OR number = '96' OR number = '9' OR number ='--') OR (number = '962067573*' OR number = '96206757*' OR number = '9620675*' OR number = '962067*' OR number = '96206*' OR number = '9620*' OR number = '962*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  3142. 2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  3143. 2023-06-27 12:15:29.758651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34965687928' OR routing_prefix = '3496568792' OR routing_prefix = '349656879' OR routing_prefix = '34965687' OR routing_prefix = '3496568' OR routing_prefix = '349656' OR routing_prefix = '34965' OR routing_prefix = '3496' OR routing_prefix = '349' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3144. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  3145. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 27
  3146. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 821955
  3147. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 193.00096
  3148. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  3149. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 9
  3150. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  3151. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  3152. 2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  3153. 2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  3154. 2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  3155. 2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34965687928.*' OR pattern = '^3496568792.*' OR pattern = '^349656879.*' OR pattern = '^34965687.*' OR pattern = '^3496568.*' OR pattern = '^349656.*' OR pattern = '^34965.*' OR pattern = '^3496.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 9 OR accountid=27)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  3156. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  3157. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  3158. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87558
  3159. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3160. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  3161. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01500
  3162. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SPAIN
  3163. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  3164. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 27
  3165. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  3166. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  3167. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  3168. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your193.00096 balance Accountid 27 !!!
  3169. 2023-06-27 12:15:29.778652 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  3170. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  3171. 2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  3172. 2023-06-27 12:15:29.778652 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=9 ORDER by id asc
  3173. 2023-06-27 12:15:29.778652 98.47% [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 = '^34965687928.*' OR pattern = '^3496568792.*' OR pattern = '^349656879.*' OR pattern = '^34965687.*' OR pattern = '^3496568.*' OR pattern = '^349656.*' OR pattern = '^34965.*' OR pattern = '^3496.*' OR pattern = '^349.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3,3,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,3,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  3174. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3175. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
  3176. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3496.*
  3177. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  3178. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3179. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3180. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3496.*
  3181. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3182. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3183. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  3184. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  3185. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3186. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  3187. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  3188. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3189. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  3190. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3191. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3192. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32791
  3193. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3496.*
  3194. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  3195. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3196. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3197. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3496.*
  3198. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3199. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3200. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  3201. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  3202. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3203. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  3204. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  3205. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3206. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  3207. 2023-06-27 12:15:29.778652 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3208. 2023-06-27 12:15:29.778652 98.47% [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 = 27 AND status=0 LIMIT 1
  3209. 2023-06-27 12:15:29.798653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  3210. 2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3211. 2023-06-27 12:15:29.798653 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  3212. 2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  3213. 2023-06-27 12:15:29.798653 98.47% [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
  3214. 2023-06-27 12:15:29.798653 98.47% [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
  3215. 2023-06-27 12:15:29.798653 98.47% [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 ="34965687928" LIMIT 1
  3216. 2023-06-27 12:15:29.798653 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  3217. 2023-06-27 12:15:29.798653 98.47% [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
  3218. 2023-06-27 12:15:29.798653 98.47% [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
  3219. 2023-06-27 12:15:29.818651 98.47% [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 ="34965687928" LIMIT 1
  3220. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  3221. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3222. <document type="freeswitch/xml">
  3223. <section name="dialplan" description="ASTPP Dialplan">
  3224. <context name="default">
  3225. <extension name="34965687928">
  3226. <condition field="destination_number" expression="34965687928">
  3227. <action application="set" data="effective_destination_number=34965687928"/>
  3228. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3229. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3230. <action application="set" data="callstart=2023-06-27 12:15:29"/>
  3231. <action application="set" data="hangup_after_bridge=true"/>
  3232. <action application="set" data="continue_on_fail=TRUE"/>
  3233. <action application="set" data="account_id=27"/>
  3234. <action application="set" data="parent_id=0"/>
  3235. <action application="set" data="entity_id=0"/>
  3236. <action application="set" data="call_processed=internal"/>
  3237. <action application="set" data="call_direction=outbound"/>
  3238. <action application="set" data="accountname=default"/>
  3239. <action application="set" data="origination_rates=ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27"/>
  3240. <action application="set" data="original_caller_id_name=962067573"/>
  3241. <action application="set" data="original_caller_id_number=962067573"/>
  3242.  
  3243. <action application="set" data="effective_caller_id_name="962067573""/>
  3244. <action application="set" data="effective_caller_id_number=962067573"/>
  3245. <action application="set" data="calltype=STANDARD"/>
  3246. <action application="set" data="termination_rates=ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
  3247. <action application="set" data="trunk_id=3"/>
  3248. <action application="set" data="provider_id=9"/>
  3249. <action application="set" data="rate_flag=2"/>
  3250. <action application="set" data="force_trunk_flag=0"/>
  3251. <action application="export" data="presence_data=trunk_id=3"/>
  3252. <action application="set" data="intcall=0"/>
  3253. <action application="export" data="presence_id=34965687928"/>
  3254. <action application="export" data="presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89"/>
  3255. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34965687928;fs_path=sip:34.252.123.120:5060"/>
  3256. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34965687928;fs_path=sip:34.252.123.120:5060"/>
  3257. <action application="set" data="effective_caller_id_name="962067573""/>
  3258. <action application="set" data="effective_caller_id_number=962067573"/>
  3259. <action application="set" data="calltype=STANDARD"/>
  3260. <action application="set" data="termination_rates=ID:32791|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37"/>
  3261. <action application="set" data="trunk_id=4"/>
  3262. <action application="set" data="provider_id=37"/>
  3263. <action application="set" data="rate_flag=2"/>
  3264. <action application="set" data="force_trunk_flag=0"/>
  3265. <action application="export" data="presence_data=trunk_id=4"/>
  3266. <action application="set" data="intcall=0"/>
  3267. <action application="export" data="presence_id=34965687928"/>
  3268. <action application="export" data="presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||VozAntiDDos // ^3496.* // SPAIN // 0.00120 // trunk_id=4|||STD|||108.128.195.89"/>
  3269. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34965687928;fs_path=sip:34.252.123.120:5060"/>
  3270. </condition>
  3271. </extension>
  3272. </context>
  3273. </section>
  3274. </document>
  3275. Dialplan: sofia/default/962067573@cloud.masip.es:7075 parsing [default->34965687928] continue=false
  3276. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Regex (PASS) [34965687928] destination_number(34965687928) =~ /34965687928/ break=on-false
  3277. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_destination_number=34965687928)
  3278. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3279. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3280. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(callstart=2023-06-27 12:15:29)
  3281. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(hangup_after_bridge=true)
  3282. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(continue_on_fail=TRUE)
  3283. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(account_id=27)
  3284. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(parent_id=0)
  3285. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(entity_id=0)
  3286. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(call_processed=internal)
  3287. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(call_direction=outbound)
  3288. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(accountname=default)
  3289. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(origination_rates=ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27)
  3290. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(original_caller_id_name=962067573)
  3291. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(original_caller_id_number=962067573)
  3292. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_name=)
  3293. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_number=962067573)
  3294. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(calltype=STANDARD)
  3295. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(termination_rates=ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  3296. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(trunk_id=3)
  3297. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(provider_id=9)
  3298. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(rate_flag=2)
  3299. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(force_trunk_flag=0)
  3300. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=trunk_id=3)
  3301. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(intcall=0)
  3302. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_id=34965687928)
  3303. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89)
  3304. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34965687928;fs_path=sip:34.252.123.120:5060)
  3305. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34965687928;fs_path=sip:34.252.123.120:5060)
  3306. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_name=)
  3307. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(effective_caller_id_number=962067573)
  3308. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(calltype=STANDARD)
  3309. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(termination_rates=ID:32791|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00120|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:37)
  3310. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(trunk_id=4)
  3311. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(provider_id=37)
  3312. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(rate_flag=2)
  3313. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(force_trunk_flag=0)
  3314. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=trunk_id=4)
  3315. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action set(intcall=0)
  3316. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_id=34965687928)
  3317. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action export(presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||VozAntiDDos // ^3496.* // SPAIN // 0.00120 // trunk_id=4|||STD|||108.128.195.89)
  3318. Dialplan: sofia/default/962067573@cloud.masip.es:7075 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34965687928;fs_path=sip:34.252.123.120:5060)
  3319. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/962067573@cloud.masip.es:7075) State Change CS_ROUTING -> CS_EXECUTE
  3320. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/962067573@cloud.masip.es:7075) State ROUTING going to sleep
  3321. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/962067573@cloud.masip.es:7075) Running State Change CS_EXECUTE (Cur 13 Tot 6713)
  3322. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/962067573@cloud.masip.es:7075) State EXECUTE
  3323. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:213 sofia/default/962067573@cloud.masip.es:7075 SOFIA EXECUTE
  3324. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/962067573@cloud.masip.es:7075 Standard EXECUTE
  3325. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(effective_destination_number=34965687928)
  3326. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [effective_destination_number]=[34965687928]
  3327. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(bridge_pre_execute_bleg_app=sched_hangup)
  3328. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3329. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3330. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  3331. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(callstart=2023-06-27 12:15:29)
  3332. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [callstart]=[2023-06-27 12:15:29]
  3333. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(hangup_after_bridge=true)
  3334. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [hangup_after_bridge]=[true]
  3335. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(continue_on_fail=TRUE)
  3336. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [continue_on_fail]=[TRUE]
  3337. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(account_id=27)
  3338. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [account_id]=[27]
  3339. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(parent_id=0)
  3340. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [parent_id]=[0]
  3341. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(entity_id=0)
  3342. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [entity_id]=[0]
  3343. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(call_processed=internal)
  3344. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [call_processed]=[internal]
  3345. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(call_direction=outbound)
  3346. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [call_direction]=[outbound]
  3347. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(accountname=default)
  3348. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [accountname]=[default]
  3349. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(origination_rates=ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27)
  3350. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [origination_rates]=[ID:87558|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:0|ACCID:27]
  3351. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(original_caller_id_name=962067573)
  3352. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [original_caller_id_name]=[962067573]
  3353. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(original_caller_id_number=962067573)
  3354. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [original_caller_id_number]=[962067573]
  3355. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(effective_caller_id_name=)
  3356. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [effective_caller_id_name]=[UNDEF]
  3357. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(effective_caller_id_number=962067573)
  3358. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [effective_caller_id_number]=[962067573]
  3359. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(calltype=STANDARD)
  3360. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [calltype]=[STANDARD]
  3361. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(termination_rates=ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  3362. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [termination_rates]=[ID:16|CODE:^3496.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00090|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
  3363. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(trunk_id=3)
  3364. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [trunk_id]=[3]
  3365. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(provider_id=9)
  3366. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [provider_id]=[9]
  3367. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(rate_flag=2)
  3368. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [rate_flag]=[2]
  3369. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(force_trunk_flag=0)
  3370. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [force_trunk_flag]=[0]
  3371. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 export(presence_data=trunk_id=3)
  3372. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  3373. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 set(intcall=0)
  3374. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/962067573@cloud.masip.es:7075 [intcall]=[0]
  3375. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 export(presence_id=34965687928)
  3376. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34965687928]
  3377. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 export(presence_data=x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89)
  3378. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89]
  3379. EXECUTE [depth=0] sofia/default/962067573@cloud.masip.es:7075 bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34965687928;fs_path=sip:34.252.123.120:5060)
  3380. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1269 sofia/default/962067573@cloud.masip.es:7075 EXPORTING[export_vars] [presence_data]=[x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89] to event
  3381. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1269 sofia/default/962067573@cloud.masip.es:7075 EXPORTING[export_vars] [presence_id]=[34965687928] to event
  3382. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_channel.c:1269 sofia/default/962067573@cloud.masip.es:7075 EXPORTING[export_vars] [presence_data]=[x|||Grupo Roig(821955)|||^3496.* // SPAIN // 0.01500 |||TELEFONICA // ^3496.* // SPAIN // 0.00090 // trunk_id=3|||STD|||108.128.195.89] to event
  3383. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3384. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3385. 2023-06-27 12:15:29.818651 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34965687928 [719daf6b-be19-49d2-8b20-53bc366816b8]
  3386. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:5121 (sofia/default/34965687928) State Change CS_NEW -> CS_INIT
  3387. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34965687928 Setting leg timeout to 30
  3388. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_INIT (Cur 14 Tot 6714)
  3389. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34965687928) State INIT
  3390. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:97 sofia/default/34965687928 SOFIA INIT
  3391. 2023-06-27 12:15:29.818651 98.47% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34965687928
  3392. 2023-06-27 12:15:29.818651 98.47% [INFO] sofia_glue.c:1651 sofia/default/34965687928 sending invite call-id: (null)
  3393. 2023-06-27 12:15:29.818651 98.47% [DEBUG] sofia_glue.c:1654 sofia/default/34965687928 sending invite version: 1.10.7 -release 64bit
  3394. Local SDP:
  3395. v=0
  3396. o=FreeSWITCH 1687837149 1687837150 IN IP4 54.220.206.86
  3397. s=FreeSWITCH
  3398. c=IN IP4 54.220.206.86
  3399. t=0 0
  3400. m=audio 30980 RTP/AVP 18 0 8 101
  3401. a=rtpmap:18 G729/8000
  3402. a=fmtp:18 annexb=no
  3403. a=rtpmap:0 PCMU/8000
  3404. a=rtpmap:8 PCMA/8000
  3405. a=rtpmap:101 telephone-event/8000
  3406. a=fmtp:101 0-15
  3407. a=ptime:20
  3408. a=sendrecv
  3409.  
  3410. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/34965687928 Standard INIT
  3411. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34965687928) State Change CS_INIT -> CS_ROUTING
  3412. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34965687928) State INIT going to sleep
  3413. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_ROUTING (Cur 14 Tot 6714)
  3414. 2023-06-27 12:15:29.818651 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34965687928 entering state [calling][0]
  3415. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34965687928) State ROUTING
  3416. 2023-06-27 12:15:29.818651 98.47% [DEBUG] mod_sofia.c:158 sofia/default/34965687928 SOFIA ROUTING
  3417. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34965687928) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3418. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34965687928) State ROUTING going to sleep
  3419. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 6714)
  3420. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34965687928) State CONSUME_MEDIA
  3421. 2023-06-27 12:15:29.818651 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34965687928) State CONSUME_MEDIA going to sleep
  3422. 2023-06-27 12:15:30.198653 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34965687928 entering state [proceeding][180]
  3423. 2023-06-27 12:15:30.198653 98.47% [DEBUG] sofia.c:7509 Remote SDP:
  3424. v=0
  3425. o=Sonus_UAC 958882 605715 IN IP4 54.170.60.120
  3426. s=SIP Media Capabilities
  3427. c=IN IP4 54.170.60.120
  3428. t=0 0
  3429. m=audio 32294 RTP/AVP 0 101
  3430. a=rtpmap:0 PCMU/8000
  3431. a=rtpmap:101 telephone-event/8000
  3432. a=fmtp:101 0-15
  3433. a=ptime:20
  3434.  
  3435. 2023-06-27 12:15:30.198653 98.47% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34965687928!
  3436. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/34965687928) Callstate Change DOWN -> EARLY
  3437. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3438. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3439. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  3440. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3441. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3442. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34965687928 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  3443. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/34965687928 Original read codec set to PCMU:0
  3444. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3445. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/34965687928 Set 2833 dtmf send payload to 101 recv payload to 101
  3446. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34965687928] 10.0.2.92 port 30980 -> 54.170.60.120 port 32294 codec: 0 ms: 20
  3447. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  3448. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/34965687928 Set 2833 dtmf send payload to 101
  3449. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/34965687928 Set 2833 dtmf receive payload to 101
  3450. 2023-06-27 12:15:30.198653 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/34965687928 Set rtp dtmf delay to 40
  3451. 2023-06-27 12:15:30.218647 98.47% [INFO] switch_ivr_originate.c:3841 Sending early media
  3452. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/962067573@cloud.masip.es:7075] 10.0.2.92 port 21442 -> 108.128.195.89 port 18108 codec: 8 ms: 20
  3453. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  3454. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/962067573@cloud.masip.es:7075 Set 2833 dtmf send payload to 101
  3455. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/962067573@cloud.masip.es:7075 Set 2833 dtmf receive payload to 101
  3456. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/962067573@cloud.masip.es:7075 Set rtp dtmf delay to 40
  3457. 2023-06-27 12:15:30.218647 98.47% [DEBUG] mod_sofia.c:2610 Ring SDP:
  3458. v=0
  3459. o=FreeSWITCH 1687846688 1687846689 IN IP4 54.220.206.86
  3460. s=FreeSWITCH
  3461. c=IN IP4 54.220.206.86
  3462. t=0 0
  3463. m=audio 21442 RTP/AVP 8 101
  3464. a=rtpmap:8 PCMA/8000
  3465. a=rtpmap:101 telephone-event/8000
  3466. a=fmtp:101 0-15
  3467. a=ptime:20
  3468. a=sendrecv
  3469.  
  3470. 2023-06-27 12:15:30.218647 98.47% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/962067573@cloud.masip.es:7075!
  3471. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_channel.c:3622 (sofia/default/962067573@cloud.masip.es:7075) Callstate Change RINGING -> EARLY
  3472. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34965687928] Peer UUID: 719daf6b-be19-49d2-8b20-53bc366816b8
  3473. 2023-06-27 12:15:30.218647 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/962067573@cloud.masip.es:7075 entering state [early][183]
  3474. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34965687928) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  3475. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34965687928) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 6714)
  3476. 2023-06-27 12:15:30.218647 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34965687928) State EXCHANGE_MEDIA
  3477. 2023-06-27 12:15:30.218647 98.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  3478. 2023-06-27 12:15:30.258650 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3479. 2023-06-27 12:15:30.338645 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [completing][200]
  3480. 2023-06-27 12:15:30.338645 98.47% [DEBUG] sofia.c:7506 Duplicate SDP
  3481. v=0
  3482. o=Sonus_UAC 482642 538250 IN IP4 54.170.60.120
  3483. s=SIP Media Capabilities
  3484. c=IN IP4 54.170.60.120
  3485. t=0 0
  3486. m=audio 32258 RTP/AVP 0 101
  3487. a=rtpmap:0 PCMU/8000
  3488. a=rtpmap:101 telephone-event/8000
  3489. a=fmtp:101 0-15
  3490. a=ptime:20
  3491.  
  3492. 2023-06-27 12:15:30.358649 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/34928817922 entering state [ready][200]
  3493. 2023-06-27 12:15:30.358649 98.47% [NOTICE] sofia.c:8624 Channel [sofia/default/34928817922] has been answered
  3494. 2023-06-27 12:15:30.358649 98.47% [DEBUG] switch_channel.c:3950 (sofia/default/34928817922) Callstate Change EARLY -> ACTIVE
  3495. 2023-06-27 12:15:30.358649 98.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/621296078@cloud.masip.es.
  3496. 2023-06-27 12:15:30.358649 98.47% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/621296078@cloud.masip.es:
  3497. v=0
  3498. o=FreeSWITCH 1687841553 1687841555 IN IP4 54.220.206.86
  3499. s=FreeSWITCH
  3500. c=IN IP4 54.220.206.86
  3501. t=0 0
  3502. m=audio 26570 RTP/AVP 8 101
  3503. a=rtpmap:8 PCMA/8000
  3504. a=rtpmap:101 telephone-event/8000
  3505. a=fmtp:101 0-15
  3506. a=ptime:20
  3507. a=sendrecv
  3508.  
  3509. 2023-06-27 12:15:30.358649 98.47% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/621296078@cloud.masip.es] has been answered
  3510. 2023-06-27 12:15:30.358649 98.47% [DEBUG] switch_channel.c:3950 (sofia/default/621296078@cloud.masip.es) Callstate Change EARLY -> ACTIVE
  3511. 2023-06-27 12:15:30.358649 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [completed][200]
  3512. 2023-06-27 12:15:30.378648 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/621296078@cloud.masip.es entering state [ready][200]
  3513. 2023-06-27 12:15:30.398651 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34965687928 Bridge execute app sched_hangup(+6000 normal_clearing)
  3514. 2023-06-27 12:15:30.418650 98.47% [DEBUG] switch_ivr.c:632 sofia/default/34965687928 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  3515. EXECUTE [depth=0] sofia/default/34965687928 sched_hangup(+6000 normal_clearing)
  3516. 2023-06-27 12:15:30.418650 98.47% [DEBUG] switch_scheduler.c:263 Added task 3167 switch_ivr_schedule_hangup (719daf6b-be19-49d2-8b20-53bc366816b8) to run at 1687874130
  3517. 2023-06-27 12:15:30.438648 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3518. 2023-06-27 12:15:30.498650 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3519. 2023-06-27 12:15:30.498650 98.47% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  3520. 2023-06-27 12:15:32.158650 98.50% [DEBUG] sofia.c:7499 Channel sofia/default/919892479@cloud.masip.es entering state [terminated][487]
  3521. 2023-06-27 12:15:32.158650 98.50% [NOTICE] sofia.c:8738 Hangup sofia/default/919892479@cloud.masip.es [CS_EXECUTE] [ORIGINATOR_CANCEL]
  3522. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:826 sofia/default/919892479@cloud.masip.es ending bridge by request from read function
  3523. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/919892479@cloud.masip.es]
  3524. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:820 sofia/default/919892479@cloud.masip.es ending bridge by request from write function
  3525. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/34653087880]
  3526. 2023-06-27 12:15:32.158650 98.50% [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/34653087880 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  3527. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34653087880) State EXCHANGE_MEDIA going to sleep
  3528. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_HANGUP (Cur 14 Tot 6714)
  3529. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/34653087880) Callstate Change EARLY -> HANGUP
  3530. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34653087880) State HANGUP
  3531. 2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:462 sofia/default/34653087880 Overriding SIP cause 487 with 487 from the other leg
  3532. 2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/34653087880 hanging up, cause: ORIGINATOR_CANCEL
  3533. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/34653087880 skip receive message [UNBRIDGE] (channel is hungup already)
  3534. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/919892479@cloud.masip.es skip receive message [UNBRIDGE] (channel is hungup already)
  3535. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_session.c:2983 sofia/default/919892479@cloud.masip.es skip receive message [PHONE_EVENT] (channel is hungup already)
  3536. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/919892479@cloud.masip.es) State EXECUTE going to sleep
  3537. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_HANGUP (Cur 14 Tot 6714)
  3538. 2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/34653087880
  3539. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/34653087880 Standard HANGUP, cause: ORIGINATOR_CANCEL
  3540. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/34653087880) State HANGUP going to sleep
  3541. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/34653087880) State Change CS_HANGUP -> CS_REPORTING
  3542. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34653087880) Running State Change CS_REPORTING (Cur 14 Tot 6714)
  3543. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34653087880) State REPORTING
  3544. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/919892479@cloud.masip.es) Callstate Change EARLY -> HANGUP
  3545. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/919892479@cloud.masip.es) State HANGUP
  3546. 2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/919892479@cloud.masip.es hanging up, cause: ORIGINATOR_CANCEL
  3547. 2023-06-27 12:15:32.158650 98.50% [INFO] mod_json_cdr.c:271 Process [e6a31c97-64b0-4301-91f8-91fb079f4dd6.cdr.json]
  3548. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/919892479@cloud.masip.es Standard HANGUP, cause: ORIGINATOR_CANCEL
  3549. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/919892479@cloud.masip.es) State HANGUP going to sleep
  3550. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/919892479@cloud.masip.es) State Change CS_HANGUP -> CS_REPORTING
  3551. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/919892479@cloud.masip.es) Running State Change CS_REPORTING (Cur 14 Tot 6714)
  3552. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/919892479@cloud.masip.es) State REPORTING
  3553. 2023-06-27 12:15:32.158650 98.50% [INFO] mod_json_cdr.c:271 Process [b47a6275-4b01-4552-a3ca-97cf714d6f8e.cdr.json]
  3554. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/34653087880 Standard REPORTING, cause: ORIGINATOR_CANCEL
  3555. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/34653087880) State REPORTING going to sleep
  3556. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/34653087880) State Change CS_REPORTING -> CS_DESTROY
  3557. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_session.c:1753 Session 6704 (sofia/default/34653087880) Locked, Waiting on external entities
  3558. 2023-06-27 12:15:32.158650 98.50% [NOTICE] switch_core_session.c:1771 Session 6704 (sofia/default/34653087880) Ended
  3559. 2023-06-27 12:15:32.158650 98.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/34653087880 [CS_DESTROY]
  3560. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/34653087880) Running State Change CS_DESTROY (Cur 13 Tot 6714)
  3561. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34653087880) State DESTROY
  3562. 2023-06-27 12:15:32.158650 98.50% [DEBUG] mod_sofia.c:379 sofia/default/34653087880 SOFIA DESTROY
  3563. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/34653087880 Standard DESTROY
  3564. 2023-06-27 12:15:32.158650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/34653087880) State DESTROY going to sleep
  3565. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/919892479@cloud.masip.es Standard REPORTING, cause: ORIGINATOR_CANCEL
  3566. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/919892479@cloud.masip.es) State REPORTING going to sleep
  3567. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/919892479@cloud.masip.es) State Change CS_REPORTING -> CS_DESTROY
  3568. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_session.c:1753 Session 6703 (sofia/default/919892479@cloud.masip.es) Locked, Waiting on external entities
  3569. 2023-06-27 12:15:32.178650 98.50% [NOTICE] switch_core_session.c:1771 Session 6703 (sofia/default/919892479@cloud.masip.es) Ended
  3570. 2023-06-27 12:15:32.178650 98.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/919892479@cloud.masip.es [CS_DESTROY]
  3571. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/919892479@cloud.masip.es) Running State Change CS_DESTROY (Cur 12 Tot 6714)
  3572. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/919892479@cloud.masip.es) State DESTROY
  3573. 2023-06-27 12:15:32.178650 98.50% [DEBUG] mod_sofia.c:379 sofia/default/919892479@cloud.masip.es SOFIA DESTROY
  3574. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/919892479@cloud.masip.es Standard DESTROY
  3575. 2023-06-27 12:15:32.178650 98.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/919892479@cloud.masip.es) State DESTROY going to sleep
  3576. 2023-06-27 12:15:32.418648 98.50% [DEBUG] switch_scheduler.c:147 Deleting task 3161 switch_ivr_schedule_hangup (e6a31c97-64b0-4301-91f8-91fb079f4dd6)
  3577. 2023-06-27 12:15:40.938650 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/621296053@cloud.masip.es [9290fe7a-b57d-45f0-86f5-0e953eb65ed3]
  3578. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_NEW (Cur 13 Tot 6715)
  3579. 2023-06-27 12:15:40.938650 98.83% [INFO] sofia.c:10462 sofia/default/621296053@cloud.masip.es receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 238eddbe19485b665372a01751200ae6@cloud.masip.es
  3580. 2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  3581. 2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  3582. 2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [received][100]
  3583. 2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:7509 Remote SDP:
  3584. v=0
  3585. o=root 228355828 228355828 IN IP4 51.91.247.55
  3586. s=DialApplet
  3587. c=IN IP4 51.91.247.55
  3588. t=0 0
  3589. m=audio 10846 RTP/AVP 8 18 101
  3590. a=rtpmap:8 PCMA/8000
  3591. a=rtpmap:18 G729/8000
  3592. a=fmtp:18 annexb=no
  3593. a=rtpmap:101 telephone-event/8000
  3594. a=fmtp:101 0-16
  3595. a=silenceSupp:off - - - -
  3596. a=ptime:20
  3597.  
  3598. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  3599. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  3600. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3601. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  3602. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  3603. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  3604. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  3605. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  3606. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3607. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/621296053@cloud.masip.es PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3608. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_codec.c:111 sofia/default/621296053@cloud.masip.es Original read codec set to PCMA:8
  3609. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3610. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_media.c:5973 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101 recv payload to 101
  3611. 2023-06-27 12:15:40.938650 98.83% [DEBUG] sofia.c:7933 (sofia/default/621296053@cloud.masip.es) State Change CS_NEW -> CS_INIT
  3612. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/621296053@cloud.masip.es) State NEW
  3613. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_INIT (Cur 13 Tot 6715)
  3614. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT
  3615. 2023-06-27 12:15:40.938650 98.83% [DEBUG] mod_sofia.c:97 sofia/default/621296053@cloud.masip.es SOFIA INIT
  3616. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/621296053@cloud.masip.es Standard INIT
  3617. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/621296053@cloud.masip.es) State Change CS_INIT -> CS_ROUTING
  3618. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/621296053@cloud.masip.es) State INIT going to sleep
  3619. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_ROUTING (Cur 13 Tot 6715)
  3620. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_channel.c:2380 (sofia/default/621296053@cloud.masip.es) Callstate Change DOWN -> RINGING
  3621. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING
  3622. 2023-06-27 12:15:40.938650 98.83% [DEBUG] mod_sofia.c:158 sofia/default/621296053@cloud.masip.es SOFIA ROUTING
  3623. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/621296053@cloud.masip.es Standard ROUTING
  3624. 2023-06-27 12:15:40.938650 98.83% [INFO] mod_dialplan_xml.c:639 Processing 621296053 <621296053>->34600641344 in context default
  3625. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3626. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3627. 2023-06-27 12:15:40.938650 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  3628. Event-Name: REQUEST_PARAMS
  3629. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  3630. FreeSWITCH-Hostname: ip-10-0-2-92
  3631. FreeSWITCH-Switchname: ip-10-0-2-92
  3632. FreeSWITCH-IPv4: 10.0.2.92
  3633. FreeSWITCH-IPv6: %3A%3A1
  3634. Event-Date-Local: 2023-06-27%2012%3A15%3A40
  3635. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A40%20GMT
  3636. Event-Date-Timestamp: 1687868140938650
  3637. Event-Calling-File: mod_dialplan_xml.c
  3638. Event-Calling-Function: dialplan_xml_locate
  3639. Event-Calling-Line-Number: 610
  3640. Event-Sequence: 381410
  3641. Channel-State: CS_ROUTING
  3642. Channel-Call-State: RINGING
  3643. Channel-State-Number: 2
  3644. Channel-Name: sofia/default/621296053%40cloud.masip.es
  3645. Unique-ID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
  3646. Call-Direction: inbound
  3647. Presence-Call-Direction: inbound
  3648. Channel-HIT-Dialplan: true
  3649. Channel-Presence-ID: 621296053%40cloud.masip.es
  3650. Channel-Call-UUID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
  3651. Answer-State: ringing
  3652. Channel-Read-Codec-Name: PCMA
  3653. Channel-Read-Codec-Rate: 8000
  3654. Channel-Read-Codec-Bit-Rate: 64000
  3655. Channel-Write-Codec-Name: PCMA
  3656. Channel-Write-Codec-Rate: 8000
  3657. Channel-Write-Codec-Bit-Rate: 64000
  3658. Caller-Direction: inbound
  3659. Caller-Logical-Direction: inbound
  3660. Caller-Username: 621296053
  3661. Caller-Dialplan: XML
  3662. Caller-Caller-ID-Name: 621296053
  3663. Caller-Caller-ID-Number: 621296053
  3664. Caller-Orig-Caller-ID-Name: 621296053
  3665. Caller-Orig-Caller-ID-Number: 621296053
  3666. Caller-Network-Addr: 34.252.123.120
  3667. Caller-ANI: 621296053
  3668. Caller-Destination-Number: 34600641344
  3669. Caller-Unique-ID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
  3670. Caller-Source: mod_sofia
  3671. Caller-Context: default
  3672. Caller-Channel-Name: sofia/default/621296053%40cloud.masip.es
  3673. Caller-Profile-Index: 1
  3674. Caller-Profile-Created-Time: 1687868140938650
  3675. Caller-Channel-Created-Time: 1687868140938650
  3676. Caller-Channel-Answered-Time: 0
  3677. Caller-Channel-Progress-Time: 0
  3678. Caller-Channel-Progress-Media-Time: 0
  3679. Caller-Channel-Hangup-Time: 0
  3680. Caller-Channel-Transfer-Time: 0
  3681. Caller-Channel-Resurrect-Time: 0
  3682. Caller-Channel-Bridged-Time: 0
  3683. Caller-Channel-Last-Hold: 0
  3684. Caller-Channel-Hold-Accum: 0
  3685. Caller-Screen-Bit: false
  3686. Caller-Privacy-Hide-Name: false
  3687. Caller-Privacy-Hide-Number: false
  3688. variable_direction: inbound
  3689. variable_uuid: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
  3690. variable_session_id: 6715
  3691. variable_sip_from_user: 621296053
  3692. variable_sip_from_uri: 621296053%40cloud.masip.es
  3693. variable_sip_from_host: cloud.masip.es
  3694. variable_video_media_flow: disabled
  3695. variable_text_media_flow: disabled
  3696. variable_channel_name: sofia/default/621296053%40cloud.masip.es
  3697. variable_sip_call_id: 238eddbe19485b665372a01751200ae6%40cloud.masip.es
  3698. variable_sip_local_network_addr: 54.220.206.86
  3699. variable_sip_network_ip: 34.252.123.120
  3700. variable_sip_network_port: 5060
  3701. variable_sip_invite_stamp: 1687868140938650
  3702. variable_sip_received_ip: 34.252.123.120
  3703. variable_sip_received_port: 5060
  3704. variable_sip_via_protocol: udp
  3705. variable_sip_authorized: true
  3706. variable_sip_acl_authed_by: default
  3707. variable_sip_from_user_stripped: 621296053
  3708. variable_sip_from_tag: as7a738082
  3709. variable_sofia_profile_name: default
  3710. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  3711. variable_recovery_profile_name: default
  3712. variable_sip_Remote-Party-ID: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  3713. variable_sip_cid_type: rpid
  3714. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das7a738082%3Bdid%3Dca1.0b729541%3E
  3715. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das7a738082%3Bdid%3Dca1.0b729541%3E
  3716. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKc70f.294d4fb4.0,SIP/2.0/UDP%2051.91.247.55%3A5060%3Bbranch%3Dz9hG4bK483e3b74
  3717. variable_sip_from_display: 621296053
  3718. variable_sip_full_from: %22621296053%22%20%3Csip%3A621296053%40cloud.masip.es%3E%3Btag%3Das7a738082
  3719. variable_sip_full_to: %3Csip%3A34600641344%40cloud.masip.es%3E
  3720. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
  3721. variable_sip_req_user: 34600641344
  3722. variable_sip_req_uri: 34600641344%40cloud.masip.es
  3723. variable_sip_req_host: cloud.masip.es
  3724. variable_sip_to_user: 34600641344
  3725. variable_sip_to_uri: 34600641344%40cloud.masip.es
  3726. variable_sip_to_host: cloud.masip.es
  3727. variable_sip_contact_user: 621296053
  3728. variable_sip_contact_port: 5060
  3729. variable_sip_contact_uri: 621296053%4051.91.247.55%3A5060
  3730. variable_sip_contact_host: 51.91.247.55
  3731. variable_sip_user_agent: DialApplet
  3732. variable_sip_via_host: 34.252.123.120
  3733. variable_sip_via_port: 5060
  3734. variable_max_forwards: 69
  3735. variable_presence_id: 621296053%40cloud.masip.es
  3736. variable_sip_date_epoch_time: 1687868140
  3737. variable_sip_h_X-AUTH-IP: 51.91.247.55
  3738. variable_sip_h_P-Accountcode: 437146
  3739. variable_sip_h_P-effective_caller_id_name: %22621296053%22
  3740. variable_sip_h_P-effective_caller_id_number: %3Cnull%3E
  3741. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20228355828%20228355828%20IN%20IP4%2051.91.247.55%0D%0As%3DDialApplet%0D%0Ac%3DIN%20IP4%2051.91.247.55%0D%0At%3D0%200%0D%0Am%3Daudio%2010846%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
  3742. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  3743. variable_rtp_use_codec_string: G729,PCMA,PCMU
  3744. variable_remote_video_media_flow: inactive
  3745. variable_remote_text_media_flow: inactive
  3746. variable_remote_audio_media_flow: sendrecv
  3747. variable_audio_media_flow: sendrecv
  3748. variable_remote_media_ip: 51.91.247.55
  3749. variable_remote_media_port: 10846
  3750. variable_rtp_audio_recv_pt: 8
  3751. variable_rtp_use_codec_name: PCMA
  3752. variable_rtp_use_codec_rate: 8000
  3753. variable_rtp_use_codec_ptime: 20
  3754. variable_rtp_use_codec_channels: 1
  3755. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  3756. variable_read_codec: PCMA
  3757. variable_original_read_codec: PCMA
  3758. variable_read_rate: 8000
  3759. variable_original_read_rate: 8000
  3760. variable_write_codec: PCMA
  3761. variable_write_rate: 8000
  3762. variable_dtmf_type: rfc2833
  3763. variable_endpoint_disposition: RECEIVED
  3764. variable_call_uuid: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
  3765. Hunt-Direction: inbound
  3766. Hunt-Logical-Direction: inbound
  3767. Hunt-Username: 621296053
  3768. Hunt-Dialplan: XML
  3769. Hunt-Caller-ID-Name: 621296053
  3770. Hunt-Caller-ID-Number: 621296053
  3771. Hunt-Orig-Caller-ID-Name: 621296053
  3772. Hunt-Orig-Caller-ID-Number: 621296053
  3773. Hunt-Network-Addr: 34.252.123.120
  3774. Hunt-ANI: 621296053
  3775. Hunt-Destination-Number: 34600641344
  3776. Hunt-Unique-ID: 9290fe7a-b57d-45f0-86f5-0e953eb65ed3
  3777. Hunt-Source: mod_sofia
  3778. Hunt-Context: default
  3779. Hunt-Channel-Name: sofia/default/621296053%40cloud.masip.es
  3780. Hunt-Profile-Index: 1
  3781. Hunt-Profile-Created-Time: 1687868140938650
  3782. Hunt-Channel-Created-Time: 1687868140938650
  3783. Hunt-Channel-Answered-Time: 0
  3784. Hunt-Channel-Progress-Time: 0
  3785. Hunt-Channel-Progress-Media-Time: 0
  3786. Hunt-Channel-Hangup-Time: 0
  3787. Hunt-Channel-Transfer-Time: 0
  3788. Hunt-Channel-Resurrect-Time: 0
  3789. Hunt-Channel-Bridged-Time: 0
  3790. Hunt-Channel-Last-Hold: 0
  3791. Hunt-Channel-Hold-Accum: 0
  3792. Hunt-Screen-Bit: false
  3793. Hunt-Privacy-Hide-Name: false
  3794. Hunt-Privacy-Hide-Number: false
  3795.  
  3796.  
  3797. 2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  3798. 2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  3799. 2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  3800. 2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  3801. 2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34600641344
  3802. 2023-06-27 12:15:40.938650 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34600641344' AND status=0 limit 1
  3803. 2023-06-27 12:15:40.938650 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "621296053" / <null>
  3804. 2023-06-27 12:15:40.938650 98.83% [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 ="34600641344" LIMIT 1
  3805. 2023-06-27 12:15:40.938650 98.83% [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="34600641344" limit 1
  3806. 2023-06-27 12:15:40.958648 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  3807. 2023-06-27 12:15:40.958648 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 437146]
  3808. 2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "437146" AND deleted = 0 limit 1
  3809. 2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34600641344.*' OR blocked_patterns = '^3460064134.*' OR blocked_patterns = '^346006413.*' OR blocked_patterns = '^34600641.*' OR blocked_patterns = '^3460064.*' OR blocked_patterns = '^346006.*' OR blocked_patterns = '^34600.*' OR blocked_patterns = '^3460.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 107 limit 1
  3810. 2023-06-27 12:15:40.958648 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34600641344" AND (accountid = 0 OR status = 1) LIMIT 1
  3811. 2023-06-27 12:15:40.958648 98.83% [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 = '^34600641344.*' OR patterns = '^3460064134.*' OR patterns = '^346006413.*' OR patterns = '^34600641.*' OR patterns = '^3460064.*' OR patterns = '^346006.*' OR patterns = '^34600.*' OR patterns = '^3460.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC
  3812. 2023-06-27 12:15:40.958648 98.83% [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 ="34600641344" AND A.accountid = '107' limit 1
  3813. 2023-06-27 12:15:40.958648 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34600641344
  3814. 2023-06-27 12:15:40.958648 98.83% [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 ="34600641344" LIMIT 1
  3815. 2023-06-27 12:15:40.958648 98.83% [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="34600641344" limit 1
  3816. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  3817. 2023-06-27 12:15:40.978652 98.83% [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 = '34600641344' OR number = '3460064134' OR number = '346006413' OR number = '34600641' OR number = '3460064' OR number = '346006' OR number = '34600' OR number = '3460' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34600641344*' OR number = '3460064134*' OR number = '346006413*' OR number = '34600641*' OR number = '3460064*' OR number = '346006*' OR number = '34600*' OR number = '3460*' 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
  3818. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  3819. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34600641344' OR routing_prefix = '3460064134' OR routing_prefix = '346006413' OR routing_prefix = '34600641' OR routing_prefix = '3460064' OR routing_prefix = '346006' OR routing_prefix = '34600' OR routing_prefix = '3460' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  3820. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  3821. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 107
  3822. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 437146
  3823. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 185.8322
  3824. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  3825. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 11
  3826. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  3827. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  3828. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3829. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  3830. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3831. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34600641344.*' OR pattern = '^3460064134.*' OR pattern = '^346006413.*' OR pattern = '^34600641.*' OR pattern = '^3460064.*' OR pattern = '^346006.*' OR pattern = '^34600.*' OR pattern = '^3460.*' 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
  3832. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  3833. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  3834. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87795
  3835. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3836. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  3837. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00750
  3838. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Mobile
  3839. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  3840. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 107
  3841. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  3842. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  3843. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  3844. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your185.8322 balance Accountid 107 !!!
  3845. 2023-06-27 12:15:40.978652 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  3846. 2023-06-27 12:15:40.978652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  3847. 2023-06-27 12:15:40.978652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  3848. 2023-06-27 12:15:40.978652 98.83% [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
  3849. 2023-06-27 12:15:40.978652 98.83% [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 = '^34600641344.*' OR pattern = '^3460064134.*' OR pattern = '^346006413.*' OR pattern = '^34600641.*' OR pattern = '^3460064.*' OR pattern = '^346006.*' OR pattern = '^34600.*' OR pattern = '^3460.*' 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
  3850. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3851. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  3852. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  3853. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  3854. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3855. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3856. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  3857. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3858. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3859. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  3860. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  3861. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3862. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  3863. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  3864. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3865. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  3866. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3867. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3868. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
  3869. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  3870. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  3871. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3872. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3873. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  3874. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3875. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3876. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  3877. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  3878. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3879. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  3880. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  3881. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3882. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  3883. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3884. 2023-06-27 12:15:40.998652 98.83% [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
  3885. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  3886. 2023-06-27 12:15:40.998652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3887. 2023-06-27 12:15:40.998652 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  3888. 2023-06-27 12:15:40.998652 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3889. 2023-06-27 12:15:40.998652 98.83% [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
  3890. 2023-06-27 12:15:40.998652 98.83% [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
  3891. 2023-06-27 12:15:40.998652 98.83% [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 ="34600641344" LIMIT 1
  3892. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 11 AND status = 0
  3893. 2023-06-27 12:15:41.018666 98.83% [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
  3894. 2023-06-27 12:15:41.018666 98.83% [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
  3895. 2023-06-27 12:15:41.018666 98.83% [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 ="34600641344" LIMIT 1
  3896. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  3897. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3898. <document type="freeswitch/xml">
  3899. <section name="dialplan" description="ASTPP Dialplan">
  3900. <context name="default">
  3901. <extension name="34600641344">
  3902. <condition field="destination_number" expression="34600641344">
  3903. <action application="set" data="effective_destination_number=34600641344"/>
  3904. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3905. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  3906. <action application="set" data="callstart=2023-06-27 12:15:41"/>
  3907. <action application="set" data="hangup_after_bridge=true"/>
  3908. <action application="set" data="continue_on_fail=TRUE"/>
  3909. <action application="set" data="account_id=107"/>
  3910. <action application="set" data="parent_id=0"/>
  3911. <action application="set" data="entity_id=0"/>
  3912. <action application="set" data="call_processed=internal"/>
  3913. <action application="set" data="call_direction=outbound"/>
  3914. <action application="set" data="accountname=default"/>
  3915. <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"/>
  3916. <action application="set" data="original_caller_id_name=621296053"/>
  3917. <action application="limit" data="db 437146 user_437146 100 "/>
  3918.  
  3919. <action application="set" data="effective_caller_id_name="621296053""/>
  3920. <action application="set" data="calltype=STANDARD"/>
  3921. <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"/>
  3922. <action application="set" data="trunk_id=3"/>
  3923. <action application="set" data="provider_id=9"/>
  3924. <action application="set" data="rate_flag=2"/>
  3925. <action application="set" data="force_trunk_flag=0"/>
  3926. <action application="export" data="presence_data=trunk_id=3"/>
  3927. <action application="set" data="intcall=0"/>
  3928. <action application="export" data="presence_id=34600641344"/>
  3929. <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"/>
  3930. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34600641344;fs_path=sip:34.252.123.120:5060"/>
  3931. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34600641344;fs_path=sip:34.252.123.120:5060"/>
  3932. <action application="set" data="effective_caller_id_name="621296053""/>
  3933. <action application="set" data="calltype=STANDARD"/>
  3934. <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"/>
  3935. <action application="set" data="trunk_id=4"/>
  3936. <action application="set" data="provider_id=37"/>
  3937. <action application="set" data="rate_flag=2"/>
  3938. <action application="set" data="force_trunk_flag=0"/>
  3939. <action application="export" data="presence_data=trunk_id=4"/>
  3940. <action application="set" data="intcall=0"/>
  3941. <action application="export" data="presence_id=34600641344"/>
  3942. <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"/>
  3943. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34600641344;fs_path=sip:34.252.123.120:5060"/>
  3944. </condition>
  3945. </extension>
  3946. </context>
  3947. </section>
  3948. </document>
  3949. Dialplan: sofia/default/621296053@cloud.masip.es parsing [default->34600641344] continue=false
  3950. Dialplan: sofia/default/621296053@cloud.masip.es Regex (PASS) [34600641344] destination_number(34600641344) =~ /34600641344/ break=on-false
  3951. Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_destination_number=34600641344)
  3952. Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3953. Dialplan: sofia/default/621296053@cloud.masip.es Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  3954. Dialplan: sofia/default/621296053@cloud.masip.es Action set(callstart=2023-06-27 12:15:41)
  3955. Dialplan: sofia/default/621296053@cloud.masip.es Action set(hangup_after_bridge=true)
  3956. Dialplan: sofia/default/621296053@cloud.masip.es Action set(continue_on_fail=TRUE)
  3957. Dialplan: sofia/default/621296053@cloud.masip.es Action set(account_id=107)
  3958. Dialplan: sofia/default/621296053@cloud.masip.es Action set(parent_id=0)
  3959. Dialplan: sofia/default/621296053@cloud.masip.es Action set(entity_id=0)
  3960. Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_processed=internal)
  3961. Dialplan: sofia/default/621296053@cloud.masip.es Action set(call_direction=outbound)
  3962. Dialplan: sofia/default/621296053@cloud.masip.es Action set(accountname=default)
  3963. Dialplan: sofia/default/621296053@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)
  3964. Dialplan: sofia/default/621296053@cloud.masip.es Action set(original_caller_id_name=621296053)
  3965. Dialplan: sofia/default/621296053@cloud.masip.es Action limit(db 437146 user_437146 100 )
  3966. Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
  3967. Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
  3968. Dialplan: sofia/default/621296053@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)
  3969. Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=3)
  3970. Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=9)
  3971. Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
  3972. Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
  3973. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=3)
  3974. Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
  3975. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34600641344)
  3976. Dialplan: sofia/default/621296053@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)
  3977. Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34600641344;fs_path=sip:34.252.123.120:5060)
  3978. Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34600641344;fs_path=sip:34.252.123.120:5060)
  3979. Dialplan: sofia/default/621296053@cloud.masip.es Action set(effective_caller_id_name=)
  3980. Dialplan: sofia/default/621296053@cloud.masip.es Action set(calltype=STANDARD)
  3981. Dialplan: sofia/default/621296053@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)
  3982. Dialplan: sofia/default/621296053@cloud.masip.es Action set(trunk_id=4)
  3983. Dialplan: sofia/default/621296053@cloud.masip.es Action set(provider_id=37)
  3984. Dialplan: sofia/default/621296053@cloud.masip.es Action set(rate_flag=2)
  3985. Dialplan: sofia/default/621296053@cloud.masip.es Action set(force_trunk_flag=0)
  3986. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_data=trunk_id=4)
  3987. Dialplan: sofia/default/621296053@cloud.masip.es Action set(intcall=0)
  3988. Dialplan: sofia/default/621296053@cloud.masip.es Action export(presence_id=34600641344)
  3989. Dialplan: sofia/default/621296053@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)
  3990. Dialplan: sofia/default/621296053@cloud.masip.es Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34600641344;fs_path=sip:34.252.123.120:5060)
  3991. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:281 (sofia/default/621296053@cloud.masip.es) State Change CS_ROUTING -> CS_EXECUTE
  3992. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/621296053@cloud.masip.es) State ROUTING going to sleep
  3993. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/621296053@cloud.masip.es) Running State Change CS_EXECUTE (Cur 13 Tot 6715)
  3994. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/621296053@cloud.masip.es) State EXECUTE
  3995. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:213 sofia/default/621296053@cloud.masip.es SOFIA EXECUTE
  3996. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:323 sofia/default/621296053@cloud.masip.es Standard EXECUTE
  3997. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_destination_number=34600641344)
  3998. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_destination_number]=[34600641344]
  3999. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_app=sched_hangup)
  4000. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_app]=[sched_hangup]
  4001. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4002. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4003. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(callstart=2023-06-27 12:15:41)
  4004. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [callstart]=[2023-06-27 12:15:41]
  4005. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(hangup_after_bridge=true)
  4006. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [hangup_after_bridge]=[true]
  4007. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(continue_on_fail=TRUE)
  4008. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [continue_on_fail]=[TRUE]
  4009. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(account_id=107)
  4010. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [account_id]=[107]
  4011. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(parent_id=0)
  4012. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [parent_id]=[0]
  4013. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(entity_id=0)
  4014. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [entity_id]=[0]
  4015. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_processed=internal)
  4016. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_processed]=[internal]
  4017. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(call_direction=outbound)
  4018. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [call_direction]=[outbound]
  4019. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(accountname=default)
  4020. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [accountname]=[default]
  4021. EXECUTE [depth=0] sofia/default/621296053@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)
  4022. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@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]
  4023. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(original_caller_id_name=621296053)
  4024. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [original_caller_id_name]=[621296053]
  4025. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es limit(db 437146 user_437146 100 )
  4026. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_limit.c:124 incr called: 437146_user_437146 max:100, interval:0
  4027. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_db.c:194 Usage for 437146_user_437146 is now 3/100
  4028. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(effective_caller_id_name=)
  4029. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [effective_caller_id_name]=[UNDEF]
  4030. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(calltype=STANDARD)
  4031. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [calltype]=[STANDARD]
  4032. EXECUTE [depth=0] sofia/default/621296053@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)
  4033. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@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]
  4034. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(trunk_id=3)
  4035. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [trunk_id]=[3]
  4036. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(provider_id=9)
  4037. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [provider_id]=[9]
  4038. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(rate_flag=2)
  4039. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [rate_flag]=[2]
  4040. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(force_trunk_flag=0)
  4041. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [force_trunk_flag]=[0]
  4042. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_data=trunk_id=3)
  4043. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  4044. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es set(intcall=0)
  4045. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/621296053@cloud.masip.es [intcall]=[0]
  4046. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es export(presence_id=34600641344)
  4047. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34600641344]
  4048. EXECUTE [depth=0] sofia/default/621296053@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)
  4049. 2023-06-27 12:15:41.018666 98.83% [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]
  4050. EXECUTE [depth=0] sofia/default/621296053@cloud.masip.es bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34600641344;fs_path=sip:34.252.123.120:5060)
  4051. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1269 sofia/default/621296053@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
  4052. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1269 sofia/default/621296053@cloud.masip.es EXPORTING[export_vars] [presence_id]=[34600641344] to event
  4053. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_channel.c:1269 sofia/default/621296053@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
  4054. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  4055. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  4056. 2023-06-27 12:15:41.018666 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34600641344 [70a99187-50da-44f0-b723-703c7e76f46f]
  4057. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:5121 (sofia/default/34600641344) State Change CS_NEW -> CS_INIT
  4058. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34600641344 Setting leg timeout to 30
  4059. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_INIT (Cur 14 Tot 6716)
  4060. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34600641344) State INIT
  4061. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:97 sofia/default/34600641344 SOFIA INIT
  4062. 2023-06-27 12:15:41.018666 98.83% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34600641344
  4063. 2023-06-27 12:15:41.018666 98.83% [INFO] sofia_glue.c:1651 sofia/default/34600641344 sending invite call-id: (null)
  4064. 2023-06-27 12:15:41.018666 98.83% [DEBUG] sofia_glue.c:1654 sofia/default/34600641344 sending invite version: 1.10.7 -release 64bit
  4065. Local SDP:
  4066. v=0
  4067. o=FreeSWITCH 1687837019 1687837020 IN IP4 54.220.206.86
  4068. s=FreeSWITCH
  4069. c=IN IP4 54.220.206.86
  4070. t=0 0
  4071. m=audio 31122 RTP/AVP 18 0 8 101
  4072. a=rtpmap:18 G729/8000
  4073. a=fmtp:18 annexb=no
  4074. a=rtpmap:0 PCMU/8000
  4075. a=rtpmap:8 PCMA/8000
  4076. a=rtpmap:101 telephone-event/8000
  4077. a=fmtp:101 0-15
  4078. a=ptime:20
  4079. a=sendrecv
  4080.  
  4081. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/34600641344 Standard INIT
  4082. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34600641344) State Change CS_INIT -> CS_ROUTING
  4083. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34600641344) State INIT going to sleep
  4084. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_ROUTING (Cur 14 Tot 6716)
  4085. 2023-06-27 12:15:41.018666 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [calling][0]
  4086. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34600641344) State ROUTING
  4087. 2023-06-27 12:15:41.018666 98.83% [DEBUG] mod_sofia.c:158 sofia/default/34600641344 SOFIA ROUTING
  4088. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34600641344) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4089. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34600641344) State ROUTING going to sleep
  4090. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 6716)
  4091. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34600641344) State CONSUME_MEDIA
  4092. 2023-06-27 12:15:41.018666 98.83% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34600641344) State CONSUME_MEDIA going to sleep
  4093. 2023-06-27 12:15:41.498649 98.83% [NOTICE] switch_channel.c:1123 New Channel sofia/default/960201328@cloud.masip.es:7070 [6ae608de-4169-4ba8-ad7b-37fd00551e7b]
  4094. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_NEW (Cur 15 Tot 6717)
  4095. 2023-06-27 12:15:41.498649 98.83% [INFO] sofia.c:10462 sofia/default/960201328@cloud.masip.es:7070 receiving invite from 34.252.123.120:5060 version: 1.10.7 -release 64bit call-id: 308bfcda5e8846120cc90a6e2fe85ac3@cloud.masip.es
  4096. 2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.252.123.120:0.
  4097. 2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:10585 IP 34.252.123.120 Approved by acl "default[]". Access Granted.
  4098. 2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:7499 Channel sofia/default/960201328@cloud.masip.es:7070 entering state [received][100]
  4099. 2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:7509 Remote SDP:
  4100. v=0
  4101. o=root 692497859 692497860 IN IP4 52.212.10.46
  4102. s=Asterisk PBX 16.6.1
  4103. c=IN IP4 52.212.10.46
  4104. t=0 0
  4105. m=audio 25760 RTP/AVP 8 18 101
  4106. a=rtpmap:8 PCMA/8000
  4107. a=rtpmap:18 G729/8000
  4108. a=fmtp:18 annexb=no
  4109. a=rtpmap:101 telephone-event/8000
  4110. a=fmtp:101 0-16
  4111. a=maxptime:150
  4112. a=rtcp-mux
  4113.  
  4114. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  4115. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  4116. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4117. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMU:0:8000:20:64000:1]
  4118. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[G729:18:8000:20:8000:1]
  4119. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  4120. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMA:8:8000:20:64000:1]
  4121. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:150:8000:1]/[PCMU:0:8000:20:64000:1]
  4122. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4123. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/960201328@cloud.masip.es:7070 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4124. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_codec.c:111 sofia/default/960201328@cloud.masip.es:7070 Original read codec set to PCMA:8
  4125. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4126. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_media.c:5973 sofia/default/960201328@cloud.masip.es:7070 Set 2833 dtmf send payload to 101 recv payload to 101
  4127. 2023-06-27 12:15:41.498649 98.83% [DEBUG] sofia.c:7933 (sofia/default/960201328@cloud.masip.es:7070) State Change CS_NEW -> CS_INIT
  4128. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:600 (sofia/default/960201328@cloud.masip.es:7070) State NEW
  4129. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_INIT (Cur 15 Tot 6717)
  4130. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960201328@cloud.masip.es:7070) State INIT
  4131. 2023-06-27 12:15:41.498649 98.83% [DEBUG] mod_sofia.c:97 sofia/default/960201328@cloud.masip.es:7070 SOFIA INIT
  4132. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:40 sofia/default/960201328@cloud.masip.es:7070 Standard INIT
  4133. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:48 (sofia/default/960201328@cloud.masip.es:7070) State Change CS_INIT -> CS_ROUTING
  4134. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:624 (sofia/default/960201328@cloud.masip.es:7070) State INIT going to sleep
  4135. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_ROUTING (Cur 15 Tot 6717)
  4136. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_channel.c:2380 (sofia/default/960201328@cloud.masip.es:7070) Callstate Change DOWN -> RINGING
  4137. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960201328@cloud.masip.es:7070) State ROUTING
  4138. 2023-06-27 12:15:41.498649 98.83% [DEBUG] mod_sofia.c:158 sofia/default/960201328@cloud.masip.es:7070 SOFIA ROUTING
  4139. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/960201328@cloud.masip.es:7070 Standard ROUTING
  4140. 2023-06-27 12:15:41.498649 98.83% [INFO] mod_dialplan_xml.c:639 Processing 960201328 <960201328>->34683664696 in context default
  4141. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4142. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4143. 2023-06-27 12:15:41.498649 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  4144. Event-Name: REQUEST_PARAMS
  4145. Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb
  4146. FreeSWITCH-Hostname: ip-10-0-2-92
  4147. FreeSWITCH-Switchname: ip-10-0-2-92
  4148. FreeSWITCH-IPv4: 10.0.2.92
  4149. FreeSWITCH-IPv6: %3A%3A1
  4150. Event-Date-Local: 2023-06-27%2012%3A15%3A41
  4151. Event-Date-GMT: Tue,%2027%20Jun%202023%2012%3A15%3A41%20GMT
  4152. Event-Date-Timestamp: 1687868141498649
  4153. Event-Calling-File: mod_dialplan_xml.c
  4154. Event-Calling-Function: dialplan_xml_locate
  4155. Event-Calling-Line-Number: 610
  4156. Event-Sequence: 381482
  4157. Channel-State: CS_ROUTING
  4158. Channel-Call-State: RINGING
  4159. Channel-State-Number: 2
  4160. Channel-Name: sofia/default/960201328%40cloud.masip.es%3A7070
  4161. Unique-ID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
  4162. Call-Direction: inbound
  4163. Presence-Call-Direction: inbound
  4164. Channel-HIT-Dialplan: true
  4165. Channel-Presence-ID: 960201328%40cloud.masip.es
  4166. Channel-Call-UUID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
  4167. Answer-State: ringing
  4168. Channel-Read-Codec-Name: PCMA
  4169. Channel-Read-Codec-Rate: 8000
  4170. Channel-Read-Codec-Bit-Rate: 64000
  4171. Channel-Write-Codec-Name: PCMA
  4172. Channel-Write-Codec-Rate: 8000
  4173. Channel-Write-Codec-Bit-Rate: 64000
  4174. Caller-Direction: inbound
  4175. Caller-Logical-Direction: inbound
  4176. Caller-Username: 960201328
  4177. Caller-Dialplan: XML
  4178. Caller-Caller-ID-Name: 960201328
  4179. Caller-Caller-ID-Number: 960201328
  4180. Caller-Orig-Caller-ID-Name: 960201328
  4181. Caller-Orig-Caller-ID-Number: 960201328
  4182. Caller-Network-Addr: 34.252.123.120
  4183. Caller-ANI: 960201328
  4184. Caller-Destination-Number: 34683664696
  4185. Caller-Unique-ID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
  4186. Caller-Source: mod_sofia
  4187. Caller-Context: default
  4188. Caller-Channel-Name: sofia/default/960201328%40cloud.masip.es%3A7070
  4189. Caller-Profile-Index: 1
  4190. Caller-Profile-Created-Time: 1687868141498649
  4191. Caller-Channel-Created-Time: 1687868141498649
  4192. Caller-Channel-Answered-Time: 0
  4193. Caller-Channel-Progress-Time: 0
  4194. Caller-Channel-Progress-Media-Time: 0
  4195. Caller-Channel-Hangup-Time: 0
  4196. Caller-Channel-Transfer-Time: 0
  4197. Caller-Channel-Resurrect-Time: 0
  4198. Caller-Channel-Bridged-Time: 0
  4199. Caller-Channel-Last-Hold: 0
  4200. Caller-Channel-Hold-Accum: 0
  4201. Caller-Screen-Bit: false
  4202. Caller-Privacy-Hide-Name: false
  4203. Caller-Privacy-Hide-Number: false
  4204. variable_direction: inbound
  4205. variable_uuid: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
  4206. variable_session_id: 6717
  4207. variable_sip_from_user: 960201328
  4208. variable_sip_from_port: 7070
  4209. variable_sip_from_uri: 960201328%40cloud.masip.es%3A7070
  4210. variable_sip_from_host: cloud.masip.es
  4211. variable_video_media_flow: disabled
  4212. variable_text_media_flow: disabled
  4213. variable_channel_name: sofia/default/960201328%40cloud.masip.es%3A7070
  4214. variable_sip_call_id: 308bfcda5e8846120cc90a6e2fe85ac3%40cloud.masip.es
  4215. variable_sip_local_network_addr: 54.220.206.86
  4216. variable_sip_network_ip: 34.252.123.120
  4217. variable_sip_network_port: 5060
  4218. variable_sip_invite_stamp: 1687868141498649
  4219. variable_sip_received_ip: 34.252.123.120
  4220. variable_sip_received_port: 5060
  4221. variable_sip_via_protocol: udp
  4222. variable_sip_authorized: true
  4223. variable_sip_acl_authed_by: default
  4224. variable_sip_from_user_stripped: 960201328
  4225. variable_sip_from_tag: as2305fb4e
  4226. variable_sofia_profile_name: default
  4227. variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777
  4228. variable_recovery_profile_name: default
  4229. variable_sip_Remote-Party-ID: %22960201328%22%20%3Csip%3A960201328%40cloud.masip.es%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  4230. variable_sip_cid_type: rpid
  4231. variable_sip_invite_route_uri: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das2305fb4e%3Bdid%3Dcae.f50ec624%3E
  4232. variable_sip_invite_record_route: %3Csip%3A34.252.123.120%3Blr%3Bftag%3Das2305fb4e%3Bdid%3Dcae.f50ec624%3E
  4233. variable_sip_full_via: SIP/2.0/UDP%2034.252.123.120%3A5060%3Bbranch%3Dz9hG4bKd7d7.ea3762b2.0,SIP/2.0/UDP%2052.212.10.46%3A7070%3Bbranch%3Dz9hG4bK702f768a
  4234. variable_sip_from_display: 960201328
  4235. variable_sip_full_from: %22960201328%22%20%3Csip%3A960201328%40cloud.masip.es%3A7070%3E%3Btag%3Das2305fb4e
  4236. variable_sip_full_to: %3Csip%3A34683664696%40cloud.masip.es%3E
  4237. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  4238. variable_sip_req_user: 34683664696
  4239. variable_sip_req_uri: 34683664696%40cloud.masip.es
  4240. variable_sip_req_host: cloud.masip.es
  4241. variable_sip_to_user: 34683664696
  4242. variable_sip_to_uri: 34683664696%40cloud.masip.es
  4243. variable_sip_to_host: cloud.masip.es
  4244. variable_sip_contact_user: 960201328
  4245. variable_sip_contact_port: 7070
  4246. variable_sip_contact_uri: 960201328%4052.212.10.46%3A7070
  4247. variable_sip_contact_host: 52.212.10.46
  4248. variable_sip_user_agent: Asterisk%20PBX%2016.6.1
  4249. variable_sip_via_host: 34.252.123.120
  4250. variable_sip_via_port: 5060
  4251. variable_max_forwards: 69
  4252. variable_presence_id: 960201328%40cloud.masip.es
  4253. variable_sip_date_epoch_time: 1687868141
  4254. variable_sip_h_X-AUTH-IP: 52.212.10.46
  4255. variable_sip_h_P-Prefix: %3Cnull%3E
  4256. variable_sip_h_P-Accountcode: 787347
  4257. variable_sip_h_P-effective_caller_id_name: %22960201328%22
  4258. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20692497859%20692497860%20IN%20IP4%2052.212.10.46%0D%0As%3DAsterisk%20PBX%2016.6.1%0D%0Ac%3DIN%20IP4%2052.212.10.46%0D%0At%3D0%200%0D%0Am%3Daudio%2025760%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%3Dmaxptime%3A150%0D%0Aa%3Drtcp-mux%0D%0A
  4259. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b
  4260. variable_rtp_use_codec_string: G729,PCMA,PCMU
  4261. variable_remote_video_media_flow: inactive
  4262. variable_remote_text_media_flow: inactive
  4263. variable_remote_audio_media_flow: sendrecv
  4264. variable_audio_media_flow: sendrecv
  4265. variable_remote_media_ip: 52.212.10.46
  4266. variable_remote_media_port: 25760
  4267. variable_rtp_audio_recv_pt: 8
  4268. variable_rtp_use_codec_name: PCMA
  4269. variable_rtp_use_codec_rate: 8000
  4270. variable_rtp_use_codec_ptime: 20
  4271. variable_rtp_use_codec_channels: 1
  4272. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  4273. variable_read_codec: PCMA
  4274. variable_original_read_codec: PCMA
  4275. variable_read_rate: 8000
  4276. variable_original_read_rate: 8000
  4277. variable_write_codec: PCMA
  4278. variable_write_rate: 8000
  4279. variable_dtmf_type: rfc2833
  4280. variable_endpoint_disposition: RECEIVED
  4281. variable_call_uuid: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
  4282. Hunt-Direction: inbound
  4283. Hunt-Logical-Direction: inbound
  4284. Hunt-Username: 960201328
  4285. Hunt-Dialplan: XML
  4286. Hunt-Caller-ID-Name: 960201328
  4287. Hunt-Caller-ID-Number: 960201328
  4288. Hunt-Orig-Caller-ID-Name: 960201328
  4289. Hunt-Orig-Caller-ID-Number: 960201328
  4290. Hunt-Network-Addr: 34.252.123.120
  4291. Hunt-ANI: 960201328
  4292. Hunt-Destination-Number: 34683664696
  4293. Hunt-Unique-ID: 6ae608de-4169-4ba8-ad7b-37fd00551e7b
  4294. Hunt-Source: mod_sofia
  4295. Hunt-Context: default
  4296. Hunt-Channel-Name: sofia/default/960201328%40cloud.masip.es%3A7070
  4297. Hunt-Profile-Index: 1
  4298. Hunt-Profile-Created-Time: 1687868141498649
  4299. Hunt-Channel-Created-Time: 1687868141498649
  4300. Hunt-Channel-Answered-Time: 0
  4301. Hunt-Channel-Progress-Time: 0
  4302. Hunt-Channel-Progress-Media-Time: 0
  4303. Hunt-Channel-Hangup-Time: 0
  4304. Hunt-Channel-Transfer-Time: 0
  4305. Hunt-Channel-Resurrect-Time: 0
  4306. Hunt-Channel-Bridged-Time: 0
  4307. Hunt-Channel-Last-Hold: 0
  4308. Hunt-Channel-Hold-Accum: 0
  4309. Hunt-Screen-Bit: false
  4310. Hunt-Privacy-Hide-Name: false
  4311. Hunt-Privacy-Hide-Number: false
  4312.  
  4313.  
  4314. 2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  4315. 2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  4316. 2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  4317. 2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  4318. 2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 34683664696
  4319. 2023-06-27 12:15:41.498649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '34683664696' AND status=0 limit 1
  4320. 2023-06-27 12:15:41.498649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "960201328" / 960201328
  4321. 2023-06-27 12:15:41.498649 98.83% [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 ="34683664696" LIMIT 1
  4322. 2023-06-27 12:15:41.518649 98.83% [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="34683664696" limit 1
  4323. 2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  4324. 2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 787347]
  4325. 2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "787347" AND deleted = 0 limit 1
  4326. 2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^34683664696.*' OR blocked_patterns = '^3468366469.*' OR blocked_patterns = '^346836646.*' OR blocked_patterns = '^34683664.*' OR blocked_patterns = '^3468366.*' OR blocked_patterns = '^346836.*' OR blocked_patterns = '^34683.*' OR blocked_patterns = '^3468.*' OR blocked_patterns = '^346.*' OR blocked_patterns = '^34.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 28 limit 1
  4327. 2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="34683664696" AND (accountid = 0 OR status = 1) LIMIT 1
  4328. 2023-06-27 12:15:41.518649 98.83% [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 = '^34683664696.*' OR patterns = '^3468366469.*' OR patterns = '^346836646.*' OR patterns = '^34683664.*' OR patterns = '^3468366.*' OR patterns = '^346836.*' OR patterns = '^34683.*' OR patterns = '^3468.*' OR patterns = '^346.*' OR patterns = '^34.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 28 ORDER BY LENGTH(PKGPTR.patterns) DESC
  4329. 2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Package ID : 70
  4330. 2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Product ID : 53
  4331. 2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from products WHERE id = 53 AND status = 0
  4332. 2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Apply On Rategroups For Free Product : 7
  4333. 2023-06-27 12:15:41.518649 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Package Type : 1 Call Direction : outbound [0:inbound,1:outbound,2:both]
  4334. 2023-06-27 12:15:41.518649 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNTER_INFO] Query :SELECT used_seconds FROM counters  WHERE  accountid = 28 AND package_id = 70 AND status=1 LIMIT 1
  4335. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Remaining Minutes : 0
  4336. 2023-06-27 12:15:41.538668 98.83% [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 ="34683664696" AND A.accountid = '28' limit 1
  4337. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 34683664696
  4338. 2023-06-27 12:15:41.538668 98.83% [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 ="34683664696" LIMIT 1
  4339. 2023-06-27 12:15:41.538668 98.83% [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="34683664696" limit 1
  4340. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  4341. 2023-06-27 12:15:41.538668 98.83% [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 = '34683664696' OR number = '3468366469' OR number = '346836646' OR number = '34683664' OR number = '3468366' OR number = '346836' OR number = '34683' OR number = '3468' OR number = '346' OR number = '34' OR number = '3' OR number ='--') OR (number = '34683664696*' OR number = '3468366469*' OR number = '346836646*' OR number = '34683664*' OR number = '3468366*' OR number = '346836*' OR number = '34683*' OR number = '3468*' OR number = '346*' OR number = '34*' OR number = '3*' OR number ='--') OR (number = '960201328' OR number = '96020132' OR number = '9602013' OR number = '960201' OR number = '96020' OR number = '9602' OR number = '960' OR number = '96' OR number = '9' OR number ='--') OR (number = '960201328*' OR number = '96020132*' OR number = '9602013*' OR number = '960201*' OR number = '96020*' OR number = '9602*' OR number = '960*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  4342. 2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  4343. 2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '34683664696' OR routing_prefix = '3468366469' OR routing_prefix = '346836646' OR routing_prefix = '34683664' OR routing_prefix = '3468366' OR routing_prefix = '346836' OR routing_prefix = '34683' OR routing_prefix = '3468' OR routing_prefix = '346' OR routing_prefix = '34' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  4344. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  4345. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 28
  4346. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 787347
  4347. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 782.0951
  4348. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  4349. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 9
  4350. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  4351. 2023-06-27 12:15:41.538668 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  4352. 2023-06-27 12:15:41.538668 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  4353. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  4354. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  4355. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^34683664696.*' OR pattern = '^3468366469.*' OR pattern = '^346836646.*' OR pattern = '^34683664.*' OR pattern = '^3468366.*' OR pattern = '^346836.*' OR pattern = '^34683.*' OR pattern = '^3468.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 9 OR accountid=28)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  4356. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  4357. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  4358. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87607
  4359. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4360. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  4361. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
  4362. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain-Mobiles
  4363. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174
  4364. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 28
  4365. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  4366. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  4367. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  4368. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your782.0951 balance Accountid 28 !!!
  4369. 2023-06-27 12:15:41.558651 98.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  4370. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  4371. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  4372. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=9 ORDER by id asc
  4373. 2023-06-27 12:15:41.558651 98.83% [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 = '^34683664696.*' OR pattern = '^3468366469.*' OR pattern = '^346836646.*' OR pattern = '^34683664.*' OR pattern = '^3468366.*' OR pattern = '^346836.*' OR pattern = '^34683.*' OR pattern = '^3468.*' OR pattern = '^346.*' OR pattern = '^34.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (3,3,4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3,3,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  4374. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  4375. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
  4376. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  4377. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  4378. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4379. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  4380. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  4381. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  4382. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  4383. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  4384. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : TELEFONICASBC1
  4385. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  4386. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : TELEFONICASBC2
  4387. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  4388. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  4389. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : TELEFONICA
  4390. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  4391. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  4392. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32795
  4393. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^346.*
  4394. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : SPAIN
  4395. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  4396. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  4397. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^346.*
  4398. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  4399. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  4400. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
  4401. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : VozAntiDDos
  4402. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  4403. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  4404. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 37
  4405. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  4406. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : VozAntiDDos
  4407. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  4408. 2023-06-27 12:15:41.558651 98.83% [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 = 28 AND status=0 LIMIT 1
  4409. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  4410. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4411. 2023-06-27 12:15:41.558651 98.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  4412. 2023-06-27 12:15:41.558651 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  4413. 2023-06-27 12:15:41.578653 98.83% [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
  4414. 2023-06-27 12:15:41.578653 98.83% [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
  4415. 2023-06-27 12:15:41.578653 98.83% [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 ="34683664696" LIMIT 1
  4416. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 9 AND status = 0
  4417. 2023-06-27 12:15:41.578653 98.83% [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
  4418. 2023-06-27 12:15:41.578653 98.83% [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
  4419. 2023-06-27 12:15:41.578653 98.83% [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 ="34683664696" LIMIT 1
  4420. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  4421. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4422. <document type="freeswitch/xml">
  4423. <section name="dialplan" description="ASTPP Dialplan">
  4424. <context name="default">
  4425. <extension name="34683664696">
  4426. <condition field="destination_number" expression="34683664696">
  4427. <action application="set" data="effective_destination_number=34683664696"/>
  4428. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4429. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  4430. <action application="set" data="callstart=2023-06-27 12:15:41"/>
  4431. <action application="set" data="hangup_after_bridge=true"/>
  4432. <action application="set" data="continue_on_fail=TRUE"/>
  4433. <action application="set" data="account_id=28"/>
  4434. <action application="set" data="parent_id=0"/>
  4435. <action application="set" data="entity_id=0"/>
  4436. <action application="set" data="call_processed=internal"/>
  4437. <action application="set" data="call_direction=outbound"/>
  4438. <action application="set" data="accountname=default"/>
  4439. <action application="set" data="origination_rates=ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28"/>
  4440. <action application="set" data="original_caller_id_name=960201328"/>
  4441. <action application="set" data="original_caller_id_number=960201328"/>
  4442. <action application="limit" data="db 787347 user_787347 50 "/>
  4443.  
  4444. <action application="set" data="effective_caller_id_name="960201328""/>
  4445. <action application="set" data="effective_caller_id_number=960201328"/>
  4446. <action application="set" data="calltype=STANDARD"/>
  4447. <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"/>
  4448. <action application="set" data="trunk_id=3"/>
  4449. <action application="set" data="provider_id=9"/>
  4450. <action application="set" data="rate_flag=2"/>
  4451. <action application="set" data="force_trunk_flag=0"/>
  4452. <action application="export" data="presence_data=trunk_id=3"/>
  4453. <action application="set" data="intcall=0"/>
  4454. <action application="export" data="presence_id=34683664696"/>
  4455. <action application="export" data="presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46"/>
  4456. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34683664696;fs_path=sip:34.252.123.120:5060"/>
  4457. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34683664696;fs_path=sip:34.252.123.120:5060"/>
  4458. <action application="set" data="effective_caller_id_name="960201328""/>
  4459. <action application="set" data="effective_caller_id_number=960201328"/>
  4460. <action application="set" data="calltype=STANDARD"/>
  4461. <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"/>
  4462. <action application="set" data="trunk_id=4"/>
  4463. <action application="set" data="provider_id=37"/>
  4464. <action application="set" data="rate_flag=2"/>
  4465. <action application="set" data="force_trunk_flag=0"/>
  4466. <action application="export" data="presence_data=trunk_id=4"/>
  4467. <action application="set" data="intcall=0"/>
  4468. <action application="export" data="presence_id=34683664696"/>
  4469. <action application="export" data="presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||52.212.10.46"/>
  4470. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34683664696;fs_path=sip:34.252.123.120:5060"/>
  4471. </condition>
  4472. </extension>
  4473. </context>
  4474. </section>
  4475. </document>
  4476. Dialplan: sofia/default/960201328@cloud.masip.es:7070 parsing [default->34683664696] continue=false
  4477. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Regex (PASS) [34683664696] destination_number(34683664696) =~ /34683664696/ break=on-false
  4478. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_destination_number=34683664696)
  4479. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4480. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4481. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(callstart=2023-06-27 12:15:41)
  4482. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(hangup_after_bridge=true)
  4483. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(continue_on_fail=TRUE)
  4484. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(account_id=28)
  4485. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(parent_id=0)
  4486. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(entity_id=0)
  4487. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(call_processed=internal)
  4488. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(call_direction=outbound)
  4489. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(accountname=default)
  4490. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(origination_rates=ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28)
  4491. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(original_caller_id_name=960201328)
  4492. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(original_caller_id_number=960201328)
  4493. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action limit(db 787347 user_787347 50 )
  4494. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_name=)
  4495. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_number=960201328)
  4496. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(calltype=STANDARD)
  4497. Dialplan: sofia/default/960201328@cloud.masip.es:7070 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)
  4498. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(trunk_id=3)
  4499. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(provider_id=9)
  4500. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(rate_flag=2)
  4501. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(force_trunk_flag=0)
  4502. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=trunk_id=3)
  4503. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(intcall=0)
  4504. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_id=34683664696)
  4505. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46)
  4506. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34683664696;fs_path=sip:34.252.123.120:5060)
  4507. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC2/34683664696;fs_path=sip:34.252.123.120:5060)
  4508. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_name=)
  4509. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(effective_caller_id_number=960201328)
  4510. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(calltype=STANDARD)
  4511. Dialplan: sofia/default/960201328@cloud.masip.es:7070 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)
  4512. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(trunk_id=4)
  4513. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(provider_id=37)
  4514. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(rate_flag=2)
  4515. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(force_trunk_flag=0)
  4516. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=trunk_id=4)
  4517. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action set(intcall=0)
  4518. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_id=34683664696)
  4519. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action export(presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||VozAntiDDos // ^346.* // SPAIN // 0.00710 // trunk_id=4|||STD|||52.212.10.46)
  4520. Dialplan: sofia/default/960201328@cloud.masip.es:7070 Action bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/VozAntiDDos/34683664696;fs_path=sip:34.252.123.120:5060)
  4521. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:281 (sofia/default/960201328@cloud.masip.es:7070) State Change CS_ROUTING -> CS_EXECUTE
  4522. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/960201328@cloud.masip.es:7070) State ROUTING going to sleep
  4523. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/960201328@cloud.masip.es:7070) Running State Change CS_EXECUTE (Cur 15 Tot 6717)
  4524. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/960201328@cloud.masip.es:7070) State EXECUTE
  4525. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_sofia.c:213 sofia/default/960201328@cloud.masip.es:7070 SOFIA EXECUTE
  4526. 2023-06-27 12:15:41.578653 98.83% [DEBUG] switch_core_state_machine.c:323 sofia/default/960201328@cloud.masip.es:7070 Standard EXECUTE
  4527. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(effective_destination_number=34683664696)
  4528. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [effective_destination_number]=[34683664696]
  4529. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(bridge_pre_execute_bleg_app=sched_hangup)
  4530. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4531. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  4532. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  4533. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(callstart=2023-06-27 12:15:41)
  4534. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [callstart]=[2023-06-27 12:15:41]
  4535. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(hangup_after_bridge=true)
  4536. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [hangup_after_bridge]=[true]
  4537. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(continue_on_fail=TRUE)
  4538. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [continue_on_fail]=[TRUE]
  4539. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(account_id=28)
  4540. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [account_id]=[28]
  4541. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(parent_id=0)
  4542. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [parent_id]=[0]
  4543. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(entity_id=0)
  4544. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [entity_id]=[0]
  4545. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(call_processed=internal)
  4546. 2023-06-27 12:15:41.578653 98.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [call_processed]=[internal]
  4547. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(call_direction=outbound)
  4548. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [call_direction]=[outbound]
  4549. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(accountname=default)
  4550. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [accountname]=[default]
  4551. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(origination_rates=ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28)
  4552. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [origination_rates]=[ID:87607|CODE:^346.*|DESTINATION:Spain-Mobiles|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:1|INITIALBLOCK:1|RATEGROUP:9|MARKUP:0|CI:174|ACCID:28]
  4553. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(original_caller_id_name=960201328)
  4554. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [original_caller_id_name]=[960201328]
  4555. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(original_caller_id_number=960201328)
  4556. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [original_caller_id_number]=[960201328]
  4557. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 limit(db 787347 user_787347 50 )
  4558. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_limit.c:124 incr called: 787347_user_787347 max:50, interval:0
  4559. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_db.c:194 Usage for 787347_user_787347 is now 2/50
  4560. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(effective_caller_id_name=)
  4561. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [effective_caller_id_name]=[UNDEF]
  4562. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(effective_caller_id_number=960201328)
  4563. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [effective_caller_id_number]=[960201328]
  4564. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(calltype=STANDARD)
  4565. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [calltype]=[STANDARD]
  4566. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 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)
  4567. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [termination_rates]=[ID:4|CODE:^346.*|DESTINATION:SPAIN|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00590|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
  4568. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(trunk_id=3)
  4569. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [trunk_id]=[3]
  4570. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(provider_id=9)
  4571. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [provider_id]=[9]
  4572. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(rate_flag=2)
  4573. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [rate_flag]=[2]
  4574. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(force_trunk_flag=0)
  4575. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [force_trunk_flag]=[0]
  4576. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 export(presence_data=trunk_id=3)
  4577. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  4578. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 set(intcall=0)
  4579. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/default/960201328@cloud.masip.es:7070 [intcall]=[0]
  4580. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 export(presence_id=34683664696)
  4581. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[34683664696]
  4582. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 export(presence_data=x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46)
  4583. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46]
  4584. EXECUTE [depth=0] sofia/default/960201328@cloud.masip.es:7070 bridge([leg_timeout=30,absolute_codec_string=^^:G729:PCMU:PCMA]sofia/gateway/TELEFONICASBC1/34683664696;fs_path=sip:34.252.123.120:5060)
  4585. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1269 sofia/default/960201328@cloud.masip.es:7070 EXPORTING[export_vars] [presence_data]=[x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46] to event
  4586. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1269 sofia/default/960201328@cloud.masip.es:7070 EXPORTING[export_vars] [presence_id]=[34683664696] to event
  4587. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_channel.c:1269 sofia/default/960201328@cloud.masip.es:7070 EXPORTING[export_vars] [presence_data]=[x|||We Call Software(787347)|||^346.* // Spain-Mobiles // 0.03000 |||TELEFONICA // ^346.* // SPAIN // 0.00590 // trunk_id=3|||STD|||52.212.10.46] to event
  4588. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  4589. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  4590. 2023-06-27 12:15:41.598646 98.67% [NOTICE] switch_channel.c:1123 New Channel sofia/default/34683664696 [4a59357d-bda5-49ac-8592-d6f58100a1a3]
  4591. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_sofia.c:5121 (sofia/default/34683664696) State Change CS_NEW -> CS_INIT
  4592. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:3151 sofia/default/34683664696 Setting leg timeout to 30
  4593. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_INIT (Cur 16 Tot 6718)
  4594. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34683664696) State INIT
  4595. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_sofia.c:97 sofia/default/34683664696 SOFIA INIT
  4596. 2023-06-27 12:15:41.598646 98.67% [DEBUG] sofia_glue.c:1620 sip:34.252.123.120:5060 Setting proxy route to sofia/default/34683664696
  4597. 2023-06-27 12:15:41.598646 98.67% [INFO] sofia_glue.c:1651 sofia/default/34683664696 sending invite call-id: (null)
  4598. 2023-06-27 12:15:41.598646 98.67% [DEBUG] sofia_glue.c:1654 sofia/default/34683664696 sending invite version: 1.10.7 -release 64bit
  4599. Local SDP:
  4600. v=0
  4601. o=FreeSWITCH 1687840153 1687840154 IN IP4 54.220.206.86
  4602. s=FreeSWITCH
  4603. c=IN IP4 54.220.206.86
  4604. t=0 0
  4605. m=audio 27988 RTP/AVP 18 0 8 101
  4606. a=rtpmap:18 G729/8000
  4607. a=fmtp:18 annexb=no
  4608. a=rtpmap:0 PCMU/8000
  4609. a=rtpmap:8 PCMA/8000
  4610. a=rtpmap:101 telephone-event/8000
  4611. a=fmtp:101 0-15
  4612. a=ptime:20
  4613. a=sendrecv
  4614.  
  4615. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:40 sofia/default/34683664696 Standard INIT
  4616. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:48 (sofia/default/34683664696) State Change CS_INIT -> CS_ROUTING
  4617. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/default/34683664696) State INIT going to sleep
  4618. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_ROUTING (Cur 16 Tot 6718)
  4619. 2023-06-27 12:15:41.598646 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [calling][0]
  4620. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34683664696) State ROUTING
  4621. 2023-06-27 12:15:41.598646 98.67% [DEBUG] mod_sofia.c:158 sofia/default/34683664696 SOFIA ROUTING
  4622. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_ivr_originate.c:67 (sofia/default/34683664696) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4623. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/default/34683664696) State ROUTING going to sleep
  4624. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 6718)
  4625. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34683664696) State CONSUME_MEDIA
  4626. 2023-06-27 12:15:41.598646 98.67% [DEBUG] switch_core_state_machine.c:659 (sofia/default/34683664696) State CONSUME_MEDIA going to sleep
  4627. 2023-06-27 12:15:42.798647 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [proceeding][183]
  4628. 2023-06-27 12:15:42.798647 98.67% [DEBUG] sofia.c:7509 Remote SDP:
  4629. v=0
  4630. o=Sonus_UAC 174309 715048 IN IP4 54.170.60.120
  4631. s=SIP Media Capabilities
  4632. c=IN IP4 54.170.60.120
  4633. t=0 0
  4634. m=audio 32244 RTP/AVP 8 101
  4635. a=rtpmap:8 PCMA/8000
  4636. a=rtpmap:101 telephone-event/8000
  4637. a=fmtp:101 0-15
  4638. a=ptime:20
  4639.  
  4640. 2023-06-27 12:15:42.798647 98.67% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34600641344!
  4641. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/34600641344) Callstate Change DOWN -> EARLY
  4642. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4643. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4644. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4645. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4646. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4647. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34600641344 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4648. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_codec.c:111 sofia/default/34600641344 Original read codec set to PCMA:8
  4649. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4650. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/34600641344 Set 2833 dtmf send payload to 101 recv payload to 101
  4651. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34600641344] 10.0.2.92 port 31122 -> 54.170.60.120 port 32244 codec: 8 ms: 20
  4652. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4653. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/34600641344 Set 2833 dtmf send payload to 101
  4654. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/34600641344 Set 2833 dtmf receive payload to 101
  4655. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/34600641344 Set rtp dtmf delay to 40
  4656. 2023-06-27 12:15:42.798647 98.67% [INFO] switch_ivr_originate.c:3841 Sending early media
  4657. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/621296053@cloud.masip.es] 10.0.2.92 port 31934 -> 51.91.247.55 port 10846 codec: 8 ms: 20
  4658. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4659. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/621296053@cloud.masip.es Set 2833 dtmf send payload to 101
  4660. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/621296053@cloud.masip.es Set 2833 dtmf receive payload to 101
  4661. 2023-06-27 12:15:42.798647 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/621296053@cloud.masip.es Set rtp dtmf delay to 40
  4662. 2023-06-27 12:15:42.798647 98.67% [DEBUG] mod_sofia.c:2610 Ring SDP:
  4663. v=0
  4664. o=FreeSWITCH 1687836208 1687836209 IN IP4 54.220.206.86
  4665. s=FreeSWITCH
  4666. c=IN IP4 54.220.206.86
  4667. t=0 0
  4668. m=audio 31934 RTP/AVP 8 101
  4669. a=rtpmap:8 PCMA/8000
  4670. a=rtpmap:101 telephone-event/8000
  4671. a=fmtp:101 0-15
  4672. a=ptime:20
  4673. a=sendrecv
  4674.  
  4675. 2023-06-27 12:15:42.798647 98.67% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/621296053@cloud.masip.es!
  4676. 2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/621296053@cloud.masip.es) Callstate Change RINGING -> EARLY
  4677. 2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34600641344] Peer UUID: 70a99187-50da-44f0-b723-703c7e76f46f
  4678. 2023-06-27 12:15:42.818648 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/621296053@cloud.masip.es entering state [early][183]
  4679. 2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34600641344) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4680. 2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34600641344) Running State Change CS_EXCHANGE_MEDIA (Cur 16 Tot 6718)
  4681. 2023-06-27 12:15:42.818648 98.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34600641344) State EXCHANGE_MEDIA
  4682. 2023-06-27 12:15:42.818648 98.67% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  4683. 2023-06-27 12:15:42.838648 98.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  4684. 2023-06-27 12:15:42.858651 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [proceeding][180]
  4685. 2023-06-27 12:15:42.858651 98.67% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34600641344!
  4686. 2023-06-27 12:15:42.858651 98.67% [DEBUG] switch_channel.c:3494 (sofia/default/34600641344) Callstate Change EARLY -> RINGING
  4687. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  4688. 2023-06-27 12:15:42.878651 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34600641344 entering state [proceeding][183]
  4689. 2023-06-27 12:15:42.878651 98.67% [DEBUG] sofia.c:7506 Duplicate SDP
  4690. v=0
  4691. o=Sonus_UAC 174309 715048 IN IP4 54.170.60.120
  4692. s=SIP Media Capabilities
  4693. c=IN IP4 54.170.60.120
  4694. t=0 0
  4695. m=audio 32244 RTP/AVP 8 101
  4696. a=rtpmap:8 PCMA/8000
  4697. a=rtpmap:101 telephone-event/8000
  4698. a=fmtp:101 0-15
  4699. a=ptime:20
  4700.  
  4701. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4702. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4703. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4704. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4705. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4706. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4707. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/34600641344 Set 2833 dtmf send payload to 101 recv payload to 101
  4708. 2023-06-27 12:15:42.878651 98.67% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34600641344.
  4709. 2023-06-27 12:15:42.998648 98.67% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34600641344 Bridge execute app sched_hangup(+6000 normal_clearing)
  4710. 2023-06-27 12:15:43.018650 98.67% [DEBUG] switch_ivr.c:632 sofia/default/34600641344 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  4711. EXECUTE [depth=0] sofia/default/34600641344 sched_hangup(+6000 normal_clearing)
  4712. 2023-06-27 12:15:43.018650 98.67% [DEBUG] switch_scheduler.c:263 Added task 3168 switch_ivr_schedule_hangup (70a99187-50da-44f0-b723-703c7e76f46f) to run at 1687874143
  4713. 2023-06-27 12:15:43.338650 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [proceeding][183]
  4714. 2023-06-27 12:15:43.338650 98.67% [DEBUG] sofia.c:7509 Remote SDP:
  4715. v=0
  4716. o=Sonus_UAC 678117 313343 IN IP4 54.170.60.120
  4717. s=SIP Media Capabilities
  4718. c=IN IP4 54.170.60.120
  4719. t=0 0
  4720. m=audio 32298 RTP/AVP 8 101
  4721. a=rtpmap:8 PCMA/8000
  4722. a=rtpmap:101 telephone-event/8000
  4723. a=fmtp:101 0-15
  4724. a=ptime:20
  4725.  
  4726. 2023-06-27 12:15:43.338650 98.67% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/34683664696!
  4727. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/34683664696) Callstate Change DOWN -> EARLY
  4728. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4729. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4730. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4731. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4732. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4733. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/34683664696 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4734. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_codec.c:111 sofia/default/34683664696 Original read codec set to PCMA:8
  4735. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4736. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:5973 sofia/default/34683664696 Set 2833 dtmf send payload to 101 recv payload to 101
  4737. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/34683664696] 10.0.2.92 port 27988 -> 54.170.60.120 port 32298 codec: 8 ms: 20
  4738. 2023-06-27 12:15:43.338650 98.67% [INFO] switch_ivr_originate.c:3841 Sending early media
  4739. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4740. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/960201328@cloud.masip.es:7070] 10.0.2.92 port 32222 -> 52.212.10.46 port 25760 codec: 8 ms: 20
  4741. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4742. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/34683664696 Set 2833 dtmf send payload to 101
  4743. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/34683664696 Set 2833 dtmf receive payload to 101
  4744. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/34683664696 Set rtp dtmf delay to 40
  4745. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 25760
  4746. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 25760
  4747. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9089 sofia/default/960201328@cloud.masip.es:7070 Set 2833 dtmf send payload to 101
  4748. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9096 sofia/default/960201328@cloud.masip.es:7070 Set 2833 dtmf receive payload to 101
  4749. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_media.c:9119 sofia/default/960201328@cloud.masip.es:7070 Set rtp dtmf delay to 40
  4750. 2023-06-27 12:15:43.338650 98.67% [DEBUG] mod_sofia.c:2610 Ring SDP:
  4751. v=0
  4752. o=FreeSWITCH 1687835921 1687835922 IN IP4 54.220.206.86
  4753. s=FreeSWITCH
  4754. c=IN IP4 54.220.206.86
  4755. t=0 0
  4756. m=audio 32222 RTP/AVP 8 101
  4757. a=rtpmap:8 PCMA/8000
  4758. a=rtpmap:101 telephone-event/8000
  4759. a=fmtp:101 0-15
  4760. a=ptime:20
  4761. a=sendrecv
  4762. a=rtcp-mux
  4763. a=rtcp:32222 IN IP4 54.220.206.86
  4764.  
  4765. 2023-06-27 12:15:43.338650 98.67% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/960201328@cloud.masip.es:7070!
  4766. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_channel.c:3622 (sofia/default/960201328@cloud.masip.es:7070) Callstate Change RINGING -> EARLY
  4767. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/34683664696] Peer UUID: 4a59357d-bda5-49ac-8592-d6f58100a1a3
  4768. 2023-06-27 12:15:43.338650 98.67% [DEBUG] sofia.c:7499 Channel sofia/default/960201328@cloud.masip.es:7070 entering state [early][183]
  4769. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/34683664696) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4770. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/34683664696) Running State Change CS_EXCHANGE_MEDIA (Cur 16 Tot 6718)
  4771. 2023-06-27 12:15:43.338650 98.67% [DEBUG] switch_core_state_machine.c:650 (sofia/default/34683664696) State EXCHANGE_MEDIA
  4772. 2023-06-27 12:15:43.338650 98.67% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  4773. 2023-06-27 12:15:43.538650 98.67% [DEBUG] switch_ivr_bridge.c:655 sofia/default/34683664696 Bridge execute app sched_hangup(+6000 normal_clearing)
  4774. 2023-06-27 12:15:43.558650 98.67% [DEBUG] switch_ivr.c:632 sofia/default/34683664696 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  4775. EXECUTE [depth=0] sofia/default/34683664696 sched_hangup(+6000 normal_clearing)
  4776. 2023-06-27 12:15:43.558650 98.67% [DEBUG] switch_scheduler.c:263 Added task 3169 switch_ivr_schedule_hangup (4a59357d-bda5-49ac-8592-d6f58100a1a3) to run at 1687874143
  4777. 2023-06-27 12:15:43.558650 98.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  4778. 2023-06-27 12:15:43.598650 98.73% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[628541402] base_seq[4634]
  4779. 2023-06-27 12:15:44.178647 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [proceeding][180]
  4780. 2023-06-27 12:15:44.178647 98.73% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/34683664696!
  4781. 2023-06-27 12:15:44.178647 98.73% [DEBUG] switch_channel.c:3494 (sofia/default/34683664696) Callstate Change EARLY -> RINGING
  4782. 2023-06-27 12:15:44.198648 98.73% [DEBUG] sofia.c:7499 Channel sofia/default/34683664696 entering state [proceeding][183]
  4783. 2023-06-27 12:15:44.198648 98.73% [DEBUG] sofia.c:7506 Duplicate SDP
  4784. v=0
  4785. o=Sonus_UAC 678117 313343 IN IP4 54.170.60.120
  4786. s=SIP Media Capabilities
  4787. c=IN IP4 54.170.60.120
  4788. t=0 0
  4789. m=audio 32298 RTP/AVP 8 101
  4790. a=rtpmap:8 PCMA/8000
  4791. a=rtpmap:101 telephone-event/8000
  4792. a=fmtp:101 0-15
  4793. a=ptime:20
  4794.  
  4795. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  4796. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  4797. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  4798. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4799. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4800. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4801. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:5973 sofia/default/34683664696 Set 2833 dtmf send payload to 101 recv payload to 101
  4802. 2023-06-27 12:15:44.198648 98.73% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/34683664696.
  4803. 2023-06-27 12:15:44.218651 98.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  4804.