From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. astppbilling.org] from ip 103.240.35.46
  2. 2022-06-06 11:41:45.495810 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [74d22cae-7fb4-41c8-b02a-736fa67f6b2d]
  3. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 1 Tot 5261)
  4. 2022-06-06 11:41:45.495810 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 1-11656@127.0.1.1
  5. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  6. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  7. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  8. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  9. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  10. v=0
  11. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  12. s=-
  13. c=IN IP4 159.203.131.36
  14. t=0 0
  15. m=audio 6001 RTP/AVP 8 101
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:101 telephone-event/8000
  18. a=fmtp:101 0-11,16
  19.  
  20. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  21. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  22. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  23. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  24. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  25. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  26. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  27. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  28. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  29. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  30. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 1 Tot 5261)
  31. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  32. 2022-06-06 11:41:45.495810 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  33. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  34. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  35. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  36. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 1 Tot 5261)
  37. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  38. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  39. 2022-06-06 11:41:45.495810 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  40. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  41. 2022-06-06 11:41:45.495810 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  42. 2022-06-06 11:41:45.495810 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [8e61eb50-e092-4469-93cd-0e9863d4d0dc]
  43. 2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 2 Tot 5262)
  44. 2022-06-06 11:41:45.495810 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 2-11656@127.0.1.1
  45. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  46. 2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  47. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  48. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  49. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  50. v=0
  51. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  52. s=-
  53. c=IN IP4 159.203.131.36
  54. t=0 0
  55. m=audio 6005 RTP/AVP 8 101
  56. a=rtpmap:8 PCMA/8000
  57. a=rtpmap:101 telephone-event/8000
  58. a=fmtp:101 0-11,16
  59.  
  60. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  61. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  62. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  63. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  64. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  65. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  66. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  67. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  68. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  69. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  70. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 2 Tot 5262)
  71. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  72. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  73. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  74. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  75. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  76. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 2 Tot 5262)
  77. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  78. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  79. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  80. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  81. 2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  82. 2022-06-06 11:41:45.515749 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [f7b880b2-66b4-483c-b82c-f68ad3001ac5]
  83. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 3 Tot 5263)
  84. 2022-06-06 11:41:45.515749 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 3-11656@127.0.1.1
  85. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  86. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  87. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  88. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  89. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  90. v=0
  91. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  92. s=-
  93. c=IN IP4 159.203.131.36
  94. t=0 0
  95. m=audio 6009 RTP/AVP 8 101
  96. a=rtpmap:8 PCMA/8000
  97. a=rtpmap:101 telephone-event/8000
  98. a=fmtp:101 0-11,16
  99.  
  100. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  101. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  102. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  103. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  104. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  105. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  106. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  107. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  108. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  109. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  110. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 3 Tot 5263)
  111. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  112. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  113. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  114. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  115. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  116. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 3 Tot 5263)
  117. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  118. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  119. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  120. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  121. 2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  122. 2022-06-06 11:41:45.515749 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [b0c19de8-27b5-4bb1-9db4-eccd39014fce]
  123. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 4 Tot 5264)
  124. 2022-06-06 11:41:45.515749 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 4-11656@127.0.1.1
  125. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  126. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  127. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  128. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  129. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  130. v=0
  131. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  132. s=-
  133. c=IN IP4 159.203.131.36
  134. t=0 0
  135. m=audio 6013 RTP/AVP 8 101
  136. a=rtpmap:8 PCMA/8000
  137. a=rtpmap:101 telephone-event/8000
  138. a=fmtp:101 0-11,16
  139.  
  140. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  141. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  142. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  143. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  144. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  145. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  146. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  147. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  148. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  149. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  150. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 4 Tot 5264)
  151. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  152. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  153. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  154. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  155. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  156. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 4 Tot 5264)
  157. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  158. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  159. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  160. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  161. 2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  162. 2022-06-06 11:41:45.515749 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  163. 2022-06-06 11:41:45.515749 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [bd167cf7-8de3-4301-a717-69f866ff48fc]
  164. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 5 Tot 5265)
  165. 2022-06-06 11:41:45.515749 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 5-11656@127.0.1.1
  166. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  167. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  168. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  169. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  170. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  171. v=0
  172. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  173. s=-
  174. c=IN IP4 159.203.131.36
  175. t=0 0
  176. m=audio 6017 RTP/AVP 8 101
  177. a=rtpmap:8 PCMA/8000
  178. a=rtpmap:101 telephone-event/8000
  179. a=fmtp:101 0-11,16
  180.  
  181. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  182. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  183. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  184. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  185. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  186. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  187. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  188. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  189. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  190. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  191. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 5 Tot 5265)
  192. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  193. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  194. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  195. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  196. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  197. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 5 Tot 5265)
  198. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  199. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  200. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  201. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  202. 2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  203. 2022-06-06 11:41:45.515749 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [3ba51c9a-7651-44bf-a1da-4ed16be96726]
  204. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 6 Tot 5266)
  205. 2022-06-06 11:41:45.515749 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 6-11656@127.0.1.1
  206. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  207. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  208. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  209. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  210. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  211. v=0
  212. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  213. s=-
  214. c=IN IP4 159.203.131.36
  215. t=0 0
  216. m=audio 6021 RTP/AVP 8 101
  217. a=rtpmap:8 PCMA/8000
  218. a=rtpmap:101 telephone-event/8000
  219. a=fmtp:101 0-11,16
  220.  
  221. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  222. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  223. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  224. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  225. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  226. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  227. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  228. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  229. 2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  230. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  231. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 6 Tot 5266)
  232. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  233. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  234. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  235. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  236. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  237. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 6 Tot 5266)
  238. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  239. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  240. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  241. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  242. 2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  243. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  244. 2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  245. 2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  246. 2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  247. 2022-06-06 11:41:45.535763 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [1858ae66-6b40-4731-853f-b07cc9c342ea]
  248. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 7 Tot 5267)
  249. 2022-06-06 11:41:45.535763 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 7-11656@127.0.1.1
  250. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  251. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  252. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  253. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  254. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  255. v=0
  256. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  257. s=-
  258. c=IN IP4 159.203.131.36
  259. t=0 0
  260. m=audio 6025 RTP/AVP 8 101
  261. a=rtpmap:8 PCMA/8000
  262. a=rtpmap:101 telephone-event/8000
  263. a=fmtp:101 0-11,16
  264.  
  265. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  266. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  267. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  268. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  269. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  270. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  271. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  272. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  273. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  274. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  275. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 7 Tot 5267)
  276. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  277. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  278. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  279. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  280. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  281. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 7 Tot 5267)
  282. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  283. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  284. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  285. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  286. 2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  287. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  288. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  289. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  290. 2022-06-06 11:41:45.535763 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [e469a91b-bbd7-45e3-9ae4-7560938491cc]
  291. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 8 Tot 5268)
  292. 2022-06-06 11:41:45.535763 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 8-11656@127.0.1.1
  293. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  294. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  295. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  296. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  297. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  298. v=0
  299. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  300. s=-
  301. c=IN IP4 159.203.131.36
  302. t=0 0
  303. m=audio 6029 RTP/AVP 8 101
  304. a=rtpmap:8 PCMA/8000
  305. a=rtpmap:101 telephone-event/8000
  306. a=fmtp:101 0-11,16
  307.  
  308. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  309. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  310. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  311. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  312. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  313. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  314. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  315. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  316. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  317. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  318. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 8 Tot 5268)
  319. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  320. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  321. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  322. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  323. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  324. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 8 Tot 5268)
  325. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  326. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  327. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  328. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  329. 2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  330. 2022-06-06 11:41:45.535763 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [5a85851e-d497-44c1-94e0-d3b893c13c13]
  331. 2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  332. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  333. 2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  334. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  335. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 9 Tot 5269)
  336. 2022-06-06 11:41:45.535763 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 9-11656@127.0.1.1
  337. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  338. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  339. 2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  340. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  341. 2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  342. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  343. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  344. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  345. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  346. v=0
  347. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  348. s=-
  349. c=IN IP4 159.203.131.36
  350. t=0 0
  351. m=audio 6033 RTP/AVP 8 101
  352. a=rtpmap:8 PCMA/8000
  353. a=rtpmap:101 telephone-event/8000
  354. a=fmtp:101 0-11,16
  355.  
  356. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  357. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  358. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  359. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  360. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  361. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  362. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  363. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  364. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  365. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  366. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 9 Tot 5269)
  367. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  368. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  369. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  370. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  371. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  372. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 9 Tot 5269)
  373. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  374. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  375. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  376. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  377. 2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  378. 2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  379. 2022-06-06 11:41:45.535763 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/789654@127.0.1.1:5062 [64b1d849-5b63-4ef1-81cb-1cc29f8b62d0]
  380. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_NEW (Cur 10 Tot 5270)
  381. 2022-06-06 11:41:45.535763 95.50% [INFO] sofia.c:10462 sofia/default/789654@127.0.1.1:5062 receiving invite from 159.203.131.36:5062 version: 1.10.7 -release 64bit call-id: 10-11656@127.0.1.1
  382. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
  383. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
  384. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  385. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [received][100]
  386. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  387. v=0
  388. o=user1 53655765 2353687637 IN IP4 159.203.131.36
  389. s=-
  390. c=IN IP4 159.203.131.36
  391. t=0 0
  392. m=audio 6037 RTP/AVP 8 101
  393. a=rtpmap:8 PCMA/8000
  394. a=rtpmap:101 telephone-event/8000
  395. a=fmtp:101 0-11,16
  396.  
  397. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  398. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  399. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  400. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  401. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/789654@127.0.1.1:5062 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  402. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/789654@127.0.1.1:5062 Original read codec set to PCMA:8
  403. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  404. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101 recv payload to 101
  405. 2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7933 (sofia/default/789654@127.0.1.1:5062) State Change CS_NEW -> CS_INIT
  406. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/789654@127.0.1.1:5062) State NEW
  407. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_INIT (Cur 10 Tot 5270)
  408. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT
  409. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
  410. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/789654@127.0.1.1:5062 Standard INIT
  411. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/789654@127.0.1.1:5062) State Change CS_INIT -> CS_ROUTING
  412. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/789654@127.0.1.1:5062) State INIT going to sleep
  413. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_ROUTING (Cur 10 Tot 5270)
  414. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_channel.c:2380 (sofia/default/789654@127.0.1.1:5062) Callstate Change DOWN -> RINGING
  415. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING
  416. 2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
  417. 2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/789654@127.0.1.1:5062 Standard ROUTING
  418. 2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
  419. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  420. 2022-06-06 11:41:45.555762 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  421. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  422. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  423. 2022-06-06 11:41:45.555762 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  424. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  425. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  426. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  427. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  428. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  429. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  430. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  431. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  432. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  433. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  434. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  435. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  436. 2022-06-06 11:41:45.555762 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  437. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  438. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  439. 2022-06-06 11:41:45.555762 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  440. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  441. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  442. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  443. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  444. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  445. 2022-06-06 11:41:45.555762 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  446. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  447. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  448. 2022-06-06 11:41:45.555762 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  449. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  450. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  451. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  452. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  453. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  454. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  455. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  456. 2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  457. 2022-06-06 11:41:45.555762 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  458. 2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  459. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  460. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  461. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  462. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  463. 2022-06-06 11:41:45.575783 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  464. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  465. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  466. 2022-06-06 11:41:45.575783 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  467. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  468. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  469. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  470. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  471. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  472. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  473. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  474. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  475. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  476. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  477. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  478. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  479. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  480. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  481. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  482. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  483. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  484. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  485. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  486. 2022-06-06 11:41:45.575783 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  487. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  488. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  489. 2022-06-06 11:41:45.575783 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  490. 2022-06-06 11:41:45.575783 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  491. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  492. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  493. 2022-06-06 11:41:45.575783 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  494. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  495. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  496. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  497. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  498. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  499. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  500. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  501. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  502. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  503. 2022-06-06 11:41:45.575783 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  504. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  505. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  506. 2022-06-06 11:41:45.575783 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  507. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  508. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  509. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  510. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  511. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  512. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  513. 2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  514. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  515. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  516. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  517. 2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  518. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  519. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  520. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  521. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  522. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  523. 2022-06-06 11:41:45.595763 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  524. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  525. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  526. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  527. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  528. 2022-06-06 11:41:45.595763 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  529. 2022-06-06 11:41:45.595763 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  530. 2022-06-06 11:41:45.595763 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  531. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  532. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  533. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  534. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  535. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  536. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  537. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  538. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  539. 2022-06-06 11:41:45.595763 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  540. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  541. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  542. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  543. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  544. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  545. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  546. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  547. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  548. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  549. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  550. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  551. 2022-06-06 11:41:45.595763 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  552. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  553. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  554. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  555. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  556. 2022-06-06 11:41:45.595763 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  557. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  558. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  559. 2022-06-06 11:41:45.595763 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  560. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  561. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  562. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  563. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  564. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  565. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  566. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  567. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  568. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  569. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  570. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  571. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  572. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  573. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  574. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  575. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  576. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  577. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  578. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  579. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  580. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  581. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  582. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  583. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  584. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  585. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  586. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  587. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  588. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  589. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  590. 2022-06-06 11:41:45.595763 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  591. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  592. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  593. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  594. 2022-06-06 11:41:45.595763 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  595. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  596. 2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  597. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  598. 2022-06-06 11:41:45.595763 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  599. 2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  600. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  601. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  602. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  603. 2022-06-06 11:41:45.615757 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  604. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  605. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  606. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  607. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  608. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
  609. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
  610. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  611. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
  612. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  613. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '970374110000' limit 1
  614. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  615. 2022-06-06 11:41:45.615757 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  616. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : Name / 789654
  617. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  618. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  619. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  620. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("159.203.131.36") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "970374110000"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  621. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  622. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  623. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  624. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  625. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  626. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  627. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  628. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  629. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  630. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  631. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  632. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  633. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  634. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  635. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  636. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  637. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  638. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  639. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  640. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  641. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  642. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  643. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  644. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  645. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  646. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  647. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  648. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  649. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  650. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  651. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  652. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  653. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  654. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  655. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  656. 2022-06-06 11:41:45.615757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  657. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  658. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  659. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  660. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  661. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  662. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
  663. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =970374110000
  664. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  665. 2022-06-06 11:41:45.615757 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  666. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  667. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9993336668" AND deleted = 0 limit 1
  668. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  669. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  670. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  671. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  672. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  673. 2022-06-06 11:41:45.615757 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  674. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  675. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  676. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  677. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  678. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  679. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  680. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  681. 2022-06-06 11:41:45.615757 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  682. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^970374110000.*' OR blocked_patterns = '^97037411000.*' OR blocked_patterns = '^9703741100.*' OR blocked_patterns = '^970374110.*' OR blocked_patterns = '^97037411.*' OR blocked_patterns = '^9703741.*' OR blocked_patterns = '^970374.*' OR blocked_patterns = '^97037.*' OR blocked_patterns = '^9703.*' OR blocked_patterns = '^970.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  683. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  684. 2022-06-06 11:41:45.615757 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  685. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  686. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  687. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  688. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  689. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  690. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  691. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  692. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  693. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  694. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  695. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  696. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  697. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  698. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  699. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  700. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  701. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  702. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  703. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  704. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  705. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  706. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  707. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  708. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  709. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  710. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  711. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  712. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  713. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  714. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  715. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  716. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  717. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  718. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  719. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  720. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  721. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  722. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  723. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  724. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  725. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  726. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  727. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  728. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  729. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  730. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  731. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  732. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  733. 2022-06-06 11:41:45.615757 95.50% [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 = 8 AND status=0 LIMIT 1
  734. 2022-06-06 11:41:45.615757 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  735. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  736. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  737. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  738. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  739. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  740. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  741. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  742. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  743. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  744. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  745. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  746. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  747. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  748. 2022-06-06 11:41:45.615757 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  749. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
  750. 2022-06-06 11:41:45.615757 95.50% [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 = '^970374110000.*' OR patterns = '^97037411000.*' OR patterns = '^9703741100.*' OR patterns = '^970374110.*' OR patterns = '^97037411.*' OR patterns = '^9703741.*' OR patterns = '^970374.*' OR patterns = '^97037.*' OR patterns = '^9703.*' OR patterns = '^970.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  751. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  752. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  753. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  754. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  755. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  756. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  757. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  758. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  759. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  760. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  761. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  762. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  763. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  764. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  765. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  766. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  767. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  768. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  769. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  770. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  771. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  772. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  773. 2022-06-06 11:41:45.615757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  774. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  775. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  776. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  777. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  778. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  779. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  780. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  781. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  782. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  783. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  784. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  785. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  786. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  787. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  788. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  789. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  790. 2022-06-06 11:41:45.615757 95.50% [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 = 3) AND status=0 limit 1
  791. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  792. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  793. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  794. 2022-06-06 11:41:45.615757 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  795. 2022-06-06 11:41:45.615757 95.50% [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 = 8) AND status=0 limit 1
  796. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  797. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  798. 2022-06-06 11:41:45.615757 95.50% [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 ="970374110000" AND A.accountid = '8' limit 1
  799. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  800. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  801. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  802. 2022-06-06 11:41:45.615757 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  803. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  804. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  805. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  806. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  807. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  808. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  809. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  810. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  811. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  812. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  813. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  814. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  815. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  816. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  817. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  818. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  819. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  820. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  821. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  822. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  823. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  824. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  825. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  826. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  827. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  828. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  829. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  830. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  831. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  832. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  833. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  834. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  835. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  836. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  837. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  838. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  839. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  840. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  841. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  842. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  843. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  844. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  845. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  846. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  847. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  848. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  849. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  850. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  851. 2022-06-06 11:41:45.615757 95.50% [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 = 8 AND status=0 LIMIT 1
  852. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  853. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  854. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  855. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  856. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  857. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  858. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  859. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  860. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  861. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  862. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  863. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  864. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  865. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  866. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  867. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  868. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  869. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  870. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  871. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  872. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  873. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  874. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  875. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  876. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
  877. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
  878. 2022-06-06 11:41:45.615757 95.50% [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,sip_devices.codec as sip_codec 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="970374110000" limit 1
  879. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  880. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  881. 2022-06-06 11:41:45.615757 95.50% [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 = 3) AND status=0 limit 1
  882. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  883. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  884. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  885. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  886. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  887. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  888. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  889. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  890. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  891. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  892. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  893. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  894. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  895. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  896. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  897. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  898. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  899. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  900. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  901. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  902. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  903. 2022-06-06 11:41:45.615757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  904. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  905. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  906. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  907. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  908. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  909. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  910. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  911. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  912. 2022-06-06 11:41:45.615757 95.50% [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 = 3) AND status=0 limit 1
  913. 2022-06-06 11:41:45.615757 95.50% [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 = 7) AND status=0 limit 1
  914. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  915. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  916. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  917. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  918. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  919. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  920. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  921. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  922. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  923. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  924. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  925. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  926. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  927. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  928. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  929. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  930. 2022-06-06 11:41:45.615757 95.50% [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 = 8) AND status=0 limit 1
  931. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  932. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  933. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  934. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  935. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  936. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  937. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  938. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  939. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  940. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  941. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  942. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  943. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  944. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  945. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  946. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  947. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  948. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  949. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  950. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  951. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  952. 2022-06-06 11:41:45.615757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  953. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  954. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  955. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  956. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  957. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  958. 2022-06-06 11:41:45.615757 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  959. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  960. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  961. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  962. 2022-06-06 11:41:45.615757 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  963. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  964. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  965. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  966. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  967. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  968. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '970374110000' OR number = '97037411000' OR number = '9703741100' OR number = '970374110' OR number = '97037411' OR number = '9703741' OR number = '970374' OR number = '97037' OR number = '9703' OR number = '970' OR number = '97' OR number = '9' OR number ='--') OR (number = '970374110000*' OR number = '97037411000*' OR number = '9703741100*' OR number = '970374110*' OR number = '97037411*' OR number = '9703741*' OR number = '970374*' OR number = '97037*' OR number = '9703*' OR number = '970*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '789654' OR number = '78965' OR number = '7896' OR number = '789' OR number = '78' OR number = '7' OR number ='--') OR (number = '789654*' OR number = '78965*' OR number = '7896*' OR number = '789*' OR number = '78*' OR number = '7*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  969. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  970. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  971. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  972. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  973. 2022-06-06 11:41:45.615757 95.50% [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 = 3) AND status=0 limit 1
  974. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  975. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  976. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  977. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  978. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  979. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  980. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  981. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  982. 2022-06-06 11:41:45.615757 95.50% [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 = 3) AND status=0 limit 1
  983. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  984. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  985. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  986. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  987. 2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  988. 2022-06-06 11:41:45.615757 95.50% [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 = 9) AND status=0 limit 1
  989. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  990. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  991. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  992. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  993. 2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  994. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  995. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  996. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  997. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  998. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  999. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1000. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1001. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1002. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1003. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1004. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1005. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1006. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1007. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1008. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  1009. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  1010. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  1011. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  1012. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1013. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1014. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1015. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  1016. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  1017. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  1018. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1019. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  1020. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  1021. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1022. 2022-06-06 11:41:45.635752 95.50% [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 = 7) AND status=0 limit 1
  1023. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1024. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  1025. 2022-06-06 11:41:45.635752 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  1026. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  1027. 2022-06-06 11:41:45.635752 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  1028. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  1029. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1030. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1031. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1032. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1033. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1034. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1035. <document type="freeswitch/xml">
  1036. <section name="dialplan" description="ASTPP Dialplan">
  1037. <context name="default">
  1038. <extension name="970374110000">
  1039. <condition field="destination_number" expression="970374110000">
  1040. <action application="set" data="effective_destination_number=970374110000"/>
  1041. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1042. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  1043. <action application="set" data="notify_flag=0"/>
  1044. <action application="set" data="notify_credit_limit=5.00000"/>
  1045. <action application="set" data="type=0"/>
  1046. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  1047. <action application="set" data="hangup_after_bridge=true"/>
  1048. <action application="set" data="continue_on_fail=TRUE"/>
  1049. <action application="set" data="account_id=8"/>
  1050. <action application="set" data="parent_id=0"/>
  1051. <action application="set" data="entity_id=0"/>
  1052. <action application="set" data="call_processed=internal"/>
  1053. <action application="set" data="call_direction=outbound"/>
  1054. <action application="set" data="accountname=sendonclick"/>
  1055. <action application="export" data="t38_passthru=true"/>
  1056. <action application="set" data="fax_enable_t38=true"/>
  1057. <action application="set" data="fax_enable_t38_request=true"/>
  1058. <action application="set" data="filename1=astpp.pbx.lua"/>
  1059. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  1060. <action application="set" data="original_caller_id_name=Name"/>
  1061. <action application="set" data="original_caller_id_number=789654"/>
  1062.  
  1063. <action application="set" data="effective_caller_id_name=Name"/>
  1064. <action application="set" data="effective_caller_id_number=789654"/>
  1065. <action application="set" data="calltype=STANDARD"/>
  1066. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  1067. <action application="set" data="trunk_id=8"/>
  1068. <action application="set" data="provider_id=3"/>
  1069. <action application="set" data="rate_flag=3"/>
  1070. <action application="set" data="quality_trunk_seq=8,7,9"/>
  1071. <action application="set" data="force_trunk_flag=0"/>
  1072. <action application="export" data="presence_data=trunk_id=8"/>
  1073. <action application="set" data="intcall=0"/>
  1074. <action application="export" data="presence_id=970374110000"/>
  1075. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  1076. <action application="set" data="percentage_flag=0"/>
  1077. <action application="set" data="percentage_trunk_id=8"/>
  1078. <action application="set" data="percentage_rate_group_id=8"/>
  1079. <action application="set" data="percentage_old_trunk_id=0"/>
  1080. <action application="set" data="percentage_force_outbound_routes=0"/>
  1081. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  1082. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  1083. <action application="set" data="effective_caller_id_name=Name"/>
  1084. <action application="set" data="effective_caller_id_number=789654"/>
  1085. <action application="set" data="calltype=STANDARD"/>
  1086. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  1087. <action application="set" data="trunk_id=7"/>
  1088. <action application="set" data="provider_id=3"/>
  1089. <action application="set" data="rate_flag=3"/>
  1090. <action application="set" data="quality_trunk_seq=8,7,9"/>
  1091. <action application="set" data="force_trunk_flag=0"/>
  1092. <action application="export" data="presence_data=trunk_id=7"/>
  1093. <action application="set" data="intcall=0"/>
  1094. <action application="export" data="presence_id=970374110000"/>
  1095. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  1096. <action application="set" data="percentage_flag=0"/>
  1097. <action application="set" data="percentage_trunk_id=7"/>
  1098. <action application="set" data="percentage_rate_group_id=8"/>
  1099. <action application="set" data="percentage_old_trunk_id=8"/>
  1100. <action application="set" data="percentage_force_outbound_routes=0"/>
  1101. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  1102. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  1103. <action application="set" data="effective_caller_id_name=Name"/>
  1104. <action application="set" data="effective_caller_id_number=789654"/>
  1105. <action application="set" data="calltype=STANDARD"/>
  1106. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  1107. <action application="set" data="trunk_id=9"/>
  1108. <action application="set" data="provider_id=3"/>
  1109. <action application="set" data="rate_flag=3"/>
  1110. <action application="set" data="quality_trunk_seq=8,7,9"/>
  1111. <action application="set" data="force_trunk_flag=0"/>
  1112. <action application="export" data="presence_data=trunk_id=9"/>
  1113. <action application="set" data="intcall=0"/>
  1114. <action application="export" data="presence_id=970374110000"/>
  1115. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  1116. <action application="set" data="percentage_flag=0"/>
  1117. <action application="set" data="percentage_trunk_id=9"/>
  1118. <action application="set" data="percentage_rate_group_id=8"/>
  1119. <action application="set" data="percentage_old_trunk_id=7"/>
  1120. <action application="set" data="percentage_force_outbound_routes=0"/>
  1121. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  1122. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  1123. </condition>
  1124. </extension>
  1125. </context>
  1126. </section>
  1127. </document>
  1128. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1129. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  1130. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  1131. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  1132. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1133. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  1134. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1135. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1136. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1137. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1138. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1139. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1140. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1141. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1142. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  1143. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  1144. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  1145. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1146. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  1147. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1148. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1149. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1150. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1151. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1152. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1153. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1154. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  1155. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  1156. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  1157. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1158. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  1159. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  1160. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  1161. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  1162. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  1163. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  1164. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  1165. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  1166. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  1167. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  1168. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  1169. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  1170. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  1171. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  1172. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  1173. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  1174. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  1175. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  1176. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  1177. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  1178. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  1179. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  1180. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  1181. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  1182. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  1183. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  1184. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  1185. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  1186. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  1187. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  1188. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  1189. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  1190. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  1191. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  1192. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  1193. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  1194. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  1195. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  1196. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  1197. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  1198. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  1199. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  1200. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  1201. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1202. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  1203. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  1204. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  1205. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1206. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  1207. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1208. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1209. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1210. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1211. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1212. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1213. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  1214. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1215. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  1216. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  1217. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  1218. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  1219. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  1220. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  1221. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  1222. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  1223. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  1224. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  1225. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  1226. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  1227. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  1228. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  1229. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  1230. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  1231. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  1232. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  1233. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  1234. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  1235. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  1236. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  1237. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  1238. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  1239. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  1240. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  1241. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  1242. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  1243. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  1244. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  1245. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  1246. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  1247. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  1248. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  1249. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  1250. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  1251. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  1252. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  1253. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 10 Tot 5270)
  1254. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  1255. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  1256. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  1257. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  1258. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  1259. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  1260. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1261. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  1262. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  1263. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  1264. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  1265. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  1266. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1267. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  1268. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  1269. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  1270. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1271. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1272. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  1273. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1274. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1275. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1276. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1277. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1278. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1279. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1280. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1281. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1282. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1283. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1284. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  1285. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  1286. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  1287. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  1288. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1289. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1290. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1291. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  1292. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  1293. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  1294. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  1295. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1296. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  1297. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  1298. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  1299. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  1300. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  1301. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  1302. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1303. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  1304. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  1305. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  1306. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  1307. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1308. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1309. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1310. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1311. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1312. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1313. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1314. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  1315. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1316. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1317. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1318. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1319. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1320. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1321. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  1322. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  1323. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  1324. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  1325. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1326. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1327. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1328. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  1329. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  1330. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  1331. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  1332. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1333. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  1334. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  1335. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  1336. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  1337. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  1338. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  1339. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1340. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  1341. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  1342. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  1343. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  1344. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1345. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1346. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1347. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  1348. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1349. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1350. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1351. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1352. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1353. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1354. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1355. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1356. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1357. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1358. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  1359. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  1360. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  1361. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  1362. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1363. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1364. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  1365. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1366. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  1367. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  1368. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  1369. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1370. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  1371. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  1372. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  1373. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  1374. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  1375. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  1376. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  1377. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  1378. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  1379. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  1380. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  1381. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  1382. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  1383. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  1384. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  1385. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  1386. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  1387. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  1388. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  1389. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  1390. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  1391. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  1392. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  1393. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  1394. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  1395. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  1396. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  1397. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  1398. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  1399. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  1400. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  1401. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  1402. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  1403. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  1404. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  1405. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  1406. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  1407. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  1408. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  1409. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  1410. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  1411. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  1412. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  1413. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  1414. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  1415. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  1416. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  1417. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  1418. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1419. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  1420. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  1421. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  1422. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1423. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1424. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [4a325944-480b-4622-b8ca-274ad8b0746d]
  1425. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  1426. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 11 Tot 5271)
  1427. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  1428. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  1429. 2022-06-06 11:41:45.635752 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  1430. 2022-06-06 11:41:45.635752 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  1431. Local SDP:
  1432. v=0
  1433. o=FreeSWITCH 1654492367 1654492368 IN IP4 142.132.184.134
  1434. s=FreeSWITCH
  1435. c=IN IP4 142.132.184.134
  1436. t=0 0
  1437. m=audio 23338 RTP/AVP 8 101
  1438. a=rtpmap:8 PCMA/8000
  1439. a=rtpmap:101 telephone-event/8000
  1440. a=fmtp:101 0-15
  1441. a=ptime:20
  1442. a=sendrecv
  1443.  
  1444. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  1445. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  1446. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  1447. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1448. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1449. 2022-06-06 11:41:45.635752 95.50% [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 = 3) AND status=0 limit 1
  1450. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 11 Tot 5271)
  1451. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  1452. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  1453. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1454. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  1455. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 5271)
  1456. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  1457. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  1458. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  1459. 2022-06-06 11:41:45.635752 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  1460. 2022-06-06 11:41:45.635752 95.50% [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 = 9) AND status=0 limit 1
  1461. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  1462. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  1463. 2022-06-06 11:41:45.635752 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  1464. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  1465. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1466. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  1467. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1468. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1469. <document type="freeswitch/xml">
  1470. <section name="dialplan" description="ASTPP Dialplan">
  1471. <context name="default">
  1472. <extension name="970374110000">
  1473. <condition field="destination_number" expression="970374110000">
  1474. <action application="set" data="effective_destination_number=970374110000"/>
  1475. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1476. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  1477. <action application="set" data="notify_flag=0"/>
  1478. <action application="set" data="notify_credit_limit=5.00000"/>
  1479. <action application="set" data="type=0"/>
  1480. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  1481. <action application="set" data="hangup_after_bridge=true"/>
  1482. <action application="set" data="continue_on_fail=TRUE"/>
  1483. <action application="set" data="account_id=8"/>
  1484. <action application="set" data="parent_id=0"/>
  1485. <action application="set" data="entity_id=0"/>
  1486. <action application="set" data="call_processed=internal"/>
  1487. <action application="set" data="call_direction=outbound"/>
  1488. <action application="set" data="accountname=sendonclick"/>
  1489. <action application="export" data="t38_passthru=true"/>
  1490. <action application="set" data="fax_enable_t38=true"/>
  1491. <action application="set" data="fax_enable_t38_request=true"/>
  1492. <action application="set" data="filename1=astpp.pbx.lua"/>
  1493. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  1494. <action application="set" data="original_caller_id_name=Name"/>
  1495. <action application="set" data="original_caller_id_number=789654"/>
  1496.  
  1497. <action application="set" data="effective_caller_id_name=Name"/>
  1498. <action application="set" data="effective_caller_id_number=789654"/>
  1499. <action application="set" data="calltype=STANDARD"/>
  1500. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  1501. <action application="set" data="trunk_id=8"/>
  1502. <action application="set" data="provider_id=3"/>
  1503. <action application="set" data="rate_flag=3"/>
  1504. <action application="set" data="quality_trunk_seq=8,7,9"/>
  1505. <action application="set" data="force_trunk_flag=0"/>
  1506. <action application="export" data="presence_data=trunk_id=8"/>
  1507. <action application="set" data="intcall=0"/>
  1508. <action application="export" data="presence_id=970374110000"/>
  1509. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  1510. <action application="set" data="percentage_flag=0"/>
  1511. <action application="set" data="percentage_trunk_id=8"/>
  1512. <action application="set" data="percentage_rate_group_id=8"/>
  1513. <action application="set" data="percentage_old_trunk_id=0"/>
  1514. <action application="set" data="percentage_force_outbound_routes=0"/>
  1515. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  1516. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  1517. <action application="set" data="effective_caller_id_name=Name"/>
  1518. <action application="set" data="effective_caller_id_number=789654"/>
  1519. <action application="set" data="calltype=STANDARD"/>
  1520. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  1521. <action application="set" data="trunk_id=7"/>
  1522. <action application="set" data="provider_id=3"/>
  1523. <action application="set" data="rate_flag=3"/>
  1524. <action application="set" data="quality_trunk_seq=8,7,9"/>
  1525. <action application="set" data="force_trunk_flag=0"/>
  1526. <action application="export" data="presence_data=trunk_id=7"/>
  1527. <action application="set" data="intcall=0"/>
  1528. <action application="export" data="presence_id=970374110000"/>
  1529. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  1530. <action application="set" data="percentage_flag=0"/>
  1531. <action application="set" data="percentage_trunk_id=7"/>
  1532. <action application="set" data="percentage_rate_group_id=8"/>
  1533. <action application="set" data="percentage_old_trunk_id=8"/>
  1534. <action application="set" data="percentage_force_outbound_routes=0"/>
  1535. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  1536. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  1537. <action application="set" data="effective_caller_id_name=Name"/>
  1538. <action application="set" data="effective_caller_id_number=789654"/>
  1539. <action application="set" data="calltype=STANDARD"/>
  1540. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  1541. <action application="set" data="trunk_id=9"/>
  1542. <action application="set" data="provider_id=3"/>
  1543. <action application="set" data="rate_flag=3"/>
  1544. <action application="set" data="quality_trunk_seq=8,7,9"/>
  1545. <action application="set" data="force_trunk_flag=0"/>
  1546. <action application="export" data="presence_data=trunk_id=9"/>
  1547. <action application="set" data="intcall=0"/>
  1548. <action application="export" data="presence_id=970374110000"/>
  1549. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  1550. <action application="set" data="percentage_flag=0"/>
  1551. <action application="set" data="percentage_trunk_id=9"/>
  1552. <action application="set" data="percentage_rate_group_id=8"/>
  1553. <action application="set" data="percentage_old_trunk_id=7"/>
  1554. <action application="set" data="percentage_force_outbound_routes=0"/>
  1555. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  1556. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  1557. </condition>
  1558. </extension>
  1559. </context>
  1560. </section>
  1561. </document>
  1562. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  1563. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1564. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  1565. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  1566. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  1567. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1568. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  1569. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1570. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1571. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1572. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1573. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1574. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1575. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1576. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  1577. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  1578. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  1579. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1580. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  1581. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  1582. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  1583. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  1584. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  1585. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  1586. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  1587. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  1588. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  1589. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  1590. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  1591. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  1592. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  1593. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  1594. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  1595. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  1596. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  1597. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  1598. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  1599. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  1600. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  1601. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  1602. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  1603. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  1604. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  1605. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  1606. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  1607. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  1608. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  1609. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  1610. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  1611. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  1612. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  1613. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  1614. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  1615. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  1616. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  1617. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  1618. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  1619. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  1620. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  1621. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  1622. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  1623. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  1624. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  1625. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  1626. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  1627. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  1628. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  1629. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  1630. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  1631. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  1632. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  1633. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  1634. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  1635. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  1636. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  1637. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  1638. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  1639. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  1640. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  1641. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  1642. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  1643. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  1644. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  1645. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  1646. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  1647. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  1648. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  1649. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  1650. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  1651. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  1652. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  1653. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  1654. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  1655. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  1656. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  1657. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  1658. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  1659. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  1660. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  1661. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  1662. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 11 Tot 5271)
  1663. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  1664. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  1665. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  1666. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  1667. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  1668. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  1669. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1670. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  1671. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  1672. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  1673. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  1674. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  1675. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  1676. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  1677. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  1678. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  1679. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  1680. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  1681. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  1682. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  1683. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  1684. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  1685. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  1686. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  1687. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  1688. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  1689. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  1690. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  1691. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  1692. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  1693. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  1694. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  1695. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  1696. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  1697. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  1698. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1699. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  1700. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  1701. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  1702. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  1703. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1704. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  1705. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1706. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1707. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1708. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  1709. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  1710. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  1711. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  1712. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1713. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1714. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1715. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1716. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1717. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  1718. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  1719. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  1720. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  1721. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  1722. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1723. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1724. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  1725. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  1726. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  1727. 2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  1728. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  1729. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  1730. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  1731. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  1732. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  1733. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  1734. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  1735. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  1736. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  1737. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  1738. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  1739. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  1740. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  1741. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  1742. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  1743. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  1744. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  1745. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  1746. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  1747. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  1748. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  1749. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  1750. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  1751. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  1752. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  1753. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  1754. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  1755. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  1756. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  1757. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  1758. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  1759. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  1760. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  1761. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  1762. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  1763. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  1764. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  1765. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  1766. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  1767. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  1768. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  1769. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  1770. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  1771. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  1772. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  1773. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  1774. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  1775. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1776. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '970374110000' OR routing_prefix = '97037411000' OR routing_prefix = '9703741100' OR routing_prefix = '970374110' OR routing_prefix = '97037411' OR routing_prefix = '9703741' OR routing_prefix = '970374' OR routing_prefix = '97037' OR routing_prefix = '9703' OR routing_prefix = '970' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1777. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  1778. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  1779. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  1780. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  1781. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1782. 2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1783. 2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [6f4d4de0-1b56-4bd0-94de-af65889ad0dd]
  1784. 2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  1785. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 12 Tot 5272)
  1786. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  1787. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  1788. 2022-06-06 11:41:45.655758 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  1789. 2022-06-06 11:41:45.655758 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  1790. Local SDP:
  1791. v=0
  1792. o=FreeSWITCH 1654493529 1654493530 IN IP4 142.132.184.134
  1793. s=FreeSWITCH
  1794. c=IN IP4 142.132.184.134
  1795. t=0 0
  1796. m=audio 22176 RTP/AVP 8 101
  1797. a=rtpmap:8 PCMA/8000
  1798. a=rtpmap:101 telephone-event/8000
  1799. a=fmtp:101 0-15
  1800. a=ptime:20
  1801. a=sendrecv
  1802.  
  1803. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  1804. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  1805. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  1806. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 12 Tot 5272)
  1807. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  1808. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  1809. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1810. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  1811. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 5272)
  1812. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  1813. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  1814. 2022-06-06 11:41:45.655758 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  1815. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1816. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  1817. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1818. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1819. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1820. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1821. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1822. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1823. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1824. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  1825. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  1826. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1827. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1828. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1829. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1830. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1831. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1832. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  1833. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1834. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  1835. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1836. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1837. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1838. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1839. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1840. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  1841. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  1842. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1843. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1844. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1845. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1846. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1847. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1848. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1849. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1850. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1851. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1852. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1853. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1854. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1855. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1856. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  1857. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  1858. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1859. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1860. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1861. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1862. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1863. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  1864. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  1865. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1866. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  1867. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1868. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1869. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1870. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1871. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1872. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1873. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1874. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  1875. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  1876. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1877. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1878. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1879. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1880. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1881. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1882. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  1883. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1884. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  1885. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1886. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1887. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1888. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1889. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1890. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  1891. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  1892. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1893. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1894. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1895. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1896. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1897. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1898. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1899. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1900. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1901. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1902. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1903. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1904. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1905. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1906. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  1907. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  1908. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1909. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1910. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1911. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1912. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1913. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  1914. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  1915. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1916. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  1917. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1918. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1919. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  1920. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1921. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1922. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1923. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1924. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1925. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1926. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1927. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  1928. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  1929. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1930. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1931. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1932. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1933. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1934. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1935. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  1936. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1937. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  1938. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1939. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1940. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1941. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1942. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1943. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1944. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  1945. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  1946. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1947. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1948. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1949. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1950. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1951. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1952. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1953. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1954. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  1955. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  1956. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1957. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1958. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1959. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1960. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1961. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1962. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1963. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  1964. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  1965. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1966. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1967. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1968. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1969. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1970. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  1971. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1972. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  1973. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  1974. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  1975. 2022-06-06 11:41:45.655758 95.50% [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 = 8) AND status=0 limit 1
  1976. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1977. 2022-06-06 11:41:45.655758 95.50% [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 = 8) AND status=0 limit 1
  1978. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  1979. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1980. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  1981. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1982. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1983. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  1984. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1985. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  1986. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  1987. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  1988. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1989. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1990. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  1991. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1992. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1993. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1994. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  1995. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  1996. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  1997. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1998. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1999. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2000. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2001. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2002. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  2003. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  2004. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2005. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2006. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2007. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2008. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2009. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2010. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  2011. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2012. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2013. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2014. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2015. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2016. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2017. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2018. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  2019. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  2020. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2021. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2022. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2023. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2024. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2025. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  2026. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  2027. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2028. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2029. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2030. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2031. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2032. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2033. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2034. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  2035. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2036. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2037. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2038. 2022-06-06 11:41:45.655758 95.50% [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 = 8) AND status=0 limit 1
  2039. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2040. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2041. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2042. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2043. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2044. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2045. 2022-06-06 11:41:45.655758 95.50% [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 = 8) AND status=0 limit 1
  2046. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2047. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2048. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2049. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2050. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2051. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2052. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2053. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2054. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2055. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2056. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  2057. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2058. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2059. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2060. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2061. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2062. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2063. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2064. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  2065. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  2066. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2067. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2068. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2069. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2070. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2071. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2072. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  2073. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2074. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  2075. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2076. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2077. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2078. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2079. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2080. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  2081. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  2082. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2083. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2084. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2085. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2086. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2087. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2088. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  2089. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2090. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2091. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2092. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2093. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2094. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2095. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2096. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  2097. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  2098. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2099. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2100. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2101. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2102. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2103. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  2104. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2105. 2022-06-06 11:41:45.655758 95.50% [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 = 7) AND status=0 limit 1
  2106. 2022-06-06 11:41:45.655758 95.50% [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 = 7) AND status=0 limit 1
  2107. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2108. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  2109. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2110. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2111. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2112. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2113. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2114. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  2115. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  2116. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
  2117. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
  2118. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2119. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2120. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
  2121. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  2122. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  2123. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2124. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2125. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  2126. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2127. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2128. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  2129. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  2130. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
  2131. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  2132. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  2133. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  2134. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-06-06 11:41:45
  2135. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
  2136. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
  2137. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  2138. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  2139. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  2140. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2141. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  2142. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
  2143. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
  2144. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
  2145. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  2146. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  2147. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  2148. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  2149. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
  2150. 2022-06-06 11:41:45.655758 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 5 mins!
  2151. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
  2152. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  2153. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=8 ORDER by id asc
  2154. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2155. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2156. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2157. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2158. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2159. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2160. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2161. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2162. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2163. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2164. 2022-06-06 11:41:45.655758 95.50% [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 = 9) AND status=0 limit 1
  2165. 2022-06-06 11:41:45.655758 95.50% [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 = 9) AND status=0 limit 1
  2166. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2167. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2168. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2169. 2022-06-06 11:41:45.655758 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2170. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.leg_timeout,TK.maxchannels,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select percentage from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as percentage,(select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) as trunk_count,(select call_count from pricelists where id=8 ) as rategroup_count,100 * (select call_count from routing where pricelist_id=8 AND trunk_id = TR.trunk_id) / (select call_count from pricelists where id=8 ) AS percent_atual,(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 = '^970374110000.*' OR pattern = '^97037411000.*' OR pattern = '^9703741100.*' OR pattern = '^970374110.*' OR pattern = '^97037411.*' OR pattern = '^9703741.*' OR pattern = '^970374.*' OR pattern = '^97037.*' OR pattern = '^9703.*' OR pattern = '^970.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (7,8,9) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by IF( percent_atual >= percentage, percentage, '' ) ASC , IF( percent_atual <= percentage, percentage, '' ) DESC,LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  2171. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2172. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2173. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2174. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2175. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  2176. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2177. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2178. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2179. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2180. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2181. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2182. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2183. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  2184. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  2185. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2186. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2187. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2188. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2189. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2190. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2191. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  2192. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2193. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  2194. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2195. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2196. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2197. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2198. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2199. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  2200. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  2201. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2202. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2203. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2204. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2205. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2206. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2207. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  2208. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2209. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2210. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2211. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2212. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2213. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2214. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2215. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  2216. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  2217. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2218. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2219. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2220. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2221. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2222. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  2223. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2224. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2225. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  2226. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2227. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2228. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2229. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2230. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2231. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2232. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2233. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  2234. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  2235. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2236. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2237. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2238. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2239. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2240. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2241. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  2242. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2243. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  2244. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2245. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2246. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2247. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2248. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2249. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  2250. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  2251. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2252. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2253. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2254. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2255. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2256. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  2257. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  2258. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  2259. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  2260. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  2261. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  2262. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  2263. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  2264. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  2265. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  2266. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  2267. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  2268. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  2269. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  2270. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  2271. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  2272. 2022-06-06 11:41:45.655758 95.50% [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 = 8 AND status=0 LIMIT 1
  2273. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2274. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2275. <document type="freeswitch/xml">
  2276. <section name="dialplan" description="ASTPP Dialplan">
  2277. <context name="default">
  2278. <extension name="970374110000">
  2279. <condition field="destination_number" expression="970374110000">
  2280. <action application="set" data="effective_destination_number=970374110000"/>
  2281. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2282. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  2283. <action application="set" data="notify_flag=0"/>
  2284. <action application="set" data="notify_credit_limit=5.00000"/>
  2285. <action application="set" data="type=0"/>
  2286. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  2287. <action application="set" data="hangup_after_bridge=true"/>
  2288. <action application="set" data="continue_on_fail=TRUE"/>
  2289. <action application="set" data="account_id=8"/>
  2290. <action application="set" data="parent_id=0"/>
  2291. <action application="set" data="entity_id=0"/>
  2292. <action application="set" data="call_processed=internal"/>
  2293. <action application="set" data="call_direction=outbound"/>
  2294. <action application="set" data="accountname=sendonclick"/>
  2295. <action application="export" data="t38_passthru=true"/>
  2296. <action application="set" data="fax_enable_t38=true"/>
  2297. <action application="set" data="fax_enable_t38_request=true"/>
  2298. <action application="set" data="filename1=astpp.pbx.lua"/>
  2299. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  2300. <action application="set" data="original_caller_id_name=Name"/>
  2301. <action application="set" data="original_caller_id_number=789654"/>
  2302.  
  2303. <action application="set" data="effective_caller_id_name=Name"/>
  2304. <action application="set" data="effective_caller_id_number=789654"/>
  2305. <action application="set" data="calltype=STANDARD"/>
  2306. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  2307. <action application="set" data="trunk_id=8"/>
  2308. <action application="set" data="provider_id=3"/>
  2309. <action application="set" data="rate_flag=3"/>
  2310. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2311. <action application="set" data="force_trunk_flag=0"/>
  2312. <action application="export" data="presence_data=trunk_id=8"/>
  2313. <action application="set" data="intcall=0"/>
  2314. <action application="export" data="presence_id=970374110000"/>
  2315. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  2316. <action application="set" data="percentage_flag=0"/>
  2317. <action application="set" data="percentage_trunk_id=8"/>
  2318. <action application="set" data="percentage_rate_group_id=8"/>
  2319. <action application="set" data="percentage_old_trunk_id=0"/>
  2320. <action application="set" data="percentage_force_outbound_routes=0"/>
  2321. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2322. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  2323. <action application="set" data="effective_caller_id_name=Name"/>
  2324. <action application="set" data="effective_caller_id_number=789654"/>
  2325. <action application="set" data="calltype=STANDARD"/>
  2326. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  2327. <action application="set" data="trunk_id=7"/>
  2328. <action application="set" data="provider_id=3"/>
  2329. <action application="set" data="rate_flag=3"/>
  2330. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2331. <action application="set" data="force_trunk_flag=0"/>
  2332. <action application="export" data="presence_data=trunk_id=7"/>
  2333. <action application="set" data="intcall=0"/>
  2334. <action application="export" data="presence_id=970374110000"/>
  2335. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  2336. <action application="set" data="percentage_flag=0"/>
  2337. <action application="set" data="percentage_trunk_id=7"/>
  2338. <action application="set" data="percentage_rate_group_id=8"/>
  2339. <action application="set" data="percentage_old_trunk_id=8"/>
  2340. <action application="set" data="percentage_force_outbound_routes=0"/>
  2341. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2342. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  2343. <action application="set" data="effective_caller_id_name=Name"/>
  2344. <action application="set" data="effective_caller_id_number=789654"/>
  2345. <action application="set" data="calltype=STANDARD"/>
  2346. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  2347. <action application="set" data="trunk_id=9"/>
  2348. <action application="set" data="provider_id=3"/>
  2349. <action application="set" data="rate_flag=3"/>
  2350. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2351. <action application="set" data="force_trunk_flag=0"/>
  2352. <action application="export" data="presence_data=trunk_id=9"/>
  2353. <action application="set" data="intcall=0"/>
  2354. <action application="export" data="presence_id=970374110000"/>
  2355. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  2356. <action application="set" data="percentage_flag=0"/>
  2357. <action application="set" data="percentage_trunk_id=9"/>
  2358. <action application="set" data="percentage_rate_group_id=8"/>
  2359. <action application="set" data="percentage_old_trunk_id=7"/>
  2360. <action application="set" data="percentage_force_outbound_routes=0"/>
  2361. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2362. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  2363. </condition>
  2364. </extension>
  2365. </context>
  2366. </section>
  2367. </document>
  2368. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2369. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2370. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2371. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2372. 2022-06-06 11:41:45.655758 95.50% [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 = 3) AND status=0 limit 1
  2373. 2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  2374. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2375. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2376. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  2377. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  2378. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  2379. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2380. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  2381. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  2382. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  2383. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  2384. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  2385. 2022-06-06 11:41:45.655758 95.50% [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 = 8) AND status=0 limit 1
  2386. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  2387. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  2388. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  2389. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  2390. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  2391. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  2392. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  2393. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  2394. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  2395. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  2396. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  2397. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  2398. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  2399. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  2400. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  2401. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  2402. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  2403. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  2404. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  2405. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  2406. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  2407. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  2408. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  2409. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  2410. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  2411. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  2412. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  2413. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  2414. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  2415. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  2416. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  2417. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  2418. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  2419. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  2420. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  2421. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  2422. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  2423. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  2424. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  2425. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  2426. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  2427. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  2428. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  2429. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  2430. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  2431. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  2432. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  2433. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  2434. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  2435. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  2436. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  2437. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  2438. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  2439. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  2440. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  2441. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  2442. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  2443. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  2444. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  2445. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  2446. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  2447. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  2448. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  2449. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  2450. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  2451. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  2452. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  2453. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  2454. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  2455. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  2456. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  2457. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  2458. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  2459. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  2460. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  2461. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  2462. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  2463. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 12 Tot 5272)
  2464. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  2465. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  2466. 2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  2467. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  2468. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  2469. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  2470. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2471. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  2472. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  2473. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  2474. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  2475. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  2476. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  2477. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  2478. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  2479. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  2480. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  2481. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  2482. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  2483. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  2484. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  2485. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  2486. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  2487. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  2488. 2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  2489. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  2490. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  2491. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  2492. 2022-06-06 11:41:45.675753 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2493. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2494. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2495. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  2496. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2497. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  2498. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  2499. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2500. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2501. <document type="freeswitch/xml">
  2502. <section name="dialplan" description="ASTPP Dialplan">
  2503. <context name="default">
  2504. <extension name="970374110000">
  2505. <condition field="destination_number" expression="970374110000">
  2506. <action application="set" data="effective_destination_number=970374110000"/>
  2507. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2508. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  2509. <action application="set" data="notify_flag=0"/>
  2510. <action application="set" data="notify_credit_limit=5.00000"/>
  2511. <action application="set" data="type=0"/>
  2512. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  2513. <action application="set" data="hangup_after_bridge=true"/>
  2514. <action application="set" data="continue_on_fail=TRUE"/>
  2515. <action application="set" data="account_id=8"/>
  2516. <action application="set" data="parent_id=0"/>
  2517. <action application="set" data="entity_id=0"/>
  2518. <action application="set" data="call_processed=internal"/>
  2519. <action application="set" data="call_direction=outbound"/>
  2520. <action application="set" data="accountname=sendonclick"/>
  2521. <action application="export" data="t38_passthru=true"/>
  2522. <action application="set" data="fax_enable_t38=true"/>
  2523. <action application="set" data="fax_enable_t38_request=true"/>
  2524. <action application="set" data="filename1=astpp.pbx.lua"/>
  2525. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  2526. <action application="set" data="original_caller_id_name=Name"/>
  2527. <action application="set" data="original_caller_id_number=789654"/>
  2528.  
  2529. <action application="set" data="effective_caller_id_name=Name"/>
  2530. <action application="set" data="effective_caller_id_number=789654"/>
  2531. <action application="set" data="calltype=STANDARD"/>
  2532. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  2533. <action application="set" data="trunk_id=8"/>
  2534. <action application="set" data="provider_id=3"/>
  2535. <action application="set" data="rate_flag=3"/>
  2536. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2537. <action application="set" data="force_trunk_flag=0"/>
  2538. <action application="export" data="presence_data=trunk_id=8"/>
  2539. <action application="set" data="intcall=0"/>
  2540. <action application="export" data="presence_id=970374110000"/>
  2541. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  2542. <action application="set" data="percentage_flag=0"/>
  2543. <action application="set" data="percentage_trunk_id=8"/>
  2544. <action application="set" data="percentage_rate_group_id=8"/>
  2545. <action application="set" data="percentage_old_trunk_id=0"/>
  2546. <action application="set" data="percentage_force_outbound_routes=0"/>
  2547. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2548. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  2549. <action application="set" data="effective_caller_id_name=Name"/>
  2550. <action application="set" data="effective_caller_id_number=789654"/>
  2551. <action application="set" data="calltype=STANDARD"/>
  2552. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  2553. <action application="set" data="trunk_id=7"/>
  2554. <action application="set" data="provider_id=3"/>
  2555. <action application="set" data="rate_flag=3"/>
  2556. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2557. <action application="set" data="force_trunk_flag=0"/>
  2558. <action application="export" data="presence_data=trunk_id=7"/>
  2559. <action application="set" data="intcall=0"/>
  2560. <action application="export" data="presence_id=970374110000"/>
  2561. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  2562. <action application="set" data="percentage_flag=0"/>
  2563. <action application="set" data="percentage_trunk_id=7"/>
  2564. <action application="set" data="percentage_rate_group_id=8"/>
  2565. <action application="set" data="percentage_old_trunk_id=8"/>
  2566. <action application="set" data="percentage_force_outbound_routes=0"/>
  2567. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2568. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  2569. <action application="set" data="effective_caller_id_name=Name"/>
  2570. <action application="set" data="effective_caller_id_number=789654"/>
  2571. <action application="set" data="calltype=STANDARD"/>
  2572. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  2573. <action application="set" data="trunk_id=9"/>
  2574. <action application="set" data="provider_id=3"/>
  2575. <action application="set" data="rate_flag=3"/>
  2576. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2577. <action application="set" data="force_trunk_flag=0"/>
  2578. <action application="export" data="presence_data=trunk_id=9"/>
  2579. <action application="set" data="intcall=0"/>
  2580. <action application="export" data="presence_id=970374110000"/>
  2581. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  2582. <action application="set" data="percentage_flag=0"/>
  2583. <action application="set" data="percentage_trunk_id=9"/>
  2584. <action application="set" data="percentage_rate_group_id=8"/>
  2585. <action application="set" data="percentage_old_trunk_id=7"/>
  2586. <action application="set" data="percentage_force_outbound_routes=0"/>
  2587. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2588. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  2589. </condition>
  2590. </extension>
  2591. </context>
  2592. </section>
  2593. </document>
  2594. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  2595. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  2596. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  2597. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  2598. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  2599. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  2600. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  2601. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  2602. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  2603. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  2604. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  2605. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  2606. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  2607. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  2608. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  2609. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  2610. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  2611. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  2612. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  2613. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  2614. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  2615. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  2616. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  2617. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  2618. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  2619. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  2620. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  2621. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  2622. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  2623. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  2624. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  2625. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  2626. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  2627. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  2628. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  2629. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  2630. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  2631. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  2632. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  2633. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  2634. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  2635. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  2636. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  2637. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  2638. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  2639. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  2640. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  2641. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  2642. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  2643. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  2644. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  2645. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  2646. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  2647. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  2648. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  2649. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  2650. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  2651. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  2652. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  2653. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  2654. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  2655. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  2656. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  2657. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  2658. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  2659. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  2660. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  2661. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  2662. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  2663. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  2664. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  2665. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  2666. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  2667. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  2668. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  2669. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  2670. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  2671. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  2672. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  2673. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  2674. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  2675. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  2676. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  2677. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  2678. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  2679. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  2680. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  2681. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  2682. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  2683. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  2684. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  2685. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  2686. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  2687. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  2688. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  2689. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  2690. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  2691. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  2692. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  2693. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  2694. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  2695. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  2696. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  2697. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  2698. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  2699. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  2700. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 12 Tot 5272)
  2701. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  2702. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  2703. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  2704. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  2705. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  2706. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  2707. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  2708. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  2709. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  2710. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  2711. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  2712. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  2713. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  2714. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  2715. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  2716. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  2717. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  2718. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  2719. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  2720. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  2721. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  2722. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  2723. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  2724. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  2725. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  2726. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  2727. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  2728. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  2729. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  2730. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  2731. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  2732. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  2733. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  2734. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  2735. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  2736. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  2737. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  2738. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  2739. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  2740. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  2741. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  2742. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  2743. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  2744. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  2745. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  2746. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  2747. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  2748. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  2749. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  2750. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  2751. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  2752. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  2753. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  2754. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  2755. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  2756. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  2757. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  2758. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  2759. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  2760. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  2761. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  2762. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  2763. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  2764. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  2765. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  2766. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  2767. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  2768. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  2769. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  2770. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  2771. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  2772. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  2773. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  2774. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  2775. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  2776. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  2777. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  2778. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  2779. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  2780. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  2781. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2782. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2783. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  2784. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  2785. 2022-06-06 11:41:45.675753 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [8ed60a5a-7dba-42f7-afe4-de12d52e4d4e]
  2786. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  2787. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  2788. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  2789. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  2790. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  2791. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  2792. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  2793. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 13 Tot 5273)
  2794. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  2795. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  2796. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  2797. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  2798. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  2799. 2022-06-06 11:41:45.675753 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  2800. 2022-06-06 11:41:45.675753 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  2801. Local SDP:
  2802. v=0
  2803. o=FreeSWITCH 1654491717 1654491718 IN IP4 142.132.184.134
  2804. s=FreeSWITCH
  2805. c=IN IP4 142.132.184.134
  2806. t=0 0
  2807. m=audio 23988 RTP/AVP 8 101
  2808. a=rtpmap:8 PCMA/8000
  2809. a=rtpmap:101 telephone-event/8000
  2810. a=fmtp:101 0-15
  2811. a=ptime:20
  2812. a=sendrecv
  2813.  
  2814. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  2815. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  2816. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  2817. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  2818. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  2819. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  2820. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  2821. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  2822. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  2823. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  2824. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 13 Tot 5273)
  2825. 2022-06-06 11:41:45.675753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  2826. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  2827. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  2828. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  2829. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2830. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  2831. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  2832. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 13 Tot 5273)
  2833. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  2834. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  2835. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  2836. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  2837. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  2838. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  2839. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  2840. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  2841. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  2842. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  2843. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  2844. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  2845. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  2846. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  2847. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  2848. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  2849. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  2850. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  2851. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  2852. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  2853. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  2854. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  2855. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  2856. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  2857. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  2858. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  2859. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  2860. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  2861. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  2862. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  2863. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  2864. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  2865. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  2866. 2022-06-06 11:41:45.675753 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [16ea0e63-c927-4d38-aeab-a7ecfb5cea36]
  2867. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  2868. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2869. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 14 Tot 5274)
  2870. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  2871. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  2872. 2022-06-06 11:41:45.675753 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  2873. 2022-06-06 11:41:45.675753 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  2874. Local SDP:
  2875. v=0
  2876. o=FreeSWITCH 1654483067 1654483068 IN IP4 142.132.184.134
  2877. s=FreeSWITCH
  2878. c=IN IP4 142.132.184.134
  2879. t=0 0
  2880. m=audio 32638 RTP/AVP 8 101
  2881. a=rtpmap:8 PCMA/8000
  2882. a=rtpmap:101 telephone-event/8000
  2883. a=fmtp:101 0-15
  2884. a=ptime:20
  2885. a=sendrecv
  2886.  
  2887. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  2888. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  2889. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  2890. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 14 Tot 5274)
  2891. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  2892. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  2893. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2894. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  2895. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 5274)
  2896. 2022-06-06 11:41:45.675753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  2897. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  2898. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  2899. 2022-06-06 11:41:45.675753 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  2900. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2901. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2902. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2903. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2904. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2905. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2906. 2022-06-06 11:41:45.675753 95.50% [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 = 8) AND status=0 limit 1
  2907. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2908. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2909. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2910. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2911. 2022-06-06 11:41:45.675753 95.50% [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 = 7) AND status=0 limit 1
  2912. 2022-06-06 11:41:45.675753 95.50% [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 = 7) AND status=0 limit 1
  2913. 2022-06-06 11:41:45.675753 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  2914. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2915. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2916. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2917. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2918. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2919. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2920. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2921. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2922. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2923. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2924. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2925. 2022-06-06 11:41:45.675753 95.50% [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 = 8) AND status=0 limit 1
  2926. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2927. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2928. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2929. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2930. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2931. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2932. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2933. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2934. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2935. 2022-06-06 11:41:45.675753 95.50% [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 = 9) AND status=0 limit 1
  2936. 2022-06-06 11:41:45.675753 95.50% [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 = 7) AND status=0 limit 1
  2937. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2938. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2939. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2940. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  2941. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2942. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2943. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  2944. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  2945. 2022-06-06 11:41:45.675753 95.50% [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 = 3) AND status=0 limit 1
  2946. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2947. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  2948. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  2949. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2950. <document type="freeswitch/xml">
  2951. <section name="dialplan" description="ASTPP Dialplan">
  2952. <context name="default">
  2953. <extension name="970374110000">
  2954. <condition field="destination_number" expression="970374110000">
  2955. <action application="set" data="effective_destination_number=970374110000"/>
  2956. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  2957. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  2958. <action application="set" data="notify_flag=0"/>
  2959. <action application="set" data="notify_credit_limit=5.00000"/>
  2960. <action application="set" data="type=0"/>
  2961. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  2962. <action application="set" data="hangup_after_bridge=true"/>
  2963. <action application="set" data="continue_on_fail=TRUE"/>
  2964. <action application="set" data="account_id=8"/>
  2965. <action application="set" data="parent_id=0"/>
  2966. <action application="set" data="entity_id=0"/>
  2967. <action application="set" data="call_processed=internal"/>
  2968. <action application="set" data="call_direction=outbound"/>
  2969. <action application="set" data="accountname=sendonclick"/>
  2970. <action application="export" data="t38_passthru=true"/>
  2971. <action application="set" data="fax_enable_t38=true"/>
  2972. <action application="set" data="fax_enable_t38_request=true"/>
  2973. <action application="set" data="filename1=astpp.pbx.lua"/>
  2974. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  2975. <action application="set" data="original_caller_id_name=Name"/>
  2976. <action application="set" data="original_caller_id_number=789654"/>
  2977.  
  2978. <action application="set" data="effective_caller_id_name=Name"/>
  2979. <action application="set" data="effective_caller_id_number=789654"/>
  2980. <action application="set" data="calltype=STANDARD"/>
  2981. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  2982. <action application="set" data="trunk_id=8"/>
  2983. <action application="set" data="provider_id=3"/>
  2984. <action application="set" data="rate_flag=3"/>
  2985. <action application="set" data="quality_trunk_seq=8,7,9"/>
  2986. <action application="set" data="force_trunk_flag=0"/>
  2987. <action application="export" data="presence_data=trunk_id=8"/>
  2988. <action application="set" data="intcall=0"/>
  2989. <action application="export" data="presence_id=970374110000"/>
  2990. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  2991. <action application="set" data="percentage_flag=0"/>
  2992. <action application="set" data="percentage_trunk_id=8"/>
  2993. <action application="set" data="percentage_rate_group_id=8"/>
  2994. <action application="set" data="percentage_old_trunk_id=0"/>
  2995. <action application="set" data="percentage_force_outbound_routes=0"/>
  2996. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  2997. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  2998. <action application="set" data="effective_caller_id_name=Name"/>
  2999. <action application="set" data="effective_caller_id_number=789654"/>
  3000. <action application="set" data="calltype=STANDARD"/>
  3001. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  3002. <action application="set" data="trunk_id=7"/>
  3003. <action application="set" data="provider_id=3"/>
  3004. <action application="set" data="rate_flag=3"/>
  3005. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3006. <action application="set" data="force_trunk_flag=0"/>
  3007. <action application="export" data="presence_data=trunk_id=7"/>
  3008. <action application="set" data="intcall=0"/>
  3009. <action application="export" data="presence_id=970374110000"/>
  3010. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  3011. <action application="set" data="percentage_flag=0"/>
  3012. <action application="set" data="percentage_trunk_id=7"/>
  3013. <action application="set" data="percentage_rate_group_id=8"/>
  3014. <action application="set" data="percentage_old_trunk_id=8"/>
  3015. <action application="set" data="percentage_force_outbound_routes=0"/>
  3016. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3017. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  3018. <action application="set" data="effective_caller_id_name=Name"/>
  3019. <action application="set" data="effective_caller_id_number=789654"/>
  3020. <action application="set" data="calltype=STANDARD"/>
  3021. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  3022. <action application="set" data="trunk_id=9"/>
  3023. <action application="set" data="provider_id=3"/>
  3024. <action application="set" data="rate_flag=3"/>
  3025. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3026. <action application="set" data="force_trunk_flag=0"/>
  3027. <action application="export" data="presence_data=trunk_id=9"/>
  3028. <action application="set" data="intcall=0"/>
  3029. <action application="export" data="presence_id=970374110000"/>
  3030. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  3031. <action application="set" data="percentage_flag=0"/>
  3032. <action application="set" data="percentage_trunk_id=9"/>
  3033. <action application="set" data="percentage_rate_group_id=8"/>
  3034. <action application="set" data="percentage_old_trunk_id=7"/>
  3035. <action application="set" data="percentage_force_outbound_routes=0"/>
  3036. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3037. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  3038. </condition>
  3039. </extension>
  3040. </context>
  3041. </section>
  3042. </document>
  3043. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3044. 2022-06-06 11:41:45.675753 95.50% [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 = 9) AND status=0 limit 1
  3045. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  3046. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  3047. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  3048. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3049. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  3050. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  3051. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  3052. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  3053. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  3054. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  3055. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  3056. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  3057. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  3058. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  3059. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  3060. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  3061. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  3062. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  3063. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  3064. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  3065. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  3066. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  3067. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  3068. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  3069. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3070. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3071. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3072. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  3073. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  3074. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3075. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3076. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3077. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3078. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  3079. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3080. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3081. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  3082. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3083. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  3084. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3085. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  3086. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3087. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3088. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  3089. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3090. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3091. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3092. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  3093. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  3094. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3095. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3096. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3097. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3098. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  3099. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3100. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3101. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  3102. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3103. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  3104. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3105. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  3106. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3107. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3108. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  3109. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3110. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3111. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3112. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  3113. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  3114. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3115. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3116. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3117. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3118. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  3119. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3120. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3121. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  3122. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3123. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  3124. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3125. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  3126. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3127. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3128. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  3129. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  3130. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  3131. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 14 Tot 5274)
  3132. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  3133. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  3134. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  3135. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  3136. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  3137. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  3138. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3139. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  3140. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  3141. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  3142. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  3143. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  3144. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  3145. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  3146. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  3147. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  3148. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  3149. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  3150. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  3151. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  3152. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  3153. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  3154. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  3155. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  3156. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  3157. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  3158. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  3159. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  3160. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  3161. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  3162. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  3163. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3164. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  3165. 2022-06-06 11:41:45.675753 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3166. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  3167. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  3168. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  3169. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  3170. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  3171. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  3172. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  3173. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  3174. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  3175. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  3176. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  3177. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  3178. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  3179. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  3180. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  3181. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  3182. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  3183. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  3184. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  3185. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  3186. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  3187. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  3188. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  3189. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  3190. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  3191. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  3192. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  3193. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  3194. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  3195. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  3196. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  3197. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  3198. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  3199. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  3200. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  3201. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  3202. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  3203. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  3204. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  3205. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  3206. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  3207. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  3208. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  3209. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  3210. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  3211. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  3212. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  3213. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  3214. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  3215. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  3216. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  3217. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  3218. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  3219. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  3220. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  3221. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  3222. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  3223. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  3224. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3225. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3226. 2022-06-06 11:41:45.675753 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [545e361a-0838-4740-bc03-607cac7abd2e]
  3227. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  3228. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 15 Tot 5275)
  3229. 2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  3230. 2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  3231. 2022-06-06 11:41:45.695754 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  3232. 2022-06-06 11:41:45.695754 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  3233. Local SDP:
  3234. v=0
  3235. o=FreeSWITCH 1654484489 1654484490 IN IP4 142.132.184.134
  3236. s=FreeSWITCH
  3237. c=IN IP4 142.132.184.134
  3238. t=0 0
  3239. m=audio 31216 RTP/AVP 8 101
  3240. a=rtpmap:8 PCMA/8000
  3241. a=rtpmap:101 telephone-event/8000
  3242. a=fmtp:101 0-15
  3243. a=ptime:20
  3244. a=sendrecv
  3245.  
  3246. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  3247. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  3248. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  3249. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 15 Tot 5275)
  3250. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  3251. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  3252. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3253. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  3254. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 15 Tot 5275)
  3255. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  3256. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  3257. 2022-06-06 11:41:45.695754 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  3258. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  3259. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3260. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3261. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3262. 2022-06-06 11:41:45.695754 95.50% [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 = 3) AND status=0 limit 1
  3263. 2022-06-06 11:41:45.695754 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3264. 2022-06-06 11:41:45.695754 95.50% [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 = 9) AND status=0 limit 1
  3265. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  3266. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3267. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3268. 2022-06-06 11:41:45.695754 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3269. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  3270. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3271. <document type="freeswitch/xml">
  3272. <section name="dialplan" description="ASTPP Dialplan">
  3273. <context name="default">
  3274. <extension name="970374110000">
  3275. <condition field="destination_number" expression="970374110000">
  3276. <action application="set" data="effective_destination_number=970374110000"/>
  3277. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3278. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  3279. <action application="set" data="notify_flag=0"/>
  3280. <action application="set" data="notify_credit_limit=5.00000"/>
  3281. <action application="set" data="type=0"/>
  3282. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  3283. <action application="set" data="hangup_after_bridge=true"/>
  3284. <action application="set" data="continue_on_fail=TRUE"/>
  3285. <action application="set" data="account_id=8"/>
  3286. <action application="set" data="parent_id=0"/>
  3287. <action application="set" data="entity_id=0"/>
  3288. <action application="set" data="call_processed=internal"/>
  3289. <action application="set" data="call_direction=outbound"/>
  3290. <action application="set" data="accountname=sendonclick"/>
  3291. <action application="export" data="t38_passthru=true"/>
  3292. <action application="set" data="fax_enable_t38=true"/>
  3293. <action application="set" data="fax_enable_t38_request=true"/>
  3294. <action application="set" data="filename1=astpp.pbx.lua"/>
  3295. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  3296. <action application="set" data="original_caller_id_name=Name"/>
  3297. <action application="set" data="original_caller_id_number=789654"/>
  3298.  
  3299. <action application="set" data="effective_caller_id_name=Name"/>
  3300. <action application="set" data="effective_caller_id_number=789654"/>
  3301. <action application="set" data="calltype=STANDARD"/>
  3302. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  3303. <action application="set" data="trunk_id=8"/>
  3304. <action application="set" data="provider_id=3"/>
  3305. <action application="set" data="rate_flag=3"/>
  3306. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3307. <action application="set" data="force_trunk_flag=0"/>
  3308. <action application="export" data="presence_data=trunk_id=8"/>
  3309. <action application="set" data="intcall=0"/>
  3310. <action application="export" data="presence_id=970374110000"/>
  3311. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  3312. <action application="set" data="percentage_flag=0"/>
  3313. <action application="set" data="percentage_trunk_id=8"/>
  3314. <action application="set" data="percentage_rate_group_id=8"/>
  3315. <action application="set" data="percentage_old_trunk_id=0"/>
  3316. <action application="set" data="percentage_force_outbound_routes=0"/>
  3317. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3318. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  3319. <action application="set" data="effective_caller_id_name=Name"/>
  3320. <action application="set" data="effective_caller_id_number=789654"/>
  3321. <action application="set" data="calltype=STANDARD"/>
  3322. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  3323. <action application="set" data="trunk_id=7"/>
  3324. <action application="set" data="provider_id=3"/>
  3325. <action application="set" data="rate_flag=3"/>
  3326. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3327. <action application="set" data="force_trunk_flag=0"/>
  3328. <action application="export" data="presence_data=trunk_id=7"/>
  3329. <action application="set" data="intcall=0"/>
  3330. <action application="export" data="presence_id=970374110000"/>
  3331. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  3332. <action application="set" data="percentage_flag=0"/>
  3333. <action application="set" data="percentage_trunk_id=7"/>
  3334. <action application="set" data="percentage_rate_group_id=8"/>
  3335. <action application="set" data="percentage_old_trunk_id=8"/>
  3336. <action application="set" data="percentage_force_outbound_routes=0"/>
  3337. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3338. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  3339. <action application="set" data="effective_caller_id_name=Name"/>
  3340. <action application="set" data="effective_caller_id_number=789654"/>
  3341. <action application="set" data="calltype=STANDARD"/>
  3342. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  3343. <action application="set" data="trunk_id=9"/>
  3344. <action application="set" data="provider_id=3"/>
  3345. <action application="set" data="rate_flag=3"/>
  3346. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3347. <action application="set" data="force_trunk_flag=0"/>
  3348. <action application="export" data="presence_data=trunk_id=9"/>
  3349. <action application="set" data="intcall=0"/>
  3350. <action application="export" data="presence_id=970374110000"/>
  3351. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  3352. <action application="set" data="percentage_flag=0"/>
  3353. <action application="set" data="percentage_trunk_id=9"/>
  3354. <action application="set" data="percentage_rate_group_id=8"/>
  3355. <action application="set" data="percentage_old_trunk_id=7"/>
  3356. <action application="set" data="percentage_force_outbound_routes=0"/>
  3357. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3358. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  3359. </condition>
  3360. </extension>
  3361. </context>
  3362. </section>
  3363. </document>
  3364. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3365. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3366. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
  3367. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  3368. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  3369. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3370. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3371. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  3372. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3373. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3374. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
  3375. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  3376. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
  3377. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3378. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  3379. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  3380. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3381. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3382. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3383. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
  3384. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  3385. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
  3386. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3387. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3388. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  3389. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3390. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  3391. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3392. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
  3393. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  3394. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3395. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
  3396. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  3397. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3398. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  3399. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  3400. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  3401. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  3402. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  3403. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  3404. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  3405. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3406. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  3407. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  3408. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3409. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  3410. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  3411. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  3412. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  3413. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  3414. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  3415. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  3416. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  3417. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  3418. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  3419. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  3420. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  3421. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3422. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3423. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3424. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  3425. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  3426. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3427. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3428. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3429. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3430. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  3431. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3432. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3433. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  3434. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3435. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  3436. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3437. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  3438. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3439. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3440. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  3441. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3442. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3443. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3444. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  3445. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  3446. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3447. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3448. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3449. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3450. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  3451. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3452. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3453. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  3454. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3455. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  3456. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3457. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  3458. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3459. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3460. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  3461. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3462. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3463. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3464. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  3465. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  3466. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3467. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3468. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3469. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3470. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  3471. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3472. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3473. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  3474. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3475. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  3476. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3477. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  3478. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3479. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3480. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  3481. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  3482. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  3483. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  3484. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
  3485. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
  3486. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
  3487. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  3488. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  3489. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 15 Tot 5275)
  3490. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
  3491. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  3492. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  3493. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  3494. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  3495. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  3496. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  3497. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3498. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  3499. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  3500. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  3501. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  3502. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  3503. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  3504. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  3505. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  3506. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
  3507. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
  3508. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  3509. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  3510. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  3511. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  3512. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  3513. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  3514. 2022-06-06 11:41:45.695754 95.50% [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 = 8 AND status=0 LIMIT 1
  3515. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  3516. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  3517. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  3518. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  3519. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  3520. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  3521. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  3522. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  3523. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  3524. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  3525. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  3526. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  3527. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  3528. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  3529. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  3530. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  3531. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  3532. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  3533. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  3534. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  3535. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  3536. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  3537. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  3538. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  3539. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  3540. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  3541. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  3542. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  3543. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  3544. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  3545. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  3546. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  3547. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  3548. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  3549. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  3550. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  3551. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  3552. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  3553. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  3554. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  3555. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  3556. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  3557. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  3558. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  3559. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  3560. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  3561. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  3562. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  3563. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  3564. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  3565. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  3566. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  3567. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  3568. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  3569. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  3570. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  3571. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  3572. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  3573. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  3574. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  3575. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  3576. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  3577. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  3578. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  3579. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  3580. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  3581. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  3582. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  3583. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  3584. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  3585. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  3586. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  3587. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  3588. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  3589. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  3590. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  3591. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3592. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3593. 2022-06-06 11:41:45.695754 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [e1d159a7-fe18-46c4-aaa8-99fa9c87ef4d]
  3594. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  3595. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 16 Tot 5276)
  3596. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  3597. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  3598. 2022-06-06 11:41:45.695754 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  3599. 2022-06-06 11:41:45.695754 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  3600. Local SDP:
  3601. v=0
  3602. o=FreeSWITCH 1654495745 1654495746 IN IP4 142.132.184.134
  3603. s=FreeSWITCH
  3604. c=IN IP4 142.132.184.134
  3605. t=0 0
  3606. m=audio 19960 RTP/AVP 8 101
  3607. a=rtpmap:8 PCMA/8000
  3608. a=rtpmap:101 telephone-event/8000
  3609. a=fmtp:101 0-15
  3610. a=ptime:20
  3611. a=sendrecv
  3612.  
  3613. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  3614. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  3615. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  3616. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 16 Tot 5276)
  3617. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  3618. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  3619. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3620. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  3621. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 5276)
  3622. 2022-06-06 11:41:45.695754 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  3623. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  3624. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  3625. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3626. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3627. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3628. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3629. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3630. 2022-06-06 11:41:45.695754 95.50% [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 = 3) AND status=0 limit 1
  3631. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  3632. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3633. <document type="freeswitch/xml">
  3634. <section name="dialplan" description="ASTPP Dialplan">
  3635. <context name="default">
  3636. <extension name="970374110000">
  3637. <condition field="destination_number" expression="970374110000">
  3638. <action application="set" data="effective_destination_number=970374110000"/>
  3639. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  3640. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  3641. <action application="set" data="notify_flag=0"/>
  3642. <action application="set" data="notify_credit_limit=5.00000"/>
  3643. <action application="set" data="type=0"/>
  3644. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  3645. <action application="set" data="hangup_after_bridge=true"/>
  3646. <action application="set" data="continue_on_fail=TRUE"/>
  3647. <action application="set" data="account_id=8"/>
  3648. <action application="set" data="parent_id=0"/>
  3649. <action application="set" data="entity_id=0"/>
  3650. <action application="set" data="call_processed=internal"/>
  3651. <action application="set" data="call_direction=outbound"/>
  3652. <action application="set" data="accountname=sendonclick"/>
  3653. <action application="export" data="t38_passthru=true"/>
  3654. <action application="set" data="fax_enable_t38=true"/>
  3655. <action application="set" data="fax_enable_t38_request=true"/>
  3656. <action application="set" data="filename1=astpp.pbx.lua"/>
  3657. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  3658. <action application="set" data="original_caller_id_name=Name"/>
  3659. <action application="set" data="original_caller_id_number=789654"/>
  3660.  
  3661. <action application="set" data="effective_caller_id_name=Name"/>
  3662. <action application="set" data="effective_caller_id_number=789654"/>
  3663. <action application="set" data="calltype=STANDARD"/>
  3664. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  3665. <action application="set" data="trunk_id=8"/>
  3666. <action application="set" data="provider_id=3"/>
  3667. <action application="set" data="rate_flag=3"/>
  3668. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3669. <action application="set" data="force_trunk_flag=0"/>
  3670. <action application="export" data="presence_data=trunk_id=8"/>
  3671. <action application="set" data="intcall=0"/>
  3672. <action application="export" data="presence_id=970374110000"/>
  3673. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  3674. <action application="set" data="percentage_flag=0"/>
  3675. <action application="set" data="percentage_trunk_id=8"/>
  3676. <action application="set" data="percentage_rate_group_id=8"/>
  3677. <action application="set" data="percentage_old_trunk_id=0"/>
  3678. <action application="set" data="percentage_force_outbound_routes=0"/>
  3679. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3680. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  3681. <action application="set" data="effective_caller_id_name=Name"/>
  3682. <action application="set" data="effective_caller_id_number=789654"/>
  3683. <action application="set" data="calltype=STANDARD"/>
  3684. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  3685. <action application="set" data="trunk_id=7"/>
  3686. <action application="set" data="provider_id=3"/>
  3687. <action application="set" data="rate_flag=3"/>
  3688. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3689. <action application="set" data="force_trunk_flag=0"/>
  3690. <action application="export" data="presence_data=trunk_id=7"/>
  3691. <action application="set" data="intcall=0"/>
  3692. <action application="export" data="presence_id=970374110000"/>
  3693. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  3694. <action application="set" data="percentage_flag=0"/>
  3695. <action application="set" data="percentage_trunk_id=7"/>
  3696. <action application="set" data="percentage_rate_group_id=8"/>
  3697. <action application="set" data="percentage_old_trunk_id=8"/>
  3698. <action application="set" data="percentage_force_outbound_routes=0"/>
  3699. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3700. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  3701. <action application="set" data="effective_caller_id_name=Name"/>
  3702. <action application="set" data="effective_caller_id_number=789654"/>
  3703. <action application="set" data="calltype=STANDARD"/>
  3704. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  3705. <action application="set" data="trunk_id=9"/>
  3706. <action application="set" data="provider_id=3"/>
  3707. <action application="set" data="rate_flag=3"/>
  3708. <action application="set" data="quality_trunk_seq=8,7,9"/>
  3709. <action application="set" data="force_trunk_flag=0"/>
  3710. <action application="export" data="presence_data=trunk_id=9"/>
  3711. <action application="set" data="intcall=0"/>
  3712. <action application="export" data="presence_id=970374110000"/>
  3713. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  3714. <action application="set" data="percentage_flag=0"/>
  3715. <action application="set" data="percentage_trunk_id=9"/>
  3716. <action application="set" data="percentage_rate_group_id=8"/>
  3717. <action application="set" data="percentage_old_trunk_id=7"/>
  3718. <action application="set" data="percentage_force_outbound_routes=0"/>
  3719. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  3720. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  3721. </condition>
  3722. </extension>
  3723. </context>
  3724. </section>
  3725. </document>
  3726. 2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 5
  3727. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3728. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3729. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  3730. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  3731. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  3732. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  3733. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  3734. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  3735. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  3736. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  3737. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  3738. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  3739. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  3740. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  3741. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  3742. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  3743. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  3744. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  3745. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  3746. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  3747. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  3748. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  3749. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  3750. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  3751. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  3752. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  3753. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3754. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3755. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3756. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  3757. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  3758. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3759. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3760. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3761. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3762. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  3763. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3764. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3765. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  3766. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3767. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  3768. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3769. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  3770. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3771. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3772. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  3773. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3774. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3775. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3776. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  3777. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  3778. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3779. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3780. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3781. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3782. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  3783. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3784. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3785. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  3786. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3787. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  3788. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3789. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  3790. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3791. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3792. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  3793. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  3794. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  3795. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  3796. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  3797. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  3798. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  3799. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  3800. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  3801. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  3802. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  3803. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  3804. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  3805. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  3806. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  3807. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  3808. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  3809. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  3810. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  3811. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  3812. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  3813. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  3814. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  3815. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 16 Tot 5276)
  3816. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  3817. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  3818. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  3819. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  3820. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  3821. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  3822. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  3823. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  3824. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  3825. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  3826. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  3827. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  3828. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  3829. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  3830. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  3831. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  3832. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  3833. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  3834. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  3835. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  3836. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  3837. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  3838. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  3839. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  3840. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  3841. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  3842. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  3843. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  3844. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  3845. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  3846. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  3847. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  3848. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  3849. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  3850. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  3851. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  3852. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  3853. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  3854. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  3855. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  3856. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  3857. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  3858. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  3859. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  3860. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  3861. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  3862. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  3863. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  3864. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  3865. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  3866. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  3867. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  3868. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  3869. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  3870. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  3871. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  3872. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  3873. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  3874. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  3875. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  3876. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  3877. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  3878. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  3879. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  3880. 2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  3881. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  3882. 2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  3883. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  3884. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  3885. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  3886. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  3887. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  3888. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  3889. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  3890. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  3891. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  3892. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  3893. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  3894. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  3895. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  3896. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  3897. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  3898. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  3899. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  3900. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  3901. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  3902. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  3903. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  3904. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  3905. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  3906. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  3907. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  3908. 2022-06-06 11:41:45.715767 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [ad72f364-969a-4042-9b27-7b8e01134b62]
  3909. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  3910. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 17 Tot 5277)
  3911. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  3912. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  3913. 2022-06-06 11:41:45.715767 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  3914. 2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  3915. Local SDP:
  3916. v=0
  3917. o=FreeSWITCH 1654485325 1654485326 IN IP4 142.132.184.134
  3918. s=FreeSWITCH
  3919. c=IN IP4 142.132.184.134
  3920. t=0 0
  3921. m=audio 30380 RTP/AVP 8 101
  3922. a=rtpmap:8 PCMA/8000
  3923. a=rtpmap:101 telephone-event/8000
  3924. a=fmtp:101 0-15
  3925. a=ptime:20
  3926. a=sendrecv
  3927.  
  3928. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  3929. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  3930. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  3931. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 17 Tot 5277)
  3932. 2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  3933. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  3934. 2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  3935. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3936. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  3937. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 17 Tot 5277)
  3938. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  3939. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  3940. 2022-06-06 11:41:45.715767 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  3941. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3942. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3943. 2022-06-06 11:41:45.715767 95.50% [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 = 3) AND status=0 limit 1
  3944. 2022-06-06 11:41:45.715767 95.50% [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 = 7) AND status=0 limit 1
  3945. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3946. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3947. 2022-06-06 11:41:45.715767 95.50% [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 = 3) AND status=0 limit 1
  3948. 2022-06-06 11:41:45.715767 95.50% [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 = 8) AND status=0 limit 1
  3949. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  3950. 2022-06-06 11:41:45.715767 95.50% [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 = 7) AND status=0 limit 1
  3951. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  3952. 2022-06-06 11:41:45.715767 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3953. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  3954. 2022-06-06 11:41:45.715767 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3955. 2022-06-06 11:41:45.715767 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3956. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3957. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3958. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  3959. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3960. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3961. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3962. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3963. 2022-06-06 11:41:45.715767 95.50% [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 = 3) AND status=0 limit 1
  3964. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3965. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3966. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3967. 2022-06-06 11:41:45.715767 95.50% [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 = 3) AND status=0 limit 1
  3968. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  3969. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  3970. 2022-06-06 11:41:45.715767 95.50% [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 = 3) AND status=0 limit 1
  3971. 2022-06-06 11:41:45.715767 95.50% [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 = 9) AND status=0 limit 1
  3972. 2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  3973. 2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  3974. v=0
  3975. o=root 357519480 357519480 IN IP4 159.203.131.36
  3976. s=Asterisk PBX 16.4.0
  3977. c=IN IP4 159.203.131.36
  3978. t=0 0
  3979. m=audio 14640 RTP/AVP 8 101
  3980. a=rtpmap:8 PCMA/8000
  3981. a=rtpmap:101 telephone-event/8000
  3982. a=fmtp:101 0-16
  3983. a=maxptime:150
  3984.  
  3985. 2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  3986. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  3987. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  3988. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  3989. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  3990. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  3991. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  3992. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  3993. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 23338 -> 159.203.131.36 port 14640 codec: 8 ms: 20
  3994. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  3995. 2022-06-06 11:41:45.715767 95.50% [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 = 7) AND status=0 limit 1
  3996. 2022-06-06 11:41:45.715767 95.50% [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 = 9) AND status=0 limit 1
  3997. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  3998. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  3999. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  4000. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  4001. 2022-06-06 11:41:45.715767 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  4002. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  4003. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  4004. 2022-06-06 11:41:45.715767 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4005. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  4006. 2022-06-06 11:41:45.715767 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4007. 2022-06-06 11:41:45.715767 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4008. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4009. 2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4010. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4011. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4012. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4013. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  4014. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4015. <document type="freeswitch/xml">
  4016. <section name="dialplan" description="ASTPP Dialplan">
  4017. <context name="default">
  4018. <extension name="970374110000">
  4019. <condition field="destination_number" expression="970374110000">
  4020. <action application="set" data="effective_destination_number=970374110000"/>
  4021. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4022. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  4023. <action application="set" data="notify_flag=0"/>
  4024. <action application="set" data="notify_credit_limit=5.00000"/>
  4025. <action application="set" data="type=0"/>
  4026. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  4027. <action application="set" data="hangup_after_bridge=true"/>
  4028. <action application="set" data="continue_on_fail=TRUE"/>
  4029. <action application="set" data="account_id=8"/>
  4030. <action application="set" data="parent_id=0"/>
  4031. <action application="set" data="entity_id=0"/>
  4032. <action application="set" data="call_processed=internal"/>
  4033. <action application="set" data="call_direction=outbound"/>
  4034. <action application="set" data="accountname=sendonclick"/>
  4035. <action application="export" data="t38_passthru=true"/>
  4036. <action application="set" data="fax_enable_t38=true"/>
  4037. <action application="set" data="fax_enable_t38_request=true"/>
  4038. <action application="set" data="filename1=astpp.pbx.lua"/>
  4039. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  4040. <action application="set" data="original_caller_id_name=Name"/>
  4041. <action application="set" data="original_caller_id_number=789654"/>
  4042.  
  4043. <action application="set" data="effective_caller_id_name=Name"/>
  4044. <action application="set" data="effective_caller_id_number=789654"/>
  4045. <action application="set" data="calltype=STANDARD"/>
  4046. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  4047. <action application="set" data="trunk_id=8"/>
  4048. <action application="set" data="provider_id=3"/>
  4049. <action application="set" data="rate_flag=3"/>
  4050. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4051. <action application="set" data="force_trunk_flag=0"/>
  4052. <action application="export" data="presence_data=trunk_id=8"/>
  4053. <action application="set" data="intcall=0"/>
  4054. <action application="export" data="presence_id=970374110000"/>
  4055. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  4056. <action application="set" data="percentage_flag=0"/>
  4057. <action application="set" data="percentage_trunk_id=8"/>
  4058. <action application="set" data="percentage_rate_group_id=8"/>
  4059. <action application="set" data="percentage_old_trunk_id=0"/>
  4060. <action application="set" data="percentage_force_outbound_routes=0"/>
  4061. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4062. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  4063. <action application="set" data="effective_caller_id_name=Name"/>
  4064. <action application="set" data="effective_caller_id_number=789654"/>
  4065. <action application="set" data="calltype=STANDARD"/>
  4066. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  4067. <action application="set" data="trunk_id=7"/>
  4068. <action application="set" data="provider_id=3"/>
  4069. <action application="set" data="rate_flag=3"/>
  4070. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4071. <action application="set" data="force_trunk_flag=0"/>
  4072. <action application="export" data="presence_data=trunk_id=7"/>
  4073. <action application="set" data="intcall=0"/>
  4074. <action application="export" data="presence_id=970374110000"/>
  4075. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  4076. <action application="set" data="percentage_flag=0"/>
  4077. <action application="set" data="percentage_trunk_id=7"/>
  4078. <action application="set" data="percentage_rate_group_id=8"/>
  4079. <action application="set" data="percentage_old_trunk_id=8"/>
  4080. <action application="set" data="percentage_force_outbound_routes=0"/>
  4081. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4082. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  4083. <action application="set" data="effective_caller_id_name=Name"/>
  4084. <action application="set" data="effective_caller_id_number=789654"/>
  4085. <action application="set" data="calltype=STANDARD"/>
  4086. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  4087. <action application="set" data="trunk_id=9"/>
  4088. <action application="set" data="provider_id=3"/>
  4089. <action application="set" data="rate_flag=3"/>
  4090. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4091. <action application="set" data="force_trunk_flag=0"/>
  4092. <action application="export" data="presence_data=trunk_id=9"/>
  4093. <action application="set" data="intcall=0"/>
  4094. <action application="export" data="presence_id=970374110000"/>
  4095. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  4096. <action application="set" data="percentage_flag=0"/>
  4097. <action application="set" data="percentage_trunk_id=9"/>
  4098. <action application="set" data="percentage_rate_group_id=8"/>
  4099. <action application="set" data="percentage_old_trunk_id=7"/>
  4100. <action application="set" data="percentage_force_outbound_routes=0"/>
  4101. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4102. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  4103. </condition>
  4104. </extension>
  4105. </context>
  4106. </section>
  4107. </document>
  4108. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  4109. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  4110. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  4111. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4112. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  4113. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  4114. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  4115. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  4116. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  4117. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  4118. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  4119. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  4120. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  4121. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  4122. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  4123. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  4124. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  4125. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  4126. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  4127. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  4128. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  4129. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  4130. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  4131. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  4132. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4133. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4134. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4135. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  4136. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  4137. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4138. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4139. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4140. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4141. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  4142. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4143. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4144. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  4145. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4146. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  4147. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4148. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  4149. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4150. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4151. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  4152. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4153. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4154. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4155. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  4156. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  4157. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4158. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4159. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4160. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4161. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  4162. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4163. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4164. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  4165. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4166. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  4167. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4168. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  4169. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4170. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4171. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  4172. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4173. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4174. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4175. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  4176. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  4177. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4178. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4179. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4180. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4181. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  4182. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4183. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4184. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  4185. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4186. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  4187. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4188. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  4189. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4190. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4191. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  4192. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  4193. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  4194. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 17 Tot 5277)
  4195. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  4196. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  4197. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  4198. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  4199. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  4200. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  4201. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  4202. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  4203. v=0
  4204. o=root 670131023 670131023 IN IP4 159.203.131.36
  4205. s=Asterisk PBX 16.4.0
  4206. c=IN IP4 159.203.131.36
  4207. t=0 0
  4208. m=audio 19212 RTP/AVP 8 101
  4209. a=rtpmap:8 PCMA/8000
  4210. a=rtpmap:101 telephone-event/8000
  4211. a=fmtp:101 0-16
  4212. a=maxptime:150
  4213.  
  4214. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4215. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  4216. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  4217. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  4218. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  4219. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  4220. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  4221. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  4222. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  4223. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  4224. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  4225. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  4226. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  4227. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  4228. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  4229. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  4230. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  4231. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  4232. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  4233. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  4234. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  4235. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  4236. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  4237. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  4238. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  4239. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  4240. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  4241. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  4242. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  4243. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  4244. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4245. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4246. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4247. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  4248. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  4249. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  4250. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  4251. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  4252. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  4253. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  4254. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  4255. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  4256. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  4257. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  4258. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  4259. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  4260. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  4261. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  4262. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4263. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  4264. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  4265. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  4266. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 22176 -> 159.203.131.36 port 19212 codec: 8 ms: 20
  4267. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  4268. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  4269. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  4270. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  4271. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  4272. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  4273. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  4274. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  4275. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  4276. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  4277. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  4278. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  4279. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  4280. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  4281. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  4282. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  4283. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4284. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  4285. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  4286. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  4287. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  4288. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  4289. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  4290. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  4291. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  4292. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  4293. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  4294. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4295. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  4296. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  4297. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  4298. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  4299. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  4300. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  4301. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  4302. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  4303. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  4304. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  4305. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
  4306. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
  4307. 2022-06-06 11:41:45.735771 95.50% [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 = 3) AND status=0 limit 1
  4308. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  4309. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  4310. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  4311. 2022-06-06 11:41:45.735771 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  4312. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  4313. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  4314. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  4315. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  4316. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  4317. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  4318. 2022-06-06 11:41:45.735771 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [7d6636a0-fbb7-4c23-868f-1225a4861973]
  4319. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  4320. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  4321. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 18 Tot 5278)
  4322. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  4323. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  4324. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  4325. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4326. <document type="freeswitch/xml">
  4327. <section name="dialplan" description="ASTPP Dialplan">
  4328. <context name="default">
  4329. <extension name="970374110000">
  4330. <condition field="destination_number" expression="970374110000">
  4331. <action application="set" data="effective_destination_number=970374110000"/>
  4332. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4333. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  4334. <action application="set" data="notify_flag=0"/>
  4335. <action application="set" data="notify_credit_limit=5.00000"/>
  4336. <action application="set" data="type=0"/>
  4337. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  4338. <action application="set" data="hangup_after_bridge=true"/>
  4339. <action application="set" data="continue_on_fail=TRUE"/>
  4340. <action application="set" data="account_id=8"/>
  4341. <action application="set" data="parent_id=0"/>
  4342. <action application="set" data="entity_id=0"/>
  4343. <action application="set" data="call_processed=internal"/>
  4344. <action application="set" data="call_direction=outbound"/>
  4345. <action application="set" data="accountname=sendonclick"/>
  4346. <action application="export" data="t38_passthru=true"/>
  4347. <action application="set" data="fax_enable_t38=true"/>
  4348. <action application="set" data="fax_enable_t38_request=true"/>
  4349. <action application="set" data="filename1=astpp.pbx.lua"/>
  4350. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  4351. <action application="set" data="original_caller_id_name=Name"/>
  4352. <action application="set" data="original_caller_id_number=789654"/>
  4353.  
  4354. <action application="set" data="effective_caller_id_name=Name"/>
  4355. <action application="set" data="effective_caller_id_number=789654"/>
  4356. <action application="set" data="calltype=STANDARD"/>
  4357. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  4358. <action application="set" data="trunk_id=8"/>
  4359. <action application="set" data="provider_id=3"/>
  4360. <action application="set" data="rate_flag=3"/>
  4361. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4362. <action application="set" data="force_trunk_flag=0"/>
  4363. <action application="export" data="presence_data=trunk_id=8"/>
  4364. <action application="set" data="intcall=0"/>
  4365. <action application="export" data="presence_id=970374110000"/>
  4366. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  4367. <action application="set" data="percentage_flag=0"/>
  4368. <action application="set" data="percentage_trunk_id=8"/>
  4369. <action application="set" data="percentage_rate_group_id=8"/>
  4370. <action application="set" data="percentage_old_trunk_id=0"/>
  4371. <action application="set" data="percentage_force_outbound_routes=0"/>
  4372. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4373. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  4374. <action application="set" data="effective_caller_id_name=Name"/>
  4375. <action application="set" data="effective_caller_id_number=789654"/>
  4376. <action application="set" data="calltype=STANDARD"/>
  4377. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  4378. <action application="set" data="trunk_id=7"/>
  4379. <action application="set" data="provider_id=3"/>
  4380. <action application="set" data="rate_flag=3"/>
  4381. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4382. <action application="set" data="force_trunk_flag=0"/>
  4383. <action application="export" data="presence_data=trunk_id=7"/>
  4384. <action application="set" data="intcall=0"/>
  4385. <action application="export" data="presence_id=970374110000"/>
  4386. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  4387. <action application="set" data="percentage_flag=0"/>
  4388. <action application="set" data="percentage_trunk_id=7"/>
  4389. <action application="set" data="percentage_rate_group_id=8"/>
  4390. <action application="set" data="percentage_old_trunk_id=8"/>
  4391. <action application="set" data="percentage_force_outbound_routes=0"/>
  4392. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4393. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  4394. <action application="set" data="effective_caller_id_name=Name"/>
  4395. <action application="set" data="effective_caller_id_number=789654"/>
  4396. <action application="set" data="calltype=STANDARD"/>
  4397. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  4398. <action application="set" data="trunk_id=9"/>
  4399. <action application="set" data="provider_id=3"/>
  4400. <action application="set" data="rate_flag=3"/>
  4401. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4402. <action application="set" data="force_trunk_flag=0"/>
  4403. <action application="export" data="presence_data=trunk_id=9"/>
  4404. <action application="set" data="intcall=0"/>
  4405. <action application="export" data="presence_id=970374110000"/>
  4406. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  4407. <action application="set" data="percentage_flag=0"/>
  4408. <action application="set" data="percentage_trunk_id=9"/>
  4409. <action application="set" data="percentage_rate_group_id=8"/>
  4410. <action application="set" data="percentage_old_trunk_id=7"/>
  4411. <action application="set" data="percentage_force_outbound_routes=0"/>
  4412. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4413. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  4414. </condition>
  4415. </extension>
  4416. </context>
  4417. </section>
  4418. </document>
  4419. 2022-06-06 11:41:45.735771 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  4420. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  4421. Local SDP:
  4422. v=0
  4423. o=FreeSWITCH 1654493595 1654493596 IN IP4 142.132.184.134
  4424. s=FreeSWITCH
  4425. c=IN IP4 142.132.184.134
  4426. t=0 0
  4427. m=audio 22110 RTP/AVP 8 101
  4428. a=rtpmap:8 PCMA/8000
  4429. a=rtpmap:101 telephone-event/8000
  4430. a=fmtp:101 0-15
  4431. a=ptime:20
  4432. a=sendrecv
  4433.  
  4434. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  4435. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  4436. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  4437. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 18 Tot 5278)
  4438. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  4439. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  4440. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4441. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  4442. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 18 Tot 5278)
  4443. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  4444. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  4445. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  4446. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  4447. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 19188 -> 159.203.131.36 port 6033 codec: 8 ms: 20
  4448. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  4449. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  4450. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4451. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  4452. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  4453. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  4454. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  4455. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  4456. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  4457. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  4458. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  4459. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  4460. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  4461. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  4462. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  4463. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  4464. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  4465. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  4466. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  4467. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  4468. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  4469. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  4470. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  4471. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4472. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4473. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4474. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  4475. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  4476. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4477. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4478. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4479. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4480. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  4481. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4482. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4483. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  4484. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4485. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  4486. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4487. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  4488. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4489. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4490. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  4491. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4492. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4493. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4494. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4495. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  4496. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  4497. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4498. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4499. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4500. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4501. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  4502. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4503. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4504. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  4505. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4506. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  4507. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4508. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  4509. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4510. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4511. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  4512. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4513. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4514. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4515. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  4516. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  4517. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4518. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4519. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4520. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4521. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  4522. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4523. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4524. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  4525. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4526. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  4527. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4528. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  4529. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4530. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4531. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  4532. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  4533. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  4534. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 18 Tot 5278)
  4535. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  4536. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  4537. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  4538. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  4539. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  4540. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  4541. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4542. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  4543. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  4544. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  4545. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  4546. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  4547. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  4548. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  4549. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  4550. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  4551. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  4552. 2022-06-06 11:41:45.735771 95.50% [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 = 9) AND status=0 limit 1
  4553. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  4554. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  4555. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  4556. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  4557. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  4558. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  4559. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  4560. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  4561. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  4562. v=0
  4563. o=FreeSWITCH 1654496517 1654496518 IN IP4 142.132.184.134
  4564. s=FreeSWITCH
  4565. c=IN IP4 142.132.184.134
  4566. t=0 0
  4567. m=audio 19188 RTP/AVP 8 101
  4568. a=rtpmap:8 PCMA/8000
  4569. a=rtpmap:101 telephone-event/8000
  4570. a=fmtp:101 0-15
  4571. a=ptime:20
  4572. a=sendrecv
  4573.  
  4574. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  4575. 2022-06-06 11:41:45.735771 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  4576. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  4577. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  4578. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  4579. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  4580. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  4581. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  4582. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  4583. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  4584. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  4585. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  4586. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  4587. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  4588. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  4589. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  4590. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  4591. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  4592. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  4593. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  4594. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  4595. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  4596. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  4597. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  4598. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  4599. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  4600. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  4601. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  4602. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  4603. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  4604. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  4605. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  4606. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  4607. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  4608. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  4609. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  4610. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  4611. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  4612. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  4613. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  4614. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  4615. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  4616. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  4617. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  4618. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  4619. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  4620. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  4621. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  4622. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  4623. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  4624. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  4625. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  4626. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  4627. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  4628. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  4629. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  4630. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  4631. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  4632. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  4633. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  4634. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  4635. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  4636. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  4637. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  4638. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  4639. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  4640. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  4641. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  4642. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  4643. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  4644. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  4645. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  4646. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  4647. 2022-06-06 11:41:45.735771 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [30954f73-fc07-4587-a6da-2b711a2246b9]
  4648. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  4649. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 19 Tot 5279)
  4650. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  4651. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  4652. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  4653. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  4654. 2022-06-06 11:41:45.735771 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  4655. 2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  4656. Local SDP:
  4657. v=0
  4658. o=FreeSWITCH 1654489657 1654489658 IN IP4 142.132.184.134
  4659. s=FreeSWITCH
  4660. c=IN IP4 142.132.184.134
  4661. t=0 0
  4662. m=audio 26048 RTP/AVP 8 101
  4663. a=rtpmap:8 PCMA/8000
  4664. a=rtpmap:101 telephone-event/8000
  4665. a=fmtp:101 0-15
  4666. a=ptime:20
  4667. a=sendrecv
  4668.  
  4669. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  4670. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  4671. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  4672. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 19 Tot 5279)
  4673. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  4674. 2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  4675. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4676. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  4677. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 19 Tot 5279)
  4678. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  4679. 2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  4680. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="789654" limit 1
  4681. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  4682. 2022-06-06 11:41:45.755757 95.50% [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, A.codec as did_codec,A.provider_id as provider_id FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4683. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_CALL_TRANSFER] Query :SELECT A.id as id,A.provider_id as provider_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,A.transfer_status,A.busy_status,A.no_answer_status,A.always_status,A.transfer_call_type,A.transfer_extensions FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="970374110000" LIMIT 1
  4684. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4685. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  4686. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4687. <document type="freeswitch/xml">
  4688. <section name="dialplan" description="ASTPP Dialplan">
  4689. <context name="default">
  4690. <extension name="970374110000">
  4691. <condition field="destination_number" expression="970374110000">
  4692. <action application="set" data="effective_destination_number=970374110000"/>
  4693. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  4694. <action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
  4695. <action application="set" data="notify_flag=0"/>
  4696. <action application="set" data="notify_credit_limit=5.00000"/>
  4697. <action application="set" data="type=0"/>
  4698. <action application="set" data="callstart=2022-06-06 11:41:45"/>
  4699. <action application="set" data="hangup_after_bridge=true"/>
  4700. <action application="set" data="continue_on_fail=TRUE"/>
  4701. <action application="set" data="account_id=8"/>
  4702. <action application="set" data="parent_id=0"/>
  4703. <action application="set" data="entity_id=0"/>
  4704. <action application="set" data="call_processed=internal"/>
  4705. <action application="set" data="call_direction=outbound"/>
  4706. <action application="set" data="accountname=sendonclick"/>
  4707. <action application="export" data="t38_passthru=true"/>
  4708. <action application="set" data="fax_enable_t38=true"/>
  4709. <action application="set" data="fax_enable_t38_request=true"/>
  4710. <action application="set" data="filename1=astpp.pbx.lua"/>
  4711. <action application="set" data="origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8"/>
  4712. <action application="set" data="original_caller_id_name=Name"/>
  4713. <action application="set" data="original_caller_id_number=789654"/>
  4714.  
  4715. <action application="set" data="effective_caller_id_name=Name"/>
  4716. <action application="set" data="effective_caller_id_number=789654"/>
  4717. <action application="set" data="calltype=STANDARD"/>
  4718. <action application="set" data="termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3"/>
  4719. <action application="set" data="trunk_id=8"/>
  4720. <action application="set" data="provider_id=3"/>
  4721. <action application="set" data="rate_flag=3"/>
  4722. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4723. <action application="set" data="force_trunk_flag=0"/>
  4724. <action application="export" data="presence_data=trunk_id=8"/>
  4725. <action application="set" data="intcall=0"/>
  4726. <action application="export" data="presence_id=970374110000"/>
  4727. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36"/>
  4728. <action application="set" data="percentage_flag=0"/>
  4729. <action application="set" data="percentage_trunk_id=8"/>
  4730. <action application="set" data="percentage_rate_group_id=8"/>
  4731. <action application="set" data="percentage_old_trunk_id=0"/>
  4732. <action application="set" data="percentage_force_outbound_routes=0"/>
  4733. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4734. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
  4735. <action application="set" data="effective_caller_id_name=Name"/>
  4736. <action application="set" data="effective_caller_id_number=789654"/>
  4737. <action application="set" data="calltype=STANDARD"/>
  4738. <action application="set" data="termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3"/>
  4739. <action application="set" data="trunk_id=7"/>
  4740. <action application="set" data="provider_id=3"/>
  4741. <action application="set" data="rate_flag=3"/>
  4742. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4743. <action application="set" data="force_trunk_flag=0"/>
  4744. <action application="export" data="presence_data=trunk_id=7"/>
  4745. <action application="set" data="intcall=0"/>
  4746. <action application="export" data="presence_id=970374110000"/>
  4747. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36"/>
  4748. <action application="set" data="percentage_flag=0"/>
  4749. <action application="set" data="percentage_trunk_id=7"/>
  4750. <action application="set" data="percentage_rate_group_id=8"/>
  4751. <action application="set" data="percentage_old_trunk_id=8"/>
  4752. <action application="set" data="percentage_force_outbound_routes=0"/>
  4753. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4754. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
  4755. <action application="set" data="effective_caller_id_name=Name"/>
  4756. <action application="set" data="effective_caller_id_number=789654"/>
  4757. <action application="set" data="calltype=STANDARD"/>
  4758. <action application="set" data="termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3"/>
  4759. <action application="set" data="trunk_id=9"/>
  4760. <action application="set" data="provider_id=3"/>
  4761. <action application="set" data="rate_flag=3"/>
  4762. <action application="set" data="quality_trunk_seq=8,7,9"/>
  4763. <action application="set" data="force_trunk_flag=0"/>
  4764. <action application="export" data="presence_data=trunk_id=9"/>
  4765. <action application="set" data="intcall=0"/>
  4766. <action application="export" data="presence_id=970374110000"/>
  4767. <action application="export" data="presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36"/>
  4768. <action application="set" data="percentage_flag=0"/>
  4769. <action application="set" data="percentage_trunk_id=9"/>
  4770. <action application="set" data="percentage_rate_group_id=8"/>
  4771. <action application="set" data="percentage_old_trunk_id=7"/>
  4772. <action application="set" data="percentage_force_outbound_routes=0"/>
  4773. <action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
  4774. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
  4775. </condition>
  4776. </extension>
  4777. </context>
  4778. </section>
  4779. </document>
  4780. Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
  4781. Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
  4782. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
  4783. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  4784. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  4785. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
  4786. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
  4787. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
  4788. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
  4789. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
  4790. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
  4791. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
  4792. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
  4793. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
  4794. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
  4795. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
  4796. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
  4797. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
  4798. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
  4799. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
  4800. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
  4801. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  4802. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
  4803. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
  4804. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4805. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4806. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4807. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  4808. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
  4809. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4810. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4811. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4812. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4813. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
  4814. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4815. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4816. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  4817. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4818. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
  4819. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4820. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
  4821. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4822. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4823. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  4824. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4825. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4826. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4827. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:7|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.30000|INC:60|INITIALBLOCK:60|TRUNK:7|PROVIDER:3)
  4828. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
  4829. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4830. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4831. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4832. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4833. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
  4834. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4835. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4836. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-111 // ^97.* // Load Stone Call testing // 0.30000 // trunk_id=7|||STD|||159.203.131.36)
  4837. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4838. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
  4839. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4840. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
  4841. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4842. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4843. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
  4844. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
  4845. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
  4846. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 28166 -> 159.203.131.36 port 6005 codec: 8 ms: 20
  4847. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
  4848. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(termination_rates=ID:11|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.40000|INC:60|INITIALBLOCK:60|TRUNK:9|PROVIDER:3)
  4849. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
  4850. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
  4851. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
  4852. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
  4853. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
  4854. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
  4855. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
  4856. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
  4857. Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-333 // ^97.* //  // 0.40000 // trunk_id=9|||STD|||159.203.131.36)
  4858. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
  4859. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
  4860. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
  4861. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
  4862. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
  4863. Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
  4864. Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
  4865. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/789654@127.0.1.1:5062) State Change CS_ROUTING -> CS_EXECUTE
  4866. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/789654@127.0.1.1:5062) State ROUTING going to sleep
  4867. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/789654@127.0.1.1:5062) Running State Change CS_EXECUTE (Cur 19 Tot 5279)
  4868. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/789654@127.0.1.1:5062) State EXECUTE
  4869. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
  4870. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/789654@127.0.1.1:5062 Standard EXECUTE
  4871. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
  4872. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_destination_number]=[970374110000]
  4873. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
  4874. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_app]=[sched_hangup]
  4875. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
  4876. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [bridge_pre_execute_bleg_data]=[+300 normal_clearing]
  4877. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
  4878. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_flag]=[0]
  4879. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
  4880. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [notify_credit_limit]=[5.00000]
  4881. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  4882. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
  4883. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [type]=[0]
  4884. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
  4885. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [callstart]=[2022-06-06 11:41:45]
  4886. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
  4887. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [hangup_after_bridge]=[true]
  4888. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
  4889. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [continue_on_fail]=[TRUE]
  4890. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
  4891. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [account_id]=[8]
  4892. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
  4893. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [parent_id]=[0]
  4894. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
  4895. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [entity_id]=[0]
  4896. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
  4897. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_processed]=[internal]
  4898. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
  4899. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [call_direction]=[outbound]
  4900. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
  4901. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [accountname]=[sendonclick]
  4902. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
  4903. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
  4904. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
  4905. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38]=[true]
  4906. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
  4907. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [fax_enable_t38_request]=[true]
  4908. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
  4909. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [filename1]=[astpp.pbx.lua]
  4910. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(origination_rates=ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8)
  4911. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [origination_rates]=[ID:11|CODE:^97.*|DESTINATION:Load Stone Call testing|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:8|MARKUP:0|CI:104|ACCID:8]
  4912. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
  4913. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_name]=[Name]
  4914. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
  4915. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [original_caller_id_number]=[789654]
  4916. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
  4917. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_name]=[Name]
  4918. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
  4919. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [effective_caller_id_number]=[789654]
  4920. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
  4921. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [calltype]=[STANDARD]
  4922. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(termination_rates=ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3)
  4923. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [termination_rates]=[ID:10|CODE:^97.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20000|INC:60|INITIALBLOCK:60|TRUNK:8|PROVIDER:3]
  4924. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
  4925. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [trunk_id]=[8]
  4926. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
  4927. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [provider_id]=[3]
  4928. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
  4929. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [rate_flag]=[3]
  4930. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
  4931. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [quality_trunk_seq]=[8,7,9]
  4932. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
  4933. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [force_trunk_flag]=[0]
  4934. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
  4935. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
  4936. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
  4937. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [intcall]=[0]
  4938. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
  4939. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
  4940. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36)
  4941. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36]
  4942. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
  4943. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_flag]=[0]
  4944. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
  4945. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_trunk_id]=[8]
  4946. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
  4947. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_rate_group_id]=[8]
  4948. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
  4949. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_old_trunk_id]=[0]
  4950. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
  4951. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [percentage_force_outbound_routes]=[0]
  4952. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
  4953. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/789654@127.0.1.1:5062 [execute_on_answer]=[lua astpp_percentage.lua]
  4954. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
  4955. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [t38_passthru]=[true] to event
  4956. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  4957. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_id]=[970374110000] to event
  4958. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1269 sofia/default/789654@127.0.1.1:5062 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust Postpaid(9993336668)|||^97.* // Load Stone Call testing // 0.60000 |||PK-Default-Trunk-222 // ^97.* //  // 0.20000 // trunk_id=8|||STD|||159.203.131.36] to event
  4959. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  4960. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  4961. 2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [21ea1ea9-1b84-4182-a76d-2d938cba895b]
  4962. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
  4963. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  4964. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  4965. v=0
  4966. o=root 282083332 282083332 IN IP4 159.203.131.36
  4967. s=Asterisk PBX 16.4.0
  4968. c=IN IP4 159.203.131.36
  4969. t=0 0
  4970. m=audio 19808 RTP/AVP 8 101
  4971. a=rtpmap:8 PCMA/8000
  4972. a=rtpmap:101 telephone-event/8000
  4973. a=fmtp:101 0-16
  4974. a=maxptime:150
  4975.  
  4976. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  4977. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  4978. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  4979. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  4980. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  4981. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  4982. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  4983. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  4984. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 23988 -> 159.203.131.36 port 19808 codec: 8 ms: 20
  4985. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_INIT (Cur 20 Tot 5280)
  4986. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
  4987. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
  4988. 2022-06-06 11:41:45.755757 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
  4989. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia_glue.c:1654 sofia/default/970374110000 sending invite version: 1.10.7 -release 64bit
  4990. Local SDP:
  4991. v=0
  4992. o=FreeSWITCH 1654488383 1654488384 IN IP4 142.132.184.134
  4993. s=FreeSWITCH
  4994. c=IN IP4 142.132.184.134
  4995. t=0 0
  4996. m=audio 27322 RTP/AVP 8 101
  4997. a=rtpmap:8 PCMA/8000
  4998. a=rtpmap:101 telephone-event/8000
  4999. a=fmtp:101 0-15
  5000. a=ptime:20
  5001. a=sendrecv
  5002.  
  5003. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
  5004. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/970374110000) State Change CS_INIT -> CS_ROUTING
  5005. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
  5006. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_ROUTING (Cur 20 Tot 5280)
  5007. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
  5008. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
  5009. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
  5010. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/970374110000) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5011. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
  5012. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_CONSUME_MEDIA (Cur 20 Tot 5280)
  5013. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
  5014. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA going to sleep
  5015. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5016. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5017. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5018. v=0
  5019. o=root 759124338 759124338 IN IP4 159.203.131.36
  5020. s=Asterisk PBX 16.4.0
  5021. c=IN IP4 159.203.131.36
  5022. t=0 0
  5023. m=audio 11052 RTP/AVP 8 101
  5024. a=rtpmap:8 PCMA/8000
  5025. a=rtpmap:101 telephone-event/8000
  5026. a=fmtp:101 0-16
  5027. a=maxptime:150
  5028.  
  5029. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5030. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5031. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5032. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5033. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5034. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5035. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5036. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5037. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5038. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5039. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 32638 -> 159.203.131.36 port 11052 codec: 8 ms: 20
  5040. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5041. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5042. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5043. 2022-06-06 11:41:45.755757 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5044. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5045. 2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5046. v=0
  5047. o=FreeSWITCH 1654487539 1654487540 IN IP4 142.132.184.134
  5048. s=FreeSWITCH
  5049. c=IN IP4 142.132.184.134
  5050. t=0 0
  5051. m=audio 28166 RTP/AVP 8 101
  5052. a=rtpmap:8 PCMA/8000
  5053. a=rtpmap:101 telephone-event/8000
  5054. a=fmtp:101 0-15
  5055. a=ptime:20
  5056. a=sendrecv
  5057.  
  5058. 2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5059. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5060. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5061. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5062. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5063. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5064. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5065. 2022-06-06 11:41:45.755757 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5066. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5067. 2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5068. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5069. 2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5070. 2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5071. 2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5072. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5073. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5074. v=0
  5075. o=root 253612876 253612876 IN IP4 159.203.131.36
  5076. s=Asterisk PBX 16.4.0
  5077. c=IN IP4 159.203.131.36
  5078. t=0 0
  5079. m=audio 14694 RTP/AVP 8 101
  5080. a=rtpmap:8 PCMA/8000
  5081. a=rtpmap:101 telephone-event/8000
  5082. a=fmtp:101 0-16
  5083. a=maxptime:150
  5084.  
  5085. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5086. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5087. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5088. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5089. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5090. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5091. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5092. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5093. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 31216 -> 159.203.131.36 port 14694 codec: 8 ms: 20
  5094. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5095. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5096. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5097. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 4a325944-480b-4622-b8ca-274ad8b0746d
  5098. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5099. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5100. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5101. 2022-06-06 11:41:45.775753 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5102. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5103. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5104. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5105. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5106. 2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5107. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5108. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5109. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 6f4d4de0-1b56-4bd0-94de-af65889ad0dd
  5110. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5111. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5112. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5113. 2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5114. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 30754 -> 159.203.131.36 port 6021 codec: 8 ms: 20
  5115. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5116. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 31746 -> 159.203.131.36 port 6029 codec: 8 ms: 20
  5117. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5118. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5119. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5120. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5121. 2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5122. v=0
  5123. o=FreeSWITCH 1654484951 1654484952 IN IP4 142.132.184.134
  5124. s=FreeSWITCH
  5125. c=IN IP4 142.132.184.134
  5126. t=0 0
  5127. m=audio 30754 RTP/AVP 8 101
  5128. a=rtpmap:8 PCMA/8000
  5129. a=rtpmap:101 telephone-event/8000
  5130. a=fmtp:101 0-15
  5131. a=ptime:20
  5132. a=sendrecv
  5133.  
  5134. 2022-06-06 11:41:45.775753 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5135. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5136. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5137. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5138. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5139. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5140. 2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5141. v=0
  5142. o=FreeSWITCH 1654483959 1654483960 IN IP4 142.132.184.134
  5143. s=FreeSWITCH
  5144. c=IN IP4 142.132.184.134
  5145. t=0 0
  5146. m=audio 31746 RTP/AVP 8 101
  5147. a=rtpmap:8 PCMA/8000
  5148. a=rtpmap:101 telephone-event/8000
  5149. a=fmtp:101 0-15
  5150. a=ptime:20
  5151. a=sendrecv
  5152.  
  5153. 2022-06-06 11:41:45.775753 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5154. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5155. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5156. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5157. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5158. v=0
  5159. o=root 273252447 273252447 IN IP4 159.203.131.36
  5160. s=Asterisk PBX 16.4.0
  5161. c=IN IP4 159.203.131.36
  5162. t=0 0
  5163. m=audio 13158 RTP/AVP 8 101
  5164. a=rtpmap:8 PCMA/8000
  5165. a=rtpmap:101 telephone-event/8000
  5166. a=fmtp:101 0-16
  5167. a=maxptime:150
  5168.  
  5169. 2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5170. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5171. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5172. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5173. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5174. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5175. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5176. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5177. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 19960 -> 159.203.131.36 port 13158 codec: 8 ms: 20
  5178. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5179. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5180. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5181. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5182. 2022-06-06 11:41:45.775753 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5183. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5184. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5185. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5186. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5187. 2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5188. 2022-06-06 11:41:45.775753 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5189. 2022-06-06 11:41:45.775753 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5190. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 22956 -> 159.203.131.36 port 6013 codec: 8 ms: 20
  5191. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5192. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5193. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5194. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5195. 2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5196. v=0
  5197. o=FreeSWITCH 1654492749 1654492750 IN IP4 142.132.184.134
  5198. s=FreeSWITCH
  5199. c=IN IP4 142.132.184.134
  5200. t=0 0
  5201. m=audio 22956 RTP/AVP 8 101
  5202. a=rtpmap:8 PCMA/8000
  5203. a=rtpmap:101 telephone-event/8000
  5204. a=fmtp:101 0-15
  5205. a=ptime:20
  5206. a=sendrecv
  5207.  
  5208. 2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5209. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5210. 2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5211. 2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5212. 2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5213. v=0
  5214. o=root 1808449710 1808449710 IN IP4 159.203.131.36
  5215. s=Asterisk PBX 16.4.0
  5216. c=IN IP4 159.203.131.36
  5217. t=0 0
  5218. m=audio 17606 RTP/AVP 8 101
  5219. a=rtpmap:8 PCMA/8000
  5220. a=rtpmap:101 telephone-event/8000
  5221. a=fmtp:101 0-16
  5222. a=maxptime:150
  5223.  
  5224. 2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5225. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5226. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5227. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5228. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5229. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5230. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5231. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5232. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 30380 -> 159.203.131.36 port 17606 codec: 8 ms: 20
  5233. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5234. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5235. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5236. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 8ed60a5a-7dba-42f7-afe4-de12d52e4d4e
  5237. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5238. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5239. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5240. 2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5241. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5242. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5243. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5244. 2022-06-06 11:41:45.795750 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5245. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5246. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5247. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5248. 2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5249. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 23992 -> 159.203.131.36 port 6001 codec: 8 ms: 20
  5250. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5251. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5252. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5253. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5254. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5255. 2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5256. v=0
  5257. o=FreeSWITCH 1654491713 1654491714 IN IP4 142.132.184.134
  5258. s=FreeSWITCH
  5259. c=IN IP4 142.132.184.134
  5260. t=0 0
  5261. m=audio 23992 RTP/AVP 8 101
  5262. a=rtpmap:8 PCMA/8000
  5263. a=rtpmap:101 telephone-event/8000
  5264. a=fmtp:101 0-15
  5265. a=ptime:20
  5266. a=sendrecv
  5267.  
  5268. 2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5269. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5270. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 16ea0e63-c927-4d38-aeab-a7ecfb5cea36
  5271. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5272. 2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5273. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 19568 -> 159.203.131.36 port 6017 codec: 8 ms: 20
  5274. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5275. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5276. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5277. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5278. 2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5279. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5280. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5281. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5282. 2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5283. v=0
  5284. o=FreeSWITCH 1654496137 1654496138 IN IP4 142.132.184.134
  5285. s=FreeSWITCH
  5286. c=IN IP4 142.132.184.134
  5287. t=0 0
  5288. m=audio 19568 RTP/AVP 8 101
  5289. a=rtpmap:8 PCMA/8000
  5290. a=rtpmap:101 telephone-event/8000
  5291. a=fmtp:101 0-15
  5292. a=ptime:20
  5293. a=sendrecv
  5294.  
  5295. 2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5296. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5297. 2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5298. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5299. 2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5300. 2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5301. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5302. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5303. 2022-06-06 11:41:45.815765 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5304. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5305. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5306. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 545e361a-0838-4740-bc03-607cac7abd2e
  5307. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5308. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5309. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5310. 2022-06-06 11:41:45.815765 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5311. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5312. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5313. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: ad72f364-969a-4042-9b27-7b8e01134b62
  5314. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5315. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5316. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5317. 2022-06-06 11:41:45.815765 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5318. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5319. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5320. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: e1d159a7-fe18-46c4-aaa8-99fa9c87ef4d
  5321. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5322. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5323. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5324. 2022-06-06 11:41:45.815765 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5325. 2022-06-06 11:41:45.815765 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5326. 2022-06-06 11:41:45.815765 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5327. v=0
  5328. o=root 1919884622 1919884622 IN IP4 159.203.131.36
  5329. s=Asterisk PBX 16.4.0
  5330. c=IN IP4 159.203.131.36
  5331. t=0 0
  5332. m=audio 10094 RTP/AVP 8 101
  5333. a=rtpmap:8 PCMA/8000
  5334. a=rtpmap:101 telephone-event/8000
  5335. a=fmtp:101 0-16
  5336. a=maxptime:150
  5337.  
  5338. 2022-06-06 11:41:45.815765 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5339. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5340. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5341. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5342. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5343. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5344. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5345. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5346. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 22110 -> 159.203.131.36 port 10094 codec: 8 ms: 20
  5347. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5348. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5349. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5350. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5351. 2022-06-06 11:41:45.815765 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5352. 2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5353. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5354. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5355. v=0
  5356. o=root 1857070206 1857070206 IN IP4 159.203.131.36
  5357. s=Asterisk PBX 16.4.0
  5358. c=IN IP4 159.203.131.36
  5359. t=0 0
  5360. m=audio 15512 RTP/AVP 8 101
  5361. a=rtpmap:8 PCMA/8000
  5362. a=rtpmap:101 telephone-event/8000
  5363. a=fmtp:101 0-16
  5364. a=maxptime:150
  5365.  
  5366. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5367. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5368. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5369. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5370. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5371. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5372. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5373. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5374. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 26048 -> 159.203.131.36 port 15512 codec: 8 ms: 20
  5375. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5376. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5377. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5378. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5379. 2022-06-06 11:41:45.835759 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5380. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5381. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5382. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 32138 -> 159.203.131.36 port 6025 codec: 8 ms: 20
  5383. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5384. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
  5385. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7509 Remote SDP:
  5386. v=0
  5387. o=root 1524562491 1524562491 IN IP4 159.203.131.36
  5388. s=Asterisk PBX 16.4.0
  5389. c=IN IP4 159.203.131.36
  5390. t=0 0
  5391. m=audio 10928 RTP/AVP 8 101
  5392. a=rtpmap:8 PCMA/8000
  5393. a=rtpmap:101 telephone-event/8000
  5394. a=fmtp:101 0-16
  5395. a=maxptime:150
  5396.  
  5397. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
  5398. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  5399. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  5400. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  5401. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/970374110000 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  5402. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_codec.c:111 sofia/default/970374110000 Original read codec set to PCMA:8
  5403. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  5404. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5973 sofia/default/970374110000 Set 2833 dtmf send payload to 101 recv payload to 101
  5405. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/970374110000] 142.132.184.134 port 27322 -> 159.203.131.36 port 10928 codec: 8 ms: 20
  5406. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5407. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5408. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5409. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5410. 2022-06-06 11:41:45.835759 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5411. v=0
  5412. o=FreeSWITCH 1654483567 1654483568 IN IP4 142.132.184.134
  5413. s=FreeSWITCH
  5414. c=IN IP4 142.132.184.134
  5415. t=0 0
  5416. m=audio 32138 RTP/AVP 8 101
  5417. a=rtpmap:8 PCMA/8000
  5418. a=rtpmap:101 telephone-event/8000
  5419. a=fmtp:101 0-15
  5420. a=ptime:20
  5421. a=sendrecv
  5422.  
  5423. 2022-06-06 11:41:45.835759 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5424. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5425. 2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5426. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/970374110000 Set 2833 dtmf send payload to 101
  5427. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/970374110000 Set 2833 dtmf receive payload to 101
  5428. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
  5429. 2022-06-06 11:41:45.835759 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
  5430. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
  5431. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5432. 2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5433. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 19774 -> 159.203.131.36 port 6037 codec: 8 ms: 20
  5434. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5435. 2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5436. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5437. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5438. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5439. 2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5440. v=0
  5441. o=FreeSWITCH 1654495931 1654495932 IN IP4 142.132.184.134
  5442. s=FreeSWITCH
  5443. c=IN IP4 142.132.184.134
  5444. t=0 0
  5445. m=audio 19774 RTP/AVP 8 101
  5446. a=rtpmap:8 PCMA/8000
  5447. a=rtpmap:101 telephone-event/8000
  5448. a=fmtp:101 0-15
  5449. a=ptime:20
  5450. a=sendrecv
  5451.  
  5452. 2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5453. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5454. 2022-06-06 11:41:45.855757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5455. 2022-06-06 11:41:45.855757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5456. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5457. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5458. 2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5459. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5460. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5461. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 7d6636a0-fbb7-4c23-868f-1225a4861973
  5462. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5463. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5464. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5465. 2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5466. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/789654@127.0.1.1:5062] 142.132.184.134 port 23434 -> 159.203.131.36 port 6009 codec: 8 ms: 20
  5467. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  5468. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5469. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5470. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 30954f73-fc07-4587-a6da-2b711a2246b9
  5471. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:9089 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf send payload to 101
  5472. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:9096 sofia/default/789654@127.0.1.1:5062 Set 2833 dtmf receive payload to 101
  5473. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/789654@127.0.1.1:5062 Set rtp dtmf delay to 40
  5474. 2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
  5475. v=0
  5476. o=FreeSWITCH 1654492271 1654492272 IN IP4 142.132.184.134
  5477. s=FreeSWITCH
  5478. c=IN IP4 142.132.184.134
  5479. t=0 0
  5480. m=audio 23434 RTP/AVP 8 101
  5481. a=rtpmap:8 PCMA/8000
  5482. a=rtpmap:101 telephone-event/8000
  5483. a=fmtp:101 0-15
  5484. a=ptime:20
  5485. a=sendrecv
  5486.  
  5487. 2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/789654@127.0.1.1:5062] has been answered
  5488. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5489. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5490. EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
  5491. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5492. 2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5493. 2022-06-06 11:41:45.855757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [completed][200]
  5494. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  5495. 2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
  5496. 2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  5497. 2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_cpp.cpp:1209 sofia/default/789654@127.0.1.1:5062 destroy/unlink session from object
  5498. 2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/789654@127.0.1.1:5062) Callstate Change RINGING -> ACTIVE
  5499. 2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/970374110000] Peer UUID: 21ea1ea9-1b84-4182-a76d-2d938cba895b
  5500. 2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/970374110000) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  5501. 2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/970374110000) Running State Change CS_EXCHANGE_MEDIA (Cur 20 Tot 5280)
  5502. 2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
  5503. 2022-06-06 11:41:45.875757 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  5504. 2022-06-06 11:41:45.875757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5505. 2022-06-06 11:41:45.875757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5506. 2022-06-06 11:41:45.895756 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5507. 2022-06-06 11:41:45.895756 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5508. 2022-06-06 11:41:45.895756 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5509. 2022-06-06 11:41:45.935755 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5510. 2022-06-06 11:41:45.935755 94.23% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5511. 2022-06-06 11:41:45.935755 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5512. 2022-06-06 11:41:45.955757 94.23% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5513. 2022-06-06 11:41:45.955757 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5514. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5515. 2022-06-06 11:41:45.955757 94.23% [DEBUG] switch_scheduler.c:263 Added task 2068 switch_ivr_schedule_hangup (6f4d4de0-1b56-4bd0-94de-af65889ad0dd) to run at 1654516005
  5516. 2022-06-06 11:41:45.955757 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5517. 2022-06-06 11:41:45.955757 94.23% [DEBUG] sofia.c:7499 Channel sofia/default/789654@127.0.1.1:5062 entering state [ready][200]
  5518. 2022-06-06 11:41:45.955757 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5519. 2022-06-06 11:41:45.955757 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5520. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5521. 2022-06-06 11:41:45.955757 94.23% [DEBUG] switch_scheduler.c:263 Added task 2069 switch_ivr_schedule_hangup (4a325944-480b-4622-b8ca-274ad8b0746d) to run at 1654516005
  5522. 2022-06-06 11:41:45.975758 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5523. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5524. 2022-06-06 11:41:45.975758 94.23% [DEBUG] switch_scheduler.c:263 Added task 2070 switch_ivr_schedule_hangup (8ed60a5a-7dba-42f7-afe4-de12d52e4d4e) to run at 1654516005
  5525. 2022-06-06 11:41:45.975758 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5526. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5527. 2022-06-06 11:41:45.975758 94.23% [DEBUG] switch_scheduler.c:263 Added task 2071 switch_ivr_schedule_hangup (16ea0e63-c927-4d38-aeab-a7ecfb5cea36) to run at 1654516005
  5528. 2022-06-06 11:41:45.975758 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5529. 2022-06-06 11:41:45.995756 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5530. 2022-06-06 11:41:45.995756 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5531. 2022-06-06 11:41:45.995756 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5532. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5533. 2022-06-06 11:41:45.995756 94.23% [DEBUG] switch_scheduler.c:263 Added task 2072 switch_ivr_schedule_hangup (e1d159a7-fe18-46c4-aaa8-99fa9c87ef4d) to run at 1654516005
  5534. 2022-06-06 11:41:46.015756 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5535. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5536. 2022-06-06 11:41:46.015756 94.23% [DEBUG] switch_scheduler.c:263 Added task 2073 switch_ivr_schedule_hangup (545e361a-0838-4740-bc03-607cac7abd2e) to run at 1654516006
  5537. 2022-06-06 11:41:46.015756 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5538. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5539. 2022-06-06 11:41:46.015756 94.23% [DEBUG] switch_scheduler.c:263 Added task 2074 switch_ivr_schedule_hangup (ad72f364-969a-4042-9b27-7b8e01134b62) to run at 1654516006
  5540. 2022-06-06 11:41:46.015756 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5541. 2022-06-06 11:41:46.035754 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5542. 2022-06-06 11:41:46.035754 94.23% [DEBUG] switch_ivr_bridge.c:655 sofia/default/970374110000 Bridge execute app sched_hangup(+300 normal_clearing)
  5543. 2022-06-06 11:41:46.035754 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5544. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5545. 2022-06-06 11:41:46.035754 94.23% [DEBUG] switch_scheduler.c:263 Added task 2075 switch_ivr_schedule_hangup (7d6636a0-fbb7-4c23-868f-1225a4861973) to run at 1654516006
  5546. 2022-06-06 11:41:46.055765 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5547. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5548. 2022-06-06 11:41:46.055765 94.23% [DEBUG] switch_scheduler.c:263 Added task 2076 switch_ivr_schedule_hangup (30954f73-fc07-4587-a6da-2b711a2246b9) to run at 1654516006
  5549. 2022-06-06 11:41:46.055765 94.23% [DEBUG] switch_ivr.c:632 sofia/default/970374110000 Command Execute [depth=0] sched_hangup(+300 normal_clearing)
  5550. EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
  5551. 2022-06-06 11:41:46.055765 94.23% [DEBUG] switch_scheduler.c:263 Added task 2077 switch_ivr_schedule_hangup (21ea1ea9-1b84-4182-a76d-2d938cba895b) to run at 1654516006
  5552. 2022-06-06 11:41:46.235765 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5553. 2022-06-06 11:41:46.275793 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5554. 2022-06-06 11:41:46.295767 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5555. 2022-06-06 11:41:46.295767 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5556. 2022-06-06 11:41:46.295767 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5557. 2022-06-06 11:41:46.375754 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5558. 2022-06-06 11:41:46.375754 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5559. 2022-06-06 11:41:46.395757 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5560. 2022-06-06 11:41:46.415769 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  5561. 2022-06-06 11:41:46.415769 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed