astppbilling.org] from ip 103.240.35.46
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]
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)
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
2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6001 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.495810 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.495810 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.495810 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.495810 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
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]
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)
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
2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.495810 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6005 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
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]
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6009 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
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]
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6013 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
2022-06-06 11:41:45.515749 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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]
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6017 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
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]
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6021 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.515749 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
2022-06-06 11:41:45.515749 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.515749 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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]
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6025 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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]
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6029 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
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]
2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6033 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
2022-06-06 11:41:45.535763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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]
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 159.203.131.36:0.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:10585 IP 159.203.131.36 Approved by acl "default[]". Access Granted.
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=user1 53655765 2353687637 IN IP4 159.203.131.36
s=-
c=IN IP4 159.203.131.36
t=0 0
m=audio 6037 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16
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]
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
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]
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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)
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:97 sofia/default/789654@127.0.1.1:5062 SOFIA INIT
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
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
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
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)
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
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
2022-06-06 11:41:45.535763 95.50% [DEBUG] mod_sofia.c:158 sofia/default/789654@127.0.1.1:5062 SOFIA ROUTING
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
2022-06-06 11:41:45.535763 95.50% [INFO] mod_dialplan_xml.c:639 Processing Name <789654>->970374110000 in context default
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
2022-06-06 11:41:45.555762 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.555762 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.555762 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
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
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
2022-06-06 11:41:45.555762 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
2022-06-06 11:41:45.555762 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
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
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.575783 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.575783 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
2022-06-06 11:41:45.575783 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.575783 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.575783 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
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
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
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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
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
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
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
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
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
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
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
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
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
2022-06-06 11:41:45.595763 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
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
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
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
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
2022-06-06 11:41:45.595763 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.595763 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.595763 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-06-06 11:41:45.595763 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 970374110000
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERsipp
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
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
2022-06-06 11:41:45.615757 95.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : Name / 789654
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9993336668]
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
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
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
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
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
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
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
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 970374110000
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
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
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
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
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
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
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
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.615757 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
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
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.615757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
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
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
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
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
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
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
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)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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]
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!
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
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]
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
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]
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [4a325944-480b-4622-b8ca-274ad8b0746d]
2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
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)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.635752 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654492367 1654492368 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 23338 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
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
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
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
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
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
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
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
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]
2022-06-06 11:41:45.635752 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
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
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
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
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
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
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.635752 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.635752 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [6f4d4de0-1b56-4bd0-94de-af65889ad0dd]
2022-06-06 11:41:45.635752 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
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)
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.655758 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654493529 1654493530 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 22176 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
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
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
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
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
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
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
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
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
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9993336668
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19633.56667
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-8
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^97.*
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 104
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19633.56667 balance Accountid 8 !!!
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!
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 5 minutes
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
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
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
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
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
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
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
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
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
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
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.655758 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.655758 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
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
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.655758 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
2022-06-06 11:41:45.675753 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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]
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
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]
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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]
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
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)
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
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)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
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]
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
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]
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
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)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
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]
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
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)
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]
2022-06-06 11:41:45.675753 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [8ed60a5a-7dba-42f7-afe4-de12d52e4d4e]
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
2022-06-06 11:41:45.675753 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654491717 1654491718 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 23988 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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]
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.675753 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [16ea0e63-c927-4d38-aeab-a7ecfb5cea36]
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.675753 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654483067 1654483068 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 32638 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
2022-06-06 11:41:45.675753 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
2022-06-06 11:41:45.675753 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
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
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
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
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
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
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
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.675753 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [545e361a-0838-4740-bc03-607cac7abd2e]
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
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)
2022-06-06 11:41:45.675753 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.675753 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.695754 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654484489 1654484490 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 31216 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
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
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 10
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 8
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways222
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 7
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Load Stone Call testing
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 7
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways111
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 11
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97.*
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
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)
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97.*
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 9
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PKDefaultGateways333
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.695754 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [e1d159a7-fe18-46c4-aaa8-99fa9c87ef4d]
2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
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)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.695754 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654495745 1654495746 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 19960 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.695754 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
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
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
2022-06-06 11:41:45.695754 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 5
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.695754 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.695754 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.715767 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [ad72f364-969a-4042-9b27-7b8e01134b62]
2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
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)
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.715767 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654485325 1654485326 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 30380 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.715767 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
2022-06-06 11:41:45.715767 95.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
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
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
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
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
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
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
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
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 357519480 357519480 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 14640 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.715767 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
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
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
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.715767 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.715767 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
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
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
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
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
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
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
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
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 670131023 670131023 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 19212 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
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]
2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
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]
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::8
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
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
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.735771 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
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
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
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
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.735771 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [7d6636a0-fbb7-4c23-868f-1225a4861973]
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
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)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
2022-06-06 11:41:45.735771 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654493595 1654493596 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 22110 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.735771 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
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
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
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
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
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654496517 1654496518 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 19188 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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]
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.735771 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [30954f73-fc07-4587-a6da-2b711a2246b9]
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
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)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.735771 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654489657 1654489658 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 26048 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.735771 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.735771 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="970374110000">
<condition field="destination_number" expression="970374110000">
<action application="set" data="effective_destination_number=970374110000"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+300 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-06-06 11:41:45"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=sendonclick"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<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"/>
<action application="set" data="original_caller_id_name=Name"/>
<action application="set" data="original_caller_id_number=789654"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=8"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=8"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=8"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=0"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=7"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=7"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=7"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=8"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000"/>
<action application="set" data="effective_caller_id_name=Name"/>
<action application="set" data="effective_caller_id_number=789654"/>
<action application="set" data="calltype=STANDARD"/>
<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"/>
<action application="set" data="trunk_id=9"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=3"/>
<action application="set" data="quality_trunk_seq=8,7,9"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=9"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=970374110000"/>
<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"/>
<action application="set" data="percentage_flag=0"/>
<action application="set" data="percentage_trunk_id=9"/>
<action application="set" data="percentage_rate_group_id=8"/>
<action application="set" data="percentage_old_trunk_id=7"/>
<action application="set" data="percentage_force_outbound_routes=0"/>
<action application="set" data="execute_on_answer=lua astpp_percentage.lua"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/789654@127.0.1.1:5062 parsing [default->970374110000] continue=false
Dialplan: sofia/default/789654@127.0.1.1:5062 Regex (PASS) [970374110000] destination_number(970374110000) =~ /970374110000/ break=on-false
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_destination_number=970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(bridge_pre_execute_bleg_data=+300 normal_clearing)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(type=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(callstart=2022-06-06 11:41:45)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(account_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(parent_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(entity_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_processed=internal)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(call_direction=outbound)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(accountname=sendonclick)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(t38_passthru=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(filename1=astpp.pbx.lua)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(original_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways111/970374110000)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_name=Name)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(effective_caller_id_number=789654)
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
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(calltype=STANDARD)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(provider_id=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(rate_flag=3)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(quality_trunk_seq=8,7,9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(force_trunk_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_data=trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(intcall=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action export(presence_id=970374110000)
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)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_flag=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_trunk_id=9)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_rate_group_id=8)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_old_trunk_id=7)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(percentage_force_outbound_routes=0)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action set(execute_on_answer=lua astpp_percentage.lua)
Dialplan: sofia/default/789654@127.0.1.1:5062 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways333/970374110000)
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
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
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)
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:213 sofia/default/789654@127.0.1.1:5062 SOFIA EXECUTE
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_destination_number=970374110000)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_app=sched_hangup)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(bridge_pre_execute_bleg_data=+300 normal_clearing)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(notify_credit_limit=5.00000)
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]
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(type=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(callstart=2022-06-06 11:41:45)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(hangup_after_bridge=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(continue_on_fail=TRUE)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(account_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(parent_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(entity_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_processed=internal)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(call_direction=outbound)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(accountname=sendonclick)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(t38_passthru=true)
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(fax_enable_t38_request=true)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(filename1=astpp.pbx.lua)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(original_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_name=Name)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(effective_caller_id_number=789654)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(calltype=STANDARD)
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]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(provider_id=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(rate_flag=3)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(quality_trunk_seq=8,7,9)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(force_trunk_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_data=trunk_id=8)
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=8]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(intcall=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 export(presence_id=970374110000)
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[970374110000]
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)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_flag=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_trunk_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_rate_group_id=8)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_old_trunk_id=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(percentage_force_outbound_routes=0)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 set(execute_on_answer=lua astpp_percentage.lua)
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]
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PKDefaultGateways222/970374110000)
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
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
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/970374110000 [21ea1ea9-1b84-4182-a76d-2d938cba895b]
2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:5121 (sofia/default/970374110000) State Change CS_NEW -> CS_INIT
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 282083332 282083332 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 19808 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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)
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT
2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:97 sofia/default/970374110000 SOFIA INIT
2022-06-06 11:41:45.755757 95.50% [INFO] sofia_glue.c:1651 sofia/default/970374110000 sending invite call-id: (null)
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
Local SDP:
v=0
o=FreeSWITCH 1654488383 1654488384 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 27322 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/970374110000 Standard INIT
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/970374110000) State INIT going to sleep
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)
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [calling][0]
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING
2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:158 sofia/default/970374110000 SOFIA ROUTING
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/970374110000) State ROUTING going to sleep
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)
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/970374110000) State CONSUME_MEDIA
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 759124338 759124338 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 11052 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.755757 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
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
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
2022-06-06 11:41:45.755757 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654487539 1654487540 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 28166 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.755757 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
2022-06-06 11:41:45.755757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.755757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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]
2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 253612876 253612876 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 14694 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.775753 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
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)
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
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
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
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
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)
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654484951 1654484952 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 30754 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
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
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654483959 1654483960 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 31746 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 273252447 273252447 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 13158 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.775753 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.775753 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
2022-06-06 11:41:45.775753 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.775753 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
2022-06-06 11:41:45.775753 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654492749 1654492750 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 22956 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1808449710 1808449710 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 17606 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.795750 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
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)
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.795750 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654491713 1654491714 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 23992 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
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
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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)
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
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
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
2022-06-06 11:41:45.795750 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654496137 1654496138 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 19568 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
2022-06-06 11:41:45.795750 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.795750 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.815765 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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
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
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
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
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)
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.815765 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
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
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
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
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)
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.815765 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
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
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
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
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)
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.815765 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-06-06 11:41:45.815765 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.815765 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1919884622 1919884622 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 10094 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.815765 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.815765 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.815765 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1857070206 1857070206 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 15512 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.835759 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
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]
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [completing][200]
2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1524562491 1524562491 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 10928 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-06-06 11:41:45.835759 95.50% [DEBUG] sofia.c:7499 Channel sofia/default/970374110000 entering state [ready][200]
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]
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654483567 1654483568 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 32138 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
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
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
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_core_media.c:9119 sofia/default/970374110000 Set rtp dtmf delay to 40
2022-06-06 11:41:45.835759 95.50% [NOTICE] sofia.c:8683 Channel [sofia/default/970374110000] has been answered
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_channel.c:3950 (sofia/default/970374110000) Callstate Change DOWN -> ACTIVE
2022-06-06 11:41:45.835759 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
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
2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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
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
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
2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654495931 1654495932 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 19774 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
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]
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]
2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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
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
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
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
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)
2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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
2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
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
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
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
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
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
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
2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/789654@127.0.1.1:5062:
v=0
o=FreeSWITCH 1654492271 1654492272 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 23434 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
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
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
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)
EXECUTE [depth=0] sofia/default/789654@127.0.1.1:5062 lua(astpp_percentage.lua)
2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.855757 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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]
2022-06-06 11:41:45.855757 95.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
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')
2022-06-06 11:41:45.855757 95.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
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
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
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
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
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)
2022-06-06 11:41:45.875757 95.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/970374110000) State EXCHANGE_MEDIA
2022-06-06 11:41:45.875757 95.50% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
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]
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]
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]
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]
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]
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)
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]
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)
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]
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
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]
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)
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
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)
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)
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
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)
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)
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
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)
EXECUTE [depth=0] sofia/default/970374110000 sched_hangup(+300 normal_clearing)
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
2022-06-06 11:41:46.235765 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.275793 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.295767 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.295767 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.295767 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.375754 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.375754 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.395757 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.415769 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-06-06 11:41:46.415769 94.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed