2024-12-09 16:57:18.882476 77.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+46761657767 [CS_DESTROY]
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+46761657767) Running State Change CS_DESTROY (Cur 113 Tot 132984)
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46761657767) State DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] mod_sofia.c:380 sofia/default/+46761657767 SOFIA DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/+46761657767 Standard DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46761657767) State DESTROY going to sleep
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_media.c:8641 Audio params are unchanged for sofia/default/+46731218752@46.246.2.119.
2024-12-09 16:57:18.882476 77.50% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/+46731218752@46.246.2.119:
v=0
o=FreeSWITCH 1733734380 1733734382 IN IP4 172.232.155.199
s=FreeSWITCH
c=IN IP4 172.232.155.199
t=0 0
m=audio 29058 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
2024-12-09 16:57:18.882476 77.50% [NOTICE] switch_ivr_bridge.c:730 Channel [sofia/default/+46731218752@46.246.2.119] has been answered
EXECUTE [depth=0] sofia/default/+46731218752@46.246.2.119 sched_hangup(+6000 normal_clearing)
2024-12-09 16:57:18.882476 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46731218752@46.246.2.119 entering state [completed][200]
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_scheduler.c:263 Added task 39604 switch_ivr_schedule_hangup (b454c23a-af3b-497b-80b8-da679f970982) to run at 1733769438
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_scheduler.c:147 Deleting task 39597 switch_ivr_schedule_hangup (03887398-b911-4ee6-a889-e5959d347552)
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_channel.c:3912 (sofia/default/+46731218752@46.246.2.119) Callstate Change EARLY -> ACTIVE
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/+46731218962@46.246.2.119 Standard REPORTING, cause: NORMAL_CLEARING
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46731218962@46.246.2.119) State REPORTING going to sleep
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+46731218962@46.246.2.119) State Change CS_REPORTING -> CS_DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_session.c:1744 Session 132968 (sofia/default/+46731218962@46.246.2.119) Locked, Waiting on external entities
2024-12-09 16:57:18.882476 77.50% [NOTICE] switch_core_session.c:1762 Session 132968 (sofia/default/+46731218962@46.246.2.119) Ended
2024-12-09 16:57:18.882476 77.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+46731218962@46.246.2.119 [CS_DESTROY]
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+46731218962@46.246.2.119) Running State Change CS_DESTROY (Cur 112 Tot 132984)
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46731218962@46.246.2.119) State DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] mod_sofia.c:380 sofia/default/+46731218962@46.246.2.119 SOFIA DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/+46731218962@46.246.2.119 Standard DESTROY
2024-12-09 16:57:18.882476 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46731218962@46.246.2.119) State DESTROY going to sleep
2024-12-09 16:57:18.902477 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46731218752@46.246.2.119 entering state [ready][200]
2024-12-09 16:57:18.922468 77.50% [NOTICE] sofia.c:1065 Hangup sofia/default/+46731218752@46.246.2.119 [CS_EXECUTE] [NORMAL_CLEARING]
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/+46731218752@46.246.2.119]
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_ivr_bridge.c:819 sofia/default/+46731218752@46.246.2.119 ending bridge by request from write function
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/+46763261585]
2024-12-09 16:57:18.922468 77.50% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/+46763261585 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+46763261585) State EXCHANGE_MEDIA going to sleep
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46763261585) Running State Change CS_HANGUP (Cur 112 Tot 132984)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+46763261585) Callstate Change ACTIVE -> HANGUP
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46763261585) State HANGUP
2024-12-09 16:57:18.922468 77.50% [DEBUG] mod_sofia.c:463 sofia/default/+46763261585 Overriding SIP cause 480 with 200 from the other leg
2024-12-09 16:57:18.922468 77.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/+46763261585 hanging up, cause: NORMAL_CLEARING
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/+46763261585 skip receive message [UNBRIDGE] (channel is hungup already)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/+46731218752@46.246.2.119 skip receive message [UNBRIDGE] (channel is hungup already)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_session.c:2979 sofia/default/+46731218752@46.246.2.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+46731218752@46.246.2.119) State EXECUTE going to sleep
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218752@46.246.2.119) Running State Change CS_HANGUP (Cur 112 Tot 132984)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+46731218752@46.246.2.119) Callstate Change ACTIVE -> HANGUP
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46731218752@46.246.2.119) State HANGUP
2024-12-09 16:57:18.922468 77.50% [DEBUG] mod_sofia.c:469 Channel sofia/default/+46731218752@46.246.2.119 hanging up, cause: NORMAL_CLEARING
2024-12-09 16:57:18.922468 77.50% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/+46763261585
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/+46763261585 Standard HANGUP, cause: NORMAL_CLEARING
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46763261585) State HANGUP going to sleep
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+46763261585) State Change CS_HANGUP -> CS_REPORTING
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46763261585) Running State Change CS_REPORTING (Cur 112 Tot 132984)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46763261585) State REPORTING
2024-12-09 16:57:18.922468 77.50% [INFO] mod_json_cdr.c:272 Process [fb84e79d-f934-44f8-b793-c7b14b14d1fe.cdr.json]
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/+46731218752@46.246.2.119 Standard HANGUP, cause: NORMAL_CLEARING
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46731218752@46.246.2.119) State HANGUP going to sleep
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+46731218752@46.246.2.119) State Change CS_HANGUP -> CS_REPORTING
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218752@46.246.2.119) Running State Change CS_REPORTING (Cur 112 Tot 132984)
2024-12-09 16:57:18.922468 77.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46731218752@46.246.2.119) State REPORTING
2024-12-09 16:57:18.922468 77.50% [INFO] mod_json_cdr.c:272 Process [b454c23a-af3b-497b-80b8-da679f970982.cdr.json]
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/+46763261585 Standard REPORTING, cause: NORMAL_CLEARING
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46763261585) State REPORTING going to sleep
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+46763261585) State Change CS_REPORTING -> CS_DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_session.c:1744 Session 132979 (sofia/default/+46763261585) Locked, Waiting on external entities
2024-12-09 16:57:18.942470 77.50% [NOTICE] switch_core_session.c:1762 Session 132979 (sofia/default/+46763261585) Ended
2024-12-09 16:57:18.942470 77.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+46763261585 [CS_DESTROY]
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+46763261585) Running State Change CS_DESTROY (Cur 111 Tot 132984)
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46763261585) State DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] mod_sofia.c:380 sofia/default/+46763261585 SOFIA DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/+46763261585 Standard DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46763261585) State DESTROY going to sleep
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/+46731218752@46.246.2.119 Standard REPORTING, cause: NORMAL_CLEARING
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46731218752@46.246.2.119) State REPORTING going to sleep
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+46731218752@46.246.2.119) State Change CS_REPORTING -> CS_DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_session.c:1744 Session 132967 (sofia/default/+46731218752@46.246.2.119) Locked, Waiting on external entities
2024-12-09 16:57:18.942470 77.50% [NOTICE] switch_core_session.c:1762 Session 132967 (sofia/default/+46731218752@46.246.2.119) Ended
2024-12-09 16:57:18.942470 77.50% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+46731218752@46.246.2.119 [CS_DESTROY]
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+46731218752@46.246.2.119) Running State Change CS_DESTROY (Cur 110 Tot 132984)
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46731218752@46.246.2.119) State DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] mod_sofia.c:380 sofia/default/+46731218752@46.246.2.119 SOFIA DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/+46731218752@46.246.2.119 Standard DESTROY
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46731218752@46.246.2.119) State DESTROY going to sleep
2024-12-09 16:57:18.942470 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46706522216 entering state [proceeding][180]
2024-12-09 16:57:18.942470 77.50% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/+46706522216!
2024-12-09 16:57:18.942470 77.50% [DEBUG] switch_channel.c:3513 (sofia/default/+46706522216) Callstate Change EARLY -> RINGING
2024-12-09 16:57:18.982467 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46720213122 entering state [proceeding][183]
2024-12-09 16:57:18.982467 77.50% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=Sonus_UAC 328047 307237 IN IP4 216.155.239.86
s=SIP Media Capabilities
c=IN IP4 216.155.239.84
t=0 0
m=audio 45166 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:20
2024-12-09 16:57:18.982467 77.50% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/+46720213122!
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_channel.c:3585 (sofia/default/+46720213122) Callstate Change DOWN -> EARLY
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/+46720213122 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_codec.c:111 sofia/default/+46720213122 Original read codec set to PCMA:8
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:5856 sofia/default/+46720213122 Set 2833 dtmf send payload to 101 recv payload to 101
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46720213122] 172.232.155.199 port 26380 -> 216.155.239.84 port 45166 codec: 8 ms: 20
2024-12-09 16:57:18.982467 77.50% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:8972 sofia/default/+46720213122 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:8979 sofia/default/+46720213122 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:9002 sofia/default/+46720213122 Set rtp dtmf delay to 40
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-12-09 16:57:19.002472 77.50% [INFO] switch_ivr_originate.c:3858 Sending early media
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46731218962@46.246.2.119] 172.232.155.199 port 31578 -> 46.246.2.119 port 43456 codec: 8 ms: 20
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:8972 sofia/default/+46731218962@46.246.2.119 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:8979 sofia/default/+46731218962@46.246.2.119 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_core_media.c:9002 sofia/default/+46731218962@46.246.2.119 Set rtp dtmf delay to 40
2024-12-09 16:57:19.002472 77.50% [DEBUG] mod_sofia.c:2607 Ring SDP:
v=0
o=FreeSWITCH 1733731861 1733731862 IN IP4 172.232.155.199
s=FreeSWITCH
c=IN IP4 172.232.155.199
t=0 0
m=audio 31578 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
2024-12-09 16:57:19.002472 77.50% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/+46731218962@46.246.2.119!
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_channel.c:3585 (sofia/default/+46731218962@46.246.2.119) Callstate Change RINGING -> EARLY
2024-12-09 16:57:19.002472 77.50% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/+46720213122] Peer UUID: 06fc4a26-6e1e-4baf-afdf-3346b225d448
2024-12-09 16:57:19.002472 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46731218962@46.246.2.119 entering state [early][183]
2024-12-09 16:57:19.022472 77.50% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/+46720213122) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-12-09 16:57:19.022472 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46720213122) Running State Change CS_EXCHANGE_MEDIA (Cur 110 Tot 132984)
2024-12-09 16:57:19.022472 77.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+46720213122) State EXCHANGE_MEDIA
2024-12-09 16:57:19.022472 77.50% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
2024-12-09 16:57:19.082471 77.50% [NOTICE] switch_channel.c:1142 New Channel sofia/default/+46708516331@62.80.216.236 [b574cdfe-a02f-4ecd-85ae-109fea2ef679]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46708516331@62.80.216.236) Running State Change CS_NEW (Cur 111 Tot 132985)
2024-12-09 16:57:19.082471 77.50% [INFO] sofia.c:10459 sofia/default/+46708516331@62.80.216.236 receiving invite from 62.80.216.236:5060 version: 1.10.10-release 64bit call-id: 0eBrFp_SZU8-sPXuhPeNsw..
2024-12-09 16:57:19.082471 77.50% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 62.80.216.236:0.
2024-12-09 16:57:19.082471 77.50% [DEBUG] sofia.c:10582 IP 62.80.216.236 Approved by acl "default[]". Access Granted.
2024-12-09 16:57:19.082471 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46708516331@62.80.216.236 entering state [received][100]
2024-12-09 16:57:19.082471 77.50% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=- 1733763439 1733763439 IN IP4 62.80.216.236
s=SS VOIP
c=IN IP4 62.80.216.236
t=0 0
m=audio 44128 RTP/AVP 126 116 107 9 118 96 8 0 111 110
b=AS:141
b=RS:0
b=RR:2500
a=rtpmap:126 EVS/16000
a=fmtp:126 br=9.6-24.4; bw=nb-swb; ch-aw-recv=-1
a=rtpmap:116 AMR-WB/16000/1
a=fmtp:116 mode-change-capability=2; max-red=220
a=rtpmap:107 AMR-WB/16000/1
a=fmtp:107 octet-align=1; mode-change-capability=2; max-red=220
a=rtpmap:9 G722/8000
a=rtpmap:118 AMR/8000/1
a=fmtp:118 mode-change-capability=2; max-red=220
a=rtpmap:96 AMR/8000/1
a=fmtp:96 octet-align=1; mode-change-capability=2; max-red=220
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:111 telephone-event/16000
a=fmtp:111 0-15
a=rtpmap:110 telephone-event/8000
a=fmtp:110 0-15
a=ptime:20
a=maxptime:40
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [EVS:126:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [EVS:126:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR-WB:116:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR-WB:116:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR-WB:107:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR-WB:107:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:118:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:118:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:96:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AMR:96:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 111@16000
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/+46708516331@62.80.216.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_codec.c:111 sofia/default/+46708516331@62.80.216.236 Original read codec set to PCMA:8
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 110@8000
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_media.c:5856 sofia/default/+46708516331@62.80.216.236 Set 2833 dtmf send payload to 110 recv payload to 110
2024-12-09 16:57:19.082471 77.50% [DEBUG] sofia.c:7927 (sofia/default/+46708516331@62.80.216.236) State Change CS_NEW -> CS_INIT
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+46708516331@62.80.216.236) State NEW
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46708516331@62.80.216.236) Running State Change CS_INIT (Cur 111 Tot 132985)
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+46708516331@62.80.216.236) State INIT
2024-12-09 16:57:19.082471 77.50% [DEBUG] mod_sofia.c:97 sofia/default/+46708516331@62.80.216.236 SOFIA INIT
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/+46708516331@62.80.216.236 Standard INIT
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+46708516331@62.80.216.236) State Change CS_INIT -> CS_ROUTING
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+46708516331@62.80.216.236) State INIT going to sleep
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46708516331@62.80.216.236) Running State Change CS_ROUTING (Cur 111 Tot 132985)
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_channel.c:2399 (sofia/default/+46708516331@62.80.216.236) Callstate Change DOWN -> RINGING
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+46708516331@62.80.216.236) State ROUTING
2024-12-09 16:57:19.082471 77.50% [DEBUG] mod_sofia.c:158 sofia/default/+46708516331@62.80.216.236 SOFIA ROUTING
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/+46708516331@62.80.216.236 Standard ROUTING
2024-12-09 16:57:19.082471 77.50% [INFO] mod_dialplan_xml.c:639 Processing 0708516331 <+46708516331>->+46455655400 in context default
2024-12-09 16:57:19.082471 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-12-09 16:57:19.082471 77.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','vanity_number')
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.082471 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : +46455655400
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+46455655400' AND status=0 limit 1
2024-12-09 16:57:19.082471 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER+46708516331
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '+46455655400' limit 1
2024-12-09 16:57:19.082471 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 0708516331 / +46708516331
2024-12-09 16:57:19.082471 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....+46455655400
2024-12-09 16:57:19.082471 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46455655400
2024-12-09 16:57:19.082471 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46455655400
2024-12-09 16:57:19.082471 77.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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 46455655400 ORDER BY LENGTH(A.number) DESC LIMIT 1
2024-12-09 16:57:19.082471 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.082471 77.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="+46455655400" limit 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-12-09 16:57:19.102468 77.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("62.80.216.236") 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 "+46455655400" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5504929424]
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "5504929424" OR id = "5504929424") AND deleted = 0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^+46455655400.*' OR blocked_patterns = '^+4645565540.*' OR blocked_patterns = '^+464556554.*' OR blocked_patterns = '^+46455655.*' OR blocked_patterns = '^+4645565.*' OR blocked_patterns = '^+464556.*' OR blocked_patterns = '^+46455.*' OR blocked_patterns = '^+4645.*' OR blocked_patterns = '^+464.*' OR blocked_patterns = '^+46.*' OR blocked_patterns = '^+4.*' OR blocked_patterns = '^+.*' OR blocked_patterns ='--') AND accountid = 6 limit 1
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....+46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46455655400
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number = 46455655400 AND (accountid = 0 OR status = 1) LIMIT 1
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 2
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....+46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46455655400
2024-12-09 16:57:19.102468 77.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 = '^46455655400.*' OR patterns = '^4645565540.*' OR patterns = '^464556554.*' OR patterns = '^46455655.*' OR patterns = '^4645565.*' OR patterns = '^464556.*' OR patterns = '^46455.*' OR patterns = '^4645.*' OR patterns = '^464.*' OR patterns = '^46.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-12-09 16:57:19.102468 77.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 ="46455655400" AND A.accountid = '6' limit 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....46455655400
2024-12-09 16:57:19.102468 77.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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 46455655400 ORDER BY LENGTH(A.number) DESC LIMIT 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.102468 77.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="46455655400" limit 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-12-09 16:57:19.102468 77.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 = '46455655400' OR number = '4645565540' OR number = '464556554' OR number = '46455655' OR number = '4645565' OR number = '464556' OR number = '46455' OR number = '4645' OR number = '464' OR number = '46' OR number = '4' OR number ='--') OR (number = '46455655400*' OR number = '4645565540*' OR number = '464556554*' OR number = '46455655*' OR number = '4645565*' OR number = '464556*' OR number = '46455*' OR number = '4645*' OR number = '464*' OR number = '46*' OR number = '4*' OR number ='--') OR (number = '+46708516331' OR number = '+4670851633' OR number = '+467085163' OR number = '+46708516' OR number = '+4670851' OR number = '+467085' OR number = '+46708' OR number = '+4670' OR number = '+467' OR number = '+46' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+46708516331*' OR number = '+4670851633*' OR number = '+467085163*' OR number = '+46708516*' OR number = '+4670851*' OR number = '+467085*' OR number = '+46708*' OR number = '+4670*' OR number = '+467*' OR number = '+46*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '46455655400' OR routing_prefix = '4645565540' OR routing_prefix = '464556554' OR routing_prefix = '46455655' OR routing_prefix = '4645565' OR routing_prefix = '464556' OR routing_prefix = '46455' OR routing_prefix = '4645' OR routing_prefix = '464' OR routing_prefix = '46' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5504929424
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000.039
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/0/*/*".....0708516331
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/0/*/*".....+46708516331
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46708516331
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0708516331
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/0/*/*".....0708516331
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/0/*/*".....+46708516331
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46708516331
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 0708516331
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^46455655400.*' OR pattern = '^4645565540.*' OR pattern = '^464556554.*' OR pattern = '^46455655.*' OR pattern = '^4645565.*' OR pattern = '^464556.*' OR pattern = '^46455.*' OR pattern = '^4645.*' OR pattern = '^464.*' OR pattern = '^46.*' OR pattern = '^4.*' OR pattern ='--') AND (caller_id_pattern = '^0708516331.*' OR caller_id_pattern = '^070851633.*' OR caller_id_pattern = '^07085163.*' OR caller_id_pattern = '^0708516.*' OR caller_id_pattern = '^070851.*' OR caller_id_pattern = '^07085.*' OR caller_id_pattern = '^0708.*' OR caller_id_pattern = '^070.*' OR caller_id_pattern = '^07.*' OR caller_id_pattern = '^0.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=6) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0000000000
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Sverige
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 184
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 4
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 0
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000.039 balance Accountid 6 !!!
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 12
2024-12-09 16:57:19.102468 77.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] rate_carrier_id: 4
2024-12-09 16:57:19.102468 77.50% [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate country_id: 184
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2024-12-09 16:57:19.102468 77.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.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^46455655400.*' OR pattern = '^4645565540.*' OR pattern = '^464556554.*' OR pattern = '^46455655.*' OR pattern = '^4645565.*' OR pattern = '^464556.*' OR pattern = '^46455.*' OR pattern = '^4645.*' OR pattern = '^464.*' OR pattern = '^46.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^46.*
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Sverige
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^46.*
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 4
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : minitel_inc
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 7
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-12-09 16:57:19.102468 77.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 = 6 AND status=0 LIMIT 1
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '+46708516331' and status = 0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.102468 77.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
2024-12-09 16:57:19.102468 77.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 = 7) AND status=0 limit 1
2024-12-09 16:57:19.102468 77.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 = 4) AND status=0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.102468 77.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="+46708516331" limit 1
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.102468 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....+46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46455655400
2024-12-09 16:57:19.102468 77.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46455655400
2024-12-09 16:57:19.102468 77.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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 46455655400 ORDER BY LENGTH(A.number) DESC LIMIT 1
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.122467 77.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="46455655400">
<condition field="destination_number" expression="46455655400">
<action application="set" data="effective_destination_number=46455655400"/>
<action application="set" data="execute_on_answer_1=sched_hangup +6000 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=3"/>
<action application="set" data="callstart=2024-12-09 16:57:19"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=6"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=GOTA1"/>
<action application="set" data="origination_rates=ID:12|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:184|ACCID:6"/>
<action application="set" data="original_caller_id_name=0708516331"/>
<action application="set" data="original_caller_id_number=0708516331"/>
<action application="set" data="effective_caller_id_name=0708516331"/>
<action application="set" data="effective_caller_id_number=0708516331"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:4|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:7"/>
<action application="set" data="trunk_id=4"/>
<action application="set" data="provider_id=7"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="daily_call_credit_limit=0.00000"/>
<action application="set" data="monthly_call_credit_limit=0.00000"/>
<action application="set" data="daily_call_used_limit=0.00000"/>
<action application="set" data="monthly_call_used_limit=0.00000"/>
<action application="set" data="quality_trunk_seq=4"/>
<action application="set" data="force_trunk_flag=12"/>
<action application="export" data="presence_data=trunk_id=4"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=46455655400"/>
<action application="export" data="presence_data=x|||GOTANET(5504929424)|||^46.* // Sverige // 0.0000000000|||miniel_incoming // ^46.* // Sverige // 0.0000000000 // trunk_id=4|||STD|||62.80.216.236"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/minitel_inc/46455655400"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/+46708516331@62.80.216.236 parsing [default->46455655400] continue=false
Dialplan: sofia/default/+46708516331@62.80.216.236 Regex (PASS) [46455655400] destination_number(+46455655400) =~ /46455655400/ break=on-false
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(effective_destination_number=46455655400)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(notify_flag=0)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(type=3)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(callstart=2024-12-09 16:57:19)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(account_id=6)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(parent_id=0)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(entity_id=3)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(call_processed=internal)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(call_direction=outbound)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(accountname=GOTA1)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(origination_rates=ID:12|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:184|ACCID:6)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(original_caller_id_name=0708516331)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(original_caller_id_number=0708516331)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(effective_caller_id_name=0708516331)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(effective_caller_id_number=0708516331)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(calltype=STANDARD)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(termination_rates=ID:4|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:7)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(trunk_id=4)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(provider_id=7)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(rate_flag=0)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(daily_call_credit_limit=0.00000)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(monthly_call_credit_limit=0.00000)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(daily_call_used_limit=0.00000)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(monthly_call_used_limit=0.00000)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(quality_trunk_seq=4)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(force_trunk_flag=12)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action export(presence_data=trunk_id=4)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action set(intcall=0)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action export(presence_id=46455655400)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action export(presence_data=x|||GOTANET(5504929424)|||^46.* // Sverige // 0.0000000000|||miniel_incoming // ^46.* // Sverige // 0.0000000000 // trunk_id=4|||STD|||62.80.216.236)
Dialplan: sofia/default/+46708516331@62.80.216.236 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/minitel_inc/46455655400)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/+46708516331@62.80.216.236) State Change CS_ROUTING -> CS_EXECUTE
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+46708516331@62.80.216.236) State ROUTING going to sleep
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46708516331@62.80.216.236) Running State Change CS_EXECUTE (Cur 111 Tot 132985)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+46708516331@62.80.216.236) State EXECUTE
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_sofia.c:213 sofia/default/+46708516331@62.80.216.236 SOFIA EXECUTE
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/+46708516331@62.80.216.236 Standard EXECUTE
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(effective_destination_number=46455655400)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [effective_destination_number]=[46455655400]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(execute_on_answer_1=sched_hangup +6000 normal_clearing)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [execute_on_answer_1]=[sched_hangup +6000 normal_clearing]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(notify_flag=0)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(notify_credit_limit=5.00000)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(type=3)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [type]=[3]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(callstart=2024-12-09 16:57:19)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [callstart]=[2024-12-09 16:57:19]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(hangup_after_bridge=true)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(continue_on_fail=TRUE)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(account_id=6)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [account_id]=[6]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(parent_id=0)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(entity_id=3)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(call_processed=internal)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(call_direction=outbound)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(accountname=GOTA1)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [accountname]=[GOTA1]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(origination_rates=ID:12|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:184|ACCID:6)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [origination_rates]=[ID:12|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.0000000000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:184|ACCID:6]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(original_caller_id_name=0708516331)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [original_caller_id_name]=[0708516331]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(original_caller_id_number=0708516331)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [original_caller_id_number]=[0708516331]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(effective_caller_id_name=0708516331)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [effective_caller_id_name]=[0708516331]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(effective_caller_id_number=0708516331)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [effective_caller_id_number]=[0708516331]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(calltype=STANDARD)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(termination_rates=ID:4|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:7)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [termination_rates]=[ID:4|CODE:^46.*|DESTINATION:Sverige|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0000000000|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:7]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(trunk_id=4)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [trunk_id]=[4]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(provider_id=7)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [provider_id]=[7]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(rate_flag=0)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(daily_call_credit_limit=0.00000)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [daily_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(monthly_call_credit_limit=0.00000)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [monthly_call_credit_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(daily_call_used_limit=0.00000)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [daily_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(monthly_call_used_limit=0.00000)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [monthly_call_used_limit]=[0.00000]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(quality_trunk_seq=4)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [quality_trunk_seq]=[4]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(force_trunk_flag=12)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [force_trunk_flag]=[12]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 export(presence_data=trunk_id=4)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=4]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 set(intcall=0)
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_dptools.c:1671 SET sofia/default/+46708516331@62.80.216.236 [intcall]=[0]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 export(presence_id=46455655400)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[46455655400]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 export(presence_data=x|||GOTANET(5504929424)|||^46.* // Sverige // 0.0000000000|||miniel_incoming // ^46.* // Sverige // 0.0000000000 // trunk_id=4|||STD|||62.80.216.236)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||GOTANET(5504929424)|||^46.* // Sverige // 0.0000000000|||miniel_incoming // ^46.* // Sverige // 0.0000000000 // trunk_id=4|||STD|||62.80.216.236]
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/minitel_inc/46455655400)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:1288 sofia/default/+46708516331@62.80.216.236 EXPORTING[export_vars] [presence_data]=[x|||GOTANET(5504929424)|||^46.* // Sverige // 0.0000000000|||miniel_incoming // ^46.* // Sverige // 0.0000000000 // trunk_id=4|||STD|||62.80.216.236] to event
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:1288 sofia/default/+46708516331@62.80.216.236 EXPORTING[export_vars] [presence_id]=[46455655400] to event
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:1288 sofia/default/+46708516331@62.80.216.236 EXPORTING[export_vars] [presence_data]=[x|||GOTANET(5504929424)|||^46.* // Sverige // 0.0000000000|||miniel_incoming // ^46.* // Sverige // 0.0000000000 // trunk_id=4|||STD|||62.80.216.236] to event
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
2024-12-09 16:57:19.122467 77.50% [NOTICE] switch_channel.c:1142 New Channel sofia/default/46455655400 [d736116a-3fe4-4a56-b1e5-2329946ab64d]
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_sofia.c:5110 (sofia/default/46455655400) State Change CS_NEW -> CS_INIT
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/46455655400) Running State Change CS_INIT (Cur 112 Tot 132986)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/46455655400) State INIT
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_sofia.c:97 sofia/default/46455655400 SOFIA INIT
2024-12-09 16:57:19.122467 77.50% [INFO] sofia_glue.c:1659 sofia/default/46455655400 sending invite call-id: (null)
2024-12-09 16:57:19.122467 77.50% [DEBUG] sofia_glue.c:1662 sofia/default/46455655400 sending invite version: 1.10.10-release 64bit
Local SDP:
v=0
o=FreeSWITCH 1733736891 1733736892 IN IP4 172.232.155.199
s=FreeSWITCH
c=IN IP4 172.232.155.199
t=0 0
m=audio 26548 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
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/46455655400 Standard INIT
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/46455655400) State Change CS_INIT -> CS_ROUTING
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/46455655400) State INIT going to sleep
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/46455655400) Running State Change CS_ROUTING (Cur 112 Tot 132986)
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/46455655400) State ROUTING
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_sofia.c:158 sofia/default/46455655400 SOFIA ROUTING
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/46455655400) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/46455655400) State ROUTING going to sleep
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/46455655400) Running State Change CS_CONSUME_MEDIA (Cur 112 Tot 132986)
2024-12-09 16:57:19.122467 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/46455655400 entering state [calling][0]
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/46455655400) State CONSUME_MEDIA
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/46455655400) State CONSUME_MEDIA going to sleep
2024-12-09 16:57:19.122467 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46732022671 entering state [proceeding][183]
2024-12-09 16:57:19.122467 77.50% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=Sonus_UAC 396415 492525 IN IP4 216.155.239.86
s=SIP Media Capabilities
c=IN IP4 216.155.239.84
t=0 0
m=audio 18358 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:20
2024-12-09 16:57:19.122467 77.50% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/+46732022671!
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_channel.c:3585 (sofia/default/+46732022671) Callstate Change DOWN -> EARLY
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/+46732022671 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_codec.c:111 sofia/default/+46732022671 Original read codec set to PCMA:8
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:5856 sofia/default/+46732022671 Set 2833 dtmf send payload to 101 recv payload to 101
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46732022671] 172.232.155.199 port 19676 -> 216.155.239.84 port 18358 codec: 8 ms: 20
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.122467 77.50% [INFO] switch_ivr_originate.c:3858 Sending early media
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46731218752@46.246.2.119] 172.232.155.199 port 26578 -> 46.246.2.119 port 14708 codec: 8 ms: 20
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:8972 sofia/default/+46732022671 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:8979 sofia/default/+46732022671 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:9002 sofia/default/+46732022671 Set rtp dtmf delay to 40
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:8972 sofia/default/+46731218752@46.246.2.119 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:8979 sofia/default/+46731218752@46.246.2.119 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.122467 77.50% [DEBUG] switch_core_media.c:9002 sofia/default/+46731218752@46.246.2.119 Set rtp dtmf delay to 40
2024-12-09 16:57:19.122467 77.50% [DEBUG] mod_sofia.c:2607 Ring SDP:
v=0
o=FreeSWITCH 1733736861 1733736862 IN IP4 172.232.155.199
s=FreeSWITCH
c=IN IP4 172.232.155.199
t=0 0
m=audio 26578 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
2024-12-09 16:57:19.122467 77.50% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/+46731218752@46.246.2.119!
2024-12-09 16:57:19.142492 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46720213122 entering state [proceeding][180]
2024-12-09 16:57:19.142492 77.50% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/+46720213122!
2024-12-09 16:57:19.142492 77.50% [DEBUG] switch_channel.c:3585 (sofia/default/+46731218752@46.246.2.119) Callstate Change RINGING -> EARLY
2024-12-09 16:57:19.142492 77.50% [DEBUG] switch_channel.c:3513 (sofia/default/+46720213122) Callstate Change EARLY -> RINGING
2024-12-09 16:57:19.142492 77.50% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/+46732022671] Peer UUID: 1206b55f-184a-46d7-95c1-29b64b707a55
2024-12-09 16:57:19.142492 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46731218752@46.246.2.119 entering state [early][183]
2024-12-09 16:57:19.142492 77.50% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/+46732022671) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-12-09 16:57:19.142492 77.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46732022671) Running State Change CS_EXCHANGE_MEDIA (Cur 112 Tot 132986)
2024-12-09 16:57:19.142492 77.50% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+46732022671) State EXCHANGE_MEDIA
2024-12-09 16:57:19.142492 77.50% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
2024-12-09 16:57:19.162475 77.50% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-12-09 16:57:19.242469 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/46455655400 entering state [proceeding][180]
2024-12-09 16:57:19.242469 77.50% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/46455655400!
2024-12-09 16:57:19.242469 77.50% [DEBUG] switch_channel.c:3513 (sofia/default/46455655400) Callstate Change DOWN -> RINGING
2024-12-09 16:57:19.242469 77.50% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/+46708516331@62.80.216.236!
2024-12-09 16:57:19.242469 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46708516331@62.80.216.236 entering state [early][180]
2024-12-09 16:57:19.242469 77.50% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/+46708516331@62.80.216.236!
2024-12-09 16:57:19.262472 77.50% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-12-09 16:57:19.382485 77.50% [DEBUG] switch_scheduler.c:147 Deleting task 39603 switch_ivr_schedule_hangup (2445273d-100a-4c53-8069-712ac9b8b560)
2024-12-09 16:57:19.382485 77.50% [DEBUG] switch_scheduler.c:147 Deleting task 39604 switch_ivr_schedule_hangup (b454c23a-af3b-497b-80b8-da679f970982)
2024-12-09 16:57:19.542471 77.50% [DEBUG] sofia.c:7493 Channel sofia/default/+46732022671 entering state [proceeding][180]
2024-12-09 16:57:19.542471 77.50% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/+46732022671!
2024-12-09 16:57:19.542471 77.50% [DEBUG] switch_channel.c:3513 (sofia/default/+46732022671) Callstate Change EARLY -> RINGING
2024-12-09 16:57:19.722471 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/46455655400 entering state [completing][200]
2024-12-09 16:57:19.722471 77.40% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=root 13544361 13544361 IN IP4 46.246.2.119
s=Asterisk PBX 16.29.0
c=IN IP4 46.246.2.119
t=0 0
m=audio 49156 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2024-12-09 16:57:19.722471 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/46455655400 entering state [ready][200]
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/46455655400 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_codec.c:111 sofia/default/46455655400 Original read codec set to PCMA:8
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:5856 sofia/default/46455655400 Set 2833 dtmf send payload to 101 recv payload to 101
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/46455655400] 172.232.155.199 port 26548 -> 46.246.2.119 port 49156 codec: 8 ms: 20
2024-12-09 16:57:19.722471 77.40% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:8972 sofia/default/46455655400 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:8979 sofia/default/46455655400 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:9002 sofia/default/46455655400 Set rtp dtmf delay to 40
2024-12-09 16:57:19.742488 77.40% [NOTICE] sofia.c:8680 Channel [sofia/default/46455655400] has been answered
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_channel.c:3912 (sofia/default/46455655400) Callstate Change RINGING -> ACTIVE
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46708516331@62.80.216.236] 172.232.155.199 port 27682 -> 62.80.216.236 port 44128 codec: 8 ms: 20
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:8972 sofia/default/+46708516331@62.80.216.236 Set 2833 dtmf send payload to 110
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:8979 sofia/default/+46708516331@62.80.216.236 Set 2833 dtmf receive payload to 110
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_core_media.c:9002 sofia/default/+46708516331@62.80.216.236 Set rtp dtmf delay to 40
2024-12-09 16:57:19.742488 77.40% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/+46708516331@62.80.216.236:
v=0
o=FreeSWITCH 1733735757 1733735758 IN IP4 172.232.155.199
s=FreeSWITCH
c=IN IP4 172.232.155.199
t=0 0
m=audio 27682 RTP/AVP 8 110
a=rtpmap:8 PCMA/8000
a=rtpmap:110 telephone-event/8000
a=fmtp:110 0-15
a=ptime:20
a=sendrecv
2024-12-09 16:57:19.742488 77.40% [NOTICE] switch_ivr_originate.c:3851 Channel [sofia/default/+46708516331@62.80.216.236] has been answered
EXECUTE [depth=0] sofia/default/+46708516331@62.80.216.236 sched_hangup(+6000 normal_clearing)
2024-12-09 16:57:19.742488 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/+46708516331@62.80.216.236 entering state [completed][200]
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_scheduler.c:263 Added task 39605 switch_ivr_schedule_hangup (b574cdfe-a02f-4ecd-85ae-109fea2ef679) to run at 1733769439
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_channel.c:3912 (sofia/default/+46708516331@62.80.216.236) Callstate Change RINGING -> ACTIVE
2024-12-09 16:57:19.742488 77.40% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/46455655400] Peer UUID: d736116a-3fe4-4a56-b1e5-2329946ab64d
2024-12-09 16:57:19.762473 77.40% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/46455655400) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-12-09 16:57:19.762473 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/46455655400) Running State Change CS_EXCHANGE_MEDIA (Cur 112 Tot 132986)
2024-12-09 16:57:19.762473 77.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/46455655400) State EXCHANGE_MEDIA
2024-12-09 16:57:19.762473 77.40% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
2024-12-09 16:57:19.762473 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/+46708516331@62.80.216.236 entering state [ready][200]
2024-12-09 16:57:19.782474 77.40% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
2024-12-09 16:57:19.802530 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/+46707941008 entering state [proceeding][183]
2024-12-09 16:57:19.802530 77.40% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=Sonus_UAC 221918 153554 IN IP4 216.155.239.86
s=SIP Media Capabilities
c=IN IP4 216.155.239.84
t=0 0
m=audio 29354 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:20
2024-12-09 16:57:19.802530 77.40% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/+46707941008!
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_channel.c:3585 (sofia/default/+46707941008) Callstate Change DOWN -> EARLY
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/+46707941008 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_codec.c:111 sofia/default/+46707941008 Original read codec set to PCMA:8
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:5856 sofia/default/+46707941008 Set 2833 dtmf send payload to 101 recv payload to 101
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46707941008] 172.232.155.199 port 22438 -> 216.155.239.84 port 29354 codec: 8 ms: 20
2024-12-09 16:57:19.802530 77.40% [INFO] switch_ivr_originate.c:3858 Sending early media
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/+46791400891@46.246.2.119] 172.232.155.199 port 28646 -> 46.246.2.119 port 31042 codec: 8 ms: 20
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:8972 sofia/default/+46707941008 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:8979 sofia/default/+46707941008 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:9002 sofia/default/+46707941008 Set rtp dtmf delay to 40
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:8972 sofia/default/+46791400891@46.246.2.119 Set 2833 dtmf send payload to 101
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:8979 sofia/default/+46791400891@46.246.2.119 Set 2833 dtmf receive payload to 101
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_media.c:9002 sofia/default/+46791400891@46.246.2.119 Set rtp dtmf delay to 40
2024-12-09 16:57:19.802530 77.40% [DEBUG] mod_sofia.c:2607 Ring SDP:
v=0
o=FreeSWITCH 1733734793 1733734794 IN IP4 172.232.155.199
s=FreeSWITCH
c=IN IP4 172.232.155.199
t=0 0
m=audio 28646 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
2024-12-09 16:57:19.802530 77.40% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/+46791400891@46.246.2.119!
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_channel.c:3585 (sofia/default/+46791400891@46.246.2.119) Callstate Change RINGING -> EARLY
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/+46707941008] Peer UUID: e32924bc-cb7d-411d-9c04-e0e6c7e5a556
2024-12-09 16:57:19.802530 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/+46791400891@46.246.2.119 entering state [early][183]
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/+46707941008) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46707941008) Running State Change CS_EXCHANGE_MEDIA (Cur 112 Tot 132986)
2024-12-09 16:57:19.802530 77.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+46707941008) State EXCHANGE_MEDIA
2024-12-09 16:57:19.802530 77.40% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA
2024-12-09 16:57:19.882471 77.40% [NOTICE] sofia.c:1065 Hangup sofia/default/+46704868157 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/+46704868157]
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:650 (sofia/default/+46704868157) State EXCHANGE_MEDIA going to sleep
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46704868157) Running State Change CS_HANGUP (Cur 112 Tot 132986)
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_ivr_bridge.c:819 sofia/default/+46704868157 ending bridge by request from write function
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+46704868157) Callstate Change ACTIVE -> HANGUP
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46704868157) State HANGUP
2024-12-09 16:57:19.882471 77.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/+46704868157 hanging up, cause: NORMAL_CLEARING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/+46731218760@46.246.2.119]
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/+46704868157 skip receive message [UNBRIDGE] (channel is hungup already)
2024-12-09 16:57:19.882471 77.40% [NOTICE] switch_ivr_bridge.c:1942 Hangup sofia/default/+46731218760@46.246.2.119 [CS_EXECUTE] [NORMAL_CLEARING]
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/+46704868157 Standard HANGUP, cause: NORMAL_CLEARING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_session.c:2979 sofia/default/+46731218760@46.246.2.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46704868157) State HANGUP going to sleep
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:647 (sofia/default/+46731218760@46.246.2.119) State EXECUTE going to sleep
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218760@46.246.2.119) Running State Change CS_HANGUP (Cur 112 Tot 132986)
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+46704868157) State Change CS_HANGUP -> CS_REPORTING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46704868157) Running State Change CS_REPORTING (Cur 112 Tot 132986)
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:844 (sofia/default/+46731218760@46.246.2.119) Callstate Change ACTIVE -> HANGUP
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46704868157) State REPORTING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46731218760@46.246.2.119) State HANGUP
2024-12-09 16:57:19.882471 77.40% [DEBUG] mod_sofia.c:463 sofia/default/+46731218760@46.246.2.119 Overriding SIP cause 480 with 200 from the other leg
2024-12-09 16:57:19.882471 77.40% [DEBUG] mod_sofia.c:469 Channel sofia/default/+46731218760@46.246.2.119 hanging up, cause: NORMAL_CLEARING
2024-12-09 16:57:19.882471 77.40% [INFO] mod_json_cdr.c:272 Process [1ab9aed3-b2b8-47ef-ae50-49a2b2862b33.cdr.json]
2024-12-09 16:57:19.882471 77.40% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/+46731218760@46.246.2.119
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:59 sofia/default/+46731218760@46.246.2.119 Standard HANGUP, cause: NORMAL_CLEARING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:846 (sofia/default/+46731218760@46.246.2.119) State HANGUP going to sleep
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:616 (sofia/default/+46731218760@46.246.2.119) State Change CS_HANGUP -> CS_REPORTING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218760@46.246.2.119) Running State Change CS_REPORTING (Cur 112 Tot 132986)
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46731218760@46.246.2.119) State REPORTING
2024-12-09 16:57:19.882471 77.40% [INFO] mod_json_cdr.c:272 Process [78659a90-e5a9-4950-bfd5-7d45716be55f.cdr.json]
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/+46704868157 Standard REPORTING, cause: NORMAL_CLEARING
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46704868157) State REPORTING going to sleep
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+46704868157) State Change CS_REPORTING -> CS_DESTROY
2024-12-09 16:57:19.882471 77.40% [DEBUG] switch_core_session.c:1744 Session 132851 (sofia/default/+46704868157) Locked, Waiting on external entities
2024-12-09 16:57:19.882471 77.40% [NOTICE] switch_core_session.c:1762 Session 132851 (sofia/default/+46704868157) Ended
2024-12-09 16:57:19.882471 77.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+46704868157 [CS_DESTROY]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+46704868157) Running State Change CS_DESTROY (Cur 111 Tot 132986)
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46704868157) State DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] mod_sofia.c:380 sofia/default/+46704868157 SOFIA DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/+46704868157 Standard DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46704868157) State DESTROY going to sleep
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:168 sofia/default/+46731218760@46.246.2.119 Standard REPORTING, cause: NORMAL_CLEARING
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:932 (sofia/default/+46731218760@46.246.2.119) State REPORTING going to sleep
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:607 (sofia/default/+46731218760@46.246.2.119) State Change CS_REPORTING -> CS_DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_session.c:1744 Session 132850 (sofia/default/+46731218760@46.246.2.119) Locked, Waiting on external entities
2024-12-09 16:57:19.902473 77.40% [NOTICE] switch_core_session.c:1762 Session 132850 (sofia/default/+46731218760@46.246.2.119) Ended
2024-12-09 16:57:19.902473 77.40% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/+46731218760@46.246.2.119 [CS_DESTROY]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:735 (sofia/default/+46731218760@46.246.2.119) Running State Change CS_DESTROY (Cur 110 Tot 132986)
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46731218760@46.246.2.119) State DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] mod_sofia.c:380 sofia/default/+46731218760@46.246.2.119 SOFIA DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:175 sofia/default/+46731218760@46.246.2.119 Standard DESTROY
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:745 (sofia/default/+46731218760@46.246.2.119) State DESTROY going to sleep
2024-12-09 16:57:19.902473 77.40% [NOTICE] switch_channel.c:1142 New Channel sofia/default/+46731218970@46.246.2.119 [4c535137-ffb2-4c80-b2b5-d5c4f6feb02a]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218970@46.246.2.119) Running State Change CS_NEW (Cur 111 Tot 132987)
2024-12-09 16:57:19.902473 77.40% [INFO] sofia.c:10459 sofia/default/+46731218970@46.246.2.119 receiving invite from 46.246.2.119:5060 version: 1.10.10-release 64bit call-id: 0019c56b76fe14ed41fb76bd28bd17c9@46.246.2.119:5060
2024-12-09 16:57:19.902473 77.40% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 46.246.2.119:0.
2024-12-09 16:57:19.902473 77.40% [DEBUG] sofia.c:10582 IP 46.246.2.119 Approved by acl "default[]". Access Granted.
2024-12-09 16:57:19.902473 77.40% [DEBUG] sofia.c:7493 Channel sofia/default/+46731218970@46.246.2.119 entering state [received][100]
2024-12-09 16:57:19.902473 77.40% [DEBUG] sofia.c:7503 Remote SDP:
v=0
o=root 2127272953 2127272953 IN IP4 46.246.2.119
s=Asterisk PBX 16.29.0
c=IN IP4 46.246.2.119
t=0 0
m=audio 30784 RTP/AVP 8 0 3 111 112 5 10 122 118 123 124 125 126 127 96 7 110 117 119 97 9 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:122 L16/12000
a=rtpmap:118 L16/16000
a=rtpmap:123 L16/24000
a=rtpmap:124 L16/32000
a=rtpmap:125 L16/44000
a=rtpmap:126 L16/48000
a=rtpmap:127 L16/96000
a=rtpmap:96 L16/192000
a=rtpmap:7 LPC/8000
a=rtpmap:110 speex/8000
a=rtpmap:117 speex/16000
a=rtpmap:119 speex/32000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:20
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G726-32:111:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [AAL2-G726-32:112:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [DVI4:5:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:10:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:10:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:122:12000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:122:12000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:118:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:118:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:123:24000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:123:24000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:124:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:124:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:125:44000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:125:44000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:126:48000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:126:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:127:96000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:127:96000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:96:192000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [L16:96:192000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [LPC:7:8000:20:2400:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [LPC:7:8000:20:2400:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:117:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:117:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:119:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:119:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/+46731218970@46.246.2.119 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2024-12-09 16:57:19.902473 77.40% [DEBUG] switch_core_codec.c:111 sofia/default/+46731218970@46.246.2.119 Original read codec set to PCMA:8
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_media.c:5856 sofia/default/+46731218970@46.246.2.119 Set 2833 dtmf send payload to 101 recv payload to 101
2024-12-09 16:57:19.922473 77.40% [DEBUG] sofia.c:7927 (sofia/default/+46731218970@46.246.2.119) State Change CS_NEW -> CS_INIT
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:600 (sofia/default/+46731218970@46.246.2.119) State NEW
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218970@46.246.2.119) Running State Change CS_INIT (Cur 111 Tot 132987)
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+46731218970@46.246.2.119) State INIT
2024-12-09 16:57:19.922473 77.40% [DEBUG] mod_sofia.c:97 sofia/default/+46731218970@46.246.2.119 SOFIA INIT
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/+46731218970@46.246.2.119 Standard INIT
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/+46731218970@46.246.2.119) State Change CS_INIT -> CS_ROUTING
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/+46731218970@46.246.2.119) State INIT going to sleep
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/+46731218970@46.246.2.119) Running State Change CS_ROUTING (Cur 111 Tot 132987)
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_channel.c:2399 (sofia/default/+46731218970@46.246.2.119) Callstate Change DOWN -> RINGING
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/+46731218970@46.246.2.119) State ROUTING
2024-12-09 16:57:19.922473 77.40% [DEBUG] mod_sofia.c:158 sofia/default/+46731218970@46.246.2.119 SOFIA ROUTING
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/+46731218970@46.246.2.119 Standard ROUTING
2024-12-09 16:57:19.922473 77.40% [INFO] mod_dialplan_xml.c:639 Processing +46731218970 <+46731218970>->+46705405886 in context default
2024-12-09 16:57:19.922473 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2024-12-09 16:57:19.922473 77.40% [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','vanity_number')
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.922473 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : +46705405886
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+46705405886' AND status=0 limit 1
2024-12-09 16:57:19.922473 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER+46731218970
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '+46705405886' limit 1
2024-12-09 16:57:19.922473 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : +46731218970 / +46731218970
2024-12-09 16:57:19.922473 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....+46705405886
2024-12-09 16:57:19.922473 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46705405886
2024-12-09 16:57:19.922473 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46705405886
2024-12-09 16:57:19.922473 77.40% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 46705405886 ORDER BY LENGTH(A.number) DESC LIMIT 1
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.922473 77.40% [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="+46705405886" limit 1
2024-12-09 16:57:19.922473 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2024-12-09 16:57:19.922473 77.40% [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("46.246.2.119") 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 "+46705405886" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2024-12-09 16:57:19.922473 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3261792583]
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3261792583" OR id = "3261792583") AND deleted = 0 limit 1
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^+46705405886.*' OR blocked_patterns = '^+4670540588.*' OR blocked_patterns = '^+467054058.*' OR blocked_patterns = '^+46705405.*' OR blocked_patterns = '^+4670540.*' OR blocked_patterns = '^+467054.*' OR blocked_patterns = '^+46705.*' OR blocked_patterns = '^+4670.*' OR blocked_patterns = '^+467.*' OR blocked_patterns = '^+46.*' OR blocked_patterns = '^+4.*' OR blocked_patterns = '^+.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2024-12-09 16:57:19.922473 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....+46705405886
2024-12-09 16:57:19.922473 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46705405886
2024-12-09 16:57:19.922473 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46705405886
2024-12-09 16:57:19.922473 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number = 46705405886 AND (accountid = 0 OR status = 1) LIMIT 1
2024-12-09 16:57:19.942471 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 62
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 62 AND status=0 limit 1
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+46/46/*/*,0/46/*/*".....+46705405886
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+46/46/*/*,0/46/*/*".....+46705405886
2024-12-09 16:57:19.942471 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +46705405886
2024-12-09 16:57:19.942471 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 46705405886
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*/*/*,+46/46/*/*,0/46/*/*".....46705405886
2024-12-09 16:57:19.942471 77.40% [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 = '^46705405886.*' OR patterns = '^4670540588.*' OR patterns = '^467054058.*' OR patterns = '^46705405.*' OR patterns = '^4670540.*' OR patterns = '^467054.*' OR patterns = '^46705.*' OR patterns = '^4670.*' OR patterns = '^467.*' OR patterns = '^46.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-12-09 16:57:19.942471 77.40% [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 ="46705405886" AND A.accountid = '7' limit 1
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 46705405886
2024-12-09 16:57:19.942471 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+46/46/*/*".....46705405886
2024-12-09 16:57:19.942471 77.40% [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,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 46705405886 ORDER BY LENGTH(A.number) DESC LIMIT 1
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-12-09 16:57:19.942471 77.40% [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="46705405886" limit 1
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2024-12-09 16:57:19.942471 77.40% [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 = '46705405886' OR number = '4670540588' OR number = '467054058' OR number = '46705405' OR number = '4670540' OR number = '467054' OR number = '46705' OR number = '4670' OR number = '467' OR number = '46' OR number = '4' OR number ='--') OR (number = '46705405886*' OR number = '4670540588*' OR number = '467054058*' OR number = '46705405*' OR number = '4670540*' OR number = '467054*' OR number = '46705*' OR number = '4670*' OR number = '467*' OR number = '46*' OR number = '4*' OR number ='--') OR (number = '+46731218970' OR number = '+4673121897' OR number = '+467312189' OR number = '+46731218' OR number = '+4673121' OR number = '+467312' OR number = '+46731' OR number = '+4673' OR number = '+467' OR number = '+46' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+46731218970*' OR number = '+4673121897*' OR number = '+467312189*' OR number = '+46731218*' OR number = '+4673121*' OR number = '+467312*' OR number = '+46731*' OR number = '+4673*' OR number = '+467*' OR number = '+46*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '46705405886' OR routing_prefix = '4670540588' OR routing_prefix = '467054058' OR routing_prefix = '46705405' OR routing_prefix = '4670540' OR routing_prefix = '467054' OR routing_prefix = '46705' OR routing_prefix = '4670' OR routing_prefix = '467' OR routing_prefix = '46' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3261792583
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 997.334
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/+/*/*,46/+46/*/*,0/+46/*/*".....+46731218970
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 7 AND status = 0
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query HP :SELECT * FROM routes WHERE (pattern = '^46705405886.*' OR pattern = '^4670540588.*' OR pattern = '^467054058.*' OR pattern = '^46705405.*' OR pattern = '^4670540.*' OR pattern = '^467054.*' OR pattern = '^46705.*' OR pattern = '^4670.*' OR pattern = '^467.*' OR pattern = '^46.*' OR pattern = '^4.*' OR pattern ='--') AND (caller_id_pattern = '^+46731218970.*' OR caller_id_pattern = '^+4673121897.*' OR caller_id_pattern = '^+467312189.*' OR caller_id_pattern = '^+46731218.*' OR caller_id_pattern = '^+4673121.*' OR caller_id_pattern = '^+467312.*' OR caller_id_pattern = '^+46731.*' OR caller_id_pattern = '^+4673.*' OR caller_id_pattern = '^+467.*' OR caller_id_pattern = '^+46.*' OR caller_id_pattern = '^+4.*' OR caller_id_pattern = '^+.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 7 OR accountid=7) ORDER BY accountid DESC,cost ASC,effective_date DESC LIMIT 1
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 146523
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.0000000000
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : SWEDEN
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 184
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your997.334 balance Accountid 7 !!!
2024-12-09 16:57:19.942471 77.40% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2024-12-09 16:57:19.942471 77.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] rate_carrier_id:
2024-12-09 16:57:19.942471 77.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate country_id: 184
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2024-12-09 16:57:19.942471 77.40% [WARNING] switch_cpp.cpp:1465 [ASTPP] or_country_id :184
2024-12-09 16:57:19.942471 77.40% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS from routing] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=7 ORDER by id asc
2024-12-09 16:57:19.942471 77.40% [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.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^46705405886.*' OR pattern = '^4670540588.*' OR pattern = '^467054058.*' OR pattern = '^46705405.*' OR pattern = '^4670540.*' OR pattern = '^467054.*' OR pattern = '^46705.*' OR pattern = '^4670.*' OR pattern = '^467.*' OR pattern = '^46.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 5
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^46.*
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : sweden
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^46.*
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 5
2024-12-09 16:57:19.942471 77.40% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : GC1