2021-09-14 09:03:33.366731 [DEBUG] sofia.c:7084 Channel sofia/default/393393327101 entering state [proceeding][183] 2021-09-14 09:03:33.626728 [DEBUG] sofia.c:7084 Channel sofia/default/393393327101 entering state [proceeding][183] 2021-09-14 09:03:33.826673 [DEBUG] sofia.c:7084 Channel sofia/default/393393327101 entering state [proceeding][183] 2021-09-14 09:03:36.066664 [DEBUG] sofia.c:7084 Channel sofia/default/390399745536@193.109.216.112 entering state [terminated][487] 2021-09-14 09:03:36.066664 [NOTICE] sofia.c:8273 Hangup sofia/default/390399745536@193.109.216.112 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2021-09-14 09:03:36.066664 [DEBUG] switch_ivr_bridge.c:712 sofia/default/390399745536@193.109.216.112 ending bridge by request from read function 2021-09-14 09:03:36.066664 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/390399745536@193.109.216.112] 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:706 sofia/default/390399745536@193.109.216.112 ending bridge by request from write function 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/393393327101] 2021-09-14 09:03:36.086678 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/393393327101 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:653 (sofia/default/393393327101) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393393327101) Running State Change CS_HANGUP (Cur 6 Tot 248005) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393393327101) Callstate Change RINGING -> HANGUP 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393393327101) State HANGUP 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:432 sofia/default/393393327101 Overriding SIP cause 487 with 487 from the other leg 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:438 Channel sofia/default/393393327101 hanging up, cause: ORIGINATOR_CANCEL 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/393393327101 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:03:36.086678 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/390399745536@193.109.216.112 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_session.c:2815 sofia/default/390399745536@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@193.109.216.112) State EXECUTE going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@193.109.216.112) Running State Change CS_HANGUP (Cur 6 Tot 248005) 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/393393327101 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399745536@193.109.216.112) Callstate Change EARLY -> HANGUP 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:60 sofia/default/393393327101 Standard HANGUP, cause: ORIGINATOR_CANCEL 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393393327101) State HANGUP going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@193.109.216.112) State HANGUP 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399745536@193.109.216.112 hanging up, cause: ORIGINATOR_CANCEL 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:619 (sofia/default/393393327101) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393393327101) Running State Change CS_REPORTING (Cur 6 Tot 248005) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393393327101) State REPORTING 2021-09-14 09:03:36.086678 [INFO] mod_json_cdr.c:271 Process [214ceebc-155c-11ec-9d45-7dfb9f6e00f0.cdr.json] 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399745536@193.109.216.112 Standard HANGUP, cause: ORIGINATOR_CANCEL 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@193.109.216.112) State HANGUP going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399745536@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@193.109.216.112) Running State Change CS_REPORTING (Cur 6 Tot 248005) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@193.109.216.112) State REPORTING 2021-09-14 09:03:36.086678 [INFO] mod_json_cdr.c:271 Process [2146fac0-155c-11ec-9d1f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:174 sofia/default/393393327101 Standard REPORTING, cause: ORIGINATOR_CANCEL 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393393327101) State REPORTING going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:610 (sofia/default/393393327101) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:03:36.086678 [DEBUG] switch_core_session.c:1665 Session 248005 (sofia/default/393393327101) Locked, Waiting on external entities 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1683 Session 248005 (sofia/default/393393327101) Ended 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/393393327101 [CS_DESTROY] 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:741 (sofia/default/393393327101) Running State Change CS_DESTROY (Cur 5 Tot 248005) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393393327101) State DESTROY 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:343 sofia/default/393393327101 SOFIA DESTROY 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:181 sofia/default/393393327101 Standard DESTROY 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393393327101) State DESTROY going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399745536@193.109.216.112 Standard REPORTING, cause: ORIGINATOR_CANCEL 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@193.109.216.112) State REPORTING going to sleep 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399745536@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:03:36.086678 [DEBUG] switch_core_session.c:1665 Session 248004 (sofia/default/390399745536@193.109.216.112) Locked, Waiting on external entities 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1683 Session 248004 (sofia/default/390399745536@193.109.216.112) Ended 2021-09-14 09:03:36.086678 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399745536@193.109.216.112 [CS_DESTROY] 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399745536@193.109.216.112) Running State Change CS_DESTROY (Cur 4 Tot 248005) 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@193.109.216.112) State DESTROY 2021-09-14 09:03:36.086678 [DEBUG] mod_sofia.c:343 sofia/default/390399745536@193.109.216.112 SOFIA DESTROY 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399745536@193.109.216.112 Standard DESTROY 2021-09-14 09:03:36.086678 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@193.109.216.112) State DESTROY going to sleep 2021-09-14 09:03:36.246672 [DEBUG] switch_scheduler.c:144 Deleting task 31127 switch_ivr_schedule_hangup (214ceebc-155c-11ec-9d45-7dfb9f6e00f0) 2021-09-14 09:03:38.286667 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390399745536@92.249.69.77 [2d507396-155c-11ec-9d4f-7dfb9f6e00f0] 2021-09-14 09:03:38.286667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_NEW (Cur 5 Tot 248006) 2021-09-14 09:03:38.286667 [DEBUG] sofia.c:9873 sofia/default/390399745536@92.249.69.77 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:7084 Channel sofia/default/390399745536@92.249.69.77 entering state [received][100] 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=asterisk 2009326781 2009326781 IN IP4 92.249.69.77 s=Asterisk PBX c=IN IP4 92.249.69.77 t=0 0 m=audio 59316 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390399745536@92.249.69.77 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:03:38.306662 [DEBUG] switch_core_codec.c:111 sofia/default/390399745536@92.249.69.77 Original read codec set to PCMA:8 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:03:38.306662 [DEBUG] switch_core_media.c:4767 sofia/default/390399745536@92.249.69.77 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:03:38.306662 [DEBUG] sofia.c:7507 (sofia/default/390399745536@92.249.69.77) State Change CS_NEW -> CS_INIT 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:603 (sofia/default/390399745536@92.249.69.77) State NEW 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_INIT (Cur 5 Tot 248006) 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT 2021-09-14 09:03:38.306662 [DEBUG] mod_sofia.c:90 sofia/default/390399745536@92.249.69.77 SOFIA INIT 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:40 sofia/default/390399745536@92.249.69.77 Standard INIT 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390399745536@92.249.69.77) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT going to sleep 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_ROUTING (Cur 5 Tot 248006) 2021-09-14 09:03:38.306662 [DEBUG] switch_channel.c:2249 (sofia/default/390399745536@92.249.69.77) Callstate Change DOWN -> RINGING 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING 2021-09-14 09:03:38.306662 [DEBUG] mod_sofia.c:143 sofia/default/390399745536@92.249.69.77 SOFIA ROUTING 2021-09-14 09:03:38.306662 [DEBUG] switch_core_state_machine.c:236 sofia/default/390399745536@92.249.69.77 Standard ROUTING 2021-09-14 09:03:38.306662 [INFO] mod_dialplan_xml.c:637 Processing 390399745536 <390399745536>->00393357118905 in context default 2021-09-14 09:03:38.306662 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A03%3A38 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A03%3A38%20GMT Event-Date-Timestamp: 1631624618306662 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527350 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/390399745536%4092.249.69.77 Unique-ID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 390399745536%4092.249.69.77 Channel-Call-UUID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 390399745536 Caller-Dialplan: XML Caller-Caller-ID-Name: 390399745536 Caller-Caller-ID-Number: 390399745536 Caller-Orig-Caller-ID-Name: 390399745536 Caller-Orig-Caller-ID-Number: 390399745536 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 390399745536 Caller-Destination-Number: 00393357118905 Caller-Unique-ID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/390399745536%4092.249.69.77 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624618306662 Caller-Channel-Created-Time: 1631624618306662 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: false Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0 variable_session_id: 248006 variable_sip_from_user: 390399745536 variable_sip_from_uri: 390399745536%4092.249.69.77 variable_sip_from_host: 92.249.69.77 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/390399745536%4092.249.69.77 variable_sip_call_id: 5cd2e1810fb0a28c3bf22f4172acb079%4092.249.69.77%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624618286667 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 390399745536 variable_sip_from_tag: as63384331 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_Remote-Party-ID: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno variable_sip_cid_type: rpid variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D244.fef205b%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D244.fef205b%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK313.2a519e95.0,SIP/2.0/UDP%2092.249.69.77%3A5060%3Bbranch%3Dz9hG4bK73d09ef9 variable_sip_from_display: 390399745536 variable_sip_full_from: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Btag%3Das63384331 variable_sip_full_to: %3Csip%3A00393357118905%40136.243.196.198%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 00393357118905 variable_sip_req_uri: 00393357118905%40136.243.196.198 variable_sip_req_host: 136.243.196.198 variable_sip_to_user: 00393357118905 variable_sip_to_uri: 00393357118905%40136.243.196.198 variable_sip_to_host: 136.243.196.198 variable_sip_contact_user: 390399745536 variable_sip_contact_port: 5060 variable_sip_contact_uri: 390399745536%4092.249.69.77%3A5060 variable_sip_contact_host: 92.249.69.77 variable_sip_user_agent: Asterisk%20PBX variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 390399745536%4092.249.69.77 variable_sip_h_X-AUTH-IP: 92.249.69.77 variable_sip_h_P-Accountcode: 619312506378 variable_sip_h_P-effective_caller_id_name: 390399745536 variable_sip_h_P-effective_caller_id_number: 390399745536 variable_switch_r_sdp: v%3D0%0D%0Ao%3Dasterisk%202009326781%202009326781%20IN%20IP4%2092.249.69.77%0D%0As%3DAsterisk%20PBX%0D%0Ac%3DIN%20IP4%2092.249.69.77%0D%0At%3D0%200%0D%0Am%3Daudio%2059316%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 92.249.69.77 variable_remote_media_port: 59316 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 390399745536 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 390399745536 Hunt-Caller-ID-Number: 390399745536 Hunt-Orig-Caller-ID-Name: 390399745536 Hunt-Orig-Caller-ID-Number: 390399745536 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 390399745536 Hunt-Destination-Number: 00393357118905 Hunt-Unique-ID: 2d507396-155c-11ec-9d4f-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/390399745536%4092.249.69.77 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624618306662 Hunt-Channel-Created-Time: 1631624618306662 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: false Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 00393357118905 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00393357118905' limit 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '00393357118905' AND status=0 limit 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '92.249.69.77' limit 1 2021-09-14 09:03:38.306662 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 390399745536 / 390399745536 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378] 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00393357118905.*' OR blocked_patterns = '^0039335711890.*' OR blocked_patterns = '^003933571189.*' OR blocked_patterns = '^00393357118.*' OR blocked_patterns = '^0039335711.*' OR blocked_patterns = '^003933571.*' OR blocked_patterns = '^00393357.*' OR blocked_patterns = '^0039335.*' OR blocked_patterns = '^003933.*' OR blocked_patterns = '^00393.*' OR blocked_patterns = '^0039.*' OR blocked_patterns = '^003.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [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 ="00393357118905" AND A.accountid = '1039' limit 1 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 00393357118905 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:03:38.306662 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00393357118905" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....00393357118905 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00393357118905 2021-09-14 09:03:38.306662 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 393357118905 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....393357118905 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^393357118905.*' OR patterns = '^39335711890.*' OR patterns = '^3933571189.*' OR patterns = '^393357118.*' OR patterns = '^39335711.*' OR patterns = '^3933571.*' OR patterns = '^393357.*' OR patterns = '^39335.*' OR patterns = '^3933.*' OR patterns = '^393.*' OR patterns = '^39.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:03:38.306662 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '393357118905' OR number = '39335711890' OR number = '3933571189' OR number = '393357118' OR number = '39335711' OR number = '3933571' OR number = '393357' OR number = '39335' OR number = '3933' OR number = '393' OR number = '39' OR number = '3' OR number ='--') OR (number = '393357118905*' OR number = '39335711890*' OR number = '3933571189*' OR number = '393357118*' OR number = '39335711*' OR number = '3933571*' OR number = '393357*' OR number = '39335*' OR number = '3933*' OR number = '393*' OR number = '39*' OR number = '3*' OR number ='--') OR (number = '390399745536' OR number = '39039974553' OR number = '3903997455' OR number = '390399745' OR number = '39039974' OR number = '3903997' OR number = '390399' OR number = '39039' OR number = '3903' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390399745536*' OR number = '39039974553*' OR number = '3903997455*' OR number = '390399745*' OR number = '39039974*' OR number = '3903997*' OR number = '390399*' OR number = '39039*' OR number = '3903*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '393357118905' OR routing_prefix = '39335711890' OR routing_prefix = '3933571189' OR routing_prefix = '393357118' OR routing_prefix = '39335711' OR routing_prefix = '3933571' OR routing_prefix = '393357' OR routing_prefix = '39335' OR routing_prefix = '3933' OR routing_prefix = '393' OR routing_prefix = '39' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1140861 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.33792 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : ItalyTim Mobile 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!! 2021-09-14 09:03:38.326679 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins! 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1140861 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1916641 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.* 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.* 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2096391 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.* 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ITALY - MOBILE TIM 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.* 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1744105 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.* 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.* 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:03:38.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [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 = 1017) AND status=0 limit 1 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905 2021-09-14 09:03:38.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:03:38.326679 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/390399745536@92.249.69.77 parsing [default->393357118905] continue=false Dialplan: sofia/default/390399745536@92.249.69.77 Regex (PASS) [393357118905] destination_number(00393357118905) =~ /00393357118905/ break=on-false Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_destination_number=393357118905) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(callstart=2021-09-14 13:03:38) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(hangup_after_bridge=true) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(account_id=1039) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(parent_id=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(entity_id=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_processed=internal) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_direction=outbound) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(accountname=default) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(is_recording=1) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(media_bug_answer_req=true) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(RECORD_STEREO=true) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(record_sample_rate=8000) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=53) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=53) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77) Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:2096391|CODE:^39335.*|DESTINATION:ITALY - MOBILE TIM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20410|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=55) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=1017) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=55) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||High_Telia_110821 // ^39335.* // ITALY - MOBILE TIM // 0.20410 // trunk_id=55|||STD|||92.249.69.77) Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/393357118905;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1744105|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21120|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=51) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=51) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||high_tata_37113_110821 // ^39335.* // ItalyTim Mobile // 0.21120 // trunk_id=51|||STD|||92.249.69.77) Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:286 (sofia/default/390399745536@92.249.69.77) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING going to sleep 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_EXECUTE (Cur 5 Tot 248006) 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE 2021-09-14 09:03:38.326679 [DEBUG] mod_sofia.c:198 sofia/default/390399745536@92.249.69.77 SOFIA EXECUTE 2021-09-14 09:03:38.326679 [DEBUG] switch_core_state_machine.c:328 sofia/default/390399745536@92.249.69.77 Standard EXECUTE EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_destination_number=393357118905) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_destination_number]=[393357118905] EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/390399745536@92.249.69.77 set(callstart=2021-09-14 13:03:38) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [callstart]=[2021-09-14 13:03:38] EXECUTE sofia/default/390399745536@92.249.69.77 set(hangup_after_bridge=true) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [hangup_after_bridge]=[true] EXECUTE sofia/default/390399745536@92.249.69.77 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/390399745536@92.249.69.77 set(account_id=1039) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [account_id]=[1039] EXECUTE sofia/default/390399745536@92.249.69.77 set(parent_id=0) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [parent_id]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 set(entity_id=0) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [entity_id]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 set(call_processed=internal) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_processed]=[internal] EXECUTE sofia/default/390399745536@92.249.69.77 set(call_direction=outbound) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_direction]=[outbound] EXECUTE sofia/default/390399745536@92.249.69.77 set(accountname=default) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [accountname]=[default] EXECUTE sofia/default/390399745536@92.249.69.77 set(filename1=astpp.pbx.lua) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/390399745536@92.249.69.77 set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [origination_rates]=[ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039] EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_name=390399745536) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_name]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_number=390399745536) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_number]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 export(is_recording=1) 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1] EXECUTE sofia/default/390399745536@92.249.69.77 export(media_bug_answer_req=true) 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE sofia/default/390399745536@92.249.69.77 export(RECORD_STEREO=true) 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE sofia/default/390399745536@92.249.69.77 export(record_sample_rate=8000) 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE sofia/default/390399745536@92.249.69.77 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/2d507396-155c-11ec-9d4f-7dfb9f6e00f0.wav) 2021-09-14 09:03:38.326679 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/2d507396-155c-11ec-9d4f-7dfb9f6e00f0.wav] EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_name=390399745536) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_name]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_number=390399745536) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_number]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 set(calltype=STANDARD) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [calltype]=[STANDARD] EXECUTE sofia/default/390399745536@92.249.69.77 set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [termination_rates]=[ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587] EXECUTE sofia/default/390399745536@92.249.69.77 set(trunk_id=53) 2021-09-14 09:03:38.326679 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [trunk_id]=[53] EXECUTE sofia/default/390399745536@92.249.69.77 set(provider_id=587) 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [provider_id]=[587] EXECUTE sofia/default/390399745536@92.249.69.77 set(rate_flag=0) 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [rate_flag]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 set(force_trunk_flag=1140861) 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [force_trunk_flag]=[1140861] EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=trunk_id=53) 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53] EXECUTE sofia/default/390399745536@92.249.69.77 set(intcall=0) 2021-09-14 09:03:38.346665 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [intcall]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77) 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] EXECUTE sofia/default/390399745536@92.249.69.77 bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [is_recording]=[1] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/2d507396-155c-11ec-9d4f-7dfb9f6e00f0.wav] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] to event 2021-09-14 09:03:38.346665 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:03:38.346665 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:03:38.346665 [NOTICE] switch_channel.c:1104 New Channel sofia/default/393357118905 [2d56cae8-155c-11ec-9d75-7dfb9f6e00f0] 2021-09-14 09:03:38.346665 [DEBUG] mod_sofia.c:4819 (sofia/default/393357118905) State Change CS_NEW -> CS_INIT 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_INIT (Cur 6 Tot 248007) 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT 2021-09-14 09:03:38.346665 [DEBUG] mod_sofia.c:90 sofia/default/393357118905 SOFIA INIT 2021-09-14 09:03:38.346665 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/393357118905 2021-09-14 09:03:38.346665 [DEBUG] sofia_glue.c:1295 sofia/default/393357118905 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631601430 1631601431 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 23188 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:40 sofia/default/393357118905 Standard INIT 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:48 (sofia/default/393357118905) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT going to sleep 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_ROUTING (Cur 6 Tot 248007) 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING 2021-09-14 09:03:38.346665 [DEBUG] mod_sofia.c:143 sofia/default/393357118905 SOFIA ROUTING 2021-09-14 09:03:38.346665 [DEBUG] switch_ivr_originate.c:67 (sofia/default/393357118905) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING going to sleep 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 248007) 2021-09-14 09:03:38.346665 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [calling][0] 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA 2021-09-14 09:03:38.346665 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA going to sleep 2021-09-14 09:03:51.226667 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [terminated][486] 2021-09-14 09:03:51.226667 [NOTICE] sofia.c:8273 Hangup sofia/default/393357118905 [CS_CONSUME_MEDIA] [USER_BUSY] 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_HANGUP (Cur 6 Tot 248007) 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393357118905) Callstate Change DOWN -> HANGUP 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP 2021-09-14 09:03:51.226667 [DEBUG] mod_sofia.c:438 Channel sofia/default/393357118905 hanging up, cause: USER_BUSY 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:60 sofia/default/393357118905 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP going to sleep 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:619 (sofia/default/393357118905) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_REPORTING (Cur 6 Tot 248007) 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING 2021-09-14 09:03:51.226667 [INFO] mod_json_cdr.c:271 Process [2d56cae8-155c-11ec-9d75-7dfb9f6e00f0.cdr.json] 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:174 sofia/default/393357118905 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING going to sleep 2021-09-14 09:03:51.226667 [DEBUG] switch_core_state_machine.c:610 (sofia/default/393357118905) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:03:51.226667 [DEBUG] switch_core_session.c:1665 Session 248007 (sofia/default/393357118905) Locked, Waiting on external entities 2021-09-14 09:03:51.246669 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY] 2021-09-14 09:03:51.246669 [NOTICE] switch_core_session.c:1683 Session 248007 (sofia/default/393357118905) Ended 2021-09-14 09:03:51.246669 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/393357118905 [CS_DESTROY] 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:741 (sofia/default/393357118905) Running State Change CS_DESTROY (Cur 5 Tot 248007) 2021-09-14 09:03:51.246669 [INFO] mod_dptools.c:3436 Originate Failed. Cause: USER_BUSY 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:343 sofia/default/393357118905 SOFIA DESTROY 2021-09-14 09:03:51.246669 [NOTICE] switch_channel.c:4844 Hangup sofia/default/390399745536@92.249.69.77 [CS_EXECUTE] [USER_BUSY] 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:181 sofia/default/393357118905 Standard DESTROY 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY going to sleep 2021-09-14 09:03:51.246669 [DEBUG] switch_core_session.c:2815 sofia/default/390399745536@92.249.69.77 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE going to sleep 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_HANGUP (Cur 5 Tot 248007) 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399745536@92.249.69.77) Callstate Change RINGING -> HANGUP 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:432 sofia/default/390399745536@92.249.69.77 Overriding SIP cause 486 with 486 from the other leg 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399745536@92.249.69.77 hanging up, cause: USER_BUSY 2021-09-14 09:03:51.246669 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399745536@92.249.69.77 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP going to sleep 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399745536@92.249.69.77) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_REPORTING (Cur 5 Tot 248007) 2021-09-14 09:03:51.246669 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING 2021-09-14 09:03:51.246669 [INFO] mod_json_cdr.c:271 Process [2d507396-155c-11ec-9d4f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399745536@92.249.69.77 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING going to sleep 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399745536@92.249.69.77) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:03:51.306685 [DEBUG] switch_core_session.c:1665 Session 248006 (sofia/default/390399745536@92.249.69.77) Locked, Waiting on external entities 2021-09-14 09:03:51.306685 [NOTICE] switch_core_session.c:1683 Session 248006 (sofia/default/390399745536@92.249.69.77) Ended 2021-09-14 09:03:51.306685 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399745536@92.249.69.77 [CS_DESTROY] 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399745536@92.249.69.77) Running State Change CS_DESTROY (Cur 4 Tot 248007) 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY 2021-09-14 09:03:51.306685 [DEBUG] mod_sofia.c:343 sofia/default/390399745536@92.249.69.77 SOFIA DESTROY 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399745536@92.249.69.77 Standard DESTROY 2021-09-14 09:03:51.306685 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY going to sleep 2021-09-14 09:03:54.886667 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+442072589987@173.203.86.119 [3734cc22-155c-11ec-9d79-7dfb9f6e00f0] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_NEW (Cur 5 Tot 248008) 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:9873 sofia/default/+442072589987@173.203.86.119 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:7084 Channel sofia/default/+442072589987@173.203.86.119 entering state [received][100] 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 734897875 734897875 IN IP4 173.203.86.119 s=Asterisk PBX 16.6.1 c=IN IP4 173.203.86.119 t=0 0 m=audio 16334 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+442072589987@173.203.86.119 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:03:54.886667 [DEBUG] switch_core_codec.c:111 sofia/default/+442072589987@173.203.86.119 Original read codec set to PCMU:0 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:03:54.886667 [DEBUG] switch_core_media.c:4767 sofia/default/+442072589987@173.203.86.119 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:03:54.886667 [DEBUG] sofia.c:7507 (sofia/default/+442072589987@173.203.86.119) State Change CS_NEW -> CS_INIT 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+442072589987@173.203.86.119) State NEW 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_INIT (Cur 5 Tot 248008) 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+442072589987@173.203.86.119) State INIT 2021-09-14 09:03:54.886667 [DEBUG] mod_sofia.c:90 sofia/default/+442072589987@173.203.86.119 SOFIA INIT 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:40 sofia/default/+442072589987@173.203.86.119 Standard INIT 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+442072589987@173.203.86.119) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+442072589987@173.203.86.119) State INIT going to sleep 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_ROUTING (Cur 5 Tot 248008) 2021-09-14 09:03:54.886667 [DEBUG] switch_channel.c:2249 (sofia/default/+442072589987@173.203.86.119) Callstate Change DOWN -> RINGING 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+442072589987@173.203.86.119) State ROUTING 2021-09-14 09:03:54.886667 [DEBUG] mod_sofia.c:143 sofia/default/+442072589987@173.203.86.119 SOFIA ROUTING 2021-09-14 09:03:54.886667 [DEBUG] switch_core_state_machine.c:236 sofia/default/+442072589987@173.203.86.119 Standard ROUTING 2021-09-14 09:03:54.886667 [INFO] mod_dialplan_xml.c:637 Processing 442072589987 <+442072589987>->41445510261 in context default 2021-09-14 09:03:54.886667 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:03:54.886667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:03:54.906671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A03%3A54 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A03%3A54%20GMT Event-Date-Timestamp: 1631624634886667 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527450 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/%2B442072589987%40173.203.86.119 Unique-ID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: %2B442072589987%40173.203.86.119 Channel-Call-UUID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: %2B442072589987 Caller-Dialplan: XML Caller-Caller-ID-Name: 442072589987 Caller-Caller-ID-Number: %2B442072589987 Caller-Orig-Caller-ID-Name: 442072589987 Caller-Orig-Caller-ID-Number: %2B442072589987 Caller-Network-Addr: 136.243.196.198 Caller-ANI: %2B442072589987 Caller-Destination-Number: 41445510261 Caller-Unique-ID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/%2B442072589987%40173.203.86.119 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624634886667 Caller-Channel-Created-Time: 1631624634886667 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0 variable_session_id: 248008 variable_sip_from_user: %2B442072589987 variable_sip_from_uri: %2B442072589987%40173.203.86.119 variable_sip_from_host: 173.203.86.119 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/%2B442072589987%40173.203.86.119 variable_sip_call_id: 34da1af569655e9a4498b940547efbe1%40173.203.86.119%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624634886667 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 442072589987 variable_sip_from_tag: as4d8bad06 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D21b.208826d7%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D21b.208826d7%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK2e9.f9e1fc17.0,SIP/2.0/UDP%20173.203.86.119%3A5060%3Breceived%3D173.203.86.119%3Bbranch%3Dz9hG4bK586db30d%3Brport%3D5060 variable_sip_from_display: 442072589987 variable_sip_full_from: %22442072589987%22%20%3Csip%3A%2B442072589987%40173.203.86.119%3E%3Btag%3Das4d8bad06 variable_sip_full_to: %3Csip%3A41445510261%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 41445510261 variable_sip_req_uri: 41445510261%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 41445510261 variable_sip_to_uri: 41445510261%40newsip.israelnumber.com variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_user: %2B442072589987 variable_sip_contact_port: 5060 variable_sip_contact_uri: %2B442072589987%40173.203.86.119%3A5060 variable_sip_contact_host: 173.203.86.119 variable_sip_user_agent: FPBX-14.0.13.40(16.6.1) variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: %2B442072589987%40173.203.86.119 variable_sip_h_X-AUTH-IP: 173.203.86.119 variable_sip_h_P-Accountcode: 444484249994 variable_sip_h_P-effective_caller_id_name: %2B442072589987 variable_sip_h_P-effective_caller_id_number: %2B442072589987 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20734897875%20734897875%20IN%20IP4%20173.203.86.119%0D%0As%3DAsterisk%20PBX%2016.6.1%0D%0Ac%3DIN%20IP4%20173.203.86.119%0D%0At%3D0%200%0D%0Am%3Daudio%2016334%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 173.203.86.119 variable_remote_media_port: 16334 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: %2B442072589987 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 442072589987 Hunt-Caller-ID-Number: %2B442072589987 Hunt-Orig-Caller-ID-Name: 442072589987 Hunt-Orig-Caller-ID-Number: %2B442072589987 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: %2B442072589987 Hunt-Destination-Number: 41445510261 Hunt-Unique-ID: 3734cc22-155c-11ec-9d79-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/%2B442072589987%40173.203.86.119 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624634886667 Hunt-Channel-Created-Time: 1631624634886667 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 41445510261 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '41445510261' limit 1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '41445510261' AND status=0 limit 1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '173.203.86.119' limit 1 2021-09-14 09:03:54.906671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +442072589987 / +442072589987 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="41445510261" LIMIT 1 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 444484249994] 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "444484249994" OR number = "444484249994" AND deleted = 0 limit 1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [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 ="41445510261" AND A.accountid = '923' limit 1 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 41445510261 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="41445510261" LIMIT 1 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="41445510261" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^41445510261.*' OR patterns = '^4144551026.*' OR patterns = '^414455102.*' OR patterns = '^41445510.*' OR patterns = '^4144551.*' OR patterns = '^414455.*' OR patterns = '^41445.*' OR patterns = '^4144.*' OR patterns = '^414.*' OR patterns = '^41.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '41445510261' OR number = '4144551026' OR number = '414455102' OR number = '41445510' OR number = '4144551' OR number = '414455' OR number = '41445' OR number = '4144' OR number = '414' OR number = '41' OR number = '4' OR number ='--') OR (number = '41445510261*' OR number = '4144551026*' OR number = '414455102*' OR number = '41445510*' OR number = '4144551*' OR number = '414455*' OR number = '41445*' OR number = '4144*' OR number = '414*' OR number = '41*' OR number = '4*' OR number ='--') OR (number = '+442072589987' OR number = '+44207258998' OR number = '+4420725899' OR number = '+442072589' OR number = '+44207258' OR number = '+4420725' OR number = '+442072' OR number = '+44207' OR number = '+4420' OR number = '+442' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+442072589987*' OR number = '+44207258998*' OR number = '+4420725899*' OR number = '+442072589*' OR number = '+44207258*' OR number = '+4420725*' OR number = '+442072*' OR number = '+44207*' OR number = '+4420*' OR number = '+442*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '41445510261' OR routing_prefix = '4144551026' OR routing_prefix = '414455102' OR routing_prefix = '41445510' OR routing_prefix = '4144551' OR routing_prefix = '414455' OR routing_prefix = '41445' OR routing_prefix = '4144' OR routing_prefix = '414' OR routing_prefix = '41' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 923 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 444484249994 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="41445510261" LIMIT 1 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6367 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Zurich Landline 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 185 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 923 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 923 !!! 2021-09-14 09:03:54.906671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:03:54.906671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 923 AND status=0 LIMIT 1 2021-09-14 09:03:54.906671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:923 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:923 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 923 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:03:54.926675 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:03:54.926675 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:03:54.926675 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:03:54.926675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:03:54.926675 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/+442072589987@173.203.86.119 parsing [default->41445510261] continue=false Dialplan: sofia/default/+442072589987@173.203.86.119 Regex (PASS) [41445510261] destination_number(41445510261) =~ /41445510261/ break=on-false Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(effective_destination_number=41445510261) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(callstart=2021-09-14 13:03:54) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(account_id=923) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(parent_id=0) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(entity_id=3) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(call_processed=internal) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(call_direction=inbound) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(accountname=default) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(origination_rates_did=ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(origination_rates=0) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(original_caller_id_name=+442072589987) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(original_caller_id_number=+442072589987) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(effective_caller_id_name=+442072589987) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(effective_caller_id_number=+442072589987) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(receiver_accid=851) Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/+442072589987@173.203.86.119 Action limit(db 41445510261 did_41445510261 2 !SWITCH_CONGESTION) Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(presence_data=x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119) Dialplan: sofia/default/+442072589987@173.203.86.119 Action export(call_type=2) Dialplan: sofia/default/+442072589987@173.203.86.119 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/+442072589987@173.203.86.119 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/41445510261@35.205.116.118) 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+442072589987@173.203.86.119) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+442072589987@173.203.86.119) State ROUTING going to sleep 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_EXECUTE (Cur 5 Tot 248008) 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+442072589987@173.203.86.119) State EXECUTE 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:198 sofia/default/+442072589987@173.203.86.119 SOFIA EXECUTE 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:328 sofia/default/+442072589987@173.203.86.119 Standard EXECUTE EXECUTE sofia/default/+442072589987@173.203.86.119 set(effective_destination_number=41445510261) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [effective_destination_number]=[41445510261] EXECUTE sofia/default/+442072589987@173.203.86.119 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/+442072589987@173.203.86.119 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/+442072589987@173.203.86.119 set(callstart=2021-09-14 13:03:54) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [callstart]=[2021-09-14 13:03:54] EXECUTE sofia/default/+442072589987@173.203.86.119 set(hangup_after_bridge=true) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [hangup_after_bridge]=[true] EXECUTE sofia/default/+442072589987@173.203.86.119 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/+442072589987@173.203.86.119 set(account_id=923) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [account_id]=[923] EXECUTE sofia/default/+442072589987@173.203.86.119 set(parent_id=0) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [parent_id]=[0] EXECUTE sofia/default/+442072589987@173.203.86.119 set(entity_id=3) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [entity_id]=[3] EXECUTE sofia/default/+442072589987@173.203.86.119 set(call_processed=internal) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [call_processed]=[internal] EXECUTE sofia/default/+442072589987@173.203.86.119 set(call_direction=inbound) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [call_direction]=[inbound] EXECUTE sofia/default/+442072589987@173.203.86.119 set(accountname=default) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [accountname]=[default] EXECUTE sofia/default/+442072589987@173.203.86.119 set(filename1=astpp.pbx.lua) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/+442072589987@173.203.86.119 set(origination_rates_did=ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [origination_rates_did]=[ID:6367|CODE:^41445510261.*|DESTINATION:Zurich Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:185|ACCID:851] EXECUTE sofia/default/+442072589987@173.203.86.119 set(origination_rates=0) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [origination_rates]=[0] EXECUTE sofia/default/+442072589987@173.203.86.119 set(original_caller_id_name=+442072589987) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [original_caller_id_name]=[+442072589987] EXECUTE sofia/default/+442072589987@173.203.86.119 set(original_caller_id_number=+442072589987) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [original_caller_id_number]=[+442072589987] EXECUTE sofia/default/+442072589987@173.203.86.119 set(effective_caller_id_name=+442072589987) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [effective_caller_id_name]=[+442072589987] EXECUTE sofia/default/+442072589987@173.203.86.119 set(effective_caller_id_number=+442072589987) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [effective_caller_id_number]=[+442072589987] EXECUTE sofia/default/+442072589987@173.203.86.119 set(receiver_accid=851) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [receiver_accid]=[851] EXECUTE sofia/default/+442072589987@173.203.86.119 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/+442072589987@173.203.86.119 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/+442072589987@173.203.86.119 limit(db 41445510261 did_41445510261 2 !SWITCH_CONGESTION) 2021-09-14 09:03:54.926675 [DEBUG] switch_limit.c:126 incr called: 41445510261_did_41445510261 max:2, interval:0 2021-09-14 09:03:54.926675 [DEBUG] mod_db.c:194 Usage for 41445510261_did_41445510261 is now 1/2 EXECUTE sofia/default/+442072589987@173.203.86.119 export(presence_data=x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119) 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119] EXECUTE sofia/default/+442072589987@173.203.86.119 export(call_type=2) 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/+442072589987@173.203.86.119 set(calltype=DIRECT-IP) 2021-09-14 09:03:54.926675 [DEBUG] mod_dptools.c:1548 SET sofia/default/+442072589987@173.203.86.119 [calltype]=[DIRECT-IP] EXECUTE sofia/default/+442072589987@173.203.86.119 bridge([leg_timeout=30]sofia/default/41445510261@35.205.116.118) 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [presence_data]=[x|||Signal(444484249994)|||^41445510261.* // Zurich Landline // 0.00000||||||DID|||173.203.86.119] to event 2021-09-14 09:03:54.926675 [DEBUG] switch_channel.c:1250 sofia/default/+442072589987@173.203.86.119 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:03:54.926675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/41445510261@35.205.116.118 [373aa264-155c-11ec-9d99-7dfb9f6e00f0] 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:4819 (sofia/default/41445510261@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:2963 sofia/default/41445510261@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_INIT (Cur 6 Tot 248009) 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/41445510261@35.205.116.118) State INIT 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:90 sofia/default/41445510261@35.205.116.118 SOFIA INIT 2021-09-14 09:03:54.926675 [DEBUG] sofia_glue.c:1295 sofia/default/41445510261@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631597068 1631597069 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 27566 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:40 sofia/default/41445510261@35.205.116.118 Standard INIT 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/41445510261@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/41445510261@35.205.116.118) State INIT going to sleep 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_ROUTING (Cur 6 Tot 248009) 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/41445510261@35.205.116.118) State ROUTING 2021-09-14 09:03:54.926675 [DEBUG] mod_sofia.c:143 sofia/default/41445510261@35.205.116.118 SOFIA ROUTING 2021-09-14 09:03:54.926675 [DEBUG] switch_ivr_originate.c:67 (sofia/default/41445510261@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/41445510261@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 248009) 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/41445510261@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:03:54.926675 [DEBUG] switch_core_state_machine.c:662 (sofia/default/41445510261@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:03:54.926675 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [calling][0] 2021-09-14 09:03:55.106665 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [proceeding][183] 2021-09-14 09:03:55.106665 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 1395055639 1395055639 IN IP4 104.155.11.106 s=Asterisk PBX 13.29.2 c=IN IP4 104.155.11.106 t=0 0 m=audio 17348 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/41445510261@35.205.116.118 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:03:55.106665 [DEBUG] switch_core_codec.c:111 sofia/default/41445510261@35.205.116.118 Original read codec set to PCMU:0 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:4767 sofia/default/41445510261@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/41445510261@35.205.116.118] 89.46.223.193 port 27566 -> 104.155.11.106 port 17348 codec: 0 ms: 20 2021-09-14 09:03:55.106665 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7180 sofia/default/41445510261@35.205.116.118 Set 2833 dtmf send payload to 101 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7187 sofia/default/41445510261@35.205.116.118 Set 2833 dtmf receive payload to 101 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7210 sofia/default/41445510261@35.205.116.118 Set rtp dtmf delay to 40 2021-09-14 09:03:55.106665 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/41445510261@35.205.116.118! 2021-09-14 09:03:55.106665 [DEBUG] switch_channel.c:3474 (sofia/default/41445510261@35.205.116.118) Callstate Change DOWN -> EARLY 2021-09-14 09:03:55.106665 [INFO] switch_ivr_originate.c:3654 Sending early media 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+442072589987@173.203.86.119] 89.46.223.193 port 30368 -> 173.203.86.119 port 16334 codec: 0 ms: 20 2021-09-14 09:03:55.106665 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7180 sofia/default/+442072589987@173.203.86.119 Set 2833 dtmf send payload to 101 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7187 sofia/default/+442072589987@173.203.86.119 Set 2833 dtmf receive payload to 101 2021-09-14 09:03:55.106665 [DEBUG] switch_core_media.c:7210 sofia/default/+442072589987@173.203.86.119 Set rtp dtmf delay to 40 2021-09-14 09:03:55.106665 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1631594267 1631594268 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 30368 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:03:55.106665 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/+442072589987@173.203.86.119! 2021-09-14 09:03:55.106665 [DEBUG] switch_channel.c:3474 (sofia/default/+442072589987@173.203.86.119) Callstate Change RINGING -> EARLY 2021-09-14 09:03:55.106665 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/41445510261@35.205.116.118] 2021-09-14 09:03:55.106665 [DEBUG] sofia.c:7084 Channel sofia/default/+442072589987@173.203.86.119 entering state [early][183] 2021-09-14 09:03:55.106665 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/41445510261@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:03:55.106665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 6 Tot 248009) 2021-09-14 09:03:55.106665 [DEBUG] switch_core_state_machine.c:653 (sofia/default/41445510261@35.205.116.118) State EXCHANGE_MEDIA 2021-09-14 09:03:55.106665 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:03:55.166671 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:03:55.306675 [DEBUG] switch_ivr_bridge.c:546 sofia/default/41445510261@35.205.116.118 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:03:55.326754 [DEBUG] switch_ivr.c:623 sofia/default/41445510261@35.205.116.118 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/41445510261@35.205.116.118 sched_hangup(+10800 normal_clearing) 2021-09-14 09:03:55.326754 [DEBUG] switch_scheduler.c:249 Added task 31128 switch_ivr_schedule_hangup (373aa264-155c-11ec-9d99-7dfb9f6e00f0) to run at 1631635435 2021-09-14 09:04:06.286671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+447734373741@199.244.96.39 [3e002b78-155c-11ec-9d9f-7dfb9f6e00f0] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_NEW (Cur 7 Tot 248010) 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:9873 sofia/default/+447734373741@199.244.96.39 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:7084 Channel sofia/default/+447734373741@199.244.96.39 entering state [received][100] 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=PortaSIP 4012683372253332136 1 IN IP4 199.244.96.47 s=sip call t=0 0 m=audio 43322 RTP/AVP 8 18 0 101 c=IN IP4 199.244.96.47 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=silenceSupp:off - - - - a=ptime:20 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+447734373741@199.244.96.39 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:06.286671 [DEBUG] switch_core_codec.c:111 sofia/default/+447734373741@199.244.96.39 Original read codec set to PCMA:8 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:06.286671 [DEBUG] switch_core_media.c:4767 sofia/default/+447734373741@199.244.96.39 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:06.286671 [DEBUG] sofia.c:7507 (sofia/default/+447734373741@199.244.96.39) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+447734373741@199.244.96.39) State NEW 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_INIT (Cur 7 Tot 248010) 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+447734373741@199.244.96.39) State INIT 2021-09-14 09:04:06.286671 [DEBUG] mod_sofia.c:90 sofia/default/+447734373741@199.244.96.39 SOFIA INIT 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:40 sofia/default/+447734373741@199.244.96.39 Standard INIT 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+447734373741@199.244.96.39) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+447734373741@199.244.96.39) State INIT going to sleep 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_ROUTING (Cur 7 Tot 248010) 2021-09-14 09:04:06.286671 [DEBUG] switch_channel.c:2249 (sofia/default/+447734373741@199.244.96.39) Callstate Change DOWN -> RINGING 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+447734373741@199.244.96.39) State ROUTING 2021-09-14 09:04:06.286671 [DEBUG] mod_sofia.c:143 sofia/default/+447734373741@199.244.96.39 SOFIA ROUTING 2021-09-14 09:04:06.286671 [DEBUG] switch_core_state_machine.c:236 sofia/default/+447734373741@199.244.96.39 Standard ROUTING 2021-09-14 09:04:06.286671 [INFO] mod_dialplan_xml.c:637 Processing +447734373741 <+447734373741>->441518320569 in context default 2021-09-14 09:04:06.286671 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:04:06.286671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:04:06.306676 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A04%3A06 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A06%20GMT Event-Date-Timestamp: 1631624646286671 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527535 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/%2B447734373741%40199.244.96.39 Unique-ID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: %2B447734373741%40199.244.96.39 Channel-Call-UUID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: %2B447734373741 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B447734373741 Caller-Caller-ID-Number: %2B447734373741 Caller-Orig-Caller-ID-Name: %2B447734373741 Caller-Orig-Caller-ID-Number: %2B447734373741 Caller-Network-Addr: 136.243.196.198 Caller-ANI: %2B447734373741 Caller-Destination-Number: 441518320569 Caller-Unique-ID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/%2B447734373741%40199.244.96.39 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624646286671 Caller-Channel-Created-Time: 1631624646286671 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0 variable_session_id: 248010 variable_sip_from_user: %2B447734373741 variable_sip_from_uri: %2B447734373741%40199.244.96.39 variable_sip_from_host: 199.244.96.39 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/%2B447734373741%40199.244.96.39 variable_sip_call_id: 178553496-3840613446-1401399320%40MSX18.gammatelecom.com~1o variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624646286671 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 447734373741 variable_sip_from_tag: qbtbibvjtjwz36da.o variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_Remote-Party-ID: %3Csip%3A%2B447734373741%40199.244.96.39%3E%3Bparty%3Dcalling variable_sip_P-Asserted-Identity: %2B447734373741 variable_sip_cid_type: pid variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D4c1.fa8383f%3E,%3Csip%3A199.244.96.39%3Blr%3Bep%3E variable_sip_invite_record_route: %3Csip%3A199.244.96.39%3Blr%3Bep%3E,%3Csip%3A136.243.196.198%3Blr%3Bdid%3D4c1.fa8383f%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK75ea.8528d4c4.0,SIP/2.0/UDP%20199.244.96.39%3A5060%3Breceived%3D199.244.96.39%3Bbranch%3Dz9hG4bK-524287-1---5baad07628c1ed4ce89f883cc3e9cabd%3Brport%3D5060,SIP/2.0/UDP%20199.244.96.47%3A5073%3Brport%3D5073%3Bbranch%3Dz9hG4bK-ci5u7f5muzfqcoop variable_sip_full_from: %3Csip%3A%2B447734373741%40199.244.96.39%3E%3Btag%3Dqbtbibvjtjwz36da.o variable_sip_full_to: %3Csip%3A441518320569%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE variable_sip_req_user: 441518320569 variable_sip_req_uri: 441518320569%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 441518320569 variable_sip_to_uri: 441518320569%40newsip.israelnumber.com variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_user: %2B447734373741 variable_sip_contact_port: 5073 variable_sip_contact_uri: %2B447734373741%40199.244.96.47%3A5073 variable_sip_contact_host: 199.244.96.47 variable_sip_user_agent: PortaSIP variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: %2B447734373741%40199.244.96.39 variable_sip_h_X-AUTH-IP: 199.244.96.39 variable_sip_h_P-Accountcode: 594905904039 variable_sip_h_P-effective_caller_id_name: %2B447734373741 variable_sip_h_P-effective_caller_id_number: %2B447734373741 variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%204012683372253332136%201%20IN%20IP4%20199.244.96.47%0D%0As%3Dsip%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2043322%20RTP/AVP%208%2018%200%20101%0D%0Ac%3DIN%20IP4%20199.244.96.47%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 199.244.96.47 variable_remote_media_port: 43322 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: %2B447734373741 Hunt-Dialplan: XML Hunt-Caller-ID-Name: %2B447734373741 Hunt-Caller-ID-Number: %2B447734373741 Hunt-Orig-Caller-ID-Name: %2B447734373741 Hunt-Orig-Caller-ID-Number: %2B447734373741 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: %2B447734373741 Hunt-Destination-Number: 441518320569 Hunt-Unique-ID: 3e002b78-155c-11ec-9d9f-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/%2B447734373741%40199.244.96.39 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624646286671 Hunt-Channel-Created-Time: 1631624646286671 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 441518320569 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '441518320569' limit 1 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '441518320569' AND status=0 limit 1 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '199.244.96.39' limit 1 2021-09-14 09:04:06.306676 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +447734373741 / +447734373741 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441518320569" LIMIT 1 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 594905904039] 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" OR number = "594905904039" AND deleted = 0 limit 1 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [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 ="441518320569" AND A.accountid = '855' limit 1 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 441518320569 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441518320569" LIMIT 1 2021-09-14 09:04:06.306676 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:04:06.306676 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="441518320569" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^441518320569.*' OR patterns = '^44151832056.*' OR patterns = '^4415183205.*' OR patterns = '^441518320.*' OR patterns = '^44151832.*' OR patterns = '^4415183.*' OR patterns = '^441518.*' OR patterns = '^44151.*' OR patterns = '^4415.*' OR patterns = '^441.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '441518320569' OR number = '44151832056' OR number = '4415183205' OR number = '441518320' OR number = '44151832' OR number = '4415183' OR number = '441518' OR number = '44151' OR number = '4415' OR number = '441' OR number = '44' OR number = '4' OR number ='--') OR (number = '441518320569*' OR number = '44151832056*' OR number = '4415183205*' OR number = '441518320*' OR number = '44151832*' OR number = '4415183*' OR number = '441518*' OR number = '44151*' OR number = '4415*' OR number = '441*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '+447734373741' OR number = '+44773437374' OR number = '+4477343737' OR number = '+447734373' OR number = '+44773437' OR number = '+4477343' OR number = '+447734' OR number = '+44773' OR number = '+4477' OR number = '+447' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+447734373741*' OR number = '+44773437374*' OR number = '+4477343737*' OR number = '+447734373*' OR number = '+44773437*' OR number = '+4477343*' OR number = '+447734*' OR number = '+44773*' OR number = '+4477*' OR number = '+447*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '441518320569' OR routing_prefix = '44151832056' OR routing_prefix = '4415183205' OR routing_prefix = '441518320' OR routing_prefix = '44151832' OR routing_prefix = '4415183' OR routing_prefix = '441518' OR routing_prefix = '44151' OR routing_prefix = '4415' OR routing_prefix = '441' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 855 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 594905904039 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="441518320569" LIMIT 1 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8985 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Liverpool Landline 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 855 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 855 !!! 2021-09-14 09:04:06.326679 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 855 AND status=0 LIMIT 1 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:855 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:855 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 855 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:04:06.326679 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:04:06.326679 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:04:06.326679 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:04:06.326679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:04:06.326679 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/+447734373741@199.244.96.39 parsing [default->441518320569] continue=false Dialplan: sofia/default/+447734373741@199.244.96.39 Regex (PASS) [441518320569] destination_number(441518320569) =~ /441518320569/ break=on-false Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(effective_destination_number=441518320569) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(callstart=2021-09-14 13:04:06) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(account_id=855) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(parent_id=0) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(entity_id=3) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(call_processed=internal) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(call_direction=inbound) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(accountname=default) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(origination_rates_did=ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(origination_rates=0) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(original_caller_id_name=+447734373741) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(original_caller_id_number=+447734373741) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(effective_caller_id_name=+447734373741) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(effective_caller_id_number=+447734373741) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(receiver_accid=851) Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/+447734373741@199.244.96.39 Action limit(db 441518320569 did_441518320569 2 !SWITCH_CONGESTION) Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(presence_data=x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39) Dialplan: sofia/default/+447734373741@199.244.96.39 Action export(call_type=2) Dialplan: sofia/default/+447734373741@199.244.96.39 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/+447734373741@199.244.96.39 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/441518320569@35.205.116.118) 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+447734373741@199.244.96.39) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+447734373741@199.244.96.39) State ROUTING going to sleep 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+447734373741@199.244.96.39) Running State Change CS_EXECUTE (Cur 7 Tot 248010) 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+447734373741@199.244.96.39) State EXECUTE 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:198 sofia/default/+447734373741@199.244.96.39 SOFIA EXECUTE 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:328 sofia/default/+447734373741@199.244.96.39 Standard EXECUTE EXECUTE sofia/default/+447734373741@199.244.96.39 set(effective_destination_number=441518320569) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [effective_destination_number]=[441518320569] EXECUTE sofia/default/+447734373741@199.244.96.39 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/+447734373741@199.244.96.39 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/+447734373741@199.244.96.39 set(callstart=2021-09-14 13:04:06) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [callstart]=[2021-09-14 13:04:06] EXECUTE sofia/default/+447734373741@199.244.96.39 set(hangup_after_bridge=true) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [hangup_after_bridge]=[true] EXECUTE sofia/default/+447734373741@199.244.96.39 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/+447734373741@199.244.96.39 set(account_id=855) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [account_id]=[855] EXECUTE sofia/default/+447734373741@199.244.96.39 set(parent_id=0) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [parent_id]=[0] EXECUTE sofia/default/+447734373741@199.244.96.39 set(entity_id=3) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [entity_id]=[3] EXECUTE sofia/default/+447734373741@199.244.96.39 set(call_processed=internal) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [call_processed]=[internal] EXECUTE sofia/default/+447734373741@199.244.96.39 set(call_direction=inbound) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [call_direction]=[inbound] EXECUTE sofia/default/+447734373741@199.244.96.39 set(accountname=default) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [accountname]=[default] EXECUTE sofia/default/+447734373741@199.244.96.39 set(filename1=astpp.pbx.lua) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/+447734373741@199.244.96.39 set(origination_rates_did=ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [origination_rates_did]=[ID:8985|CODE:^441518320569.*|DESTINATION:Liverpool Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851] EXECUTE sofia/default/+447734373741@199.244.96.39 set(origination_rates=0) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [origination_rates]=[0] EXECUTE sofia/default/+447734373741@199.244.96.39 set(original_caller_id_name=+447734373741) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [original_caller_id_name]=[+447734373741] EXECUTE sofia/default/+447734373741@199.244.96.39 set(original_caller_id_number=+447734373741) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [original_caller_id_number]=[+447734373741] EXECUTE sofia/default/+447734373741@199.244.96.39 set(effective_caller_id_name=+447734373741) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [effective_caller_id_name]=[+447734373741] EXECUTE sofia/default/+447734373741@199.244.96.39 set(effective_caller_id_number=+447734373741) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [effective_caller_id_number]=[+447734373741] EXECUTE sofia/default/+447734373741@199.244.96.39 set(receiver_accid=851) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [receiver_accid]=[851] EXECUTE sofia/default/+447734373741@199.244.96.39 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/+447734373741@199.244.96.39 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/+447734373741@199.244.96.39 limit(db 441518320569 did_441518320569 2 !SWITCH_CONGESTION) 2021-09-14 09:04:06.346685 [DEBUG] switch_limit.c:126 incr called: 441518320569_did_441518320569 max:2, interval:0 2021-09-14 09:04:06.346685 [DEBUG] mod_db.c:194 Usage for 441518320569_did_441518320569 is now 1/2 EXECUTE sofia/default/+447734373741@199.244.96.39 export(presence_data=x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39) 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39] EXECUTE sofia/default/+447734373741@199.244.96.39 export(call_type=2) 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/+447734373741@199.244.96.39 set(calltype=DIRECT-IP) 2021-09-14 09:04:06.346685 [DEBUG] mod_dptools.c:1548 SET sofia/default/+447734373741@199.244.96.39 [calltype]=[DIRECT-IP] EXECUTE sofia/default/+447734373741@199.244.96.39 bridge([leg_timeout=30]sofia/default/441518320569@35.205.116.118) 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [presence_data]=[x|||AvoxiIn1(594905904039)|||^441518320569.* // Liverpool Landline // 0.00000||||||DID|||199.244.96.39] to event 2021-09-14 09:04:06.346685 [DEBUG] switch_channel.c:1250 sofia/default/+447734373741@199.244.96.39 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:04:06.346685 [NOTICE] switch_channel.c:1104 New Channel sofia/default/441518320569@35.205.116.118 [3e09bf26-155c-11ec-9dbf-7dfb9f6e00f0] 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:4819 (sofia/default/441518320569@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:2963 sofia/default/441518320569@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248011) 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:627 (sofia/default/441518320569@35.205.116.118) State INIT 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:90 sofia/default/441518320569@35.205.116.118 SOFIA INIT 2021-09-14 09:04:06.346685 [DEBUG] sofia_glue.c:1295 sofia/default/441518320569@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631608028 1631608029 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 16618 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:40 sofia/default/441518320569@35.205.116.118 Standard INIT 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:48 (sofia/default/441518320569@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:627 (sofia/default/441518320569@35.205.116.118) State INIT going to sleep 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248011) 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:643 (sofia/default/441518320569@35.205.116.118) State ROUTING 2021-09-14 09:04:06.346685 [DEBUG] mod_sofia.c:143 sofia/default/441518320569@35.205.116.118 SOFIA ROUTING 2021-09-14 09:04:06.346685 [DEBUG] switch_ivr_originate.c:67 (sofia/default/441518320569@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:643 (sofia/default/441518320569@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248011) 2021-09-14 09:04:06.346685 [DEBUG] sofia.c:7084 Channel sofia/default/441518320569@35.205.116.118 entering state [calling][0] 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:662 (sofia/default/441518320569@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:04:06.346685 [DEBUG] switch_core_state_machine.c:662 (sofia/default/441518320569@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:04:06.806673 [DEBUG] sofia.c:7084 Channel sofia/default/441518320569@35.205.116.118 entering state [completing][200] 2021-09-14 09:04:06.806673 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 636030238 636030238 IN IP4 130.211.60.220 s=Asterisk PBX 13.29.2 c=IN IP4 130.211.60.220 t=0 0 m=audio 10008 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2021-09-14 09:04:06.806673 [DEBUG] sofia.c:7084 Channel sofia/default/441518320569@35.205.116.118 entering state [ready][200] 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/441518320569@35.205.116.118 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:06.806673 [DEBUG] switch_core_codec.c:111 sofia/default/441518320569@35.205.116.118 Original read codec set to PCMA:8 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:4767 sofia/default/441518320569@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/441518320569@35.205.116.118] 89.46.223.193 port 16618 -> 130.211.60.220 port 10008 codec: 8 ms: 20 2021-09-14 09:04:06.806673 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:7180 sofia/default/441518320569@35.205.116.118 Set 2833 dtmf send payload to 101 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:7187 sofia/default/441518320569@35.205.116.118 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:06.806673 [DEBUG] switch_core_media.c:7210 sofia/default/441518320569@35.205.116.118 Set rtp dtmf delay to 40 2021-09-14 09:04:06.806673 [NOTICE] sofia.c:8218 Channel [sofia/default/441518320569@35.205.116.118] has been answered 2021-09-14 09:04:06.806673 [DEBUG] switch_channel.c:3773 (sofia/default/441518320569@35.205.116.118) Callstate Change DOWN -> ACTIVE 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/+447734373741@199.244.96.39] 89.46.223.193 port 28472 -> 199.244.96.47 port 43322 codec: 8 ms: 20 2021-09-14 09:04:06.826675 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:7180 sofia/default/+447734373741@199.244.96.39 Set 2833 dtmf send payload to 101 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:7187 sofia/default/+447734373741@199.244.96.39 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:06.826675 [DEBUG] switch_core_media.c:7210 sofia/default/+447734373741@199.244.96.39 Set rtp dtmf delay to 40 2021-09-14 09:04:06.826675 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/+447734373741@199.244.96.39: v=0 o=FreeSWITCH 1631596174 1631596175 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 28472 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:06.826675 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/+447734373741@199.244.96.39] has been answered 2021-09-14 09:04:06.826675 [DEBUG] switch_channel.c:3773 (sofia/default/+447734373741@199.244.96.39) Callstate Change RINGING -> ACTIVE 2021-09-14 09:04:06.826675 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/441518320569@35.205.116.118] 2021-09-14 09:04:06.826675 [DEBUG] sofia.c:7084 Channel sofia/default/+447734373741@199.244.96.39 entering state [completed][200] 2021-09-14 09:04:06.826675 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/441518320569@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:04:06.826675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/441518320569@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 248011) 2021-09-14 09:04:06.826675 [DEBUG] switch_core_state_machine.c:653 (sofia/default/441518320569@35.205.116.118) State EXCHANGE_MEDIA 2021-09-14 09:04:06.826675 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:04:06.966681 [DEBUG] sofia.c:7084 Channel sofia/default/+447734373741@199.244.96.39 entering state [ready][200] 2021-09-14 09:04:07.006685 [DEBUG] switch_ivr_bridge.c:546 sofia/default/441518320569@35.205.116.118 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:07.026680 [DEBUG] switch_ivr.c:623 sofia/default/441518320569@35.205.116.118 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/441518320569@35.205.116.118 sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:07.026680 [DEBUG] switch_scheduler.c:249 Added task 31129 switch_ivr_schedule_hangup (3e09bf26-155c-11ec-9dbf-7dfb9f6e00f0) to run at 1631635447 2021-09-14 09:04:07.146679 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:07.226670 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:15.246670 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [proceeding][181] 2021-09-14 09:04:15.246670 [DEBUG] sofia.c:7084 Channel sofia/default/41445510261@35.205.116.118 entering state [terminated][486] 2021-09-14 09:04:15.246670 [NOTICE] sofia.c:8273 Hangup sofia/default/41445510261@35.205.116.118 [CS_EXCHANGE_MEDIA] [USER_BUSY] 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:712 sofia/default/41445510261@35.205.116.118 ending bridge by request from read function 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/41445510261@35.205.116.118] 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:653 (sofia/default/41445510261@35.205.116.118) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248011) 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/41445510261@35.205.116.118) Callstate Change EARLY -> HANGUP 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/41445510261@35.205.116.118) State HANGUP 2021-09-14 09:04:15.246670 [DEBUG] mod_sofia.c:438 Channel sofia/default/41445510261@35.205.116.118 hanging up, cause: USER_BUSY 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:60 sofia/default/41445510261@35.205.116.118 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/41445510261@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/41445510261@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/41445510261@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248011) 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/41445510261@35.205.116.118) State REPORTING 2021-09-14 09:04:15.246670 [INFO] mod_json_cdr.c:271 Process [373aa264-155c-11ec-9d99-7dfb9f6e00f0.cdr.json] 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/+442072589987@173.203.86.119] 2021-09-14 09:04:15.246670 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/41445510261@35.205.116.118 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:04:15.246670 [NOTICE] switch_channel.c:4844 Hangup sofia/default/+442072589987@173.203.86.119 [CS_EXECUTE] [USER_BUSY] 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:174 sofia/default/41445510261@35.205.116.118 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/41445510261@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:04:15.246670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/41445510261@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:04:15.246670 [DEBUG] switch_core_session.c:1665 Session 248009 (sofia/default/41445510261@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1683 Session 248009 (sofia/default/41445510261@35.205.116.118) Ended 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/41445510261@35.205.116.118 [CS_DESTROY] 2021-09-14 09:04:15.266668 [DEBUG] switch_core_session.c:2815 sofia/default/+442072589987@173.203.86.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+442072589987@173.203.86.119) State EXECUTE going to sleep 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_HANGUP (Cur 7 Tot 248011) 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/41445510261@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248011) 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/41445510261@35.205.116.118) State DESTROY 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:343 sofia/default/41445510261@35.205.116.118 SOFIA DESTROY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:181 sofia/default/41445510261@35.205.116.118 Standard DESTROY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/41445510261@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+442072589987@173.203.86.119) Callstate Change EARLY -> HANGUP 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+442072589987@173.203.86.119) State HANGUP 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:432 sofia/default/+442072589987@173.203.86.119 Overriding SIP cause 486 with 486 from the other leg 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:438 Channel sofia/default/+442072589987@173.203.86.119 hanging up, cause: USER_BUSY 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:60 sofia/default/+442072589987@173.203.86.119 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+442072589987@173.203.86.119) State HANGUP going to sleep 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+442072589987@173.203.86.119) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_REPORTING (Cur 7 Tot 248011) 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+442072589987@173.203.86.119) State REPORTING 2021-09-14 09:04:15.266668 [INFO] mod_json_cdr.c:271 Process [3734cc22-155c-11ec-9d79-7dfb9f6e00f0.cdr.json] 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:174 sofia/default/+442072589987@173.203.86.119 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+442072589987@173.203.86.119) State REPORTING going to sleep 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+442072589987@173.203.86.119) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_session.c:1665 Session 248008 (sofia/default/+442072589987@173.203.86.119) Locked, Waiting on external entities 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1683 Session 248008 (sofia/default/+442072589987@173.203.86.119) Ended 2021-09-14 09:04:15.266668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+442072589987@173.203.86.119 [CS_DESTROY] 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+442072589987@173.203.86.119) Running State Change CS_DESTROY (Cur 6 Tot 248011) 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+442072589987@173.203.86.119) State DESTROY 2021-09-14 09:04:15.266668 [DEBUG] mod_sofia.c:343 sofia/default/+442072589987@173.203.86.119 SOFIA DESTROY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:181 sofia/default/+442072589987@173.203.86.119 Standard DESTROY 2021-09-14 09:04:15.266668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+442072589987@173.203.86.119) State DESTROY going to sleep 2021-09-14 09:04:15.526756 [DEBUG] switch_scheduler.c:144 Deleting task 31128 switch_ivr_schedule_hangup (373aa264-155c-11ec-9d99-7dfb9f6e00f0) 2021-09-14 09:04:16.206673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390399745536@92.249.69.77 [43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_NEW (Cur 7 Tot 248012) 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:9873 sofia/default/390399745536@92.249.69.77 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:7084 Channel sofia/default/390399745536@92.249.69.77 entering state [received][100] 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=asterisk 102370267 102370267 IN IP4 92.249.69.77 s=Asterisk PBX c=IN IP4 92.249.69.77 t=0 0 m=audio 34646 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390399745536@92.249.69.77 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:16.206673 [DEBUG] switch_core_codec.c:111 sofia/default/390399745536@92.249.69.77 Original read codec set to PCMA:8 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:16.206673 [DEBUG] switch_core_media.c:4767 sofia/default/390399745536@92.249.69.77 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:16.206673 [DEBUG] sofia.c:7507 (sofia/default/390399745536@92.249.69.77) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:603 (sofia/default/390399745536@92.249.69.77) State NEW 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_INIT (Cur 7 Tot 248012) 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT 2021-09-14 09:04:16.206673 [DEBUG] mod_sofia.c:90 sofia/default/390399745536@92.249.69.77 SOFIA INIT 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:40 sofia/default/390399745536@92.249.69.77 Standard INIT 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390399745536@92.249.69.77) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399745536@92.249.69.77) State INIT going to sleep 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_ROUTING (Cur 7 Tot 248012) 2021-09-14 09:04:16.206673 [DEBUG] switch_channel.c:2249 (sofia/default/390399745536@92.249.69.77) Callstate Change DOWN -> RINGING 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING 2021-09-14 09:04:16.206673 [DEBUG] mod_sofia.c:143 sofia/default/390399745536@92.249.69.77 SOFIA ROUTING 2021-09-14 09:04:16.206673 [DEBUG] switch_core_state_machine.c:236 sofia/default/390399745536@92.249.69.77 Standard ROUTING 2021-09-14 09:04:16.206673 [INFO] mod_dialplan_xml.c:637 Processing 390399745536 <390399745536>->00393357118905 in context default 2021-09-14 09:04:16.206673 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A04%3A16 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A16%20GMT Event-Date-Timestamp: 1631624656206673 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527639 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/390399745536%4092.249.69.77 Unique-ID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 390399745536%4092.249.69.77 Channel-Call-UUID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 390399745536 Caller-Dialplan: XML Caller-Caller-ID-Name: 390399745536 Caller-Caller-ID-Number: 390399745536 Caller-Orig-Caller-ID-Name: 390399745536 Caller-Orig-Caller-ID-Number: 390399745536 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 390399745536 Caller-Destination-Number: 00393357118905 Caller-Unique-ID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/390399745536%4092.249.69.77 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624656206673 Caller-Channel-Created-Time: 1631624656206673 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: false Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0 variable_session_id: 248012 variable_sip_from_user: 390399745536 variable_sip_from_uri: 390399745536%4092.249.69.77 variable_sip_from_host: 92.249.69.77 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/390399745536%4092.249.69.77 variable_sip_call_id: 22a8b6071e23d12305c9a02e53383982%4092.249.69.77%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624656206673 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 390399745536 variable_sip_from_tag: as13fb429e variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_Remote-Party-ID: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno variable_sip_cid_type: rpid variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Da13.881859c4%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Da13.881859c4%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK9e13.eea63863.0,SIP/2.0/UDP%2092.249.69.77%3A5060%3Bbranch%3Dz9hG4bK3fb40630 variable_sip_from_display: 390399745536 variable_sip_full_from: %22390399745536%22%20%3Csip%3A390399745536%4092.249.69.77%3E%3Btag%3Das13fb429e variable_sip_full_to: %3Csip%3A00393357118905%40136.243.196.198%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 00393357118905 variable_sip_req_uri: 00393357118905%40136.243.196.198 variable_sip_req_host: 136.243.196.198 variable_sip_to_user: 00393357118905 variable_sip_to_uri: 00393357118905%40136.243.196.198 variable_sip_to_host: 136.243.196.198 variable_sip_contact_user: 390399745536 variable_sip_contact_port: 5060 variable_sip_contact_uri: 390399745536%4092.249.69.77%3A5060 variable_sip_contact_host: 92.249.69.77 variable_sip_user_agent: Asterisk%20PBX variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 390399745536%4092.249.69.77 variable_sip_h_X-AUTH-IP: 92.249.69.77 variable_sip_h_P-Accountcode: 619312506378 variable_sip_h_P-effective_caller_id_name: 390399745536 variable_sip_h_P-effective_caller_id_number: 390399745536 variable_switch_r_sdp: v%3D0%0D%0Ao%3Dasterisk%20102370267%20102370267%20IN%20IP4%2092.249.69.77%0D%0As%3DAsterisk%20PBX%0D%0Ac%3DIN%20IP4%2092.249.69.77%0D%0At%3D0%200%0D%0Am%3Daudio%2034646%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 92.249.69.77 variable_remote_media_port: 34646 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 390399745536 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 390399745536 Hunt-Caller-ID-Number: 390399745536 Hunt-Orig-Caller-ID-Name: 390399745536 Hunt-Orig-Caller-ID-Number: 390399745536 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 390399745536 Hunt-Destination-Number: 00393357118905 Hunt-Unique-ID: 43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/390399745536%4092.249.69.77 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624656206673 Hunt-Channel-Created-Time: 1631624656206673 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: false Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 00393357118905 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00393357118905' limit 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '00393357118905' AND status=0 limit 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '92.249.69.77' limit 1 2021-09-14 09:04:16.206673 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 390399745536 / 390399745536 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378] 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00393357118905.*' OR blocked_patterns = '^0039335711890.*' OR blocked_patterns = '^003933571189.*' OR blocked_patterns = '^00393357118.*' OR blocked_patterns = '^0039335711.*' OR blocked_patterns = '^003933571.*' OR blocked_patterns = '^00393357.*' OR blocked_patterns = '^0039335.*' OR blocked_patterns = '^003933.*' OR blocked_patterns = '^00393.*' OR blocked_patterns = '^0039.*' OR blocked_patterns = '^003.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [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 ="00393357118905" AND A.accountid = '1039' limit 1 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 00393357118905 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="00393357118905" LIMIT 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00393357118905" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:04:16.206673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00393357118905" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....00393357118905 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00393357118905 2021-09-14 09:04:16.206673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 393357118905 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....393357118905 2021-09-14 09:04:16.206673 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^393357118905.*' OR patterns = '^39335711890.*' OR patterns = '^3933571189.*' OR patterns = '^393357118.*' OR patterns = '^39335711.*' OR patterns = '^3933571.*' OR patterns = '^393357.*' OR patterns = '^39335.*' OR patterns = '^3933.*' OR patterns = '^393.*' OR patterns = '^39.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '393357118905' OR number = '39335711890' OR number = '3933571189' OR number = '393357118' OR number = '39335711' OR number = '3933571' OR number = '393357' OR number = '39335' OR number = '3933' OR number = '393' OR number = '39' OR number = '3' OR number ='--') OR (number = '393357118905*' OR number = '39335711890*' OR number = '3933571189*' OR number = '393357118*' OR number = '39335711*' OR number = '3933571*' OR number = '393357*' OR number = '39335*' OR number = '3933*' OR number = '393*' OR number = '39*' OR number = '3*' OR number ='--') OR (number = '390399745536' OR number = '39039974553' OR number = '3903997455' OR number = '390399745' OR number = '39039974' OR number = '3903997' OR number = '390399' OR number = '39039' OR number = '3903' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390399745536*' OR number = '39039974553*' OR number = '3903997455*' OR number = '390399745*' OR number = '39039974*' OR number = '3903997*' OR number = '390399*' OR number = '39039*' OR number = '3903*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '393357118905' OR routing_prefix = '39335711890' OR routing_prefix = '3933571189' OR routing_prefix = '393357118' OR routing_prefix = '39335711' OR routing_prefix = '3933571' OR routing_prefix = '393357' OR routing_prefix = '39335' OR routing_prefix = '3933' OR routing_prefix = '393' OR routing_prefix = '39' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1140861 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.33792 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : ItalyTim Mobile 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!! 2021-09-14 09:04:16.226667 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins! 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1140861 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^393357118905.*' OR pattern = '^39335711890.*' OR pattern = '^3933571189.*' OR pattern = '^393357118.*' OR pattern = '^39335711.*' OR pattern = '^3933571.*' OR pattern = '^393357.*' OR pattern = '^39335.*' OR pattern = '^3933.*' OR pattern = '^393.*' OR pattern = '^39.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1916641 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.* 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.* 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2096391 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.* 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ITALY - MOBILE TIM 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.* 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1744105 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^39335.* 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ItalyTim Mobile 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^39335.* 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:04:16.226667 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [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 = 1017) AND status=0 limit 1 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....393357118905 2021-09-14 09:04:16.226667 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:04:16.226667 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/390399745536@92.249.69.77 parsing [default->393357118905] continue=false Dialplan: sofia/default/390399745536@92.249.69.77 Regex (PASS) [393357118905] destination_number(00393357118905) =~ /00393357118905/ break=on-false Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_destination_number=393357118905) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(callstart=2021-09-14 13:04:16) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(hangup_after_bridge=true) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(account_id=1039) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(parent_id=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(entity_id=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_processed=internal) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(call_direction=outbound) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(accountname=default) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(original_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(is_recording=1) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(media_bug_answer_req=true) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(RECORD_STEREO=true) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(record_sample_rate=8000) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=53) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=53) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77) Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:2096391|CODE:^39335.*|DESTINATION:ITALY - MOBILE TIM|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.20410|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=55) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=1017) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=55) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||High_Telia_110821 // ^39335.* // ITALY - MOBILE TIM // 0.20410 // trunk_id=55|||STD|||92.249.69.77) Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/393357118905;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_name=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(effective_caller_id_number=390399745536) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(termination_rates=ID:1744105|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21120|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(trunk_id=51) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(provider_id=587) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(force_trunk_flag=1140861) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=trunk_id=51) Dialplan: sofia/default/390399745536@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/390399745536@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||high_tata_37113_110821 // ^39335.* // ItalyTim Mobile // 0.21120 // trunk_id=51|||STD|||92.249.69.77) Dialplan: sofia/default/390399745536@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:286 (sofia/default/390399745536@92.249.69.77) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399745536@92.249.69.77) State ROUTING going to sleep 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_EXECUTE (Cur 7 Tot 248012) 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE 2021-09-14 09:04:16.226667 [DEBUG] mod_sofia.c:198 sofia/default/390399745536@92.249.69.77 SOFIA EXECUTE 2021-09-14 09:04:16.226667 [DEBUG] switch_core_state_machine.c:328 sofia/default/390399745536@92.249.69.77 Standard EXECUTE EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_destination_number=393357118905) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_destination_number]=[393357118905] EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/390399745536@92.249.69.77 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/390399745536@92.249.69.77 set(callstart=2021-09-14 13:04:16) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [callstart]=[2021-09-14 13:04:16] EXECUTE sofia/default/390399745536@92.249.69.77 set(hangup_after_bridge=true) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [hangup_after_bridge]=[true] EXECUTE sofia/default/390399745536@92.249.69.77 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/390399745536@92.249.69.77 set(account_id=1039) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [account_id]=[1039] EXECUTE sofia/default/390399745536@92.249.69.77 set(parent_id=0) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [parent_id]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 set(entity_id=0) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [entity_id]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 set(call_processed=internal) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_processed]=[internal] EXECUTE sofia/default/390399745536@92.249.69.77 set(call_direction=outbound) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [call_direction]=[outbound] EXECUTE sofia/default/390399745536@92.249.69.77 set(accountname=default) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [accountname]=[default] EXECUTE sofia/default/390399745536@92.249.69.77 set(filename1=astpp.pbx.lua) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/390399745536@92.249.69.77 set(origination_rates=ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [origination_rates]=[ID:1140861|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33792|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039] EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_name=390399745536) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_name]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 set(original_caller_id_number=390399745536) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [original_caller_id_number]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 export(is_recording=1) 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1] EXECUTE sofia/default/390399745536@92.249.69.77 export(media_bug_answer_req=true) 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE sofia/default/390399745536@92.249.69.77 export(RECORD_STEREO=true) 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE sofia/default/390399745536@92.249.69.77 export(record_sample_rate=8000) 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE sofia/default/390399745536@92.249.69.77 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.wav) 2021-09-14 09:04:16.226667 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.wav] EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_name=390399745536) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_name]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 set(effective_caller_id_number=390399745536) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [effective_caller_id_number]=[390399745536] EXECUTE sofia/default/390399745536@92.249.69.77 set(calltype=STANDARD) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [calltype]=[STANDARD] EXECUTE sofia/default/390399745536@92.249.69.77 set(termination_rates=ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [termination_rates]=[ID:1916641|CODE:^39335.*|DESTINATION:ItalyTim Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.08000|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587] EXECUTE sofia/default/390399745536@92.249.69.77 set(trunk_id=53) 2021-09-14 09:04:16.226667 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [trunk_id]=[53] EXECUTE sofia/default/390399745536@92.249.69.77 set(provider_id=587) 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [provider_id]=[587] EXECUTE sofia/default/390399745536@92.249.69.77 set(rate_flag=0) 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [rate_flag]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 set(force_trunk_flag=1140861) 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [force_trunk_flag]=[1140861] EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=trunk_id=53) 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53] EXECUTE sofia/default/390399745536@92.249.69.77 set(intcall=0) 2021-09-14 09:04:16.246659 [DEBUG] mod_dptools.c:1548 SET sofia/default/390399745536@92.249.69.77 [intcall]=[0] EXECUTE sofia/default/390399745536@92.249.69.77 export(presence_data=x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77) 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] EXECUTE sofia/default/390399745536@92.249.69.77 bridge([leg_timeout=0]sofia/gateway/tata3/393357118905;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [is_recording]=[1] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.wav] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_channel.c:1250 sofia/default/390399745536@92.249.69.77 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^39335.* // ItalyTim Mobile // 0.33792 // trunk_id=0|||Low_Tata_38986_110821 // ^39335.* // ItalyTim Mobile // 0.08000 // trunk_id=53|||STD|||92.249.69.77] to event 2021-09-14 09:04:16.246659 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:04:16.246659 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:04:16.246659 [NOTICE] switch_channel.c:1104 New Channel sofia/default/393357118905 [43ede8b8-155c-11ec-9deb-7dfb9f6e00f0] 2021-09-14 09:04:16.246659 [DEBUG] mod_sofia.c:4819 (sofia/default/393357118905) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_INIT (Cur 8 Tot 248013) 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT 2021-09-14 09:04:16.246659 [DEBUG] mod_sofia.c:90 sofia/default/393357118905 SOFIA INIT 2021-09-14 09:04:16.246659 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/393357118905 2021-09-14 09:04:16.246659 [DEBUG] sofia_glue.c:1295 sofia/default/393357118905 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631606950 1631606951 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 17706 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:40 sofia/default/393357118905 Standard INIT 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:48 (sofia/default/393357118905) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:627 (sofia/default/393357118905) State INIT going to sleep 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_ROUTING (Cur 8 Tot 248013) 2021-09-14 09:04:16.246659 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [calling][0] 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING 2021-09-14 09:04:16.246659 [DEBUG] mod_sofia.c:143 sofia/default/393357118905 SOFIA ROUTING 2021-09-14 09:04:16.246659 [DEBUG] switch_ivr_originate.c:67 (sofia/default/393357118905) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:643 (sofia/default/393357118905) State ROUTING going to sleep 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248013) 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA 2021-09-14 09:04:16.246659 [DEBUG] switch_core_state_machine.c:662 (sofia/default/393357118905) State CONSUME_MEDIA going to sleep 2021-09-14 09:04:24.266670 [DEBUG] sofia.c:7084 Channel sofia/default/393357118905 entering state [terminated][486] 2021-09-14 09:04:24.266670 [NOTICE] sofia.c:8273 Hangup sofia/default/393357118905 [CS_CONSUME_MEDIA] [USER_BUSY] 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_HANGUP (Cur 8 Tot 248013) 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/393357118905) Callstate Change DOWN -> HANGUP 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP 2021-09-14 09:04:24.266670 [DEBUG] mod_sofia.c:438 Channel sofia/default/393357118905 hanging up, cause: USER_BUSY 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:60 sofia/default/393357118905 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/393357118905) State HANGUP going to sleep 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/393357118905) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/393357118905) Running State Change CS_REPORTING (Cur 8 Tot 248013) 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING 2021-09-14 09:04:24.266670 [INFO] mod_json_cdr.c:271 Process [43ede8b8-155c-11ec-9deb-7dfb9f6e00f0.cdr.json] 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:174 sofia/default/393357118905 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/393357118905) State REPORTING going to sleep 2021-09-14 09:04:24.266670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/393357118905) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:04:24.266670 [DEBUG] switch_core_session.c:1665 Session 248013 (sofia/default/393357118905) Locked, Waiting on external entities 2021-09-14 09:04:24.286688 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY] 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1683 Session 248013 (sofia/default/393357118905) Ended 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/393357118905 [CS_DESTROY] 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:741 (sofia/default/393357118905) Running State Change CS_DESTROY (Cur 7 Tot 248013) 2021-09-14 09:04:24.286688 [INFO] mod_dptools.c:3436 Originate Failed. Cause: USER_BUSY 2021-09-14 09:04:24.286688 [NOTICE] switch_channel.c:4844 Hangup sofia/default/390399745536@92.249.69.77 [CS_EXECUTE] [USER_BUSY] 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:343 sofia/default/393357118905 SOFIA DESTROY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:181 sofia/default/393357118905 Standard DESTROY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/393357118905) State DESTROY going to sleep 2021-09-14 09:04:24.286688 [DEBUG] switch_core_session.c:2815 sofia/default/390399745536@92.249.69.77 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390399745536@92.249.69.77) State EXECUTE going to sleep 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_HANGUP (Cur 7 Tot 248013) 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399745536@92.249.69.77) Callstate Change RINGING -> HANGUP 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:432 sofia/default/390399745536@92.249.69.77 Overriding SIP cause 486 with 486 from the other leg 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399745536@92.249.69.77 hanging up, cause: USER_BUSY 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399745536@92.249.69.77 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399745536@92.249.69.77) State HANGUP going to sleep 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399745536@92.249.69.77) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399745536@92.249.69.77) Running State Change CS_REPORTING (Cur 7 Tot 248013) 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING 2021-09-14 09:04:24.286688 [INFO] mod_json_cdr.c:271 Process [43e7aec6-155c-11ec-9dc5-7dfb9f6e00f0.cdr.json] 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399745536@92.249.69.77 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399745536@92.249.69.77) State REPORTING going to sleep 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399745536@92.249.69.77) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_session.c:1665 Session 248012 (sofia/default/390399745536@92.249.69.77) Locked, Waiting on external entities 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1683 Session 248012 (sofia/default/390399745536@92.249.69.77) Ended 2021-09-14 09:04:24.286688 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399745536@92.249.69.77 [CS_DESTROY] 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399745536@92.249.69.77) Running State Change CS_DESTROY (Cur 6 Tot 248013) 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY 2021-09-14 09:04:24.286688 [DEBUG] mod_sofia.c:343 sofia/default/390399745536@92.249.69.77 SOFIA DESTROY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399745536@92.249.69.77 Standard DESTROY 2021-09-14 09:04:24.286688 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399745536@92.249.69.77) State DESTROY going to sleep 2021-09-14 09:04:32.606671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48502760875@46.19.210.14 [4dafbc6e-155c-11ec-9def-7dfb9f6e00f0] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248014) 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:9873 sofia/default/48502760875@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:7084 Channel sofia/default/48502760875@46.19.210.14 entering state [received][100] 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 0 1 IN IP4 46.19.210.23 s=didww-sbc t=0 0 m=audio 54016 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.23 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48502760875@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:32.606671 [DEBUG] switch_core_codec.c:111 sofia/default/48502760875@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:32.606671 [DEBUG] switch_core_media.c:4767 sofia/default/48502760875@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:32.606671 [DEBUG] sofia.c:7507 (sofia/default/48502760875@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48502760875@46.19.210.14) State NEW 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248014) 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48502760875@46.19.210.14) State INIT 2021-09-14 09:04:32.606671 [DEBUG] mod_sofia.c:90 sofia/default/48502760875@46.19.210.14 SOFIA INIT 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:40 sofia/default/48502760875@46.19.210.14 Standard INIT 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48502760875@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48502760875@46.19.210.14) State INIT going to sleep 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248014) 2021-09-14 09:04:32.606671 [DEBUG] switch_channel.c:2249 (sofia/default/48502760875@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48502760875@46.19.210.14) State ROUTING 2021-09-14 09:04:32.606671 [DEBUG] mod_sofia.c:143 sofia/default/48502760875@46.19.210.14 SOFIA ROUTING 2021-09-14 09:04:32.606671 [DEBUG] switch_core_state_machine.c:236 sofia/default/48502760875@46.19.210.14 Standard ROUTING 2021-09-14 09:04:32.606671 [INFO] mod_dialplan_xml.c:637 Processing 48502760875 <48502760875>->48221531871 in context default 2021-09-14 09:04:32.606671 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:04:32.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:04:32.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:04:32.606671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A04%3A32 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A32%20GMT Event-Date-Timestamp: 1631624672606671 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527738 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48502760875%4046.19.210.14 Unique-ID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48502760875%4046.19.210.14 Channel-Call-UUID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48502760875 Caller-Dialplan: XML Caller-Caller-ID-Name: 48502760875 Caller-Caller-ID-Number: 48502760875 Caller-Orig-Caller-ID-Name: 48502760875 Caller-Orig-Caller-ID-Number: 48502760875 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48502760875 Caller-Destination-Number: 48221531871 Caller-Unique-ID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48502760875%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624672606671 Caller-Channel-Created-Time: 1631624672606671 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0 variable_session_id: 248014 variable_sip_from_user: 48502760875 variable_sip_from_uri: 48502760875%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48502760875%4046.19.210.14 variable_sip_call_id: 14-14-7641671A-61409DE00008DD9D-71723700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624672606671 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48502760875 variable_sip_from_tag: 14-6AD50234-61409DE00008DCA1-71723700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcce.7abd5167%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcce.7abd5167%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKbe5b.7e2fe421.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKwIQqjae.%3Brport%3D5060 variable_sip_from_display: 48502760875 variable_sip_full_from: %2248502760875%22%20%3Csip%3A48502760875%4046.19.210.14%3E%3Btag%3D14-6AD50234-61409DE00008DCA1-71723700 variable_sip_full_to: %3Csip%3A48221531871%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48221531871 variable_sip_req_port: 5060 variable_sip_req_uri: 48221531871%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48221531871 variable_sip_to_port: 5060 variable_sip_to_uri: 48221531871%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48502760875%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48502760875 variable_sip_h_P-effective_caller_id_number: 48502760875 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%200%201%20IN%20IP4%2046.19.210.23%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2054016%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.23%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.23 variable_remote_media_port: 54016 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48502760875 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48502760875 Hunt-Caller-ID-Number: 48502760875 Hunt-Orig-Caller-ID-Name: 48502760875 Hunt-Orig-Caller-ID-Number: 48502760875 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48502760875 Hunt-Destination-Number: 48221531871 Hunt-Unique-ID: 4dafbc6e-155c-11ec-9def-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48502760875%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624672606671 Hunt-Channel-Created-Time: 1631624672606671 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:04:32.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48221531871 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48221531871' limit 1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48221531871' AND status=0 limit 1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:04:32.626741 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48502760875 / 48502760875 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48221531871" LIMIT 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [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 ="48221531871" AND A.accountid = '863' limit 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48221531871 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48221531871" LIMIT 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48221531871" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48221531871.*' OR patterns = '^4822153187.*' OR patterns = '^482215318.*' OR patterns = '^48221531.*' OR patterns = '^4822153.*' OR patterns = '^482215.*' OR patterns = '^48221.*' OR patterns = '^4822.*' OR patterns = '^482.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48221531871' OR number = '4822153187' OR number = '482215318' OR number = '48221531' OR number = '4822153' OR number = '482215' OR number = '48221' OR number = '4822' OR number = '482' OR number = '48' OR number = '4' OR number ='--') OR (number = '48221531871*' OR number = '4822153187*' OR number = '482215318*' OR number = '48221531*' OR number = '4822153*' OR number = '482215*' OR number = '48221*' OR number = '4822*' OR number = '482*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48502760875' OR number = '4850276087' OR number = '485027608' OR number = '48502760' OR number = '4850276' OR number = '485027' OR number = '48502' OR number = '4850' OR number = '485' OR number = '48' OR number = '4' OR number ='--') OR (number = '48502760875*' OR number = '4850276087*' OR number = '485027608*' OR number = '48502760*' OR number = '4850276*' OR number = '485027*' OR number = '48502*' OR number = '4850*' OR number = '485*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48221531871' OR routing_prefix = '4822153187' OR routing_prefix = '482215318' OR routing_prefix = '48221531' OR routing_prefix = '4822153' OR routing_prefix = '482215' OR routing_prefix = '48221' OR routing_prefix = '4822' OR routing_prefix = '482' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48221531871" LIMIT 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 10545 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Warsaw Landline 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:04:32.626741 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:04:32.626741 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:04:32.626741 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:04:32.626741 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:04:32.626741 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:04:32.626741 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48502760875@46.19.210.14 parsing [default->48221531871] continue=false Dialplan: sofia/default/48502760875@46.19.210.14 Regex (PASS) [48221531871] destination_number(48221531871) =~ /48221531871/ break=on-false Dialplan: sofia/default/48502760875@46.19.210.14 Action set(effective_destination_number=48221531871) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(callstart=2021-09-14 13:04:32) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(origination_rates_did=ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(original_caller_id_name=48502760875) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(original_caller_id_number=48502760875) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(effective_caller_id_name=48502760875) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(effective_caller_id_number=48502760875) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48502760875@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48502760875@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48502760875@46.19.210.14 Action limit(db 48221531871 did_48221531871 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48502760875@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48502760875@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48502760875@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48502760875@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48221531871@35.205.116.118) 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48502760875@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48502760875@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248014) 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48502760875@46.19.210.14) State EXECUTE 2021-09-14 09:04:32.626741 [DEBUG] mod_sofia.c:198 sofia/default/48502760875@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:04:32.626741 [DEBUG] switch_core_state_machine.c:328 sofia/default/48502760875@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48502760875@46.19.210.14 set(effective_destination_number=48221531871) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [effective_destination_number]=[48221531871] EXECUTE sofia/default/48502760875@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48502760875@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48502760875@46.19.210.14 set(callstart=2021-09-14 13:04:32) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [callstart]=[2021-09-14 13:04:32] EXECUTE sofia/default/48502760875@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48502760875@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48502760875@46.19.210.14 set(account_id=863) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48502760875@46.19.210.14 set(parent_id=0) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48502760875@46.19.210.14 set(entity_id=3) 2021-09-14 09:04:32.626741 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48502760875@46.19.210.14 set(call_processed=internal) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48502760875@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48502760875@46.19.210.14 set(accountname=default) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48502760875@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48502760875@46.19.210.14 set(origination_rates_did=ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [origination_rates_did]=[ID:10545|CODE:^48221531871.*|DESTINATION:Warsaw Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48502760875@46.19.210.14 set(origination_rates=0) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48502760875@46.19.210.14 set(original_caller_id_name=48502760875) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [original_caller_id_name]=[48502760875] EXECUTE sofia/default/48502760875@46.19.210.14 set(original_caller_id_number=48502760875) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [original_caller_id_number]=[48502760875] EXECUTE sofia/default/48502760875@46.19.210.14 set(effective_caller_id_name=48502760875) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [effective_caller_id_name]=[48502760875] EXECUTE sofia/default/48502760875@46.19.210.14 set(effective_caller_id_number=48502760875) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [effective_caller_id_number]=[48502760875] EXECUTE sofia/default/48502760875@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48502760875@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48502760875@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48502760875@46.19.210.14 limit(db 48221531871 did_48221531871 2 !SWITCH_CONGESTION) 2021-09-14 09:04:32.646662 [DEBUG] switch_limit.c:126 incr called: 48221531871_did_48221531871 max:2, interval:0 2021-09-14 09:04:32.646662 [DEBUG] mod_db.c:194 Usage for 48221531871_did_48221531871 is now 1/2 EXECUTE sofia/default/48502760875@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48502760875@46.19.210.14 export(call_type=2) 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48502760875@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:04:32.646662 [DEBUG] mod_dptools.c:1548 SET sofia/default/48502760875@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48502760875@46.19.210.14 bridge([leg_timeout=30]sofia/default/48221531871@35.205.116.118) 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48221531871.* // Warsaw Landline // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:04:32.646662 [DEBUG] switch_channel.c:1250 sofia/default/48502760875@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:04:32.646662 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48221531871@35.205.116.118 [4db507dc-155c-11ec-9e0f-7dfb9f6e00f0] 2021-09-14 09:04:32.646662 [DEBUG] mod_sofia.c:4819 (sofia/default/48221531871@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48221531871@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248015) 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48221531871@35.205.116.118) State INIT 2021-09-14 09:04:32.646662 [DEBUG] mod_sofia.c:90 sofia/default/48221531871@35.205.116.118 SOFIA INIT 2021-09-14 09:04:32.646662 [DEBUG] sofia_glue.c:1295 sofia/default/48221531871@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631596786 1631596787 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 27886 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:40 sofia/default/48221531871@35.205.116.118 Standard INIT 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48221531871@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48221531871@35.205.116.118) State INIT going to sleep 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248015) 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48221531871@35.205.116.118) State ROUTING 2021-09-14 09:04:32.646662 [DEBUG] mod_sofia.c:143 sofia/default/48221531871@35.205.116.118 SOFIA ROUTING 2021-09-14 09:04:32.646662 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48221531871@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48221531871@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248015) 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48221531871@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:04:32.646662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48221531871@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:04:32.646662 [DEBUG] sofia.c:7084 Channel sofia/default/48221531871@35.205.116.118 entering state [calling][0] 2021-09-14 09:04:32.906663 [DEBUG] sofia.c:7084 Channel sofia/default/48221531871@35.205.116.118 entering state [completing][200] 2021-09-14 09:04:32.906663 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 532150802 532150802 IN IP4 130.211.60.220 s=Asterisk PBX 13.29.2 c=IN IP4 130.211.60.220 t=0 0 m=audio 11520 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2021-09-14 09:04:32.906663 [DEBUG] sofia.c:7084 Channel sofia/default/48221531871@35.205.116.118 entering state [ready][200] 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48221531871@35.205.116.118 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:32.906663 [DEBUG] switch_core_codec.c:111 sofia/default/48221531871@35.205.116.118 Original read codec set to PCMU:0 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:4767 sofia/default/48221531871@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/48221531871@35.205.116.118] 89.46.223.193 port 27886 -> 130.211.60.220 port 11520 codec: 0 ms: 20 2021-09-14 09:04:32.906663 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:7180 sofia/default/48221531871@35.205.116.118 Set 2833 dtmf send payload to 101 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:7187 sofia/default/48221531871@35.205.116.118 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:32.906663 [DEBUG] switch_core_media.c:7210 sofia/default/48221531871@35.205.116.118 Set rtp dtmf delay to 40 2021-09-14 09:04:32.906663 [NOTICE] sofia.c:8218 Channel [sofia/default/48221531871@35.205.116.118] has been answered 2021-09-14 09:04:32.906663 [DEBUG] switch_channel.c:3773 (sofia/default/48221531871@35.205.116.118) Callstate Change DOWN -> ACTIVE 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/48502760875@46.19.210.14] 89.46.223.193 port 27378 -> 46.19.210.23 port 54016 codec: 0 ms: 20 2021-09-14 09:04:32.926735 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:7180 sofia/default/48502760875@46.19.210.14 Set 2833 dtmf send payload to 101 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:7187 sofia/default/48502760875@46.19.210.14 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:32.926735 [DEBUG] switch_core_media.c:7210 sofia/default/48502760875@46.19.210.14 Set rtp dtmf delay to 40 2021-09-14 09:04:32.926735 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/48502760875@46.19.210.14: v=0 o=FreeSWITCH 1631597294 1631597295 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 27378 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:32.926735 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/48502760875@46.19.210.14] has been answered 2021-09-14 09:04:32.926735 [DEBUG] switch_channel.c:3773 (sofia/default/48502760875@46.19.210.14) Callstate Change RINGING -> ACTIVE 2021-09-14 09:04:32.926735 [DEBUG] sofia.c:7084 Channel sofia/default/48502760875@46.19.210.14 entering state [completed][200] 2021-09-14 09:04:32.926735 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/48221531871@35.205.116.118] 2021-09-14 09:04:32.926735 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/48221531871@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:04:32.926735 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 248015) 2021-09-14 09:04:32.926735 [DEBUG] switch_core_state_machine.c:653 (sofia/default/48221531871@35.205.116.118) State EXCHANGE_MEDIA 2021-09-14 09:04:32.926735 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:04:33.006667 [DEBUG] sofia.c:7084 Channel sofia/default/48502760875@46.19.210.14 entering state [ready][200] 2021-09-14 09:04:33.026667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:33.106668 [DEBUG] switch_ivr_bridge.c:546 sofia/default/48221531871@35.205.116.118 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:33.126711 [DEBUG] switch_ivr.c:623 sofia/default/48221531871@35.205.116.118 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/48221531871@35.205.116.118 sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:33.126711 [DEBUG] switch_scheduler.c:249 Added task 31130 switch_ivr_schedule_hangup (4db507dc-155c-11ec-9e0f-7dfb9f6e00f0) to run at 1631635473 2021-09-14 09:04:35.106716 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:36.506669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390541614514@173.203.86.119 [5003368a-155c-11ec-9e15-7dfb9f6e00f0] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_NEW (Cur 9 Tot 248016) 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:9873 sofia/default/390541614514@173.203.86.119 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [received][100] 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 1239251315 1239251315 IN IP4 173.203.86.119 s=Asterisk PBX 16.6.1 c=IN IP4 173.203.86.119 t=0 0 m=audio 19852 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390541614514@173.203.86.119 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:36.506669 [DEBUG] switch_core_codec.c:111 sofia/default/390541614514@173.203.86.119 Original read codec set to PCMU:0 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:36.506669 [DEBUG] switch_core_media.c:4767 sofia/default/390541614514@173.203.86.119 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:36.506669 [DEBUG] sofia.c:7507 (sofia/default/390541614514@173.203.86.119) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:603 (sofia/default/390541614514@173.203.86.119) State NEW 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_INIT (Cur 9 Tot 248016) 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390541614514@173.203.86.119) State INIT 2021-09-14 09:04:36.506669 [DEBUG] mod_sofia.c:90 sofia/default/390541614514@173.203.86.119 SOFIA INIT 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:40 sofia/default/390541614514@173.203.86.119 Standard INIT 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390541614514@173.203.86.119) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390541614514@173.203.86.119) State INIT going to sleep 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_ROUTING (Cur 9 Tot 248016) 2021-09-14 09:04:36.506669 [DEBUG] switch_channel.c:2249 (sofia/default/390541614514@173.203.86.119) Callstate Change DOWN -> RINGING 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390541614514@173.203.86.119) State ROUTING 2021-09-14 09:04:36.506669 [DEBUG] mod_sofia.c:143 sofia/default/390541614514@173.203.86.119 SOFIA ROUTING 2021-09-14 09:04:36.506669 [DEBUG] switch_core_state_machine.c:236 sofia/default/390541614514@173.203.86.119 Standard ROUTING 2021-09-14 09:04:36.506669 [INFO] mod_dialplan_xml.c:637 Processing 390541614514 <390541614514>->390399686667 in context default 2021-09-14 09:04:36.506669 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:04:36.506669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:04:36.506669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:04:36.526704 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A04%3A36 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A36%20GMT Event-Date-Timestamp: 1631624676506669 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527824 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/390541614514%40173.203.86.119 Unique-ID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 390541614514%40173.203.86.119 Channel-Call-UUID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 390541614514 Caller-Dialplan: XML Caller-Caller-ID-Name: 390541614514 Caller-Caller-ID-Number: 390541614514 Caller-Orig-Caller-ID-Name: 390541614514 Caller-Orig-Caller-ID-Number: 390541614514 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 390541614514 Caller-Destination-Number: 390399686667 Caller-Unique-ID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/390541614514%40173.203.86.119 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624676506669 Caller-Channel-Created-Time: 1631624676506669 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 5003368a-155c-11ec-9e15-7dfb9f6e00f0 variable_session_id: 248016 variable_sip_from_user: 390541614514 variable_sip_from_uri: 390541614514%40173.203.86.119 variable_sip_from_host: 173.203.86.119 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/390541614514%40173.203.86.119 variable_sip_call_id: 08edb49c3578ea4a1d840514701a9420%40173.203.86.119%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624676506669 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 390541614514 variable_sip_from_tag: as7ad7b7c6 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcc9.f3888797%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcc9.f3888797%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKc981.7a5a27a7.0,SIP/2.0/UDP%20173.203.86.119%3A5060%3Breceived%3D173.203.86.119%3Bbranch%3Dz9hG4bK01fa0d2e%3Brport%3D5060 variable_sip_from_display: 390541614514 variable_sip_full_from: %22390541614514%22%20%3Csip%3A390541614514%40173.203.86.119%3E%3Btag%3Das7ad7b7c6 variable_sip_full_to: %3Csip%3A390399686667%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 390399686667 variable_sip_req_uri: 390399686667%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 390399686667 variable_sip_to_uri: 390399686667%40newsip.israelnumber.com variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_user: 390541614514 variable_sip_contact_port: 5060 variable_sip_contact_uri: 390541614514%40173.203.86.119%3A5060 variable_sip_contact_host: 173.203.86.119 variable_sip_user_agent: FPBX-14.0.13.40(16.6.1) variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 390541614514%40173.203.86.119 variable_sip_h_X-AUTH-IP: 173.203.86.119 variable_sip_h_P-Accountcode: 444484249994 variable_sip_h_P-effective_caller_id_name: 390541614514 variable_sip_h_P-effective_caller_id_number: 390541614514 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201239251315%201239251315%20IN%20IP4%20173.203.86.119%0D%0As%3DAsterisk%20PBX%2016.6.1%0D%0Ac%3DIN%20IP4%20173.203.86.119%0D%0At%3D0%200%0D%0Am%3Daudio%2019852%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 173.203.86.119 variable_remote_media_port: 19852 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 5003368a-155c-11ec-9e15-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 390541614514 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 390541614514 Hunt-Caller-ID-Number: 390541614514 Hunt-Orig-Caller-ID-Name: 390541614514 Hunt-Orig-Caller-ID-Number: 390541614514 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 390541614514 Hunt-Destination-Number: 390399686667 Hunt-Unique-ID: 5003368a-155c-11ec-9e15-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/390541614514%40173.203.86.119 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624676506669 Hunt-Channel-Created-Time: 1631624676506669 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 390399686667 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '390399686667' limit 1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '390399686667' AND status=0 limit 1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '173.203.86.119' limit 1 2021-09-14 09:04:36.526704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 390541614514 / 390541614514 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="390399686667" LIMIT 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 444484249994] 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "444484249994" OR number = "444484249994" AND deleted = 0 limit 1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [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 ="390399686667" AND A.accountid = '923' limit 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 390399686667 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="390399686667" LIMIT 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="390399686667" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :889 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^390399686667.*' OR patterns = '^39039968666.*' OR patterns = '^3903996866.*' OR patterns = '^390399686.*' OR patterns = '^39039968.*' OR patterns = '^3903996.*' OR patterns = '^390399.*' OR patterns = '^39039.*' OR patterns = '^3903.*' OR patterns = '^390.*' OR patterns = '^39.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 889 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '390399686667' OR number = '39039968666' OR number = '3903996866' OR number = '390399686' OR number = '39039968' OR number = '3903996' OR number = '390399' OR number = '39039' OR number = '3903' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390399686667*' OR number = '39039968666*' OR number = '3903996866*' OR number = '390399686*' OR number = '39039968*' OR number = '3903996*' OR number = '390399*' OR number = '39039*' OR number = '3903*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--') OR (number = '390541614514' OR number = '39054161451' OR number = '3905416145' OR number = '390541614' OR number = '39054161' OR number = '3905416' OR number = '390541' OR number = '39054' OR number = '3905' OR number = '390' OR number = '39' OR number = '3' OR number ='--') OR (number = '390541614514*' OR number = '39054161451*' OR number = '3905416145*' OR number = '390541614*' OR number = '39054161*' OR number = '3905416*' OR number = '390541*' OR number = '39054*' OR number = '3905*' OR number = '390*' OR number = '39*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '390399686667' OR routing_prefix = '39039968666' OR routing_prefix = '3903996866' OR routing_prefix = '390399686' OR routing_prefix = '39039968' OR routing_prefix = '3903996' OR routing_prefix = '390399' OR routing_prefix = '39039' OR routing_prefix = '3903' OR routing_prefix = '390' OR routing_prefix = '39' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 923 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 444484249994 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="390399686667" LIMIT 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 12039 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Monza Landline 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 94 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 923 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 923 !!! 2021-09-14 09:04:36.526704 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 923 AND status=0 LIMIT 1 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "889" OR number = "889" AND deleted = 0 limit 1 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:923 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:923 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 923 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 889 limit 1 2021-09-14 09:04:36.526704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainReshetcall812.newsip.israelnumber.com 2021-09-14 09:04:36.526704 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 889 limit 1 2021-09-14 09:04:36.526704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainReshetcall812.newsip.israelnumber.com 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:04:36.526704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:04:36.526704 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/390541614514@173.203.86.119 parsing [default->390399686667] continue=false Dialplan: sofia/default/390541614514@173.203.86.119 Regex (PASS) [390399686667] destination_number(390399686667) =~ /390399686667/ break=on-false Dialplan: sofia/default/390541614514@173.203.86.119 Action set(effective_destination_number=390399686667) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(callstart=2021-09-14 13:04:36) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(hangup_after_bridge=true) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(account_id=923) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(parent_id=0) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(entity_id=3) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(call_processed=internal) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(call_direction=inbound) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(accountname=default) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(origination_rates_did=ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(origination_rates=0) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(original_caller_id_name=390541614514) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(original_caller_id_number=390541614514) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(effective_caller_id_name=390541614514) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(effective_caller_id_number=390541614514) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(receiver_accid=889) Dialplan: sofia/default/390541614514@173.203.86.119 Action export(domain_name=Reshetcall812.newsip.israelnumber.com) Dialplan: sofia/default/390541614514@173.203.86.119 Action export(sip_to_host=Reshetcall812.newsip.israelnumber.com) Dialplan: sofia/default/390541614514@173.203.86.119 Action limit(db 390399686667 did_390399686667 2 !SWITCH_CONGESTION) Dialplan: sofia/default/390541614514@173.203.86.119 Action export(presence_data=x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119) Dialplan: sofia/default/390541614514@173.203.86.119 Action export(call_type=2) Dialplan: sofia/default/390541614514@173.203.86.119 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/390541614514@173.203.86.119 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/390399686667@88.99.5.200) 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:286 (sofia/default/390541614514@173.203.86.119) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390541614514@173.203.86.119) State ROUTING going to sleep 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_EXECUTE (Cur 9 Tot 248016) 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390541614514@173.203.86.119) State EXECUTE 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:198 sofia/default/390541614514@173.203.86.119 SOFIA EXECUTE 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:328 sofia/default/390541614514@173.203.86.119 Standard EXECUTE EXECUTE sofia/default/390541614514@173.203.86.119 set(effective_destination_number=390399686667) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [effective_destination_number]=[390399686667] EXECUTE sofia/default/390541614514@173.203.86.119 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/390541614514@173.203.86.119 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/390541614514@173.203.86.119 set(callstart=2021-09-14 13:04:36) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [callstart]=[2021-09-14 13:04:36] EXECUTE sofia/default/390541614514@173.203.86.119 set(hangup_after_bridge=true) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [hangup_after_bridge]=[true] EXECUTE sofia/default/390541614514@173.203.86.119 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/390541614514@173.203.86.119 set(account_id=923) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [account_id]=[923] EXECUTE sofia/default/390541614514@173.203.86.119 set(parent_id=0) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [parent_id]=[0] EXECUTE sofia/default/390541614514@173.203.86.119 set(entity_id=3) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [entity_id]=[3] EXECUTE sofia/default/390541614514@173.203.86.119 set(call_processed=internal) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [call_processed]=[internal] EXECUTE sofia/default/390541614514@173.203.86.119 set(call_direction=inbound) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [call_direction]=[inbound] EXECUTE sofia/default/390541614514@173.203.86.119 set(accountname=default) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [accountname]=[default] EXECUTE sofia/default/390541614514@173.203.86.119 set(filename1=astpp.pbx.lua) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/390541614514@173.203.86.119 set(origination_rates_did=ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [origination_rates_did]=[ID:12039|CODE:^390399686667.*|DESTINATION:Monza Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:94|ACCID:889] EXECUTE sofia/default/390541614514@173.203.86.119 set(origination_rates=0) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [origination_rates]=[0] EXECUTE sofia/default/390541614514@173.203.86.119 set(original_caller_id_name=390541614514) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [original_caller_id_name]=[390541614514] EXECUTE sofia/default/390541614514@173.203.86.119 set(original_caller_id_number=390541614514) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [original_caller_id_number]=[390541614514] EXECUTE sofia/default/390541614514@173.203.86.119 set(effective_caller_id_name=390541614514) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [effective_caller_id_name]=[390541614514] EXECUTE sofia/default/390541614514@173.203.86.119 set(effective_caller_id_number=390541614514) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [effective_caller_id_number]=[390541614514] EXECUTE sofia/default/390541614514@173.203.86.119 set(receiver_accid=889) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [receiver_accid]=[889] EXECUTE sofia/default/390541614514@173.203.86.119 export(domain_name=Reshetcall812.newsip.israelnumber.com) 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Reshetcall812.newsip.israelnumber.com] EXECUTE sofia/default/390541614514@173.203.86.119 export(sip_to_host=Reshetcall812.newsip.israelnumber.com) 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Reshetcall812.newsip.israelnumber.com] EXECUTE sofia/default/390541614514@173.203.86.119 limit(db 390399686667 did_390399686667 2 !SWITCH_CONGESTION) 2021-09-14 09:04:36.546662 [DEBUG] switch_limit.c:126 incr called: 390399686667_did_390399686667 max:2, interval:0 2021-09-14 09:04:36.546662 [DEBUG] mod_db.c:194 Usage for 390399686667_did_390399686667 is now 1/2 EXECUTE sofia/default/390541614514@173.203.86.119 export(presence_data=x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119) 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119] EXECUTE sofia/default/390541614514@173.203.86.119 export(call_type=2) 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/390541614514@173.203.86.119 set(calltype=DIRECT-IP) 2021-09-14 09:04:36.546662 [DEBUG] mod_dptools.c:1548 SET sofia/default/390541614514@173.203.86.119 [calltype]=[DIRECT-IP] EXECUTE sofia/default/390541614514@173.203.86.119 bridge([leg_timeout=30]sofia/default/390399686667@88.99.5.200) 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [domain_name]=[Reshetcall812.newsip.israelnumber.com] to event 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [sip_to_host]=[Reshetcall812.newsip.israelnumber.com] to event 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [presence_data]=[x|||Signal(444484249994)|||^390399686667.* // Monza Landline // 0.00000||||||DID|||173.203.86.119] to event 2021-09-14 09:04:36.546662 [DEBUG] switch_channel.c:1250 sofia/default/390541614514@173.203.86.119 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:04:36.546662 [NOTICE] switch_channel.c:1104 New Channel sofia/default/390399686667@88.99.5.200 [500878d4-155c-11ec-9e35-7dfb9f6e00f0] 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:4819 (sofia/default/390399686667@88.99.5.200) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:2963 sofia/default/390399686667@88.99.5.200 Setting leg timeout to 30 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_INIT (Cur 10 Tot 248017) 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399686667@88.99.5.200) State INIT 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:90 sofia/default/390399686667@88.99.5.200 SOFIA INIT 2021-09-14 09:04:36.546662 [DEBUG] sofia_glue.c:1295 sofia/default/390399686667@88.99.5.200 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631601574 1631601575 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 23102 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:40 sofia/default/390399686667@88.99.5.200 Standard INIT 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/390399686667@88.99.5.200) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/390399686667@88.99.5.200) State INIT going to sleep 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_ROUTING (Cur 10 Tot 248017) 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399686667@88.99.5.200) State ROUTING 2021-09-14 09:04:36.546662 [DEBUG] mod_sofia.c:143 sofia/default/390399686667@88.99.5.200 SOFIA ROUTING 2021-09-14 09:04:36.546662 [DEBUG] switch_ivr_originate.c:67 (sofia/default/390399686667@88.99.5.200) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/390399686667@88.99.5.200) State ROUTING going to sleep 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248017) 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/390399686667@88.99.5.200) State CONSUME_MEDIA 2021-09-14 09:04:36.546662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/390399686667@88.99.5.200) State CONSUME_MEDIA going to sleep 2021-09-14 09:04:36.546662 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [calling][0] 2021-09-14 09:04:37.206669 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [proceeding][180] 2021-09-14 09:04:37.206669 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/390399686667@88.99.5.200! 2021-09-14 09:04:37.206669 [DEBUG] switch_channel.c:3346 (sofia/default/390399686667@88.99.5.200) Callstate Change DOWN -> RINGING 2021-09-14 09:04:37.206669 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/390541614514@173.203.86.119! 2021-09-14 09:04:37.206669 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [early][180] 2021-09-14 09:04:37.206669 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/390541614514@173.203.86.119! 2021-09-14 09:04:39.086710 [NOTICE] sofia.c:1012 Hangup sofia/default/48502760875@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/48502760875@46.19.210.14] 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:706 sofia/default/48502760875@46.19.210.14 ending bridge by request from write function 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/48221531871@35.205.116.118] 2021-09-14 09:04:39.086710 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/48221531871@35.205.116.118 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:653 (sofia/default/48221531871@35.205.116.118) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248017) 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48221531871@35.205.116.118) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48221531871@35.205.116.118) State HANGUP 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:432 sofia/default/48221531871@35.205.116.118 Overriding SIP cause 480 with 200 from the other leg 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:438 Channel sofia/default/48221531871@35.205.116.118 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/48221531871@35.205.116.118 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:60 sofia/default/48221531871@35.205.116.118 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48221531871@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/48221531871@35.205.116.118 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:04:39.086710 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/48502760875@46.19.210.14 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48221531871@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48221531871@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248017) 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48221531871@35.205.116.118) State REPORTING 2021-09-14 09:04:39.086710 [DEBUG] switch_core_session.c:2815 sofia/default/48502760875@46.19.210.14 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48502760875@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_HANGUP (Cur 10 Tot 248017) 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48502760875@46.19.210.14) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:04:39.086710 [INFO] mod_json_cdr.c:271 Process [4db507dc-155c-11ec-9e0f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48502760875@46.19.210.14) State HANGUP 2021-09-14 09:04:39.086710 [DEBUG] mod_sofia.c:438 Channel sofia/default/48502760875@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:60 sofia/default/48502760875@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48502760875@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48502760875@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48502760875@46.19.210.14) Running State Change CS_REPORTING (Cur 10 Tot 248017) 2021-09-14 09:04:39.086710 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48502760875@46.19.210.14) State REPORTING 2021-09-14 09:04:39.086710 [INFO] mod_json_cdr.c:271 Process [4dafbc6e-155c-11ec-9def-7dfb9f6e00f0.cdr.json] 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:174 sofia/default/48221531871@35.205.116.118 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48221531871@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48221531871@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:04:39.106666 [DEBUG] switch_core_session.c:1665 Session 248015 (sofia/default/48221531871@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1683 Session 248015 (sofia/default/48221531871@35.205.116.118) Ended 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48221531871@35.205.116.118 [CS_DESTROY] 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48221531871@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248017) 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48221531871@35.205.116.118) State DESTROY 2021-09-14 09:04:39.106666 [DEBUG] mod_sofia.c:343 sofia/default/48221531871@35.205.116.118 SOFIA DESTROY 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:181 sofia/default/48221531871@35.205.116.118 Standard DESTROY 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48221531871@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:174 sofia/default/48502760875@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48502760875@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48502760875@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:04:39.106666 [DEBUG] switch_core_session.c:1665 Session 248014 (sofia/default/48502760875@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1683 Session 248014 (sofia/default/48502760875@46.19.210.14) Ended 2021-09-14 09:04:39.106666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48502760875@46.19.210.14 [CS_DESTROY] 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48502760875@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248017) 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48502760875@46.19.210.14) State DESTROY 2021-09-14 09:04:39.106666 [DEBUG] mod_sofia.c:343 sofia/default/48502760875@46.19.210.14 SOFIA DESTROY 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:181 sofia/default/48502760875@46.19.210.14 Standard DESTROY 2021-09-14 09:04:39.106666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48502760875@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:04:39.126668 [DEBUG] switch_scheduler.c:144 Deleting task 31130 switch_ivr_schedule_hangup (4db507dc-155c-11ec-9e0f-7dfb9f6e00f0) 2021-09-14 09:04:49.426754 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [completing][200] 2021-09-14 09:04:49.426754 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=FreeSWITCH 1631608171 1631608172 IN IP4 88.99.5.200 s=FreeSWITCH c=IN IP4 88.99.5.200 t=0 0 m=audio 16518 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-09-14 09:04:49.426754 [DEBUG] sofia.c:7084 Channel sofia/default/390399686667@88.99.5.200 entering state [ready][200] 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/390399686667@88.99.5.200 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:49.426754 [DEBUG] switch_core_codec.c:111 sofia/default/390399686667@88.99.5.200 Original read codec set to PCMU:0 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:4767 sofia/default/390399686667@88.99.5.200 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/390399686667@88.99.5.200] 89.46.223.193 port 23102 -> 88.99.5.200 port 16518 codec: 0 ms: 20 2021-09-14 09:04:49.426754 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:7180 sofia/default/390399686667@88.99.5.200 Set 2833 dtmf send payload to 101 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:7187 sofia/default/390399686667@88.99.5.200 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:49.426754 [DEBUG] switch_core_media.c:7210 sofia/default/390399686667@88.99.5.200 Set rtp dtmf delay to 40 2021-09-14 09:04:49.426754 [NOTICE] sofia.c:8218 Channel [sofia/default/390399686667@88.99.5.200] has been answered 2021-09-14 09:04:49.426754 [DEBUG] switch_channel.c:3773 (sofia/default/390399686667@88.99.5.200) Callstate Change RINGING -> ACTIVE 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/390541614514@173.203.86.119] 89.46.223.193 port 26730 -> 173.203.86.119 port 19852 codec: 0 ms: 20 2021-09-14 09:04:49.466672 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:7180 sofia/default/390541614514@173.203.86.119 Set 2833 dtmf send payload to 101 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:7187 sofia/default/390541614514@173.203.86.119 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:49.466672 [DEBUG] switch_core_media.c:7210 sofia/default/390541614514@173.203.86.119 Set rtp dtmf delay to 40 2021-09-14 09:04:49.466672 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/390541614514@173.203.86.119: v=0 o=FreeSWITCH 1631597959 1631597960 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 26730 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:49.466672 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/390541614514@173.203.86.119] has been answered 2021-09-14 09:04:49.466672 [DEBUG] switch_channel.c:3773 (sofia/default/390541614514@173.203.86.119) Callstate Change RINGING -> ACTIVE 2021-09-14 09:04:49.466672 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [completed][200] 2021-09-14 09:04:49.466672 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/390399686667@88.99.5.200] 2021-09-14 09:04:49.466672 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/390399686667@88.99.5.200) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:04:49.466672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_EXCHANGE_MEDIA (Cur 8 Tot 248017) 2021-09-14 09:04:49.466672 [DEBUG] switch_core_state_machine.c:653 (sofia/default/390399686667@88.99.5.200) State EXCHANGE_MEDIA 2021-09-14 09:04:49.466672 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:04:49.486737 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:49.567271 [DEBUG] sofia.c:7084 Channel sofia/default/390541614514@173.203.86.119 entering state [ready][200] 2021-09-14 09:04:49.646669 [DEBUG] switch_ivr_bridge.c:546 sofia/default/390399686667@88.99.5.200 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:49.666670 [DEBUG] switch_ivr.c:623 sofia/default/390399686667@88.99.5.200 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/390399686667@88.99.5.200 sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:49.666670 [DEBUG] switch_scheduler.c:249 Added task 31131 switch_ivr_schedule_hangup (500878d4-155c-11ec-9e35-7dfb9f6e00f0) to run at 1631635489 2021-09-14 09:04:49.746667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:51.726732 [NOTICE] switch_channel.c:1104 New Channel sofia/default/498008001050@193.109.216.112 [591382e8-155c-11ec-9e3b-7dfb9f6e00f0] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_NEW (Cur 9 Tot 248018) 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:9873 sofia/default/498008001050@193.109.216.112 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [received][100] 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 1639141164 1639141164 IN IP4 193.109.216.112 s=Asterisk PBX 1.8.32.3 c=IN IP4 193.109.216.112 t=0 0 m=audio 35518 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/498008001050@193.109.216.112 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:51.726732 [DEBUG] switch_core_codec.c:111 sofia/default/498008001050@193.109.216.112 Original read codec set to PCMA:8 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:51.726732 [DEBUG] switch_core_media.c:4767 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:51.726732 [DEBUG] sofia.c:7507 (sofia/default/498008001050@193.109.216.112) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:603 (sofia/default/498008001050@193.109.216.112) State NEW 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_INIT (Cur 9 Tot 248018) 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT 2021-09-14 09:04:51.726732 [DEBUG] mod_sofia.c:90 sofia/default/498008001050@193.109.216.112 SOFIA INIT 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:40 sofia/default/498008001050@193.109.216.112 Standard INIT 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:48 (sofia/default/498008001050@193.109.216.112) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT going to sleep 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_ROUTING (Cur 9 Tot 248018) 2021-09-14 09:04:51.726732 [DEBUG] switch_channel.c:2249 (sofia/default/498008001050@193.109.216.112) Callstate Change DOWN -> RINGING 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING 2021-09-14 09:04:51.726732 [DEBUG] mod_sofia.c:143 sofia/default/498008001050@193.109.216.112 SOFIA ROUTING 2021-09-14 09:04:51.726732 [DEBUG] switch_core_state_machine.c:236 sofia/default/498008001050@193.109.216.112 Standard ROUTING 2021-09-14 09:04:51.726732 [INFO] mod_dialplan_xml.c:637 Processing 498008001050 <498008001050>->004915111633383 in context default 2021-09-14 09:04:51.726732 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:04:51.726732 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A04%3A51 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A04%3A51%20GMT Event-Date-Timestamp: 1631624691726732 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7527934 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/498008001050%40193.109.216.112 Unique-ID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 498008001050%40193.109.216.112 Channel-Call-UUID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 498008001050 Caller-Dialplan: XML Caller-Caller-ID-Name: 498008001050 Caller-Caller-ID-Number: 498008001050 Caller-Orig-Caller-ID-Name: 498008001050 Caller-Orig-Caller-ID-Number: 498008001050 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 498008001050 Caller-Destination-Number: 004915111633383 Caller-Unique-ID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/498008001050%40193.109.216.112 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624691726732 Caller-Channel-Created-Time: 1631624691726732 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0 variable_session_id: 248018 variable_sip_from_user: 498008001050 variable_sip_from_uri: 498008001050%40193.109.216.112 variable_sip_from_host: 193.109.216.112 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/498008001050%40193.109.216.112 variable_sip_call_id: 43c8caaf02dbe91a7bfdd9624f1c9213%40193.109.216.112%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624691726732 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 498008001050 variable_sip_from_tag: as352a7585 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc81.0fb49cb5%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc81.0fb49cb5%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKd504.7f3a7c75.0,SIP/2.0/UDP%20193.109.216.112%3A5060%3Bbranch%3Dz9hG4bK4e5cf9b4 variable_sip_from_display: 498008001050 variable_sip_full_from: %22498008001050%22%20%3Csip%3A498008001050%40193.109.216.112%3E%3Btag%3Das352a7585 variable_sip_full_to: %3Csip%3A004915111633383%40136.243.196.198%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 004915111633383 variable_sip_req_uri: 004915111633383%40136.243.196.198 variable_sip_req_host: 136.243.196.198 variable_sip_to_user: 004915111633383 variable_sip_to_uri: 004915111633383%40136.243.196.198 variable_sip_to_host: 136.243.196.198 variable_sip_contact_user: 498008001050 variable_sip_contact_port: 5060 variable_sip_contact_uri: 498008001050%40193.109.216.112%3A5060 variable_sip_contact_host: 193.109.216.112 variable_sip_user_agent: Asterisk%20PBX%201.8.32.3 variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 498008001050%40193.109.216.112 variable_sip_h_X-AUTH-IP: 193.109.216.112 variable_sip_h_P-Accountcode: 619312506378 variable_sip_h_P-effective_caller_id_name: 498008001050 variable_sip_h_P-effective_caller_id_number: 498008001050 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201639141164%201639141164%20IN%20IP4%20193.109.216.112%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%20193.109.216.112%0D%0At%3D0%200%0D%0Am%3Daudio%2035518%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 193.109.216.112 variable_remote_media_port: 35518 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 498008001050 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 498008001050 Hunt-Caller-ID-Number: 498008001050 Hunt-Orig-Caller-ID-Name: 498008001050 Hunt-Orig-Caller-ID-Number: 498008001050 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 498008001050 Hunt-Destination-Number: 004915111633383 Hunt-Unique-ID: 591382e8-155c-11ec-9e3b-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/498008001050%40193.109.216.112 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624691726732 Hunt-Channel-Created-Time: 1631624691726732 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 004915111633383 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '004915111633383' limit 1 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '004915111633383' AND status=0 limit 1 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '193.109.216.112' limit 1 2021-09-14 09:04:51.726732 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 498008001050 / 498008001050 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="004915111633383" LIMIT 1 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="004915111633383" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378] 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^004915111633383.*' OR blocked_patterns = '^00491511163338.*' OR blocked_patterns = '^0049151116333.*' OR blocked_patterns = '^004915111633.*' OR blocked_patterns = '^00491511163.*' OR blocked_patterns = '^0049151116.*' OR blocked_patterns = '^004915111.*' OR blocked_patterns = '^00491511.*' OR blocked_patterns = '^0049151.*' OR blocked_patterns = '^004915.*' OR blocked_patterns = '^00491.*' OR blocked_patterns = '^0049.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [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 ="004915111633383" AND A.accountid = '1039' limit 1 2021-09-14 09:04:51.726732 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 004915111633383 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="004915111633383" LIMIT 1 2021-09-14 09:04:51.726732 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="004915111633383" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="004915111633383" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....004915111633383 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 004915111633383 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4915111633383 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....4915111633383 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^4915111633383.*' OR patterns = '^491511163338.*' OR patterns = '^49151116333.*' OR patterns = '^4915111633.*' OR patterns = '^491511163.*' OR patterns = '^49151116.*' OR patterns = '^4915111.*' OR patterns = '^491511.*' OR patterns = '^49151.*' OR patterns = '^4915.*' OR patterns = '^491.*' OR patterns = '^49.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '4915111633383' OR number = '491511163338' OR number = '49151116333' OR number = '4915111633' OR number = '491511163' OR number = '49151116' OR number = '4915111' OR number = '491511' OR number = '49151' OR number = '4915' OR number = '491' OR number = '49' OR number = '4' OR number ='--') OR (number = '4915111633383*' OR number = '491511163338*' OR number = '49151116333*' OR number = '4915111633*' OR number = '491511163*' OR number = '49151116*' OR number = '4915111*' OR number = '491511*' OR number = '49151*' OR number = '4915*' OR number = '491*' OR number = '49*' OR number = '4*' OR number ='--') OR (number = '498008001050' OR number = '49800800105' OR number = '4980080010' OR number = '498008001' OR number = '49800800' OR number = '4980080' OR number = '498008' OR number = '49800' OR number = '4980' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '498008001050*' OR number = '49800800105*' OR number = '4980080010*' OR number = '498008001*' OR number = '49800800*' OR number = '4980080*' OR number = '498008*' OR number = '49800*' OR number = '4980*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4915111633383' OR routing_prefix = '491511163338' OR routing_prefix = '49151116333' OR routing_prefix = '4915111633' OR routing_prefix = '491511163' OR routing_prefix = '49151116' OR routing_prefix = '4915111' OR routing_prefix = '491511' OR routing_prefix = '49151' OR routing_prefix = '4915' OR routing_prefix = '491' OR routing_prefix = '49' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1159939 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.38336 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : GermanyT-Mobile Mobile 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!! 2021-09-14 09:04:51.746731 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins! 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1159939 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1906905 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.* 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.* 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1734369 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.* 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.* 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2087737 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.* 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GERMANY - MOBILE T-MOBILE 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.* 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:04:51.746731 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [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 = 1017) AND status=0 limit 1 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383 2021-09-14 09:04:51.746731 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:04:51.746731 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/498008001050@193.109.216.112 parsing [default->4915111633383] continue=false Dialplan: sofia/default/498008001050@193.109.216.112 Regex (PASS) [4915111633383] destination_number(004915111633383) =~ /004915111633383/ break=on-false Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_destination_number=4915111633383) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(callstart=2021-09-14 13:04:51) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(hangup_after_bridge=true) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(account_id=1039) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(parent_id=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(entity_id=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_processed=internal) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_direction=outbound) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(accountname=default) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(is_recording=1) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(media_bug_answer_req=true) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(RECORD_STEREO=true) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(record_sample_rate=8000) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=53) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=53) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112) Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1734369|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=51) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=51) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||high_tata_37113_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=51|||STD|||193.109.216.112) Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:2087737|CODE:^49151.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23960|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=55) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=1017) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=55) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||High_Telia_110821 // ^49151.* // GERMANY - MOBILE T-MOBILE // 0.23960 // trunk_id=55|||STD|||193.109.216.112) Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/4915111633383;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:286 (sofia/default/498008001050@193.109.216.112) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING going to sleep 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_EXECUTE (Cur 9 Tot 248018) 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE 2021-09-14 09:04:51.746731 [DEBUG] mod_sofia.c:198 sofia/default/498008001050@193.109.216.112 SOFIA EXECUTE 2021-09-14 09:04:51.746731 [DEBUG] switch_core_state_machine.c:328 sofia/default/498008001050@193.109.216.112 Standard EXECUTE EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_destination_number=4915111633383) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_destination_number]=[4915111633383] EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/498008001050@193.109.216.112 set(callstart=2021-09-14 13:04:51) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [callstart]=[2021-09-14 13:04:51] EXECUTE sofia/default/498008001050@193.109.216.112 set(hangup_after_bridge=true) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [hangup_after_bridge]=[true] EXECUTE sofia/default/498008001050@193.109.216.112 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/498008001050@193.109.216.112 set(account_id=1039) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [account_id]=[1039] EXECUTE sofia/default/498008001050@193.109.216.112 set(parent_id=0) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [parent_id]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 set(entity_id=0) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [entity_id]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 set(call_processed=internal) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_processed]=[internal] EXECUTE sofia/default/498008001050@193.109.216.112 set(call_direction=outbound) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_direction]=[outbound] EXECUTE sofia/default/498008001050@193.109.216.112 set(accountname=default) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [accountname]=[default] EXECUTE sofia/default/498008001050@193.109.216.112 set(filename1=astpp.pbx.lua) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/498008001050@193.109.216.112 set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [origination_rates]=[ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039] EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_name=498008001050) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_name]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_number=498008001050) 2021-09-14 09:04:51.746731 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_number]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 export(is_recording=1) 2021-09-14 09:04:51.746731 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1] EXECUTE sofia/default/498008001050@193.109.216.112 export(media_bug_answer_req=true) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE sofia/default/498008001050@193.109.216.112 export(RECORD_STEREO=true) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE sofia/default/498008001050@193.109.216.112 export(record_sample_rate=8000) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE sofia/default/498008001050@193.109.216.112 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/591382e8-155c-11ec-9e3b-7dfb9f6e00f0.wav) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/591382e8-155c-11ec-9e3b-7dfb9f6e00f0.wav] EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_name=498008001050) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_name]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_number=498008001050) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_number]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 set(calltype=STANDARD) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [calltype]=[STANDARD] EXECUTE sofia/default/498008001050@193.109.216.112 set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [termination_rates]=[ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587] EXECUTE sofia/default/498008001050@193.109.216.112 set(trunk_id=53) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [trunk_id]=[53] EXECUTE sofia/default/498008001050@193.109.216.112 set(provider_id=587) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [provider_id]=[587] EXECUTE sofia/default/498008001050@193.109.216.112 set(rate_flag=0) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [rate_flag]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 set(force_trunk_flag=1159939) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [force_trunk_flag]=[1159939] EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=trunk_id=53) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53] EXECUTE sofia/default/498008001050@193.109.216.112 set(intcall=0) 2021-09-14 09:04:51.767337 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [intcall]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] EXECUTE sofia/default/498008001050@193.109.216.112 bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [is_recording]=[1] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/591382e8-155c-11ec-9e3b-7dfb9f6e00f0.wav] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event 2021-09-14 09:04:51.767337 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:04:51.767337 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:04:51.767337 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4915111633383 [591a155e-155c-11ec-9e61-7dfb9f6e00f0] 2021-09-14 09:04:51.767337 [DEBUG] mod_sofia.c:4819 (sofia/default/4915111633383) State Change CS_NEW -> CS_INIT 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_INIT (Cur 10 Tot 248019) 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT 2021-09-14 09:04:51.767337 [DEBUG] mod_sofia.c:90 sofia/default/4915111633383 SOFIA INIT 2021-09-14 09:04:51.767337 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/4915111633383 2021-09-14 09:04:51.767337 [DEBUG] sofia_glue.c:1295 sofia/default/4915111633383 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631607655 1631607656 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 17036 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:40 sofia/default/4915111633383 Standard INIT 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4915111633383) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT going to sleep 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_ROUTING (Cur 10 Tot 248019) 2021-09-14 09:04:51.767337 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [calling][0] 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING 2021-09-14 09:04:51.767337 [DEBUG] mod_sofia.c:143 sofia/default/4915111633383 SOFIA ROUTING 2021-09-14 09:04:51.767337 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4915111633383) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING going to sleep 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248019) 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA 2021-09-14 09:04:51.767337 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA going to sleep 2021-09-14 09:04:53.346701 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][183] 2021-09-14 09:04:53.346701 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/4915111633383! 2021-09-14 09:04:53.346701 [DEBUG] switch_channel.c:3346 (sofia/default/4915111633383) Callstate Change DOWN -> RINGING 2021-09-14 09:04:53.366679 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/498008001050@193.109.216.112! 2021-09-14 09:04:53.366679 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][180] 2021-09-14 09:04:53.366679 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/498008001050@193.109.216.112! 2021-09-14 09:04:53.626750 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][180] 2021-09-14 09:04:53.626750 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=Sonus_UAC 31429 10452 IN IP4 209.58.46.110 s=SIP Media Capabilities c=IN IP4 209.58.46.103 t=0 0 m=audio 6392 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4915111633383 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:04:53.626750 [DEBUG] switch_core_codec.c:111 sofia/default/4915111633383 Original read codec set to PCMA:8 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:4767 sofia/default/4915111633383 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4915111633383] 89.46.223.193 port 17036 -> 209.58.46.103 port 6392 codec: 8 ms: 20 2021-09-14 09:04:53.626750 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7180 sofia/default/4915111633383 Set 2833 dtmf send payload to 101 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7187 sofia/default/4915111633383 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7210 sofia/default/4915111633383 Set rtp dtmf delay to 40 2021-09-14 09:04:53.626750 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4915111633383! 2021-09-14 09:04:53.626750 [DEBUG] switch_channel.c:3474 (sofia/default/4915111633383) Callstate Change RINGING -> EARLY 2021-09-14 09:04:53.626750 [INFO] switch_ivr_originate.c:3654 Sending early media 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/498008001050@193.109.216.112] 89.46.223.193 port 19582 -> 193.109.216.112 port 35518 codec: 8 ms: 20 2021-09-14 09:04:53.626750 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7180 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7187 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf receive payload to 101 2021-09-14 09:04:53.626750 [DEBUG] switch_core_media.c:7210 sofia/default/498008001050@193.109.216.112 Set rtp dtmf delay to 40 2021-09-14 09:04:53.626750 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1631605111 1631605112 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 19582 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:04:53.626750 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/498008001050@193.109.216.112! 2021-09-14 09:04:53.626750 [DEBUG] switch_channel.c:3474 (sofia/default/498008001050@193.109.216.112) Callstate Change RINGING -> EARLY 2021-09-14 09:04:53.626750 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4915111633383] 2021-09-14 09:04:53.626750 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][183] 2021-09-14 09:04:53.626750 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4915111633383) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:04:53.626750 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_EXCHANGE_MEDIA (Cur 10 Tot 248019) 2021-09-14 09:04:53.626750 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA 2021-09-14 09:04:53.626750 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:04:53.686729 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:53.746722 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:04:53.826697 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4915111633383 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:53.846676 [DEBUG] switch_ivr.c:623 sofia/default/4915111633383 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/4915111633383 sched_hangup(+10800 normal_clearing) 2021-09-14 09:04:53.846676 [DEBUG] switch_scheduler.c:249 Added task 31132 switch_ivr_schedule_hangup (591a155e-155c-11ec-9e61-7dfb9f6e00f0) to run at 1631635493 2021-09-14 09:05:05.506668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97239707000@173.203.86.119 [614af770-155c-11ec-9e67-7dfb9f6e00f0] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_NEW (Cur 11 Tot 248020) 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:9873 sofia/default/97239707000@173.203.86.119 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [received][100] 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 1435526589 1435526589 IN IP4 173.203.86.119 s=Asterisk PBX 16.6.1 c=IN IP4 173.203.86.119 t=0 0 m=audio 16470 RTP/AVP 0 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=maxptime:150 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/97239707000@173.203.86.119 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:05:05.506668 [DEBUG] switch_core_codec.c:111 sofia/default/97239707000@173.203.86.119 Original read codec set to PCMU:0 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:05:05.506668 [DEBUG] switch_core_media.c:4767 sofia/default/97239707000@173.203.86.119 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:05:05.506668 [DEBUG] sofia.c:7507 (sofia/default/97239707000@173.203.86.119) State Change CS_NEW -> CS_INIT 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:603 (sofia/default/97239707000@173.203.86.119) State NEW 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_INIT (Cur 11 Tot 248020) 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97239707000@173.203.86.119) State INIT 2021-09-14 09:05:05.506668 [DEBUG] mod_sofia.c:90 sofia/default/97239707000@173.203.86.119 SOFIA INIT 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:40 sofia/default/97239707000@173.203.86.119 Standard INIT 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97239707000@173.203.86.119) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97239707000@173.203.86.119) State INIT going to sleep 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_ROUTING (Cur 11 Tot 248020) 2021-09-14 09:05:05.506668 [DEBUG] switch_channel.c:2249 (sofia/default/97239707000@173.203.86.119) Callstate Change DOWN -> RINGING 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97239707000@173.203.86.119) State ROUTING 2021-09-14 09:05:05.506668 [DEBUG] mod_sofia.c:143 sofia/default/97239707000@173.203.86.119 SOFIA ROUTING 2021-09-14 09:05:05.506668 [DEBUG] switch_core_state_machine.c:236 sofia/default/97239707000@173.203.86.119 Standard ROUTING 2021-09-14 09:05:05.506668 [INFO] mod_dialplan_xml.c:637 Processing 97239707000 <97239707000>->447520641863 in context default 2021-09-14 09:05:05.506668 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:05:05.506668 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A05%3A05 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A05%3A05%20GMT Event-Date-Timestamp: 1631624705506668 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528033 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/97239707000%40173.203.86.119 Unique-ID: 614af770-155c-11ec-9e67-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 97239707000%40173.203.86.119 Channel-Call-UUID: 614af770-155c-11ec-9e67-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 97239707000 Caller-Dialplan: XML Caller-Caller-ID-Name: 97239707000 Caller-Caller-ID-Number: 97239707000 Caller-Orig-Caller-ID-Name: 97239707000 Caller-Orig-Caller-ID-Number: 97239707000 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 97239707000 Caller-Destination-Number: 447520641863 Caller-Unique-ID: 614af770-155c-11ec-9e67-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/97239707000%40173.203.86.119 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624705506668 Caller-Channel-Created-Time: 1631624705506668 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 614af770-155c-11ec-9e67-7dfb9f6e00f0 variable_session_id: 248020 variable_sip_from_user: 97239707000 variable_sip_from_uri: 97239707000%40173.203.86.119 variable_sip_from_host: 173.203.86.119 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/97239707000%40173.203.86.119 variable_sip_call_id: 440a9a3028309e116a37205731be5fc7%40173.203.86.119%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624705506668 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 97239707000 variable_sip_from_tag: as5dcfcb81 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D8fb.965c3e37%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D8fb.965c3e37%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK8ca8.81220052.0,SIP/2.0/UDP%20173.203.86.119%3A5060%3Breceived%3D173.203.86.119%3Bbranch%3Dz9hG4bK0e0e01d3%3Brport%3D5060 variable_sip_from_display: 97239707000 variable_sip_full_from: %2297239707000%22%20%3Csip%3A97239707000%40173.203.86.119%3E%3Btag%3Das5dcfcb81 variable_sip_full_to: %3Csip%3A447520641863%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 447520641863 variable_sip_req_uri: 447520641863%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 447520641863 variable_sip_to_uri: 447520641863%40newsip.israelnumber.com variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_user: 97239707000 variable_sip_contact_port: 5060 variable_sip_contact_uri: 97239707000%40173.203.86.119%3A5060 variable_sip_contact_host: 173.203.86.119 variable_sip_user_agent: FPBX-14.0.13.40(16.6.1) variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 97239707000%40173.203.86.119 variable_sip_h_X-AUTH-IP: 173.203.86.119 variable_sip_h_P-Accountcode: 444484249994 variable_sip_h_P-effective_caller_id_name: 97239707000 variable_sip_h_P-effective_caller_id_number: 97239707000 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201435526589%201435526589%20IN%20IP4%20173.203.86.119%0D%0As%3DAsterisk%20PBX%2016.6.1%0D%0Ac%3DIN%20IP4%20173.203.86.119%0D%0At%3D0%200%0D%0Am%3Daudio%2016470%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A150%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 173.203.86.119 variable_remote_media_port: 16470 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 614af770-155c-11ec-9e67-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 97239707000 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 97239707000 Hunt-Caller-ID-Number: 97239707000 Hunt-Orig-Caller-ID-Name: 97239707000 Hunt-Orig-Caller-ID-Number: 97239707000 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 97239707000 Hunt-Destination-Number: 447520641863 Hunt-Unique-ID: 614af770-155c-11ec-9e67-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/97239707000%40173.203.86.119 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624705506668 Hunt-Channel-Created-Time: 1631624705506668 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 447520641863 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '447520641863' limit 1 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '447520641863' AND status=0 limit 1 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '173.203.86.119' limit 1 2021-09-14 09:05:05.506668 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 97239707000 / 97239707000 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447520641863" LIMIT 1 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:05:05.506668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 444484249994] 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "444484249994" OR number = "444484249994" AND deleted = 0 limit 1 2021-09-14 09:05:05.506668 [DEBUG] switch_cpp.cpp:1365 [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 ="447520641863" AND A.accountid = '923' limit 1 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 447520641863 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447520641863" LIMIT 1 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="447520641863" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :583 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^447520641863.*' OR patterns = '^44752064186.*' OR patterns = '^4475206418.*' OR patterns = '^447520641.*' OR patterns = '^44752064.*' OR patterns = '^4475206.*' OR patterns = '^447520.*' OR patterns = '^44752.*' OR patterns = '^4475.*' OR patterns = '^447.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 583 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '447520641863' OR number = '44752064186' OR number = '4475206418' OR number = '447520641' OR number = '44752064' OR number = '4475206' OR number = '447520' OR number = '44752' OR number = '4475' OR number = '447' OR number = '44' OR number = '4' OR number ='--') OR (number = '447520641863*' OR number = '44752064186*' OR number = '4475206418*' OR number = '447520641*' OR number = '44752064*' OR number = '4475206*' OR number = '447520*' OR number = '44752*' OR number = '4475*' OR number = '447*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '97239707000' OR number = '9723970700' OR number = '972397070' OR number = '97239707' OR number = '9723970' OR number = '972397' OR number = '97239' OR number = '9723' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '97239707000*' OR number = '9723970700*' OR number = '972397070*' OR number = '97239707*' OR number = '9723970*' OR number = '972397*' OR number = '97239*' OR number = '9723*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '447520641863' OR routing_prefix = '44752064186' OR routing_prefix = '4475206418' OR routing_prefix = '447520641' OR routing_prefix = '44752064' OR routing_prefix = '4475206' OR routing_prefix = '447520' OR routing_prefix = '44752' OR routing_prefix = '4475' OR routing_prefix = '447' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 923 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 444484249994 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447520641863" LIMIT 1 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13005 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 923 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 923 !!! 2021-09-14 09:05:05.526686 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 923 AND status=0 LIMIT 1 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "583" OR number = "583" AND deleted = 0 limit 1 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:923 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:923 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 923 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 583 limit 1 2021-09-14 09:05:05.526686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com 2021-09-14 09:05:05.526686 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 583 limit 1 2021-09-14 09:05:05.526686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_1 2021-09-14 09:05:05.526686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:05:05.526686 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/97239707000@173.203.86.119 parsing [default->447520641863] continue=false Dialplan: sofia/default/97239707000@173.203.86.119 Regex (PASS) [447520641863] destination_number(447520641863) =~ /447520641863/ break=on-false Dialplan: sofia/default/97239707000@173.203.86.119 Action set(effective_destination_number=447520641863) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(callstart=2021-09-14 13:05:05) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(hangup_after_bridge=true) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(account_id=923) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(parent_id=0) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(entity_id=3) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(call_processed=internal) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(call_direction=inbound) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(accountname=default) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(origination_rates_did=ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(origination_rates=0) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(original_caller_id_name=97239707000) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(original_caller_id_number=97239707000) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(effective_caller_id_name=97239707000) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(effective_caller_id_number=97239707000) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(receiver_accid=583) Dialplan: sofia/default/97239707000@173.203.86.119 Action export(domain_name=Amir550.newsip.israelnumber.com) Dialplan: sofia/default/97239707000@173.203.86.119 Action export(sip_to_host=Amir550.newsip.israelnumber.com) Dialplan: sofia/default/97239707000@173.203.86.119 Action limit(db 447520641863 did_447520641863 2 !SWITCH_CONGESTION) Dialplan: sofia/default/97239707000@173.203.86.119 Action export(presence_data=x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119) Dialplan: sofia/default/97239707000@173.203.86.119 Action export(call_type=1) Dialplan: sofia/default/97239707000@173.203.86.119 Action set(calltype=DID@IP) Dialplan: sofia/default/97239707000@173.203.86.119 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/447520641863@212.150.158.100) 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:286 (sofia/default/97239707000@173.203.86.119) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97239707000@173.203.86.119) State ROUTING going to sleep 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_EXECUTE (Cur 11 Tot 248020) 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:650 (sofia/default/97239707000@173.203.86.119) State EXECUTE 2021-09-14 09:05:05.526686 [DEBUG] mod_sofia.c:198 sofia/default/97239707000@173.203.86.119 SOFIA EXECUTE 2021-09-14 09:05:05.526686 [DEBUG] switch_core_state_machine.c:328 sofia/default/97239707000@173.203.86.119 Standard EXECUTE EXECUTE sofia/default/97239707000@173.203.86.119 set(effective_destination_number=447520641863) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [effective_destination_number]=[447520641863] EXECUTE sofia/default/97239707000@173.203.86.119 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/97239707000@173.203.86.119 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/97239707000@173.203.86.119 set(callstart=2021-09-14 13:05:05) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [callstart]=[2021-09-14 13:05:05] EXECUTE sofia/default/97239707000@173.203.86.119 set(hangup_after_bridge=true) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [hangup_after_bridge]=[true] EXECUTE sofia/default/97239707000@173.203.86.119 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/97239707000@173.203.86.119 set(account_id=923) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [account_id]=[923] EXECUTE sofia/default/97239707000@173.203.86.119 set(parent_id=0) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [parent_id]=[0] EXECUTE sofia/default/97239707000@173.203.86.119 set(entity_id=3) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [entity_id]=[3] EXECUTE sofia/default/97239707000@173.203.86.119 set(call_processed=internal) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [call_processed]=[internal] EXECUTE sofia/default/97239707000@173.203.86.119 set(call_direction=inbound) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [call_direction]=[inbound] EXECUTE sofia/default/97239707000@173.203.86.119 set(accountname=default) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [accountname]=[default] EXECUTE sofia/default/97239707000@173.203.86.119 set(filename1=astpp.pbx.lua) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/97239707000@173.203.86.119 set(origination_rates_did=ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [origination_rates_did]=[ID:13005|CODE:^447520641863.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:583] EXECUTE sofia/default/97239707000@173.203.86.119 set(origination_rates=0) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [origination_rates]=[0] EXECUTE sofia/default/97239707000@173.203.86.119 set(original_caller_id_name=97239707000) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [original_caller_id_name]=[97239707000] EXECUTE sofia/default/97239707000@173.203.86.119 set(original_caller_id_number=97239707000) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [original_caller_id_number]=[97239707000] EXECUTE sofia/default/97239707000@173.203.86.119 set(effective_caller_id_name=97239707000) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [effective_caller_id_name]=[97239707000] EXECUTE sofia/default/97239707000@173.203.86.119 set(effective_caller_id_number=97239707000) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [effective_caller_id_number]=[97239707000] EXECUTE sofia/default/97239707000@173.203.86.119 set(receiver_accid=583) 2021-09-14 09:05:05.526686 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [receiver_accid]=[583] EXECUTE sofia/default/97239707000@173.203.86.119 export(domain_name=Amir550.newsip.israelnumber.com) 2021-09-14 09:05:05.526686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Amir550.newsip.israelnumber.com] EXECUTE sofia/default/97239707000@173.203.86.119 export(sip_to_host=Amir550.newsip.israelnumber.com) 2021-09-14 09:05:05.526686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Amir550.newsip.israelnumber.com] EXECUTE sofia/default/97239707000@173.203.86.119 limit(db 447520641863 did_447520641863 2 !SWITCH_CONGESTION) 2021-09-14 09:05:05.526686 [DEBUG] switch_limit.c:126 incr called: 447520641863_did_447520641863 max:2, interval:0 2021-09-14 09:05:05.526686 [DEBUG] mod_db.c:194 Usage for 447520641863_did_447520641863 is now 1/2 EXECUTE sofia/default/97239707000@173.203.86.119 export(presence_data=x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119) 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119] EXECUTE sofia/default/97239707000@173.203.86.119 export(call_type=1) 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[1] EXECUTE sofia/default/97239707000@173.203.86.119 set(calltype=DID@IP) 2021-09-14 09:05:05.586708 [DEBUG] mod_dptools.c:1548 SET sofia/default/97239707000@173.203.86.119 [calltype]=[DID@IP] EXECUTE sofia/default/97239707000@173.203.86.119 bridge([leg_timeout=30]sofia/default/447520641863@212.150.158.100) 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [domain_name]=[Amir550.newsip.israelnumber.com] to event 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [sip_to_host]=[Amir550.newsip.israelnumber.com] to event 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [presence_data]=[x|||Signal(444484249994)|||^447520641863.* // Mobile Voice // 0.00000||||||DID|||173.203.86.119] to event 2021-09-14 09:05:05.586708 [DEBUG] switch_channel.c:1250 sofia/default/97239707000@173.203.86.119 EXPORTING[export_vars] [call_type]=[1] to event 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:05:05.586708 [NOTICE] switch_channel.c:1104 New Channel sofia/default/447520641863@212.150.158.100 [6158722e-155c-11ec-9e87-7dfb9f6e00f0] 2021-09-14 09:05:05.586708 [DEBUG] mod_sofia.c:4819 (sofia/default/447520641863@212.150.158.100) State Change CS_NEW -> CS_INIT 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:2963 sofia/default/447520641863@212.150.158.100 Setting leg timeout to 30 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_INIT (Cur 12 Tot 248021) 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:627 (sofia/default/447520641863@212.150.158.100) State INIT 2021-09-14 09:05:05.586708 [DEBUG] mod_sofia.c:90 sofia/default/447520641863@212.150.158.100 SOFIA INIT 2021-09-14 09:05:05.586708 [DEBUG] sofia_glue.c:1295 sofia/default/447520641863@212.150.158.100 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631596733 1631596734 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 27972 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:40 sofia/default/447520641863@212.150.158.100 Standard INIT 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:48 (sofia/default/447520641863@212.150.158.100) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:627 (sofia/default/447520641863@212.150.158.100) State INIT going to sleep 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_ROUTING (Cur 12 Tot 248021) 2021-09-14 09:05:05.586708 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [calling][0] 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:643 (sofia/default/447520641863@212.150.158.100) State ROUTING 2021-09-14 09:05:05.586708 [DEBUG] mod_sofia.c:143 sofia/default/447520641863@212.150.158.100 SOFIA ROUTING 2021-09-14 09:05:05.586708 [DEBUG] switch_ivr_originate.c:67 (sofia/default/447520641863@212.150.158.100) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:643 (sofia/default/447520641863@212.150.158.100) State ROUTING going to sleep 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 248021) 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:662 (sofia/default/447520641863@212.150.158.100) State CONSUME_MEDIA 2021-09-14 09:05:05.586708 [DEBUG] switch_core_state_machine.c:662 (sofia/default/447520641863@212.150.158.100) State CONSUME_MEDIA going to sleep 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [proceeding][180] 2021-09-14 09:05:05.966729 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/447520641863@212.150.158.100! 2021-09-14 09:05:05.966729 [DEBUG] switch_channel.c:3346 (sofia/default/447520641863@212.150.158.100) Callstate Change DOWN -> RINGING 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [proceeding][183] 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 21052 21052 IN IP4 212.150.158.100 s=session c=IN IP4 212.150.158.100 t=0 0 m=audio 19976 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/447520641863@212.150.158.100 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:05:05.966729 [DEBUG] switch_core_codec.c:111 sofia/default/447520641863@212.150.158.100 Original read codec set to PCMU:0 2021-09-14 09:05:05.966729 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/97239707000@173.203.86.119! 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:4767 sofia/default/447520641863@212.150.158.100 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/447520641863@212.150.158.100] 89.46.223.193 port 27972 -> 212.150.158.100 port 19976 codec: 0 ms: 20 2021-09-14 09:05:05.966729 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:05:05.966729 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [early][180] 2021-09-14 09:05:05.966729 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/97239707000@173.203.86.119! 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:7180 sofia/default/447520641863@212.150.158.100 Set 2833 dtmf send payload to 101 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:7187 sofia/default/447520641863@212.150.158.100 Set 2833 dtmf receive payload to 101 2021-09-14 09:05:05.966729 [DEBUG] switch_core_media.c:7210 sofia/default/447520641863@212.150.158.100 Set rtp dtmf delay to 40 2021-09-14 09:05:05.966729 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/447520641863@212.150.158.100! 2021-09-14 09:05:05.966729 [DEBUG] switch_channel.c:3474 (sofia/default/447520641863@212.150.158.100) Callstate Change RINGING -> EARLY 2021-09-14 09:05:05.986658 [INFO] switch_ivr_originate.c:3654 Sending early media 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/97239707000@173.203.86.119] 89.46.223.193 port 23894 -> 173.203.86.119 port 16470 codec: 0 ms: 20 2021-09-14 09:05:05.986658 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:7180 sofia/default/97239707000@173.203.86.119 Set 2833 dtmf send payload to 101 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:7187 sofia/default/97239707000@173.203.86.119 Set 2833 dtmf receive payload to 101 2021-09-14 09:05:05.986658 [DEBUG] switch_core_media.c:7210 sofia/default/97239707000@173.203.86.119 Set rtp dtmf delay to 40 2021-09-14 09:05:05.986658 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1631600811 1631600812 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 23894 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:05.986658 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/97239707000@173.203.86.119! 2021-09-14 09:05:05.986658 [DEBUG] switch_channel.c:3474 (sofia/default/97239707000@173.203.86.119) Callstate Change RINGING -> EARLY 2021-09-14 09:05:05.986658 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/447520641863@212.150.158.100] 2021-09-14 09:05:05.986658 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [early][183] 2021-09-14 09:05:06.006664 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/447520641863@212.150.158.100) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:05:06.006664 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 248021) 2021-09-14 09:05:06.006664 [DEBUG] switch_core_state_machine.c:653 (sofia/default/447520641863@212.150.158.100) State EXCHANGE_MEDIA 2021-09-14 09:05:06.006664 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:05:06.026667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:06.146767 [DEBUG] switch_ivr_bridge.c:546 sofia/default/447520641863@212.150.158.100 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:05:06.186666 [DEBUG] switch_ivr.c:623 sofia/default/447520641863@212.150.158.100 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/447520641863@212.150.158.100 sched_hangup(+10800 normal_clearing) 2021-09-14 09:05:06.186666 [DEBUG] switch_scheduler.c:249 Added task 31133 switch_ivr_schedule_hangup (6158722e-155c-11ec-9e87-7dfb9f6e00f0) to run at 1631635506 2021-09-14 09:05:12.326673 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [completing][200] 2021-09-14 09:05:12.326673 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 21052 21053 IN IP4 212.150.158.100 s=session c=IN IP4 212.150.158.100 t=0 0 m=audio 19976 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 2021-09-14 09:05:12.346685 [DEBUG] sofia.c:7084 Channel sofia/default/447520641863@212.150.158.100 entering state [ready][200] 2021-09-14 09:05:12.346685 [NOTICE] sofia.c:8159 Channel [sofia/default/447520641863@212.150.158.100] has been answered 2021-09-14 09:05:12.346685 [DEBUG] switch_channel.c:3773 (sofia/default/447520641863@212.150.158.100) Callstate Change EARLY -> ACTIVE 2021-09-14 09:05:12.346685 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/97239707000@173.203.86.119. 2021-09-14 09:05:12.346685 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/97239707000@173.203.86.119: v=0 o=FreeSWITCH 1631600811 1631600813 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 23894 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:12.346685 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/97239707000@173.203.86.119] has been answered 2021-09-14 09:05:12.346685 [DEBUG] switch_channel.c:3773 (sofia/default/97239707000@173.203.86.119) Callstate Change EARLY -> ACTIVE 2021-09-14 09:05:12.346685 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [completed][200] 2021-09-14 09:05:12.406664 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:12.466678 [DEBUG] sofia.c:7084 Channel sofia/default/97239707000@173.203.86.119 entering state [ready][200] 2021-09-14 09:05:12.586727 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:13.726704 [NOTICE] switch_channel.c:1104 New Channel sofia/default/43720902004@193.109.216.112 [6631582e-155c-11ec-9e8d-7dfb9f6e00f0] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_NEW (Cur 13 Tot 248022) 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:9873 sofia/default/43720902004@193.109.216.112 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [received][100] 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 181797555 181797555 IN IP4 193.109.216.112 s=Asterisk PBX 1.8.32.3 c=IN IP4 193.109.216.112 t=0 0 m=audio 17990 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/43720902004@193.109.216.112 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:05:13.726704 [DEBUG] switch_core_codec.c:111 sofia/default/43720902004@193.109.216.112 Original read codec set to PCMA:8 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:05:13.726704 [DEBUG] switch_core_media.c:4767 sofia/default/43720902004@193.109.216.112 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:05:13.726704 [DEBUG] sofia.c:7507 (sofia/default/43720902004@193.109.216.112) State Change CS_NEW -> CS_INIT 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:603 (sofia/default/43720902004@193.109.216.112) State NEW 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_INIT (Cur 13 Tot 248022) 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:627 (sofia/default/43720902004@193.109.216.112) State INIT 2021-09-14 09:05:13.726704 [DEBUG] mod_sofia.c:90 sofia/default/43720902004@193.109.216.112 SOFIA INIT 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:40 sofia/default/43720902004@193.109.216.112 Standard INIT 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:48 (sofia/default/43720902004@193.109.216.112) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:627 (sofia/default/43720902004@193.109.216.112) State INIT going to sleep 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_ROUTING (Cur 13 Tot 248022) 2021-09-14 09:05:13.726704 [DEBUG] switch_channel.c:2249 (sofia/default/43720902004@193.109.216.112) Callstate Change DOWN -> RINGING 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:643 (sofia/default/43720902004@193.109.216.112) State ROUTING 2021-09-14 09:05:13.726704 [DEBUG] mod_sofia.c:143 sofia/default/43720902004@193.109.216.112 SOFIA ROUTING 2021-09-14 09:05:13.726704 [DEBUG] switch_core_state_machine.c:236 sofia/default/43720902004@193.109.216.112 Standard ROUTING 2021-09-14 09:05:13.726704 [INFO] mod_dialplan_xml.c:637 Processing 43720902004 <43720902004>->004369910001245 in context default 2021-09-14 09:05:13.726704 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:05:13.726704 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A05%3A13 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A05%3A13%20GMT Event-Date-Timestamp: 1631624713726704 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528126 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/43720902004%40193.109.216.112 Unique-ID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 43720902004%40193.109.216.112 Channel-Call-UUID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 43720902004 Caller-Dialplan: XML Caller-Caller-ID-Name: 43720902004 Caller-Caller-ID-Number: 43720902004 Caller-Orig-Caller-ID-Name: 43720902004 Caller-Orig-Caller-ID-Number: 43720902004 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 43720902004 Caller-Destination-Number: 004369910001245 Caller-Unique-ID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/43720902004%40193.109.216.112 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624713726704 Caller-Channel-Created-Time: 1631624713726704 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0 variable_session_id: 248022 variable_sip_from_user: 43720902004 variable_sip_from_uri: 43720902004%40193.109.216.112 variable_sip_from_host: 193.109.216.112 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/43720902004%40193.109.216.112 variable_sip_call_id: 4fdaf2fb69accf72454b01e342dbe528%40193.109.216.112%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624713726704 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 43720902004 variable_sip_from_tag: as6fe1c954 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D46.5fe73e76%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D46.5fe73e76%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK33f1.58821937.0,SIP/2.0/UDP%20193.109.216.112%3A5060%3Bbranch%3Dz9hG4bK7962bb1b variable_sip_from_display: 43720902004 variable_sip_full_from: %2243720902004%22%20%3Csip%3A43720902004%40193.109.216.112%3E%3Btag%3Das6fe1c954 variable_sip_full_to: %3Csip%3A004369910001245%40136.243.196.198%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 004369910001245 variable_sip_req_uri: 004369910001245%40136.243.196.198 variable_sip_req_host: 136.243.196.198 variable_sip_to_user: 004369910001245 variable_sip_to_uri: 004369910001245%40136.243.196.198 variable_sip_to_host: 136.243.196.198 variable_sip_contact_user: 43720902004 variable_sip_contact_port: 5060 variable_sip_contact_uri: 43720902004%40193.109.216.112%3A5060 variable_sip_contact_host: 193.109.216.112 variable_sip_user_agent: Asterisk%20PBX%201.8.32.3 variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 43720902004%40193.109.216.112 variable_sip_h_X-AUTH-IP: 193.109.216.112 variable_sip_h_P-Accountcode: 619312506378 variable_sip_h_P-effective_caller_id_name: 43720902004 variable_sip_h_P-effective_caller_id_number: 43720902004 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20181797555%20181797555%20IN%20IP4%20193.109.216.112%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%20193.109.216.112%0D%0At%3D0%200%0D%0Am%3Daudio%2017990%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 193.109.216.112 variable_remote_media_port: 17990 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 43720902004 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 43720902004 Hunt-Caller-ID-Number: 43720902004 Hunt-Orig-Caller-ID-Name: 43720902004 Hunt-Orig-Caller-ID-Number: 43720902004 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 43720902004 Hunt-Destination-Number: 004369910001245 Hunt-Unique-ID: 6631582e-155c-11ec-9e8d-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/43720902004%40193.109.216.112 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624713726704 Hunt-Channel-Created-Time: 1631624713726704 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 004369910001245 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '004369910001245' limit 1 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '004369910001245' AND status=0 limit 1 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '193.109.216.112' limit 1 2021-09-14 09:05:13.726704 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 43720902004 / 43720902004 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="004369910001245" LIMIT 1 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="004369910001245" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2021-09-14 09:05:13.726704 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378] 2021-09-14 09:05:13.726704 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^004369910001245.*' OR blocked_patterns = '^00436991000124.*' OR blocked_patterns = '^0043699100012.*' OR blocked_patterns = '^004369910001.*' OR blocked_patterns = '^00436991000.*' OR blocked_patterns = '^0043699100.*' OR blocked_patterns = '^004369910.*' OR blocked_patterns = '^00436991.*' OR blocked_patterns = '^0043699.*' OR blocked_patterns = '^004369.*' OR blocked_patterns = '^00436.*' OR blocked_patterns = '^0043.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [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 ="004369910001245" AND A.accountid = '1039' limit 1 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 004369910001245 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="004369910001245" LIMIT 1 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="004369910001245" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="004369910001245" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....004369910001245 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 004369910001245 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4369910001245 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....4369910001245 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^4369910001245.*' OR patterns = '^436991000124.*' OR patterns = '^43699100012.*' OR patterns = '^4369910001.*' OR patterns = '^436991000.*' OR patterns = '^43699100.*' OR patterns = '^4369910.*' OR patterns = '^436991.*' OR patterns = '^43699.*' OR patterns = '^4369.*' OR patterns = '^436.*' OR patterns = '^43.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '4369910001245' OR number = '436991000124' OR number = '43699100012' OR number = '4369910001' OR number = '436991000' OR number = '43699100' OR number = '4369910' OR number = '436991' OR number = '43699' OR number = '4369' OR number = '436' OR number = '43' OR number = '4' OR number ='--') OR (number = '4369910001245*' OR number = '436991000124*' OR number = '43699100012*' OR number = '4369910001*' OR number = '436991000*' OR number = '43699100*' OR number = '4369910*' OR number = '436991*' OR number = '43699*' OR number = '4369*' OR number = '436*' OR number = '43*' OR number = '4*' OR number ='--') OR (number = '43720902004' OR number = '4372090200' OR number = '437209020' OR number = '43720902' OR number = '4372090' OR number = '437209' OR number = '43720' OR number = '4372' OR number = '437' OR number = '43' OR number = '4' OR number ='--') OR (number = '43720902004*' OR number = '4372090200*' OR number = '437209020*' OR number = '43720902*' OR number = '4372090*' OR number = '437209*' OR number = '43720*' OR number = '4372*' OR number = '437*' OR number = '43*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4369910001245' OR routing_prefix = '436991000124' OR routing_prefix = '43699100012' OR routing_prefix = '4369910001' OR routing_prefix = '436991000' OR routing_prefix = '43699100' OR routing_prefix = '4369910' OR routing_prefix = '436991' OR routing_prefix = '43699' OR routing_prefix = '4369' OR routing_prefix = '436' OR routing_prefix = '43' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4369910001245.*' OR pattern = '^436991000124.*' OR pattern = '^43699100012.*' OR pattern = '^4369910001.*' OR pattern = '^436991000.*' OR pattern = '^43699100.*' OR pattern = '^4369910.*' OR pattern = '^436991.*' OR pattern = '^43699.*' OR pattern = '^4369.*' OR pattern = '^436.*' OR pattern = '^43.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1142605 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.33920 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : AustriaH3g Mobile 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!! 2021-09-14 09:05:13.746665 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins! 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1142605 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^4369910001245.*' OR pattern = '^436991000124.*' OR pattern = '^43699100012.*' OR pattern = '^4369910001.*' OR pattern = '^436991000.*' OR pattern = '^43699100.*' OR pattern = '^4369910.*' OR pattern = '^436991.*' OR pattern = '^43699.*' OR pattern = '^4369.*' OR pattern = '^436.*' OR pattern = '^43.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1717305 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^43699.* 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : AustriaH3g Mobile 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^43699.* 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1889841 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^43699.* 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : AustriaH3g Mobile 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^43699.* 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2064315 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^43699.* 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : AUSTRIA - MOBILE HUTCHISON 3G 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^43699.* 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:05:13.746665 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4369910001245 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:13.746665 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4369910001245 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [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 = 1017) AND status=0 limit 1 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4369910001245 2021-09-14 09:05:13.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:05:13.766661 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/43720902004@193.109.216.112 parsing [default->4369910001245] continue=false Dialplan: sofia/default/43720902004@193.109.216.112 Regex (PASS) [4369910001245] destination_number(004369910001245) =~ /004369910001245/ break=on-false Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_destination_number=4369910001245) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(callstart=2021-09-14 13:05:13) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(hangup_after_bridge=true) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(account_id=1039) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(parent_id=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(entity_id=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(call_processed=internal) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(call_direction=outbound) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(accountname=default) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(origination_rates=ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(original_caller_id_name=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(original_caller_id_number=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(is_recording=1) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(media_bug_answer_req=true) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(RECORD_STEREO=true) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(record_sample_rate=8000) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_name=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_number=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(termination_rates=ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(trunk_id=51) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(provider_id=587) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(force_trunk_flag=1142605) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=trunk_id=51) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112) Dialplan: sofia/default/43720902004@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_name=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_number=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(termination_rates=ID:1889841|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19070|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(trunk_id=53) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(provider_id=587) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(force_trunk_flag=1142605) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=trunk_id=53) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||Low_Tata_38986_110821 // ^43699.* // AustriaH3g Mobile // 0.19070 // trunk_id=53|||STD|||193.109.216.112) Dialplan: sofia/default/43720902004@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_name=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(effective_caller_id_number=43720902004) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(termination_rates=ID:2064315|CODE:^43699.*|DESTINATION:AUSTRIA - MOBILE HUTCHISON 3G|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.21200|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(trunk_id=55) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(provider_id=1017) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(force_trunk_flag=1142605) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=trunk_id=55) Dialplan: sofia/default/43720902004@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/43720902004@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||High_Telia_110821 // ^43699.* // AUSTRIA - MOBILE HUTCHISON 3G // 0.21200 // trunk_id=55|||STD|||193.109.216.112) Dialplan: sofia/default/43720902004@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/4369910001245;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:286 (sofia/default/43720902004@193.109.216.112) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/43720902004@193.109.216.112) State ROUTING going to sleep 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_EXECUTE (Cur 13 Tot 248022) 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:650 (sofia/default/43720902004@193.109.216.112) State EXECUTE 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:198 sofia/default/43720902004@193.109.216.112 SOFIA EXECUTE 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:328 sofia/default/43720902004@193.109.216.112 Standard EXECUTE EXECUTE sofia/default/43720902004@193.109.216.112 set(effective_destination_number=4369910001245) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [effective_destination_number]=[4369910001245] EXECUTE sofia/default/43720902004@193.109.216.112 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/43720902004@193.109.216.112 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/43720902004@193.109.216.112 set(callstart=2021-09-14 13:05:13) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [callstart]=[2021-09-14 13:05:13] EXECUTE sofia/default/43720902004@193.109.216.112 set(hangup_after_bridge=true) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [hangup_after_bridge]=[true] EXECUTE sofia/default/43720902004@193.109.216.112 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/43720902004@193.109.216.112 set(account_id=1039) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [account_id]=[1039] EXECUTE sofia/default/43720902004@193.109.216.112 set(parent_id=0) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [parent_id]=[0] EXECUTE sofia/default/43720902004@193.109.216.112 set(entity_id=0) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [entity_id]=[0] EXECUTE sofia/default/43720902004@193.109.216.112 set(call_processed=internal) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [call_processed]=[internal] EXECUTE sofia/default/43720902004@193.109.216.112 set(call_direction=outbound) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [call_direction]=[outbound] EXECUTE sofia/default/43720902004@193.109.216.112 set(accountname=default) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [accountname]=[default] EXECUTE sofia/default/43720902004@193.109.216.112 set(filename1=astpp.pbx.lua) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/43720902004@193.109.216.112 set(origination_rates=ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [origination_rates]=[ID:1142605|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.33920|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039] EXECUTE sofia/default/43720902004@193.109.216.112 set(original_caller_id_name=43720902004) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [original_caller_id_name]=[43720902004] EXECUTE sofia/default/43720902004@193.109.216.112 set(original_caller_id_number=43720902004) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [original_caller_id_number]=[43720902004] EXECUTE sofia/default/43720902004@193.109.216.112 export(is_recording=1) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1] EXECUTE sofia/default/43720902004@193.109.216.112 export(media_bug_answer_req=true) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE sofia/default/43720902004@193.109.216.112 export(RECORD_STEREO=true) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE sofia/default/43720902004@193.109.216.112 export(record_sample_rate=8000) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE sofia/default/43720902004@193.109.216.112 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav] EXECUTE sofia/default/43720902004@193.109.216.112 set(effective_caller_id_name=43720902004) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [effective_caller_id_name]=[43720902004] EXECUTE sofia/default/43720902004@193.109.216.112 set(effective_caller_id_number=43720902004) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [effective_caller_id_number]=[43720902004] EXECUTE sofia/default/43720902004@193.109.216.112 set(calltype=STANDARD) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [calltype]=[STANDARD] EXECUTE sofia/default/43720902004@193.109.216.112 set(termination_rates=ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [termination_rates]=[ID:1717305|CODE:^43699.*|DESTINATION:AustriaH3g Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19060|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587] EXECUTE sofia/default/43720902004@193.109.216.112 set(trunk_id=51) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [trunk_id]=[51] EXECUTE sofia/default/43720902004@193.109.216.112 set(provider_id=587) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [provider_id]=[587] EXECUTE sofia/default/43720902004@193.109.216.112 set(rate_flag=0) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [rate_flag]=[0] EXECUTE sofia/default/43720902004@193.109.216.112 set(force_trunk_flag=1142605) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [force_trunk_flag]=[1142605] EXECUTE sofia/default/43720902004@193.109.216.112 export(presence_data=trunk_id=51) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=51] EXECUTE sofia/default/43720902004@193.109.216.112 set(intcall=0) 2021-09-14 09:05:13.766661 [DEBUG] mod_dptools.c:1548 SET sofia/default/43720902004@193.109.216.112 [intcall]=[0] EXECUTE sofia/default/43720902004@193.109.216.112 export(presence_data=x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112] EXECUTE sofia/default/43720902004@193.109.216.112 bridge([leg_timeout=0]sofia/gateway/tata3/4369910001245;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [is_recording]=[1] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_channel.c:1250 sofia/default/43720902004@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^43699.* // AustriaH3g Mobile // 0.33920 // trunk_id=0|||high_tata_37113_110821 // ^43699.* // AustriaH3g Mobile // 0.19060 // trunk_id=51|||STD|||193.109.216.112] to event 2021-09-14 09:05:13.766661 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:05:13.766661 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:05:13.766661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4369910001245 [6637aa94-155c-11ec-9eb3-7dfb9f6e00f0] 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:4819 (sofia/default/4369910001245) State Change CS_NEW -> CS_INIT 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_INIT (Cur 14 Tot 248023) 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4369910001245) State INIT 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:90 sofia/default/4369910001245 SOFIA INIT 2021-09-14 09:05:13.766661 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/4369910001245 2021-09-14 09:05:13.766661 [DEBUG] sofia_glue.c:1295 sofia/default/4369910001245 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631596005 1631596006 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 28708 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:40 sofia/default/4369910001245 Standard INIT 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4369910001245) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4369910001245) State INIT going to sleep 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_ROUTING (Cur 14 Tot 248023) 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4369910001245) State ROUTING 2021-09-14 09:05:13.766661 [DEBUG] mod_sofia.c:143 sofia/default/4369910001245 SOFIA ROUTING 2021-09-14 09:05:13.766661 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4369910001245) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4369910001245) State ROUTING going to sleep 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 248023) 2021-09-14 09:05:13.766661 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [calling][0] 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4369910001245) State CONSUME_MEDIA 2021-09-14 09:05:13.766661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4369910001245) State CONSUME_MEDIA going to sleep 2021-09-14 09:05:16.426696 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [proceeding][180] 2021-09-14 09:05:16.426696 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=Sonus_UAC 31002 19981 IN IP4 209.58.46.110 s=SIP Media Capabilities c=IN IP4 209.58.46.103 t=0 0 m=audio 22518 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4369910001245 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:05:16.426696 [DEBUG] switch_core_codec.c:111 sofia/default/4369910001245 Original read codec set to PCMA:8 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:4767 sofia/default/4369910001245 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4369910001245] 89.46.223.193 port 28708 -> 209.58.46.103 port 22518 codec: 8 ms: 20 2021-09-14 09:05:16.426696 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:7180 sofia/default/4369910001245 Set 2833 dtmf send payload to 101 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:7187 sofia/default/4369910001245 Set 2833 dtmf receive payload to 101 2021-09-14 09:05:16.426696 [DEBUG] switch_core_media.c:7210 sofia/default/4369910001245 Set rtp dtmf delay to 40 2021-09-14 09:05:16.426696 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4369910001245! 2021-09-14 09:05:16.426696 [DEBUG] switch_channel.c:3474 (sofia/default/4369910001245) Callstate Change DOWN -> EARLY 2021-09-14 09:05:16.446660 [INFO] switch_ivr_originate.c:3654 Sending early media 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/43720902004@193.109.216.112] 89.46.223.193 port 19560 -> 193.109.216.112 port 17990 codec: 8 ms: 20 2021-09-14 09:05:16.446660 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:7180 sofia/default/43720902004@193.109.216.112 Set 2833 dtmf send payload to 101 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:7187 sofia/default/43720902004@193.109.216.112 Set 2833 dtmf receive payload to 101 2021-09-14 09:05:16.446660 [DEBUG] switch_core_media.c:7210 sofia/default/43720902004@193.109.216.112 Set rtp dtmf delay to 40 2021-09-14 09:05:16.446660 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1631605156 1631605157 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 19560 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:16.446660 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/43720902004@193.109.216.112! 2021-09-14 09:05:16.446660 [DEBUG] switch_channel.c:3474 (sofia/default/43720902004@193.109.216.112) Callstate Change RINGING -> EARLY 2021-09-14 09:05:16.446660 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4369910001245] 2021-09-14 09:05:16.446660 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [early][183] 2021-09-14 09:05:16.446660 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4369910001245) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:05:16.446660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 248023) 2021-09-14 09:05:16.446660 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4369910001245) State EXCHANGE_MEDIA 2021-09-14 09:05:16.446660 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:05:16.486714 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:16.626708 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:16.626708 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4369910001245 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:05:16.646660 [DEBUG] switch_ivr.c:623 sofia/default/4369910001245 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/4369910001245 sched_hangup(+10800 normal_clearing) 2021-09-14 09:05:16.646660 [DEBUG] switch_scheduler.c:249 Added task 31134 switch_ivr_schedule_hangup (6637aa94-155c-11ec-9eb3-7dfb9f6e00f0) to run at 1631635516 2021-09-14 09:05:18.226727 [NOTICE] sofia.c:1012 Hangup sofia/default/97239707000@173.203.86.119 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/97239707000@173.203.86.119] 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:706 sofia/default/97239707000@173.203.86.119 ending bridge by request from write function 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/447520641863@212.150.158.100] 2021-09-14 09:05:18.246665 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/447520641863@212.150.158.100 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:653 (sofia/default/447520641863@212.150.158.100) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_HANGUP (Cur 14 Tot 248023) 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:850 (sofia/default/447520641863@212.150.158.100) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/447520641863@212.150.158.100) State HANGUP 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:432 sofia/default/447520641863@212.150.158.100 Overriding SIP cause 480 with 200 from the other leg 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:438 Channel sofia/default/447520641863@212.150.158.100 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/447520641863@212.150.158.100 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:05:18.246665 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/97239707000@173.203.86.119 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:05:18.246665 [DEBUG] switch_core_session.c:2815 sofia/default/97239707000@173.203.86.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:650 (sofia/default/97239707000@173.203.86.119) State EXECUTE going to sleep 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/447520641863@212.150.158.100 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_HANGUP (Cur 14 Tot 248023) 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:60 sofia/default/447520641863@212.150.158.100 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/447520641863@212.150.158.100) State HANGUP going to sleep 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:619 (sofia/default/447520641863@212.150.158.100) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/447520641863@212.150.158.100) Running State Change CS_REPORTING (Cur 14 Tot 248023) 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:938 (sofia/default/447520641863@212.150.158.100) State REPORTING 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97239707000@173.203.86.119) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97239707000@173.203.86.119) State HANGUP 2021-09-14 09:05:18.246665 [DEBUG] mod_sofia.c:438 Channel sofia/default/97239707000@173.203.86.119 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:05:18.246665 [INFO] mod_json_cdr.c:271 Process [6158722e-155c-11ec-9e87-7dfb9f6e00f0.cdr.json] 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:60 sofia/default/97239707000@173.203.86.119 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97239707000@173.203.86.119) State HANGUP going to sleep 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97239707000@173.203.86.119) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97239707000@173.203.86.119) Running State Change CS_REPORTING (Cur 14 Tot 248023) 2021-09-14 09:05:18.246665 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97239707000@173.203.86.119) State REPORTING 2021-09-14 09:05:18.246665 [INFO] mod_json_cdr.c:271 Process [614af770-155c-11ec-9e67-7dfb9f6e00f0.cdr.json] 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:174 sofia/default/447520641863@212.150.158.100 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:938 (sofia/default/447520641863@212.150.158.100) State REPORTING going to sleep 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:610 (sofia/default/447520641863@212.150.158.100) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:05:18.266662 [DEBUG] switch_core_session.c:1665 Session 248021 (sofia/default/447520641863@212.150.158.100) Locked, Waiting on external entities 2021-09-14 09:05:18.266662 [NOTICE] switch_core_session.c:1683 Session 248021 (sofia/default/447520641863@212.150.158.100) Ended 2021-09-14 09:05:18.266662 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/447520641863@212.150.158.100 [CS_DESTROY] 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:741 (sofia/default/447520641863@212.150.158.100) Running State Change CS_DESTROY (Cur 13 Tot 248023) 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:751 (sofia/default/447520641863@212.150.158.100) State DESTROY 2021-09-14 09:05:18.266662 [DEBUG] mod_sofia.c:343 sofia/default/447520641863@212.150.158.100 SOFIA DESTROY 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:181 sofia/default/447520641863@212.150.158.100 Standard DESTROY 2021-09-14 09:05:18.266662 [DEBUG] switch_core_state_machine.c:751 (sofia/default/447520641863@212.150.158.100) State DESTROY going to sleep 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:174 sofia/default/97239707000@173.203.86.119 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97239707000@173.203.86.119) State REPORTING going to sleep 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97239707000@173.203.86.119) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:05:18.286673 [DEBUG] switch_core_session.c:1665 Session 248020 (sofia/default/97239707000@173.203.86.119) Locked, Waiting on external entities 2021-09-14 09:05:18.286673 [NOTICE] switch_core_session.c:1683 Session 248020 (sofia/default/97239707000@173.203.86.119) Ended 2021-09-14 09:05:18.286673 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97239707000@173.203.86.119 [CS_DESTROY] 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97239707000@173.203.86.119) Running State Change CS_DESTROY (Cur 12 Tot 248023) 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97239707000@173.203.86.119) State DESTROY 2021-09-14 09:05:18.286673 [DEBUG] mod_sofia.c:343 sofia/default/97239707000@173.203.86.119 SOFIA DESTROY 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:181 sofia/default/97239707000@173.203.86.119 Standard DESTROY 2021-09-14 09:05:18.286673 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97239707000@173.203.86.119) State DESTROY going to sleep 2021-09-14 09:05:18.646671 [DEBUG] switch_scheduler.c:144 Deleting task 31133 switch_ivr_schedule_hangup (6158722e-155c-11ec-9e87-7dfb9f6e00f0) 2021-09-14 09:05:22.426711 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [completing][200] 2021-09-14 09:05:22.426711 [DEBUG] sofia.c:7091 Duplicate SDP v=0 o=Sonus_UAC 31002 19981 IN IP4 209.58.46.110 s=SIP Media Capabilities c=IN IP4 209.58.46.103 t=0 0 m=audio 22518 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2021-09-14 09:05:22.446665 [DEBUG] sofia.c:7084 Channel sofia/default/4369910001245 entering state [ready][200] 2021-09-14 09:05:22.446665 [NOTICE] sofia.c:8159 Channel [sofia/default/4369910001245] has been answered EXECUTE sofia/default/4369910001245 record_session(/var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav) 2021-09-14 09:05:22.466669 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/43720902004@193.109.216.112. 2021-09-14 09:05:22.466669 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/43720902004@193.109.216.112: v=0 o=FreeSWITCH 1631605156 1631605158 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 19560 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:22.466669 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/43720902004@193.109.216.112] has been answered 2021-09-14 09:05:22.466669 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [completed][200] EXECUTE sofia/default/43720902004@193.109.216.112 record_session(/var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav) 2021-09-14 09:05:22.466669 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/4369910001245 2021-09-14 09:05:22.466669 [DEBUG] switch_channel.c:3773 (sofia/default/4369910001245) Callstate Change EARLY -> ACTIVE 2021-09-14 09:05:22.466669 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/43720902004@193.109.216.112 2021-09-14 09:05:22.466669 [DEBUG] switch_channel.c:3773 (sofia/default/43720902004@193.109.216.112) Callstate Change EARLY -> ACTIVE 2021-09-14 09:05:22.466669 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech 2021-09-14 09:05:22.486665 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech 2021-09-14 09:05:22.506668 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:22.506668 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2021-09-14 09:05:22.526686 [DEBUG] sofia.c:7084 Channel sofia/default/43720902004@193.109.216.112 entering state [ready][200] 2021-09-14 09:05:22.586667 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:22.586667 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2021-09-14 09:05:38.666876 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [terminated][480] 2021-09-14 09:05:38.666876 [NOTICE] sofia.c:8273 Hangup sofia/default/4915111633383 [CS_EXCHANGE_MEDIA] [NO_USER_RESPONSE] 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:712 sofia/default/4915111633383 ending bridge by request from read function 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4915111633383] 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_HANGUP (Cur 12 Tot 248023) 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4915111633383) Callstate Change EARLY -> HANGUP 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:438 Channel sofia/default/4915111633383 hanging up, cause: NO_USER_RESPONSE 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:60 sofia/default/4915111633383 Standard HANGUP, cause: NO_USER_RESPONSE 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP going to sleep 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4915111633383) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_REPORTING (Cur 12 Tot 248023) 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING 2021-09-14 09:05:38.666876 [INFO] mod_json_cdr.c:271 Process [591a155e-155c-11ec-9e61-7dfb9f6e00f0.cdr.json] 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:706 sofia/default/4915111633383 ending bridge by request from write function 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/498008001050@193.109.216.112] 2021-09-14 09:05:38.666876 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/4915111633383 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:05:38.666876 [NOTICE] switch_channel.c:4844 Hangup sofia/default/498008001050@193.109.216.112 [CS_EXECUTE] [NO_USER_RESPONSE] 2021-09-14 09:05:38.666876 [DEBUG] switch_core_session.c:2815 sofia/default/498008001050@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE going to sleep 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_HANGUP (Cur 12 Tot 248023) 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:850 (sofia/default/498008001050@193.109.216.112) Callstate Change EARLY -> HANGUP 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:432 sofia/default/498008001050@193.109.216.112 Overriding SIP cause 408 with 480 from the other leg 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:438 Channel sofia/default/498008001050@193.109.216.112 hanging up, cause: NO_USER_RESPONSE 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:60 sofia/default/498008001050@193.109.216.112 Standard HANGUP, cause: NO_USER_RESPONSE 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP going to sleep 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:619 (sofia/default/498008001050@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_REPORTING (Cur 12 Tot 248023) 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:174 sofia/default/4915111633383 Standard REPORTING, cause: NO_USER_RESPONSE 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING going to sleep 2021-09-14 09:05:38.666876 [INFO] mod_json_cdr.c:271 Process [591382e8-155c-11ec-9e3b-7dfb9f6e00f0.cdr.json] 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4915111633383) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:05:38.666876 [DEBUG] switch_core_session.c:1665 Session 248019 (sofia/default/4915111633383) Locked, Waiting on external entities 2021-09-14 09:05:38.666876 [NOTICE] switch_core_session.c:1683 Session 248019 (sofia/default/4915111633383) Ended 2021-09-14 09:05:38.666876 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4915111633383 [CS_DESTROY] 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4915111633383) Running State Change CS_DESTROY (Cur 11 Tot 248023) 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY 2021-09-14 09:05:38.666876 [DEBUG] mod_sofia.c:343 sofia/default/4915111633383 SOFIA DESTROY 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:181 sofia/default/4915111633383 Standard DESTROY 2021-09-14 09:05:38.666876 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY going to sleep 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:174 sofia/default/498008001050@193.109.216.112 Standard REPORTING, cause: NO_USER_RESPONSE 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING going to sleep 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:610 (sofia/default/498008001050@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:05:38.706667 [DEBUG] switch_core_session.c:1665 Session 248018 (sofia/default/498008001050@193.109.216.112) Locked, Waiting on external entities 2021-09-14 09:05:38.706667 [NOTICE] switch_core_session.c:1683 Session 248018 (sofia/default/498008001050@193.109.216.112) Ended 2021-09-14 09:05:38.706667 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/498008001050@193.109.216.112 [CS_DESTROY] 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:741 (sofia/default/498008001050@193.109.216.112) Running State Change CS_DESTROY (Cur 10 Tot 248023) 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY 2021-09-14 09:05:38.706667 [DEBUG] mod_sofia.c:343 sofia/default/498008001050@193.109.216.112 SOFIA DESTROY 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:181 sofia/default/498008001050@193.109.216.112 Standard DESTROY 2021-09-14 09:05:38.706667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY going to sleep 2021-09-14 09:05:38.866754 [NOTICE] switch_channel.c:1104 New Channel sofia/default/498008001050@193.109.216.112 [752f635c-155c-11ec-9ebb-7dfb9f6e00f0] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_NEW (Cur 11 Tot 248024) 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:9873 sofia/default/498008001050@193.109.216.112 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [received][100] 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=root 186973619 186973619 IN IP4 193.109.216.112 s=Asterisk PBX 1.8.32.3 c=IN IP4 193.109.216.112 t=0 0 m=audio 46902 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/498008001050@193.109.216.112 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:05:38.866754 [DEBUG] switch_core_codec.c:111 sofia/default/498008001050@193.109.216.112 Original read codec set to PCMA:8 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:05:38.866754 [DEBUG] switch_core_media.c:4767 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:05:38.866754 [DEBUG] sofia.c:7507 (sofia/default/498008001050@193.109.216.112) State Change CS_NEW -> CS_INIT 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:603 (sofia/default/498008001050@193.109.216.112) State NEW 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_INIT (Cur 11 Tot 248024) 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT 2021-09-14 09:05:38.866754 [DEBUG] mod_sofia.c:90 sofia/default/498008001050@193.109.216.112 SOFIA INIT 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:40 sofia/default/498008001050@193.109.216.112 Standard INIT 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:48 (sofia/default/498008001050@193.109.216.112) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498008001050@193.109.216.112) State INIT going to sleep 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_ROUTING (Cur 11 Tot 248024) 2021-09-14 09:05:38.866754 [DEBUG] switch_channel.c:2249 (sofia/default/498008001050@193.109.216.112) Callstate Change DOWN -> RINGING 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING 2021-09-14 09:05:38.866754 [DEBUG] mod_sofia.c:143 sofia/default/498008001050@193.109.216.112 SOFIA ROUTING 2021-09-14 09:05:38.866754 [DEBUG] switch_core_state_machine.c:236 sofia/default/498008001050@193.109.216.112 Standard ROUTING 2021-09-14 09:05:38.866754 [INFO] mod_dialplan_xml.c:637 Processing 498008001050 <498008001050>->004915111633383 in context default 2021-09-14 09:05:38.866754 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A05%3A38 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A05%3A38%20GMT Event-Date-Timestamp: 1631624738866754 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528272 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/498008001050%40193.109.216.112 Unique-ID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 498008001050%40193.109.216.112 Channel-Call-UUID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 498008001050 Caller-Dialplan: XML Caller-Caller-ID-Name: 498008001050 Caller-Caller-ID-Number: 498008001050 Caller-Orig-Caller-ID-Name: 498008001050 Caller-Orig-Caller-ID-Number: 498008001050 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 498008001050 Caller-Destination-Number: 004915111633383 Caller-Unique-ID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/498008001050%40193.109.216.112 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624738866754 Caller-Channel-Created-Time: 1631624738866754 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0 variable_session_id: 248024 variable_sip_from_user: 498008001050 variable_sip_from_uri: 498008001050%40193.109.216.112 variable_sip_from_host: 193.109.216.112 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/498008001050%40193.109.216.112 variable_sip_call_id: 5ceec1a005a22844435a52c366949d93%40193.109.216.112%3A5060 variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624738866754 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 498008001050 variable_sip_from_tag: as1785555d variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D035.8ff445b4%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D035.8ff445b4%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK1041.4f59f456.0,SIP/2.0/UDP%20193.109.216.112%3A5060%3Bbranch%3Dz9hG4bK692ab387 variable_sip_from_display: 498008001050 variable_sip_full_from: %22498008001050%22%20%3Csip%3A498008001050%40193.109.216.112%3E%3Btag%3Das1785555d variable_sip_full_to: %3Csip%3A004915111633383%40136.243.196.198%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 004915111633383 variable_sip_req_uri: 004915111633383%40136.243.196.198 variable_sip_req_host: 136.243.196.198 variable_sip_to_user: 004915111633383 variable_sip_to_uri: 004915111633383%40136.243.196.198 variable_sip_to_host: 136.243.196.198 variable_sip_contact_user: 498008001050 variable_sip_contact_port: 5060 variable_sip_contact_uri: 498008001050%40193.109.216.112%3A5060 variable_sip_contact_host: 193.109.216.112 variable_sip_user_agent: Asterisk%20PBX%201.8.32.3 variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 498008001050%40193.109.216.112 variable_sip_h_X-AUTH-IP: 193.109.216.112 variable_sip_h_P-Accountcode: 619312506378 variable_sip_h_P-effective_caller_id_name: 498008001050 variable_sip_h_P-effective_caller_id_number: 498008001050 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20186973619%20186973619%20IN%20IP4%20193.109.216.112%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%20193.109.216.112%0D%0At%3D0%200%0D%0Am%3Daudio%2046902%20RTP/AVP%208%200%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 193.109.216.112 variable_remote_media_port: 46902 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 498008001050 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 498008001050 Hunt-Caller-ID-Number: 498008001050 Hunt-Orig-Caller-ID-Name: 498008001050 Hunt-Orig-Caller-ID-Number: 498008001050 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 498008001050 Hunt-Destination-Number: 004915111633383 Hunt-Unique-ID: 752f635c-155c-11ec-9ebb-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/498008001050%40193.109.216.112 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624738866754 Hunt-Channel-Created-Time: 1631624738866754 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 004915111633383 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '004915111633383' limit 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '004915111633383' AND status=0 limit 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '193.109.216.112' limit 1 2021-09-14 09:05:38.866754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 498008001050 / 498008001050 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="004915111633383" LIMIT 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="004915111633383" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 619312506378] 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" OR number = "619312506378" AND deleted = 0 limit 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^004915111633383.*' OR blocked_patterns = '^00491511163338.*' OR blocked_patterns = '^0049151116333.*' OR blocked_patterns = '^004915111633.*' OR blocked_patterns = '^00491511163.*' OR blocked_patterns = '^0049151116.*' OR blocked_patterns = '^004915111.*' OR blocked_patterns = '^00491511.*' OR blocked_patterns = '^0049151.*' OR blocked_patterns = '^004915.*' OR blocked_patterns = '^00491.*' OR blocked_patterns = '^0049.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [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 ="004915111633383" AND A.accountid = '1039' limit 1 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 004915111633383 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="004915111633383" LIMIT 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="004915111633383" AND domains.domain="136.243.196.198" limit 1 2021-09-14 09:05:38.866754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="004915111633383" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 3 AND status=0 limit 1 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....004915111633383 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 004915111633383 2021-09-14 09:05:38.866754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4915111633383 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....4915111633383 2021-09-14 09:05:38.866754 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^4915111633383.*' OR patterns = '^491511163338.*' OR patterns = '^49151116333.*' OR patterns = '^4915111633.*' OR patterns = '^491511163.*' OR patterns = '^49151116.*' OR patterns = '^4915111.*' OR patterns = '^491511.*' OR patterns = '^49151.*' OR patterns = '^4915.*' OR patterns = '^491.*' OR patterns = '^49.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '4915111633383' OR number = '491511163338' OR number = '49151116333' OR number = '4915111633' OR number = '491511163' OR number = '49151116' OR number = '4915111' OR number = '491511' OR number = '49151' OR number = '4915' OR number = '491' OR number = '49' OR number = '4' OR number ='--') OR (number = '4915111633383*' OR number = '491511163338*' OR number = '49151116333*' OR number = '4915111633*' OR number = '491511163*' OR number = '49151116*' OR number = '4915111*' OR number = '491511*' OR number = '49151*' OR number = '4915*' OR number = '491*' OR number = '49*' OR number = '4*' OR number ='--') OR (number = '498008001050' OR number = '49800800105' OR number = '4980080010' OR number = '498008001' OR number = '49800800' OR number = '4980080' OR number = '498008' OR number = '49800' OR number = '4980' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '498008001050*' OR number = '49800800105*' OR number = '4980080010*' OR number = '498008001*' OR number = '49800800*' OR number = '4980080*' OR number = '498008*' OR number = '49800*' OR number = '4980*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4915111633383' OR routing_prefix = '491511163338' OR routing_prefix = '49151116333' OR routing_prefix = '4915111633' OR routing_prefix = '491511163' OR routing_prefix = '49151116' OR routing_prefix = '4915111' OR routing_prefix = '491511' OR routing_prefix = '49151' OR routing_prefix = '4915' OR routing_prefix = '491' OR routing_prefix = '49' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 3173.67686 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1159939 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.38336 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : GermanyT-Mobile Mobile 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your3173.67686 balance Accountid 1039 !!! 2021-09-14 09:05:38.906663 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins! 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 1159939 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^4915111633383.*' OR pattern = '^491511163338.*' OR pattern = '^49151116333.*' OR pattern = '^4915111633.*' OR pattern = '^491511163.*' OR pattern = '^49151116.*' OR pattern = '^4915111.*' OR pattern = '^491511.*' OR pattern = '^49151.*' OR pattern = '^4915.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (51,53,55) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1906905 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.* 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.* 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 53 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986_110821 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1734369 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.* 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.* 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 51 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_110821 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2087737 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49151.* 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GERMANY - MOBILE T-MOBILE 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49151.* 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 55 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : High_Telia_110821 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status=0 LIMIT 1 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:05:38.906663 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [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 = 587) AND status=0 limit 1 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [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 = 1017) AND status=0 limit 1 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....4915111633383 2021-09-14 09:05:38.906663 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:05:38.906663 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/498008001050@193.109.216.112 parsing [default->4915111633383] continue=false Dialplan: sofia/default/498008001050@193.109.216.112 Regex (PASS) [4915111633383] destination_number(004915111633383) =~ /004915111633383/ break=on-false Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_destination_number=4915111633383) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(callstart=2021-09-14 13:05:38) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(hangup_after_bridge=true) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(account_id=1039) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(parent_id=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(entity_id=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_processed=internal) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(call_direction=outbound) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(accountname=default) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(original_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(is_recording=1) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(media_bug_answer_req=true) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(RECORD_STEREO=true) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(record_sample_rate=8000) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=53) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=53) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112) Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:1734369|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:51|PROVIDER:587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=51) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=587) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=51) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||high_tata_37113_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=51|||STD|||193.109.216.112) Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_name=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(effective_caller_id_number=498008001050) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(calltype=STANDARD) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(termination_rates=ID:2087737|CODE:^49151.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23960|INC:1|INITIALBLOCK:1|TRUNK:55|PROVIDER:1017) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(trunk_id=55) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(provider_id=1017) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(rate_flag=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(force_trunk_flag=1159939) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=trunk_id=55) Dialplan: sofia/default/498008001050@193.109.216.112 Action set(intcall=0) Dialplan: sofia/default/498008001050@193.109.216.112 Action export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||High_Telia_110821 // ^49151.* // GERMANY - MOBILE T-MOBILE // 0.23960 // trunk_id=55|||STD|||193.109.216.112) Dialplan: sofia/default/498008001050@193.109.216.112 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/4915111633383;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:286 (sofia/default/498008001050@193.109.216.112) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498008001050@193.109.216.112) State ROUTING going to sleep 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_EXECUTE (Cur 11 Tot 248024) 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE 2021-09-14 09:05:38.906663 [DEBUG] mod_sofia.c:198 sofia/default/498008001050@193.109.216.112 SOFIA EXECUTE 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:328 sofia/default/498008001050@193.109.216.112 Standard EXECUTE EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_destination_number=4915111633383) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_destination_number]=[4915111633383] EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/498008001050@193.109.216.112 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/498008001050@193.109.216.112 set(callstart=2021-09-14 13:05:38) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [callstart]=[2021-09-14 13:05:38] EXECUTE sofia/default/498008001050@193.109.216.112 set(hangup_after_bridge=true) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [hangup_after_bridge]=[true] EXECUTE sofia/default/498008001050@193.109.216.112 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/498008001050@193.109.216.112 set(account_id=1039) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [account_id]=[1039] EXECUTE sofia/default/498008001050@193.109.216.112 set(parent_id=0) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [parent_id]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 set(entity_id=0) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [entity_id]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 set(call_processed=internal) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_processed]=[internal] EXECUTE sofia/default/498008001050@193.109.216.112 set(call_direction=outbound) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [call_direction]=[outbound] EXECUTE sofia/default/498008001050@193.109.216.112 set(accountname=default) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [accountname]=[default] EXECUTE sofia/default/498008001050@193.109.216.112 set(filename1=astpp.pbx.lua) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/498008001050@193.109.216.112 set(origination_rates=ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [origination_rates]=[ID:1159939|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.38336|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039] EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_name=498008001050) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_name]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 set(original_caller_id_number=498008001050) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [original_caller_id_number]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 export(is_recording=1) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1] EXECUTE sofia/default/498008001050@193.109.216.112 export(media_bug_answer_req=true) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE sofia/default/498008001050@193.109.216.112 export(RECORD_STEREO=true) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE sofia/default/498008001050@193.109.216.112 export(record_sample_rate=8000) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE sofia/default/498008001050@193.109.216.112 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/752f635c-155c-11ec-9ebb-7dfb9f6e00f0.wav) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/752f635c-155c-11ec-9ebb-7dfb9f6e00f0.wav] EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_name=498008001050) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_name]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 set(effective_caller_id_number=498008001050) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [effective_caller_id_number]=[498008001050] EXECUTE sofia/default/498008001050@193.109.216.112 set(calltype=STANDARD) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [calltype]=[STANDARD] EXECUTE sofia/default/498008001050@193.109.216.112 set(termination_rates=ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [termination_rates]=[ID:1906905|CODE:^49151.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:53|PROVIDER:587] EXECUTE sofia/default/498008001050@193.109.216.112 set(trunk_id=53) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [trunk_id]=[53] EXECUTE sofia/default/498008001050@193.109.216.112 set(provider_id=587) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [provider_id]=[587] EXECUTE sofia/default/498008001050@193.109.216.112 set(rate_flag=0) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [rate_flag]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 set(force_trunk_flag=1159939) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [force_trunk_flag]=[1159939] EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=trunk_id=53) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=53] EXECUTE sofia/default/498008001050@193.109.216.112 set(intcall=0) 2021-09-14 09:05:38.906663 [DEBUG] mod_dptools.c:1548 SET sofia/default/498008001050@193.109.216.112 [intcall]=[0] EXECUTE sofia/default/498008001050@193.109.216.112 export(presence_data=x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] EXECUTE sofia/default/498008001050@193.109.216.112 bridge([leg_timeout=0]sofia/gateway/tata3/4915111633383;fs_path=sip:136.243.196.198:5060) 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [is_recording]=[1] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/752f635c-155c-11ec-9ebb-7dfb9f6e00f0.wav] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_channel.c:1250 sofia/default/498008001050@193.109.216.112 EXPORTING[export_vars] [presence_data]=[x|||Enerxus(619312506378)|||^49151.* // GermanyT-Mobile Mobile // 0.38336 // trunk_id=0|||Low_Tata_38986_110821 // ^49151.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=53|||STD|||193.109.216.112] to event 2021-09-14 09:05:38.906663 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:05:38.906663 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:05:38.906663 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4915111633383 [75359952-155c-11ec-9ee1-7dfb9f6e00f0] 2021-09-14 09:05:38.906663 [DEBUG] mod_sofia.c:4819 (sofia/default/4915111633383) State Change CS_NEW -> CS_INIT 2021-09-14 09:05:38.906663 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_INIT (Cur 12 Tot 248025) 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT 2021-09-14 09:05:38.926662 [DEBUG] mod_sofia.c:90 sofia/default/4915111633383 SOFIA INIT 2021-09-14 09:05:38.926662 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/4915111633383 2021-09-14 09:05:38.926662 [DEBUG] sofia_glue.c:1295 sofia/default/4915111633383 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631605598 1631605599 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 19140 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:40 sofia/default/4915111633383 Standard INIT 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4915111633383) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:627 (sofia/default/4915111633383) State INIT going to sleep 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_ROUTING (Cur 12 Tot 248025) 2021-09-14 09:05:38.926662 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [calling][0] 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING 2021-09-14 09:05:38.926662 [DEBUG] mod_sofia.c:143 sofia/default/4915111633383 SOFIA ROUTING 2021-09-14 09:05:38.926662 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4915111633383) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:643 (sofia/default/4915111633383) State ROUTING going to sleep 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 248025) 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA 2021-09-14 09:05:38.926662 [DEBUG] switch_core_state_machine.c:662 (sofia/default/4915111633383) State CONSUME_MEDIA going to sleep 2021-09-14 09:05:39.146669 [DEBUG] switch_scheduler.c:144 Deleting task 31132 switch_ivr_schedule_hangup (591a155e-155c-11ec-9e61-7dfb9f6e00f0) 2021-09-14 09:05:39.906661 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][183] 2021-09-14 09:05:39.906661 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/4915111633383! 2021-09-14 09:05:39.906661 [DEBUG] switch_channel.c:3346 (sofia/default/4915111633383) Callstate Change DOWN -> RINGING 2021-09-14 09:05:39.926667 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/498008001050@193.109.216.112! 2021-09-14 09:05:39.926667 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][180] 2021-09-14 09:05:39.926667 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/498008001050@193.109.216.112! 2021-09-14 09:05:40.006668 [DEBUG] sofia.c:7084 Channel sofia/default/4915111633383 entering state [proceeding][180] 2021-09-14 09:05:40.006668 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=Sonus_UAC 26921 27514 IN IP4 209.58.46.110 s=SIP Media Capabilities c=IN IP4 209.58.46.103 t=0 0 m=audio 26824 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/4915111633383 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:05:40.006668 [DEBUG] switch_core_codec.c:111 sofia/default/4915111633383 Original read codec set to PCMA:8 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:4767 sofia/default/4915111633383 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/4915111633383] 89.46.223.193 port 19140 -> 209.58.46.103 port 26824 codec: 8 ms: 20 2021-09-14 09:05:40.006668 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:7180 sofia/default/4915111633383 Set 2833 dtmf send payload to 101 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:7187 sofia/default/4915111633383 Set 2833 dtmf receive payload to 101 2021-09-14 09:05:40.006668 [DEBUG] switch_core_media.c:7210 sofia/default/4915111633383 Set rtp dtmf delay to 40 2021-09-14 09:05:40.006668 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/4915111633383! 2021-09-14 09:05:40.006668 [DEBUG] switch_channel.c:3474 (sofia/default/4915111633383) Callstate Change RINGING -> EARLY 2021-09-14 09:05:40.026662 [INFO] switch_ivr_originate.c:3654 Sending early media 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/498008001050@193.109.216.112] 89.46.223.193 port 26616 -> 193.109.216.112 port 46902 codec: 8 ms: 20 2021-09-14 09:05:40.026662 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:7180 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf send payload to 101 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:7187 sofia/default/498008001050@193.109.216.112 Set 2833 dtmf receive payload to 101 2021-09-14 09:05:40.026662 [DEBUG] switch_core_media.c:7210 sofia/default/498008001050@193.109.216.112 Set rtp dtmf delay to 40 2021-09-14 09:05:40.026662 [DEBUG] mod_sofia.c:2364 Ring SDP: v=0 o=FreeSWITCH 1631598124 1631598125 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 26616 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:05:40.026662 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/498008001050@193.109.216.112! 2021-09-14 09:05:40.026662 [DEBUG] switch_channel.c:3474 (sofia/default/498008001050@193.109.216.112) Callstate Change RINGING -> EARLY 2021-09-14 09:05:40.026662 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/4915111633383] 2021-09-14 09:05:40.026662 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [early][183] 2021-09-14 09:05:40.026662 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/4915111633383) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2021-09-14 09:05:40.026662 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 248025) 2021-09-14 09:05:40.026662 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA 2021-09-14 09:05:40.026662 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2021-09-14 09:05:40.066668 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2021-09-14 09:05:40.206665 [DEBUG] switch_ivr_bridge.c:546 sofia/default/4915111633383 Bridge execute app sched_hangup(+10800 normal_clearing) 2021-09-14 09:05:40.226664 [DEBUG] switch_ivr.c:623 sofia/default/4915111633383 Command Execute sched_hangup(+10800 normal_clearing) EXECUTE sofia/default/4915111633383 sched_hangup(+10800 normal_clearing) 2021-09-14 09:05:40.226664 [DEBUG] switch_scheduler.c:249 Added task 31135 switch_ivr_schedule_hangup (75359952-155c-11ec-9ee1-7dfb9f6e00f0) to run at 1631635540 2021-09-14 09:05:42.486671 [DEBUG] sofia.c:7084 Channel sofia/default/498008001050@193.109.216.112 entering state [terminated][487] 2021-09-14 09:05:42.486671 [NOTICE] sofia.c:8273 Hangup sofia/default/498008001050@193.109.216.112 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:712 sofia/default/498008001050@193.109.216.112 ending bridge by request from read function 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/498008001050@193.109.216.112] 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:706 sofia/default/498008001050@193.109.216.112 ending bridge by request from write function 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4915111633383] 2021-09-14 09:05:42.486671 [NOTICE] switch_ivr_bridge.c:900 Hangup sofia/default/4915111633383 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4915111633383) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_HANGUP (Cur 12 Tot 248025) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4915111633383) Callstate Change EARLY -> HANGUP 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:432 sofia/default/4915111633383 Overriding SIP cause 487 with 487 from the other leg 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:438 Channel sofia/default/4915111633383 hanging up, cause: ORIGINATOR_CANCEL 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/4915111633383 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:60 sofia/default/4915111633383 Standard HANGUP, cause: ORIGINATOR_CANCEL 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4915111633383) State HANGUP going to sleep 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4915111633383) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4915111633383) Running State Change CS_REPORTING (Cur 12 Tot 248025) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING 2021-09-14 09:05:42.486671 [INFO] mod_json_cdr.c:271 Process [75359952-155c-11ec-9ee1-7dfb9f6e00f0.cdr.json] 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/4915111633383 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:05:42.486671 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/498008001050@193.109.216.112 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_session.c:2815 sofia/default/498008001050@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498008001050@193.109.216.112) State EXECUTE going to sleep 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_HANGUP (Cur 12 Tot 248025) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/498008001050@193.109.216.112) Callstate Change EARLY -> HANGUP 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:438 Channel sofia/default/498008001050@193.109.216.112 hanging up, cause: ORIGINATOR_CANCEL 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:60 sofia/default/498008001050@193.109.216.112 Standard HANGUP, cause: ORIGINATOR_CANCEL 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/498008001050@193.109.216.112) State HANGUP going to sleep 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/498008001050@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498008001050@193.109.216.112) Running State Change CS_REPORTING (Cur 12 Tot 248025) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING 2021-09-14 09:05:42.486671 [INFO] mod_json_cdr.c:271 Process [752f635c-155c-11ec-9ebb-7dfb9f6e00f0.cdr.json] 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:174 sofia/default/4915111633383 Standard REPORTING, cause: ORIGINATOR_CANCEL 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4915111633383) State REPORTING going to sleep 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4915111633383) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:05:42.486671 [DEBUG] switch_core_session.c:1665 Session 248025 (sofia/default/4915111633383) Locked, Waiting on external entities 2021-09-14 09:05:42.486671 [NOTICE] switch_core_session.c:1683 Session 248025 (sofia/default/4915111633383) Ended 2021-09-14 09:05:42.486671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4915111633383 [CS_DESTROY] 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4915111633383) Running State Change CS_DESTROY (Cur 11 Tot 248025) 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY 2021-09-14 09:05:42.486671 [DEBUG] mod_sofia.c:343 sofia/default/4915111633383 SOFIA DESTROY 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:181 sofia/default/4915111633383 Standard DESTROY 2021-09-14 09:05:42.486671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4915111633383) State DESTROY going to sleep 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:174 sofia/default/498008001050@193.109.216.112 Standard REPORTING, cause: ORIGINATOR_CANCEL 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:938 (sofia/default/498008001050@193.109.216.112) State REPORTING going to sleep 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:610 (sofia/default/498008001050@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:05:42.506674 [DEBUG] switch_core_session.c:1665 Session 248024 (sofia/default/498008001050@193.109.216.112) Locked, Waiting on external entities 2021-09-14 09:05:42.506674 [NOTICE] switch_core_session.c:1683 Session 248024 (sofia/default/498008001050@193.109.216.112) Ended 2021-09-14 09:05:42.506674 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/498008001050@193.109.216.112 [CS_DESTROY] 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:741 (sofia/default/498008001050@193.109.216.112) Running State Change CS_DESTROY (Cur 10 Tot 248025) 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY 2021-09-14 09:05:42.506674 [DEBUG] mod_sofia.c:343 sofia/default/498008001050@193.109.216.112 SOFIA DESTROY 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:181 sofia/default/498008001050@193.109.216.112 Standard DESTROY 2021-09-14 09:05:42.506674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/498008001050@193.109.216.112) State DESTROY going to sleep 2021-09-14 09:05:42.726664 [DEBUG] switch_scheduler.c:144 Deleting task 31135 switch_ivr_schedule_hangup (75359952-155c-11ec-9ee1-7dfb9f6e00f0) 2021-09-14 09:06:06.026670 [NOTICE] sofia.c:1012 Hangup sofia/default/43720902004@193.109.216.112 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/43720902004@193.109.216.112] 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:706 sofia/default/43720902004@193.109.216.112 ending bridge by request from write function 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/4369910001245] 2021-09-14 09:06:06.026670 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/default/4369910001245 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:653 (sofia/default/4369910001245) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_HANGUP (Cur 10 Tot 248025) 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/4369910001245 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_bridge.c:1715 sofia/default/43720902004@193.109.216.112 skip receive message [UNBRIDGE] (channel is hungup already) 2021-09-14 09:06:06.026670 [DEBUG] switch_core_session.c:2815 sofia/default/43720902004@193.109.216.112 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:650 (sofia/default/43720902004@193.109.216.112) State EXECUTE going to sleep 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_HANGUP (Cur 10 Tot 248025) 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/6631582e-155c-11ec-9e8d-7dfb9f6e00f0.wav 2021-09-14 09:06:06.026670 [DEBUG] switch_ivr_async.c:1380 Channel is hung up 2021-09-14 09:06:06.026670 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/default/43720902004@193.109.216.112 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/43720902004@193.109.216.112) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/43720902004@193.109.216.112) State HANGUP 2021-09-14 09:06:06.026670 [DEBUG] mod_sofia.c:438 Channel sofia/default/43720902004@193.109.216.112 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:60 sofia/default/43720902004@193.109.216.112 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/43720902004@193.109.216.112) State HANGUP going to sleep 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/43720902004@193.109.216.112) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/43720902004@193.109.216.112) Running State Change CS_REPORTING (Cur 10 Tot 248025) 2021-09-14 09:06:06.026670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/43720902004@193.109.216.112) State REPORTING 2021-09-14 09:06:06.026670 [INFO] mod_json_cdr.c:271 Process [6631582e-155c-11ec-9e8d-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:06.046728 [DEBUG] switch_ivr_async.c:1380 Channel is hung up 2021-09-14 09:06:06.046728 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/default/4369910001245 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4369910001245) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4369910001245) State HANGUP 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:432 sofia/default/4369910001245 Overriding SIP cause 480 with 200 from the other leg 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:438 Channel sofia/default/4369910001245 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/4369910001245 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:60 sofia/default/4369910001245 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4369910001245) State HANGUP going to sleep 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4369910001245) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4369910001245) Running State Change CS_REPORTING (Cur 10 Tot 248025) 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4369910001245) State REPORTING 2021-09-14 09:06:06.046728 [INFO] mod_json_cdr.c:271 Process [6637aa94-155c-11ec-9eb3-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:174 sofia/default/4369910001245 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4369910001245) State REPORTING going to sleep 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4369910001245) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:06.046728 [DEBUG] switch_core_session.c:1665 Session 248023 (sofia/default/4369910001245) Locked, Waiting on external entities 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1683 Session 248023 (sofia/default/4369910001245) Ended 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4369910001245 [CS_DESTROY] 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4369910001245) Running State Change CS_DESTROY (Cur 9 Tot 248025) 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4369910001245) State DESTROY 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:343 sofia/default/4369910001245 SOFIA DESTROY 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:181 sofia/default/4369910001245 Standard DESTROY 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4369910001245) State DESTROY going to sleep 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:174 sofia/default/43720902004@193.109.216.112 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:938 (sofia/default/43720902004@193.109.216.112) State REPORTING going to sleep 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:610 (sofia/default/43720902004@193.109.216.112) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:06.046728 [DEBUG] switch_core_session.c:1665 Session 248022 (sofia/default/43720902004@193.109.216.112) Locked, Waiting on external entities 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1683 Session 248022 (sofia/default/43720902004@193.109.216.112) Ended 2021-09-14 09:06:06.046728 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/43720902004@193.109.216.112 [CS_DESTROY] 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:741 (sofia/default/43720902004@193.109.216.112) Running State Change CS_DESTROY (Cur 8 Tot 248025) 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/43720902004@193.109.216.112) State DESTROY 2021-09-14 09:06:06.046728 [DEBUG] mod_sofia.c:343 sofia/default/43720902004@193.109.216.112 SOFIA DESTROY 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:181 sofia/default/43720902004@193.109.216.112 Standard DESTROY 2021-09-14 09:06:06.046728 [DEBUG] switch_core_state_machine.c:751 (sofia/default/43720902004@193.109.216.112) State DESTROY going to sleep 2021-09-14 09:06:06.226668 [DEBUG] switch_scheduler.c:144 Deleting task 31134 switch_ivr_schedule_hangup (6637aa94-155c-11ec-9eb3-7dfb9f6e00f0) 2021-09-14 09:06:13.626749 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [89e72e24-155c-11ec-9ee7-7dfb9f6e00f0] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248026) 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3069840352 32538 IN IP4 46.19.210.22 s=didww-sbc t=0 0 m=audio 41090 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.22 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:13.626749 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:13.626749 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:13.626749 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248026) 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:13.626749 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248026) 2021-09-14 09:06:13.626749 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:13.626749 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:13.626749 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:13.626749 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:13.626749 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:13.626749 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A13 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A13%20GMT Event-Date-Timestamp: 1631624773626749 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528415 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624773626749 Caller-Channel-Created-Time: 1631624773626749 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0 variable_session_id: 248026 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 13-13-49A32613-61409E450009460C-B6FAE700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624773626749 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 13-2E6DD820-61409E4500094521-B6FAE700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2af.fb9a2bb3%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2af.fb9a2bb3%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK0c69.04e6efd4.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bK26R02a1V%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-2E6DD820-61409E4500094521-B6FAE700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203069840352%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2041090%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.22 variable_remote_media_port: 41090 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 89e72e24-155c-11ec-9ee7-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624773626749 Hunt-Channel-Created-Time: 1631624773626749 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:13.626749 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:13.626749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:13.626749 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:13.666746 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:13.666746 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:13.666746 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:13.666746 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:13.666746 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:13.666746 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:13) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248026) 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:13) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:13] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:13.666746 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:13.666746 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:13.666746 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:13.666746 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:13.666746 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [89ed3c92-155c-11ec-9f07-7dfb9f6e00f0] 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248027) 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:13.666746 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631601909 1631601910 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 22864 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248027) 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:13.666746 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:13.666746 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248027) 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:13.666746 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:13.666746 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:14.046671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:14.046671 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248027) 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:14.046671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248027) 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:14.046671 [INFO] mod_json_cdr.c:271 Process [89ed3c92-155c-11ec-9f07-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:14.046671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:14.046671 [DEBUG] switch_core_session.c:1665 Session 248027 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:14.066674 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:14.066674 [NOTICE] switch_core_session.c:1683 Session 248027 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:14.066674 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:14.066674 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:14.066674 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248027) 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:14.066674 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:14.066674 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248027) 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:14.066674 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248027) 2021-09-14 09:06:14.066674 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:14.066674 [INFO] mod_json_cdr.c:271 Process [89e72e24-155c-11ec-9ee7-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:14.126668 [DEBUG] switch_core_session.c:1665 Session 248026 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:14.126668 [NOTICE] switch_core_session.c:1683 Session 248026 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:14.126668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248027) 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:14.126668 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:14.126668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:20.566793 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [8e076abe-155c-11ec-9f0b-7dfb9f6e00f0] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248028) 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 1902201824 32762 IN IP4 46.19.210.23 s=didww-sbc t=0 0 m=audio 46976 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.23 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:20.566793 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:20.566793 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248028) 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248028) 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:20.566793 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:20.566793 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:20.566793 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A20 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A20%20GMT Event-Date-Timestamp: 1631624780566793 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528501 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624780566793 Caller-Channel-Created-Time: 1631624780566793 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0 variable_session_id: 248028 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 14-14-287E5FCE-61409E4C00081732-71622700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624780566793 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 14-2B13DB5A-61409E4C0008167C-71622700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D0f4.b54e116%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D0f4.b54e116%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKf0c8.73d49fe.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKrWMwgam1%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D14-2B13DB5A-61409E4C0008167C-71622700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%201902201824%2032762%20IN%20IP4%2046.19.210.23%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2046976%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.23%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.23 variable_remote_media_port: 46976 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 8e076abe-155c-11ec-9f0b-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624780566793 Hunt-Channel-Created-Time: 1631624780566793 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:20.566793 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:20.566793 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:20.566793 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:20.566793 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:20.566793 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:20.566793 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:20.566793 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:20) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248028) 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:20) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:20] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:20.566793 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:20.566793 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:20.566793 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:20.566793 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:20.566793 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [8e0caa24-155c-11ec-9f2b-7dfb9f6e00f0] 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248029) 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:20.566793 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631597274 1631597275 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 27506 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248029) 2021-09-14 09:06:20.566793 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:20.566793 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:20.566793 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248029) 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:20.566793 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:20.826721 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:20.826721 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248029) 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248029) 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:20.826721 [INFO] mod_json_cdr.c:271 Process [8e0caa24-155c-11ec-9f2b-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:20.826721 [DEBUG] switch_core_session.c:1665 Session 248029 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:20.826721 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:20.826721 [NOTICE] switch_core_session.c:1683 Session 248029 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:20.826721 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248029) 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:20.826721 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:20.826721 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:20.826721 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:20.826721 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248029) 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:20.826721 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:20.826721 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:20.846677 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248029) 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:20.846677 [INFO] mod_json_cdr.c:271 Process [8e076abe-155c-11ec-9f0b-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:20.846677 [DEBUG] switch_core_session.c:1665 Session 248028 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:20.846677 [NOTICE] switch_core_session.c:1683 Session 248028 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:20.846677 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248029) 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:20.846677 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:20.846677 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:23.486754 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248030) 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3677244384 32695 IN IP4 46.19.210.39 s=didww-sbc t=0 0 m=audio 59328 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.39 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:23.486754 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:23.486754 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:23.486754 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248030) 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:23.486754 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248030) 2021-09-14 09:06:23.486754 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:23.486754 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:23.486754 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:23.486754 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:23.486754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A23 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A23%20GMT Event-Date-Timestamp: 1631624783486754 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528589 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624783486754 Caller-Channel-Created-Time: 1631624783486754 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0 variable_session_id: 248030 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 11-11-1B5207C2-61409E4F0006F9E8-DB2F2700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624783486754 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 11-7496366A-61409E4F0006F93F-DB2F2700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2fc.730933c7%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D2fc.730933c7%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK1148.ca1a2465.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKGfyohaAL%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-7496366A-61409E4F0006F93F-DB2F2700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203677244384%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2059328%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.39 variable_remote_media_port: 59328 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624783486754 Hunt-Channel-Created-Time: 1631624783486754 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:23.486754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:23.486754 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:23.486754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:23.486754 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:23.486754 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:23.486754 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:23.486754 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:23) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248030) 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:23.486754 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:23.486754 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:23) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:23] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:23.486754 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:23.486754 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:23.486754 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:23.486754 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:23.526671 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:23.526671 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:23.526671 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:23.526671 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [8fcb8588-155c-11ec-9f4f-7dfb9f6e00f0] 2021-09-14 09:06:23.526671 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248031) 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:23.526671 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:23.526671 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631602573 1631602574 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 22210 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248031) 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:23.526671 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:23.526671 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248031) 2021-09-14 09:06:23.526671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:23.526671 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:23.706673 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:23.706673 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248031) 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:23.706673 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248031) 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:23.706673 [INFO] mod_json_cdr.c:271 Process [8fcb8588-155c-11ec-9f4f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:23.706673 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:23.706673 [DEBUG] switch_core_session.c:1665 Session 248031 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:23.726668 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:23.726668 [NOTICE] switch_core_session.c:1683 Session 248031 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:23.726668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248031) 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:23.726668 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:23.726668 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:23.726668 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:23.726668 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248031) 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:23.726668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248031) 2021-09-14 09:06:23.726668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:23.726668 [INFO] mod_json_cdr.c:271 Process [8fc620fc-155c-11ec-9f2f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:23.746700 [DEBUG] switch_core_session.c:1665 Session 248030 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:23.746700 [NOTICE] switch_core_session.c:1683 Session 248030 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:23.746700 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248031) 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:23.746700 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:23.746700 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:25.406749 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [90ed52ac-155c-11ec-9f53-7dfb9f6e00f0] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 9 Tot 248032) 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3086683104 32538 IN IP4 46.19.210.22 s=didww-sbc t=0 0 m=audio 44418 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.22 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:25.406749 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:25.406749 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:25.406749 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 9 Tot 248032) 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:25.406749 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 9 Tot 248032) 2021-09-14 09:06:25.406749 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:25.406749 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:25.406749 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:25.406749 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:25.406749 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:25.406749 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A25 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A25%20GMT Event-Date-Timestamp: 1631624785406749 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528675 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624785406749 Caller-Channel-Created-Time: 1631624785406749 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0 variable_session_id: 248032 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 13-13-23441B95-61409E510005FE74-B7FBE700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624785406749 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 13-3DF17082-61409E510005FDA2-B7FBE700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D816.e4571383%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D816.e4571383%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK73dc.49ccc072.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bK.wuMAa5d%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-3DF17082-61409E510005FDA2-B7FBE700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203086683104%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2044418%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.22 variable_remote_media_port: 44418 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 90ed52ac-155c-11ec-9f53-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624785406749 Hunt-Channel-Created-Time: 1631624785406749 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:25.406749 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:25.406749 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:25.406749 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:25.446661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:25.446661 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:25.446661 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:25.446661 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:25.446661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:25.446661 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:25) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 9 Tot 248032) 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:25) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:25] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:25.446661 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:25.446661 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:25.446661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:25.446661 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:25.446661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [90f2da10-155c-11ec-9f73-7dfb9f6e00f0] 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 10 Tot 248033) 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:25.446661 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631602409 1631602410 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 22376 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 10 Tot 248033) 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:25.446661 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:25.446661 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 248033) 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:25.446661 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:25.446661 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:25.806813 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:25.806813 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 10 Tot 248033) 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:25.806813 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 10 Tot 248033) 2021-09-14 09:06:25.806813 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:25.806813 [INFO] mod_json_cdr.c:271 Process [90f2da10-155c-11ec-9f73-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:25.846680 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:25.846680 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:25.846680 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:25.846680 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:25.846680 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:25.846680 [DEBUG] switch_core_session.c:1665 Session 248033 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:25.846680 [NOTICE] switch_core_session.c:1683 Session 248033 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:25.846680 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 9 Tot 248033) 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 9 Tot 248033) 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:25.846680 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 9 Tot 248033) 2021-09-14 09:06:25.846680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:25.846680 [INFO] mod_json_cdr.c:271 Process [90ed52ac-155c-11ec-9f53-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:25.866676 [DEBUG] switch_core_session.c:1665 Session 248032 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:25.866676 [NOTICE] switch_core_session.c:1683 Session 248032 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:25.866676 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 8 Tot 248033) 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:25.866676 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:25.866676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:27.006680 [NOTICE] sofia.c:1012 Hangup sofia/default/390399686667@88.99.5.200 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2021-09-14 09:06:27.006680 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/390399686667@88.99.5.200] 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:653 (sofia/default/390399686667@88.99.5.200) State EXCHANGE_MEDIA going to sleep 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_HANGUP (Cur 8 Tot 248033) 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390399686667@88.99.5.200) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399686667@88.99.5.200) State HANGUP 2021-09-14 09:06:27.006680 [DEBUG] mod_sofia.c:438 Channel sofia/default/390399686667@88.99.5.200 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:60 sofia/default/390399686667@88.99.5.200 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390399686667@88.99.5.200) State HANGUP going to sleep 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390399686667@88.99.5.200) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390399686667@88.99.5.200) Running State Change CS_REPORTING (Cur 8 Tot 248033) 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399686667@88.99.5.200) State REPORTING 2021-09-14 09:06:27.006680 [INFO] mod_json_cdr.c:271 Process [500878d4-155c-11ec-9e35-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:174 sofia/default/390399686667@88.99.5.200 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390399686667@88.99.5.200) State REPORTING going to sleep 2021-09-14 09:06:27.006680 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390399686667@88.99.5.200) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:27.006680 [DEBUG] switch_core_session.c:1665 Session 248017 (sofia/default/390399686667@88.99.5.200) Locked, Waiting on external entities 2021-09-14 09:06:27.026667 [DEBUG] switch_ivr_bridge.c:706 sofia/default/390399686667@88.99.5.200 ending bridge by request from write function 2021-09-14 09:06:27.026667 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/390541614514@173.203.86.119] 2021-09-14 09:06:27.026667 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/390541614514@173.203.86.119 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:27.026667 [NOTICE] switch_core_session.c:1683 Session 248017 (sofia/default/390399686667@88.99.5.200) Ended 2021-09-14 09:06:27.026667 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390399686667@88.99.5.200 [CS_DESTROY] 2021-09-14 09:06:27.026667 [DEBUG] switch_core_session.c:2815 sofia/default/390541614514@173.203.86.119 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:650 (sofia/default/390541614514@173.203.86.119) State EXECUTE going to sleep 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_HANGUP (Cur 7 Tot 248033) 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390399686667@88.99.5.200) Running State Change CS_DESTROY (Cur 7 Tot 248033) 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:850 (sofia/default/390541614514@173.203.86.119) Callstate Change ACTIVE -> HANGUP 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399686667@88.99.5.200) State DESTROY 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:343 sofia/default/390399686667@88.99.5.200 SOFIA DESTROY 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:181 sofia/default/390399686667@88.99.5.200 Standard DESTROY 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390399686667@88.99.5.200) State DESTROY going to sleep 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390541614514@173.203.86.119) State HANGUP 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:432 sofia/default/390541614514@173.203.86.119 Overriding SIP cause 480 with 200 from the other leg 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:438 Channel sofia/default/390541614514@173.203.86.119 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:27.026667 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/390541614514@173.203.86.119 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:60 sofia/default/390541614514@173.203.86.119 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:852 (sofia/default/390541614514@173.203.86.119) State HANGUP going to sleep 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:619 (sofia/default/390541614514@173.203.86.119) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:584 (sofia/default/390541614514@173.203.86.119) Running State Change CS_REPORTING (Cur 7 Tot 248033) 2021-09-14 09:06:27.026667 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390541614514@173.203.86.119) State REPORTING 2021-09-14 09:06:27.026667 [INFO] mod_json_cdr.c:271 Process [5003368a-155c-11ec-9e15-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:174 sofia/default/390541614514@173.203.86.119 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:938 (sofia/default/390541614514@173.203.86.119) State REPORTING going to sleep 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:610 (sofia/default/390541614514@173.203.86.119) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:27.046682 [DEBUG] switch_core_session.c:1665 Session 248016 (sofia/default/390541614514@173.203.86.119) Locked, Waiting on external entities 2021-09-14 09:06:27.046682 [NOTICE] switch_core_session.c:1683 Session 248016 (sofia/default/390541614514@173.203.86.119) Ended 2021-09-14 09:06:27.046682 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/390541614514@173.203.86.119 [CS_DESTROY] 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:741 (sofia/default/390541614514@173.203.86.119) Running State Change CS_DESTROY (Cur 6 Tot 248033) 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390541614514@173.203.86.119) State DESTROY 2021-09-14 09:06:27.046682 [DEBUG] mod_sofia.c:343 sofia/default/390541614514@173.203.86.119 SOFIA DESTROY 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:181 sofia/default/390541614514@173.203.86.119 Standard DESTROY 2021-09-14 09:06:27.046682 [DEBUG] switch_core_state_machine.c:751 (sofia/default/390541614514@173.203.86.119) State DESTROY going to sleep 2021-09-14 09:06:27.226668 [DEBUG] switch_scheduler.c:144 Deleting task 31131 switch_ivr_schedule_hangup (500878d4-155c-11ec-9e35-7dfb9f6e00f0) 2021-09-14 09:06:38.306673 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [989bfff8-155c-11ec-9f77-7dfb9f6e00f0] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248034) 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 1908517856 32762 IN IP4 46.19.210.23 s=didww-sbc t=0 0 m=audio 50304 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.23 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:38.306673 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:38.306673 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:38.306673 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248034) 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:38.306673 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248034) 2021-09-14 09:06:38.306673 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:38.306673 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:38.306673 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:38.306673 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:38.306673 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:38.306673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:38.306673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:38.306673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A38 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A38%20GMT Event-Date-Timestamp: 1631624798306673 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528779 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624798306673 Caller-Channel-Created-Time: 1631624798306673 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0 variable_session_id: 248034 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 14-14-34C03D61-61409E5E00044E53-71C28700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624798306673 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 14-76BFCE03-61409E5E00044D24-71C28700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D216.84bdf07%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D216.84bdf07%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK13d4.49d8fd87.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKBln1qa.a%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D14-76BFCE03-61409E5E00044D24-71C28700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%201908517856%2032762%20IN%20IP4%2046.19.210.23%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2050304%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.23%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.23 variable_remote_media_port: 50304 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 989bfff8-155c-11ec-9f77-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624798306673 Hunt-Channel-Created-Time: 1631624798306673 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:38.306673 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:38.326756 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:38.326756 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:38.326756 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:38.326756 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:38.326756 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:38.326756 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:38.326756 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:38) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248034) 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:38) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:38] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:38.326756 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:38.326756 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:38.326756 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:38.326756 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:38.326756 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [98a19404-155c-11ec-9f97-7dfb9f6e00f0] 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248035) 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:38.326756 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631606324 1631606325 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 18474 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248035) 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:38.326756 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:38.326756 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248035) 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:38.326756 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:38.326756 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:38.546671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:38.546671 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248035) 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248035) 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:38.546671 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:38.546671 [INFO] mod_json_cdr.c:271 Process [98a19404-155c-11ec-9f97-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:38.546671 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:38.546671 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:38.546671 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:38.546671 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248035) 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248035) 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:38.546671 [INFO] mod_json_cdr.c:271 Process [989bfff8-155c-11ec-9f77-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:38.546671 [DEBUG] switch_core_session.c:1665 Session 248035 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:38.546671 [NOTICE] switch_core_session.c:1683 Session 248035 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:38.546671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248035) 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:38.546671 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:38.546671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:38.566663 [DEBUG] switch_core_session.c:1665 Session 248034 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:38.566663 [NOTICE] switch_core_session.c:1683 Session 248034 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:38.566663 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248035) 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:38.566663 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:38.566663 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:40.146757 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [99b667ac-155c-11ec-9f9b-7dfb9f6e00f0] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248036) 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3072998368 32538 IN IP4 46.19.210.22 s=didww-sbc t=0 0 m=audio 48258 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.22 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:40.146757 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:40.146757 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:40.146757 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248036) 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:40.146757 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248036) 2021-09-14 09:06:40.146757 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:40.146757 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:40.146757 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:40.146757 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:40.146757 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:40.146757 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A40 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A40%20GMT Event-Date-Timestamp: 1631624800146757 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528865 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624800146757 Caller-Channel-Created-Time: 1631624800146757 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0 variable_session_id: 248036 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 13-13-3D6F8B1B-61409E6000020744-B72B1700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624800146757 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 13-5807C427-61409E6000020656-B72B1700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D029.6049fc41%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D029.6049fc41%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKe302.ab9d1782.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKamGQDa61%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-5807C427-61409E6000020656-B72B1700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203072998368%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2048258%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.22 variable_remote_media_port: 48258 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 99b667ac-155c-11ec-9f9b-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624800146757 Hunt-Channel-Created-Time: 1631624800146757 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:40.146757 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:40.146757 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:40.146757 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:40.186660 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:40.186660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:40.186660 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:40.186660 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:40.186660 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:40.186660 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:40) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248036) 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:40.186660 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:40.186660 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:40) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:40] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:40.186660 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:40.186660 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:40.186660 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:40.186660 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:40.186660 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:40.246709 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:40.246709 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:40.246709 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [99c4770c-155c-11ec-9fbb-7dfb9f6e00f0] 2021-09-14 09:06:40.246709 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248037) 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:40.246709 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:40.246709 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631598650 1631598651 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 26150 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248037) 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:40.246709 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:40.246709 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248037) 2021-09-14 09:06:40.246709 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:40.246709 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:40.466744 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:40.466744 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248037) 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:40.466744 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248037) 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:40.466744 [INFO] mod_json_cdr.c:271 Process [99c4770c-155c-11ec-9fbb-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:40.466744 [DEBUG] switch_core_session.c:1665 Session 248037 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:40.466744 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:40.466744 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:40.466744 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:40.466744 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:40.466744 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:40.466744 [NOTICE] switch_core_session.c:1683 Session 248037 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:40.466744 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248037) 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:40.466744 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:40.466744 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248037) 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248037) 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:40.506681 [INFO] mod_json_cdr.c:271 Process [99b667ac-155c-11ec-9f9b-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:40.506681 [DEBUG] switch_core_session.c:1665 Session 248036 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:40.506681 [NOTICE] switch_core_session.c:1683 Session 248036 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:40.506681 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248037) 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:40.506681 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:40.506681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:41.266675 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248038) 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3078261728 32538 IN IP4 46.19.210.22 s=didww-sbc t=0 0 m=audio 48644 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.22 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:41.266675 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:41.266675 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:41.266675 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248038) 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:41.266675 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248038) 2021-09-14 09:06:41.266675 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:41.266675 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:41.266675 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:41.266675 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:41.266675 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:41.266675 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A41 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A41%20GMT Event-Date-Timestamp: 1631624801266675 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7528951 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624801266675 Caller-Channel-Created-Time: 1631624801266675 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0 variable_session_id: 248038 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 13-13-05700947-61409E6100039ABD-B77B6700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624801266675 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 13-6070F761-61409E61000399C7-B77B6700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc8b.0f7a8d95%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc8b.0f7a8d95%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKba24.b80ffc77.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bK34y0YaHJ%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-6070F761-61409E61000399C7-B77B6700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203078261728%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2048644%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.22 variable_remote_media_port: 48644 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624801266675 Hunt-Channel-Created-Time: 1631624801266675 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:41.266675 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:41.266675 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:41.266675 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:41.286686 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:41.286686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:41.286686 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:41.286686 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:41.286686 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:41.286686 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:41) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248038) 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:41.286686 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:41.286686 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:41) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:41] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:41.286686 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:41.286686 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:41.286686 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:41.286686 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:41.306672 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:41.306672 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9a642108-155c-11ec-9fdf-7dfb9f6e00f0] 2021-09-14 09:06:41.306672 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248039) 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:41.306672 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:41.306672 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631594275 1631594276 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 30526 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248039) 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:41.306672 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:41.306672 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248039) 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:41.306672 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:41.306672 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:41.526671 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:41.526671 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248039) 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:41.526671 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248039) 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:41.526671 [INFO] mod_json_cdr.c:271 Process [9a642108-155c-11ec-9fdf-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:41.526671 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:41.526671 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:41.526671 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:41.526671 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248039) 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248039) 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:41.526671 [INFO] mod_json_cdr.c:271 Process [9a5ec082-155c-11ec-9fbf-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:41.526671 [DEBUG] switch_core_session.c:1665 Session 248039 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1683 Session 248039 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248039) 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:41.526671 [DEBUG] switch_core_session.c:1665 Session 248038 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1683 Session 248038 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:41.526671 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248039) 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:41.526671 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:41.526671 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:42.166707 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248040) 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3682507744 32695 IN IP4 46.19.210.39 s=didww-sbc t=0 0 m=audio 33216 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.39 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:42.166707 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:42.166707 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:42.166707 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248040) 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:42.166707 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248040) 2021-09-14 09:06:42.166707 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:42.166707 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:42.166707 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:42.166707 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:42.166707 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:42.166707 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A42 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A42%20GMT Event-Date-Timestamp: 1631624802166707 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529037 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624802166707 Caller-Channel-Created-Time: 1631624802166707 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0 variable_session_id: 248040 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 11-11-794E7D2D-61409E6200021BB4-DB7F7700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624802166707 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 11-769EE914-61409E6200021ADE-DB7F7700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D832.ae17cd36%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D832.ae17cd36%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK7597.44d4a52.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKDcl1ya0j%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-769EE914-61409E6200021ADE-DB7F7700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203682507744%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2033216%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.39 variable_remote_media_port: 33216 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624802166707 Hunt-Channel-Created-Time: 1631624802166707 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:42.166707 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:42.166707 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:42.186669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:42.186669 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:42.186669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:42.186669 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:42.186669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:42.186669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:42.186669 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:42) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248040) 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:42.186669 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:42.186669 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:42) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:42] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:42.186669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:42.186669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:42.186669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:42.186669 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:42.186669 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:42.206674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:42.206674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:42.206674 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9aee28b2-155c-11ec-a003-7dfb9f6e00f0] 2021-09-14 09:06:42.206674 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248041) 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:42.206674 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:42.206674 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631600134 1631600135 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 24668 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248041) 2021-09-14 09:06:42.206674 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:42.206674 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:42.206674 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248041) 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:42.206674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:42.446668 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:42.446668 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248041) 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248041) 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:42.446668 [INFO] mod_json_cdr.c:271 Process [9aee28b2-155c-11ec-a003-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:42.446668 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:42.446668 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:42.446668 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:42.446668 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:42.446668 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248041) 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248041) 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:42.446668 [INFO] mod_json_cdr.c:271 Process [9ae85fea-155c-11ec-9fe3-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:42.446668 [DEBUG] switch_core_session.c:1665 Session 248041 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:42.446668 [NOTICE] switch_core_session.c:1683 Session 248041 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:42.446668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248041) 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:42.446668 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:42.446668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:42.466668 [DEBUG] switch_core_session.c:1665 Session 248040 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:42.466668 [NOTICE] switch_core_session.c:1683 Session 248040 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:42.466668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248041) 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:42.466668 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:42.466668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:43.866672 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9bead008-155c-11ec-a007-7dfb9f6e00f0] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248042) 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3681455072 32695 IN IP4 46.19.210.39 s=didww-sbc t=0 0 m=audio 33728 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.39 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:43.866672 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:43.866672 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:43.866672 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248042) 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:43.866672 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248042) 2021-09-14 09:06:43.866672 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:43.866672 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:43.866672 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:43.866672 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:43.866672 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:43.866672 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A43 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A43%20GMT Event-Date-Timestamp: 1631624803866672 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529126 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 9bead008-155c-11ec-a007-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 9bead008-155c-11ec-a007-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 9bead008-155c-11ec-a007-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624803866672 Caller-Channel-Created-Time: 1631624803866672 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 9bead008-155c-11ec-a007-7dfb9f6e00f0 variable_session_id: 248042 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 11-11-773D115D-61409E63000CAFDB-DB6F6700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624803866672 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 11-41BD3456-61409E63000CAEEC-DB6F6700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D411.d9f17144%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D411.d9f17144%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK238f.dc348013.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKG~du4aOm%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-41BD3456-61409E63000CAEEC-DB6F6700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203681455072%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2033728%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.39 variable_remote_media_port: 33728 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 9bead008-155c-11ec-a007-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 9bead008-155c-11ec-a007-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624803866672 Hunt-Channel-Created-Time: 1631624803866672 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:43.866672 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:43.866672 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:43.866672 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:43.886669 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:43.886669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:43.886669 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:43.886669 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:43.886669 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:43.886669 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:43) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248042) 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:43) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:43] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:43.886669 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:43.886669 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:43.886669 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:43.886669 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:43.886669 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9bf02508-155c-11ec-a027-7dfb9f6e00f0] 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248043) 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:43.886669 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631601409 1631601410 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 23394 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248043) 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:43.886669 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:43.886669 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248043) 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:43.886669 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:43.886669 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:44.127096 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:44.127096 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248043) 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:44.127096 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248043) 2021-09-14 09:06:44.127096 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:44.127096 [INFO] mod_json_cdr.c:271 Process [9bf02508-155c-11ec-a027-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:44.127096 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:44.127096 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:44.127096 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:44.127096 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:44.127096 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 8 Tot 248043) 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 8 Tot 248043) 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:44.166672 [INFO] mod_json_cdr.c:271 Process [9bead008-155c-11ec-a007-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:44.166672 [DEBUG] switch_core_session.c:1665 Session 248043 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1683 Session 248043 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248043) 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:44.166672 [DEBUG] switch_core_session.c:1665 Session 248042 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1683 Session 248042 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:44.166672 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248043) 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:44.166672 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:44.166672 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:44.846670 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9c81c03a-155c-11ec-a02b-7dfb9f6e00f0] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248044) 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3760184288 32695 IN IP4 46.19.210.39 s=didww-sbc t=0 0 m=audio 33984 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.39 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:44.846670 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:44.846670 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:44.846670 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248044) 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:44.846670 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248044) 2021-09-14 09:06:44.846670 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:44.846670 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:44.846670 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:44.846670 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:44.846670 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:44.846670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:44.846670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:44.846670 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A44 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A44%20GMT Event-Date-Timestamp: 1631624804846670 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529212 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624804846670 Caller-Channel-Created-Time: 1631624804846670 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0 variable_session_id: 248044 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 11-11-77D3E089-61409E64000C8621-E020B700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624804846670 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 11-2B9901FC-61409E64000C852C-E020B700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D204.50a1e98%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D204.50a1e98%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK02b2.6bdd9a07.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKAotgWavP%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-2B9901FC-61409E64000C852C-E020B700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203760184288%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2033984%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.39 variable_remote_media_port: 33984 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 9c81c03a-155c-11ec-a02b-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624804846670 Hunt-Channel-Created-Time: 1631624804846670 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:44.846670 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:44.846670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:44.866673 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:44.866673 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:44.866673 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:44.866673 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:44.866673 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:44.886670 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:44.886670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:44.886670 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:44.886670 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:44) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248044) 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:44) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:44] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:44.886670 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:44.886670 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:44.886670 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:44.886670 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:44.886670 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9c881e58-155c-11ec-a04b-7dfb9f6e00f0] 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248045) 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:44.886670 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631606354 1631606355 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 18450 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248045) 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:44.886670 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:44.886670 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248045) 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:44.886670 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:44.886670 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:45.306761 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:45.306761 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248045) 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:45.306761 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248045) 2021-09-14 09:06:45.306761 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:45.306761 [INFO] mod_json_cdr.c:271 Process [9c881e58-155c-11ec-a04b-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:45.346668 [DEBUG] switch_core_session.c:1665 Session 248045 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:45.346668 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:45.346668 [NOTICE] switch_core_session.c:1683 Session 248045 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:45.346668 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248045) 2021-09-14 09:06:45.346668 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:45.346668 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:45.346668 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:45.346668 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248045) 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:45.346668 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:45.346668 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248045) 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:45.366951 [INFO] mod_json_cdr.c:271 Process [9c81c03a-155c-11ec-a02b-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:45.366951 [DEBUG] switch_core_session.c:1665 Session 248044 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:45.366951 [NOTICE] switch_core_session.c:1683 Session 248044 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:45.366951 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248045) 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:45.366951 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:45.366951 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:46.586668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+448456021111@199.244.96.39 [9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_NEW (Cur 7 Tot 248046) 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:9873 sofia/default/+448456021111@199.244.96.39 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:7084 Channel sofia/default/+448456021111@199.244.96.39 entering state [received][100] 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=PortaSIP 4582507995624046089 1 IN IP4 199.244.96.47 s=sip call t=0 0 m=audio 55278 RTP/AVP 8 18 0 101 c=IN IP4 199.244.96.47 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=silenceSupp:off - - - - a=ptime:20 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+448456021111@199.244.96.39 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:46.586668 [DEBUG] switch_core_codec.c:111 sofia/default/+448456021111@199.244.96.39 Original read codec set to PCMA:8 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:46.586668 [DEBUG] switch_core_media.c:4767 sofia/default/+448456021111@199.244.96.39 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:46.586668 [DEBUG] sofia.c:7507 (sofia/default/+448456021111@199.244.96.39) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+448456021111@199.244.96.39) State NEW 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_INIT (Cur 7 Tot 248046) 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+448456021111@199.244.96.39) State INIT 2021-09-14 09:06:46.586668 [DEBUG] mod_sofia.c:90 sofia/default/+448456021111@199.244.96.39 SOFIA INIT 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:40 sofia/default/+448456021111@199.244.96.39 Standard INIT 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+448456021111@199.244.96.39) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+448456021111@199.244.96.39) State INIT going to sleep 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_ROUTING (Cur 7 Tot 248046) 2021-09-14 09:06:46.586668 [DEBUG] switch_channel.c:2249 (sofia/default/+448456021111@199.244.96.39) Callstate Change DOWN -> RINGING 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+448456021111@199.244.96.39) State ROUTING 2021-09-14 09:06:46.586668 [DEBUG] mod_sofia.c:143 sofia/default/+448456021111@199.244.96.39 SOFIA ROUTING 2021-09-14 09:06:46.586668 [DEBUG] switch_core_state_machine.c:236 sofia/default/+448456021111@199.244.96.39 Standard ROUTING 2021-09-14 09:06:46.586668 [INFO] mod_dialplan_xml.c:637 Processing +448456021111 <+448456021111>->442039877620 in context default 2021-09-14 09:06:46.586668 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:46.586668 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A46 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A46%20GMT Event-Date-Timestamp: 1631624806586668 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529298 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/%2B448456021111%40199.244.96.39 Unique-ID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: %2B448456021111%40199.244.96.39 Channel-Call-UUID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: %2B448456021111 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B448456021111 Caller-Caller-ID-Number: %2B448456021111 Caller-Orig-Caller-ID-Name: %2B448456021111 Caller-Orig-Caller-ID-Number: %2B448456021111 Caller-Network-Addr: 136.243.196.198 Caller-ANI: %2B448456021111 Caller-Destination-Number: 442039877620 Caller-Unique-ID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/%2B448456021111%40199.244.96.39 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624806586668 Caller-Channel-Created-Time: 1631624806586668 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0 variable_session_id: 248046 variable_sip_from_user: %2B448456021111 variable_sip_from_uri: %2B448456021111%40199.244.96.39 variable_sip_from_host: 199.244.96.39 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/%2B448456021111%40199.244.96.39 variable_sip_call_id: 148227040-3840613606-1843055404%40MSX9.gammatelecom.com~1o variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624806586668 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 448456021111 variable_sip_from_tag: 7ubvwzgc27rigi4i.o variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_Remote-Party-ID: %3Csip%3A%2B448456021111%40199.244.96.39%3E%3Bparty%3Dcalling variable_sip_P-Asserted-Identity: %2B448456021111 variable_sip_cid_type: pid variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcf3.86bc9fe1%3E,%3Csip%3A199.244.96.39%3Blr%3Bep%3E variable_sip_invite_record_route: %3Csip%3A199.244.96.39%3Blr%3Bep%3E,%3Csip%3A136.243.196.198%3Blr%3Bdid%3Dcf3.86bc9fe1%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK2e3e.3f8a05f7.0,SIP/2.0/UDP%20199.244.96.39%3A5060%3Breceived%3D199.244.96.39%3Bbranch%3Dz9hG4bK-524287-1---ff5e2623a9d55bf1eb005d9b64de1c45%3Brport%3D5060,SIP/2.0/UDP%20199.244.96.47%3A5070%3Brport%3D5070%3Bbranch%3Dz9hG4bK-7g3udtqaplvx4pir variable_sip_full_from: %3Csip%3A%2B448456021111%40199.244.96.39%3E%3Btag%3D7ubvwzgc27rigi4i.o variable_sip_full_to: %3Csip%3A442039877620%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20INFO,%20SUBSCRIBE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20UPDATE variable_sip_req_user: 442039877620 variable_sip_req_uri: 442039877620%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 442039877620 variable_sip_to_uri: 442039877620%40newsip.israelnumber.com variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_user: %2B448456021111 variable_sip_contact_port: 5070 variable_sip_contact_uri: %2B448456021111%40199.244.96.47%3A5070 variable_sip_contact_host: 199.244.96.47 variable_sip_user_agent: PortaSIP variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: %2B448456021111%40199.244.96.39 variable_sip_h_X-AUTH-IP: 199.244.96.39 variable_sip_h_P-Accountcode: 594905904039 variable_sip_h_P-effective_caller_id_name: %2B448456021111 variable_sip_h_P-effective_caller_id_number: %2B448456021111 variable_switch_r_sdp: v%3D0%0D%0Ao%3DPortaSIP%204582507995624046089%201%20IN%20IP4%20199.244.96.47%0D%0As%3Dsip%20call%0D%0At%3D0%200%0D%0Am%3Daudio%2055278%20RTP/AVP%208%2018%200%20101%0D%0Ac%3DIN%20IP4%20199.244.96.47%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 199.244.96.47 variable_remote_media_port: 55278 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: %2B448456021111 Hunt-Dialplan: XML Hunt-Caller-ID-Name: %2B448456021111 Hunt-Caller-ID-Number: %2B448456021111 Hunt-Orig-Caller-ID-Name: %2B448456021111 Hunt-Orig-Caller-ID-Number: %2B448456021111 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: %2B448456021111 Hunt-Destination-Number: 442039877620 Hunt-Unique-ID: 9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/%2B448456021111%40199.244.96.39 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624806586668 Hunt-Channel-Created-Time: 1631624806586668 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 442039877620 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '442039877620' limit 1 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '442039877620' AND status=0 limit 1 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '199.244.96.39' limit 1 2021-09-14 09:06:46.586668 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +448456021111 / +448456021111 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="442039877620" LIMIT 1 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:46.586668 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 594905904039] 2021-09-14 09:06:46.586668 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" OR number = "594905904039" AND deleted = 0 limit 1 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [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 ="442039877620" AND A.accountid = '855' limit 1 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 442039877620 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="442039877620" LIMIT 1 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="442039877620" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^442039877620.*' OR patterns = '^44203987762.*' OR patterns = '^4420398776.*' OR patterns = '^442039877.*' OR patterns = '^44203987.*' OR patterns = '^4420398.*' OR patterns = '^442039.*' OR patterns = '^44203.*' OR patterns = '^4420.*' OR patterns = '^442.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '442039877620' OR number = '44203987762' OR number = '4420398776' OR number = '442039877' OR number = '44203987' OR number = '4420398' OR number = '442039' OR number = '44203' OR number = '4420' OR number = '442' OR number = '44' OR number = '4' OR number ='--') OR (number = '442039877620*' OR number = '44203987762*' OR number = '4420398776*' OR number = '442039877*' OR number = '44203987*' OR number = '4420398*' OR number = '442039*' OR number = '44203*' OR number = '4420*' OR number = '442*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = '+448456021111' OR number = '+44845602111' OR number = '+4484560211' OR number = '+448456021' OR number = '+44845602' OR number = '+4484560' OR number = '+448456' OR number = '+44845' OR number = '+4484' OR number = '+448' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+448456021111*' OR number = '+44845602111*' OR number = '+4484560211*' OR number = '+448456021*' OR number = '+44845602*' OR number = '+4484560*' OR number = '+448456*' OR number = '+44845*' OR number = '+4484*' OR number = '+448*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '442039877620' OR routing_prefix = '44203987762' OR routing_prefix = '4420398776' OR routing_prefix = '442039877' OR routing_prefix = '44203987' OR routing_prefix = '4420398' OR routing_prefix = '442039' OR routing_prefix = '44203' OR routing_prefix = '4420' OR routing_prefix = '442' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 855 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 594905904039 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="442039877620" LIMIT 1 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9123 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : London Landline 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 855 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 855 !!! 2021-09-14 09:06:46.606671 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 855 AND status=0 LIMIT 1 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:855 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:855 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 855 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:46.606671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:46.606671 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:46.606671 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:46.606671 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:46.606671 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/+448456021111@199.244.96.39 parsing [default->442039877620] continue=false Dialplan: sofia/default/+448456021111@199.244.96.39 Regex (PASS) [442039877620] destination_number(442039877620) =~ /442039877620/ break=on-false Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(effective_destination_number=442039877620) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(callstart=2021-09-14 13:06:46) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(account_id=855) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(parent_id=0) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(entity_id=3) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(call_processed=internal) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(call_direction=inbound) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(accountname=default) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(origination_rates_did=ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(origination_rates=0) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(original_caller_id_name=+448456021111) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(original_caller_id_number=+448456021111) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(effective_caller_id_name=+448456021111) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(effective_caller_id_number=+448456021111) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(receiver_accid=851) Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/+448456021111@199.244.96.39 Action limit(db 442039877620 did_442039877620 2 !SWITCH_CONGESTION) Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(presence_data=x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39) Dialplan: sofia/default/+448456021111@199.244.96.39 Action export(call_type=2) Dialplan: sofia/default/+448456021111@199.244.96.39 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/+448456021111@199.244.96.39 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/442039877620@35.205.116.118) 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+448456021111@199.244.96.39) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+448456021111@199.244.96.39) State ROUTING going to sleep 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_EXECUTE (Cur 7 Tot 248046) 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+448456021111@199.244.96.39) State EXECUTE 2021-09-14 09:06:46.606671 [DEBUG] mod_sofia.c:198 sofia/default/+448456021111@199.244.96.39 SOFIA EXECUTE 2021-09-14 09:06:46.606671 [DEBUG] switch_core_state_machine.c:328 sofia/default/+448456021111@199.244.96.39 Standard EXECUTE EXECUTE sofia/default/+448456021111@199.244.96.39 set(effective_destination_number=442039877620) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [effective_destination_number]=[442039877620] EXECUTE sofia/default/+448456021111@199.244.96.39 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/+448456021111@199.244.96.39 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/+448456021111@199.244.96.39 set(callstart=2021-09-14 13:06:46) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [callstart]=[2021-09-14 13:06:46] EXECUTE sofia/default/+448456021111@199.244.96.39 set(hangup_after_bridge=true) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [hangup_after_bridge]=[true] EXECUTE sofia/default/+448456021111@199.244.96.39 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/+448456021111@199.244.96.39 set(account_id=855) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [account_id]=[855] EXECUTE sofia/default/+448456021111@199.244.96.39 set(parent_id=0) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [parent_id]=[0] EXECUTE sofia/default/+448456021111@199.244.96.39 set(entity_id=3) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [entity_id]=[3] EXECUTE sofia/default/+448456021111@199.244.96.39 set(call_processed=internal) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [call_processed]=[internal] EXECUTE sofia/default/+448456021111@199.244.96.39 set(call_direction=inbound) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [call_direction]=[inbound] EXECUTE sofia/default/+448456021111@199.244.96.39 set(accountname=default) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [accountname]=[default] EXECUTE sofia/default/+448456021111@199.244.96.39 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/+448456021111@199.244.96.39 set(origination_rates_did=ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [origination_rates_did]=[ID:9123|CODE:^442039877620.*|DESTINATION:London Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851] EXECUTE sofia/default/+448456021111@199.244.96.39 set(origination_rates=0) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [origination_rates]=[0] EXECUTE sofia/default/+448456021111@199.244.96.39 set(original_caller_id_name=+448456021111) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [original_caller_id_name]=[+448456021111] EXECUTE sofia/default/+448456021111@199.244.96.39 set(original_caller_id_number=+448456021111) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [original_caller_id_number]=[+448456021111] EXECUTE sofia/default/+448456021111@199.244.96.39 set(effective_caller_id_name=+448456021111) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [effective_caller_id_name]=[+448456021111] EXECUTE sofia/default/+448456021111@199.244.96.39 set(effective_caller_id_number=+448456021111) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [effective_caller_id_number]=[+448456021111] EXECUTE sofia/default/+448456021111@199.244.96.39 set(receiver_accid=851) 2021-09-14 09:06:46.606671 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [receiver_accid]=[851] EXECUTE sofia/default/+448456021111@199.244.96.39 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:46.606671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/+448456021111@199.244.96.39 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:46.606671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/+448456021111@199.244.96.39 limit(db 442039877620 did_442039877620 2 !SWITCH_CONGESTION) 2021-09-14 09:06:46.606671 [DEBUG] switch_limit.c:126 incr called: 442039877620_did_442039877620 max:2, interval:0 2021-09-14 09:06:46.606671 [DEBUG] mod_db.c:194 Usage for 442039877620_did_442039877620 is now 1/2 EXECUTE sofia/default/+448456021111@199.244.96.39 export(presence_data=x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39) 2021-09-14 09:06:46.606671 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39] EXECUTE sofia/default/+448456021111@199.244.96.39 export(call_type=2) 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/+448456021111@199.244.96.39 set(calltype=DIRECT-IP) 2021-09-14 09:06:46.626674 [DEBUG] mod_dptools.c:1548 SET sofia/default/+448456021111@199.244.96.39 [calltype]=[DIRECT-IP] EXECUTE sofia/default/+448456021111@199.244.96.39 bridge([leg_timeout=30]sofia/default/442039877620@35.205.116.118) 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [presence_data]=[x|||AvoxiIn1(594905904039)|||^442039877620.* // London Landline // 0.00000||||||DID|||199.244.96.39] to event 2021-09-14 09:06:46.626674 [DEBUG] switch_channel.c:1250 sofia/default/+448456021111@199.244.96.39 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:46.626674 [NOTICE] switch_channel.c:1104 New Channel sofia/default/442039877620@35.205.116.118 [9d900d38-155c-11ec-a06f-7dfb9f6e00f0] 2021-09-14 09:06:46.626674 [DEBUG] mod_sofia.c:4819 (sofia/default/442039877620@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:2963 sofia/default/442039877620@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248047) 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/442039877620@35.205.116.118) State INIT 2021-09-14 09:06:46.626674 [DEBUG] mod_sofia.c:90 sofia/default/442039877620@35.205.116.118 SOFIA INIT 2021-09-14 09:06:46.626674 [DEBUG] sofia_glue.c:1295 sofia/default/442039877620@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631592102 1631592103 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 32704 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:40 sofia/default/442039877620@35.205.116.118 Standard INIT 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:48 (sofia/default/442039877620@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/442039877620@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248047) 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/442039877620@35.205.116.118) State ROUTING 2021-09-14 09:06:46.626674 [DEBUG] mod_sofia.c:143 sofia/default/442039877620@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:46.626674 [DEBUG] switch_ivr_originate.c:67 (sofia/default/442039877620@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/442039877620@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248047) 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/442039877620@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:46.626674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/442039877620@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:46.626674 [DEBUG] sofia.c:7084 Channel sofia/default/442039877620@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:46.906676 [DEBUG] sofia.c:7084 Channel sofia/default/442039877620@35.205.116.118 entering state [terminated][486] 2021-09-14 09:06:46.906676 [NOTICE] sofia.c:8273 Hangup sofia/default/442039877620@35.205.116.118 [CS_CONSUME_MEDIA] [USER_BUSY] 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248047) 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/442039877620@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442039877620@35.205.116.118) State HANGUP 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:438 Channel sofia/default/442039877620@35.205.116.118 hanging up, cause: USER_BUSY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:60 sofia/default/442039877620@35.205.116.118 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442039877620@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/442039877620@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442039877620@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248047) 2021-09-14 09:06:46.906676 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY] 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442039877620@35.205.116.118) State REPORTING 2021-09-14 09:06:46.906676 [INFO] mod_json_cdr.c:271 Process [9d900d38-155c-11ec-a06f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:46.906676 [INFO] mod_dptools.c:3436 Originate Failed. Cause: USER_BUSY 2021-09-14 09:06:46.906676 [NOTICE] switch_channel.c:4844 Hangup sofia/default/+448456021111@199.244.96.39 [CS_EXECUTE] [USER_BUSY] 2021-09-14 09:06:46.906676 [DEBUG] switch_core_session.c:2815 sofia/default/+448456021111@199.244.96.39 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+448456021111@199.244.96.39) State EXECUTE going to sleep 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_HANGUP (Cur 8 Tot 248047) 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+448456021111@199.244.96.39) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+448456021111@199.244.96.39) State HANGUP 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:432 sofia/default/+448456021111@199.244.96.39 Overriding SIP cause 486 with 486 from the other leg 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:438 Channel sofia/default/+448456021111@199.244.96.39 hanging up, cause: USER_BUSY 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:60 sofia/default/+448456021111@199.244.96.39 Standard HANGUP, cause: USER_BUSY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+448456021111@199.244.96.39) State HANGUP going to sleep 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+448456021111@199.244.96.39) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_REPORTING (Cur 8 Tot 248047) 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+448456021111@199.244.96.39) State REPORTING 2021-09-14 09:06:46.906676 [INFO] mod_json_cdr.c:271 Process [9d8a0a8c-155c-11ec-a04f-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:174 sofia/default/442039877620@35.205.116.118 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442039877620@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:610 (sofia/default/442039877620@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_session.c:1665 Session 248047 (sofia/default/442039877620@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:46.906676 [NOTICE] switch_core_session.c:1683 Session 248047 (sofia/default/442039877620@35.205.116.118) Ended 2021-09-14 09:06:46.906676 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/442039877620@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:741 (sofia/default/442039877620@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248047) 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442039877620@35.205.116.118) State DESTROY 2021-09-14 09:06:46.906676 [DEBUG] mod_sofia.c:343 sofia/default/442039877620@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:181 sofia/default/442039877620@35.205.116.118 Standard DESTROY 2021-09-14 09:06:46.906676 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442039877620@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:174 sofia/default/+448456021111@199.244.96.39 Standard REPORTING, cause: USER_BUSY 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+448456021111@199.244.96.39) State REPORTING going to sleep 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+448456021111@199.244.96.39) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:46.966681 [DEBUG] switch_core_session.c:1665 Session 248046 (sofia/default/+448456021111@199.244.96.39) Locked, Waiting on external entities 2021-09-14 09:06:46.966681 [NOTICE] switch_core_session.c:1683 Session 248046 (sofia/default/+448456021111@199.244.96.39) Ended 2021-09-14 09:06:46.966681 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+448456021111@199.244.96.39 [CS_DESTROY] 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+448456021111@199.244.96.39) Running State Change CS_DESTROY (Cur 6 Tot 248047) 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+448456021111@199.244.96.39) State DESTROY 2021-09-14 09:06:46.966681 [DEBUG] mod_sofia.c:343 sofia/default/+448456021111@199.244.96.39 SOFIA DESTROY 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:181 sofia/default/+448456021111@199.244.96.39 Standard DESTROY 2021-09-14 09:06:46.966681 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+448456021111@199.244.96.39) State DESTROY going to sleep 2021-09-14 09:06:49.986755 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [9f90ab92-155c-11ec-a073-7dfb9f6e00f0] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248048) 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3077209056 32538 IN IP4 46.19.210.22 s=didww-sbc t=0 0 m=audio 50880 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.22 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:49.986755 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:49.986755 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248048) 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248048) 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:49.986755 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:49.986755 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:49.986755 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A49 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A49%20GMT Event-Date-Timestamp: 1631624809986755 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529384 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624809986755 Caller-Channel-Created-Time: 1631624809986755 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0 variable_session_id: 248048 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 13-13-5C9E7F30-61409E69000E84E0-B76B5700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624809986755 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 13-390873FF-61409E69000E83D9-B76B5700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D23e.387c8fe7%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D23e.387c8fe7%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK155e.cbe3c5b2.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKXi6CNaZ5%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-390873FF-61409E69000E83D9-B76B5700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203077209056%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2050880%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.22 variable_remote_media_port: 50880 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: 9f90ab92-155c-11ec-a073-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624809986755 Hunt-Channel-Created-Time: 1631624809986755 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:49.986755 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:49.986755 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:49.986755 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:49.986755 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:49.986755 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:49.986755 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:49.986755 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:50) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248048) 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:50) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:50] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:49.986755 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:49.986755 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:49.986755 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:49.986755 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:49.986755 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [9f95fb60-155c-11ec-a093-7dfb9f6e00f0] 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248049) 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:49.986755 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631599047 1631599048 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 25762 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248049) 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:49.986755 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:49.986755 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248049) 2021-09-14 09:06:49.986755 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:49.986755 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:50.286717 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:50.286717 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248049) 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:50.286717 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248049) 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:50.286717 [INFO] mod_json_cdr.c:271 Process [9f95fb60-155c-11ec-a093-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:50.286717 [DEBUG] switch_core_session.c:1665 Session 248049 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:50.286717 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:50.286717 [NOTICE] switch_core_session.c:1683 Session 248049 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:50.286717 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248049) 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:50.286717 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:50.286717 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:50.286717 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:50.286717 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:50.286717 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:50.286717 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248049) 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248049) 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:50.306670 [INFO] mod_json_cdr.c:271 Process [9f90ab92-155c-11ec-a073-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:50.306670 [DEBUG] switch_core_session.c:1665 Session 248048 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:50.306670 [NOTICE] switch_core_session.c:1683 Session 248048 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:50.306670 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248049) 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:50.306670 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:50.306670 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:51.766661 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [a0a1721e-155c-11ec-a097-7dfb9f6e00f0] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248050) 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3070893024 32538 IN IP4 46.19.210.22 s=didww-sbc t=0 0 m=audio 51392 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.22 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:51.766661 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:51.766661 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:51.766661 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248050) 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:51.766661 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248050) 2021-09-14 09:06:51.766661 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:51.766661 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:51.766661 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:51.766661 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:51.766661 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:51.766661 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A51 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A51%20GMT Event-Date-Timestamp: 1631624811766661 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529470 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624811766661 Caller-Channel-Created-Time: 1631624811766661 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: a0a1721e-155c-11ec-a097-7dfb9f6e00f0 variable_session_id: 248050 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 13-13-1B6DD025-61409E6B000B48F0-B70AF700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624811766661 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 13-7CB13E2A-61409E6B000B4838-B70AF700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc78.b1124dc4%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3Dc78.b1124dc4%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bKa9f5.7a15a7f1.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKfCxvca7I%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D13-7CB13E2A-61409E6B000B4838-B70AF700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203070893024%2032538%20IN%20IP4%2046.19.210.22%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2051392%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.22%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.22 variable_remote_media_port: 51392 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: a0a1721e-155c-11ec-a097-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: a0a1721e-155c-11ec-a097-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624811766661 Hunt-Channel-Created-Time: 1631624811766661 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:51.766661 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:51.766661 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:51.786733 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:51.786733 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:51.786733 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:51.786733 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:51.786733 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:51.786733 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:51.786733 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:51) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248050) 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:51.786733 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:51.786733 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:51) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:51] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:51.786733 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:51.806661 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:51.806661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:51.806661 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:51.806661 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:51.806661 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:51.866668 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:51.866668 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:51.866668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [a0b02f48-155c-11ec-a0b7-7dfb9f6e00f0] 2021-09-14 09:06:51.866668 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248051) 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:51.866668 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:51.866668 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631604505 1631604506 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 20306 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248051) 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:51.866668 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:51.866668 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248051) 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:51.866668 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:51.866668 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:52.046719 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:52.046719 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248051) 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:52.046719 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248051) 2021-09-14 09:06:52.046719 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:52.046719 [INFO] mod_json_cdr.c:271 Process [a0b02f48-155c-11ec-a0b7-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:52.066666 [DEBUG] switch_core_session.c:1665 Session 248051 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:52.066666 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:52.066666 [NOTICE] switch_core_session.c:1683 Session 248051 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:52.066666 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248051) 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:52.066666 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:52.066666 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:52.066666 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:52.066666 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248051) 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:52.066666 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248051) 2021-09-14 09:06:52.066666 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:52.066666 [INFO] mod_json_cdr.c:271 Process [a0a1721e-155c-11ec-a097-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:52.086687 [DEBUG] switch_core_session.c:1665 Session 248050 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:52.086687 [NOTICE] switch_core_session.c:1683 Session 248050 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:52.086687 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248051) 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:52.086687 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:52.086687 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:53.526744 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48798517722@46.19.210.14 [a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_NEW (Cur 7 Tot 248052) 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:9873 sofia/default/48798517722@46.19.210.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:7084 Channel sofia/default/48798517722@46.19.210.14 entering state [received][100] 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=didww-sbc 3681455072 32695 IN IP4 46.19.210.39 s=didww-sbc t=0 0 m=audio 36034 RTP/AVP 0 8 18 4 101 c=IN IP4 46.19.210.39 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=ptime:20 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1] 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/48798517722@46.19.210.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2021-09-14 09:06:53.526744 [DEBUG] switch_core_codec.c:111 sofia/default/48798517722@46.19.210.14 Original read codec set to PCMU:0 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-09-14 09:06:53.526744 [DEBUG] switch_core_media.c:4767 sofia/default/48798517722@46.19.210.14 Set 2833 dtmf send payload to 101 recv payload to 101 2021-09-14 09:06:53.526744 [DEBUG] sofia.c:7507 (sofia/default/48798517722@46.19.210.14) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:603 (sofia/default/48798517722@46.19.210.14) State NEW 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_INIT (Cur 7 Tot 248052) 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT 2021-09-14 09:06:53.526744 [DEBUG] mod_sofia.c:90 sofia/default/48798517722@46.19.210.14 SOFIA INIT 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:40 sofia/default/48798517722@46.19.210.14 Standard INIT 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48798517722@46.19.210.14) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48798517722@46.19.210.14) State INIT going to sleep 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_ROUTING (Cur 7 Tot 248052) 2021-09-14 09:06:53.526744 [DEBUG] switch_channel.c:2249 (sofia/default/48798517722@46.19.210.14) Callstate Change DOWN -> RINGING 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING 2021-09-14 09:06:53.526744 [DEBUG] mod_sofia.c:143 sofia/default/48798517722@46.19.210.14 SOFIA ROUTING 2021-09-14 09:06:53.526744 [DEBUG] switch_core_state_machine.c:236 sofia/default/48798517722@46.19.210.14 Standard ROUTING 2021-09-14 09:06:53.526744 [INFO] mod_dialplan_xml.c:637 Processing 48798517722 <48798517722>->48732081792 in context default 2021-09-14 09:06:53.526744 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fd4942527b0 Connected. 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-09-14 09:06:53.526744 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [xml_handler] Params: 'Event-Name: REQUEST_PARAMS Core-UUID: 383771d0-00bf-11ec-97b1-7dfb9f6e00f0 FreeSWITCH-Hostname: astpp1.local FreeSWITCH-Switchname: astpp1.local FreeSWITCH-IPv4: 89.46.223.193 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2021-09-14%2009%3A06%3A53 Event-Date-GMT: Tue,%2014%20Sep%202021%2013%3A06%3A53%20GMT Event-Date-Timestamp: 1631624813526744 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 7529556 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/48798517722%4046.19.210.14 Unique-ID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 48798517722%4046.19.210.14 Channel-Call-UUID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 48798517722 Caller-Dialplan: XML Caller-Caller-ID-Name: 48798517722 Caller-Caller-ID-Number: 48798517722 Caller-Orig-Caller-ID-Name: 48798517722 Caller-Orig-Caller-ID-Number: 48798517722 Caller-Network-Addr: 136.243.196.198 Caller-ANI: 48798517722 Caller-Destination-Number: 48732081792 Caller-Unique-ID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/48798517722%4046.19.210.14 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1631624813526744 Caller-Channel-Created-Time: 1631624813526744 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0 variable_session_id: 248052 variable_sip_from_user: 48798517722 variable_sip_from_uri: 48798517722%4046.19.210.14 variable_sip_from_host: 46.19.210.14 variable_video_media_flow: sendrecv variable_channel_name: sofia/default/48798517722%4046.19.210.14 variable_sip_call_id: 11-11-0A361EE3-61409E6D0007BC1A-DB6F6700 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b variable_sip_local_network_addr: 89.46.223.193 variable_sip_network_ip: 136.243.196.198 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1631624813526744 variable_sip_received_ip: 136.243.196.198 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 48798517722 variable_sip_from_tag: 11-49F2DC56-61409E6D0007BB5C-DB6F6700 variable_sofia_profile_name: default variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D82a.5cb5fb52%3E variable_sip_invite_record_route: %3Csip%3A136.243.196.198%3Blr%3Bdid%3D82a.5cb5fb52%3E variable_sip_full_via: SIP/2.0/UDP%20136.243.196.198%3A5060%3Bbranch%3Dz9hG4bK6418.210a0a73.0,SIP/2.0/UDP%2046.19.210.14%3Breceived%3D46.19.210.14%3Bbranch%3Dz9hG4bKkDaGlaqS%3Brport%3D5060 variable_sip_from_display: 48798517722 variable_sip_full_from: %2248798517722%22%20%3Csip%3A48798517722%4046.19.210.14%3E%3Btag%3D11-49F2DC56-61409E6D0007BB5C-DB6F6700 variable_sip_full_to: %3Csip%3A48732081792%40newsip.israelnumber.com%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20UPDATE variable_sip_req_user: 48732081792 variable_sip_req_port: 5060 variable_sip_req_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 48732081792 variable_sip_to_port: 5060 variable_sip_to_uri: 48732081792%40newsip.israelnumber.com%3A5060 variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: nobody variable_sip_contact_port: 5060 variable_sip_contact_uri: nobody%4046.19.210.14%3A5060 variable_sip_contact_host: 46.19.210.14 variable_sip_user_agent: DIDWW%20SBC%20node variable_sip_via_host: 136.243.196.198 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: 48798517722%4046.19.210.14 variable_sip_h_X-AUTH-IP: 46.19.210.14 variable_sip_h_P-Accountcode: 714761424818 variable_sip_h_P-effective_caller_id_name: 48798517722 variable_sip_h_P-effective_caller_id_number: 48798517722 variable_switch_r_sdp: v%3D0%0D%0Ao%3Ddidww-sbc%203681455072%2032695%20IN%20IP4%2046.19.210.39%0D%0As%3Ddidww-sbc%0D%0At%3D0%200%0D%0Am%3Daudio%2036034%20RTP/AVP%200%208%2018%204%20101%0D%0Ac%3DIN%20IP4%2046.19.210.39%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A4%20G723/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA,PCMU,G729 variable_audio_media_flow: sendrecv variable_remote_media_ip: 46.19.210.39 variable_remote_media_port: 36034 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 48798517722 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 48798517722 Hunt-Caller-ID-Number: 48798517722 Hunt-Orig-Caller-ID-Name: 48798517722 Hunt-Orig-Caller-ID-Number: 48798517722 Hunt-Network-Addr: 136.243.196.198 Hunt-ANI: 48798517722 Hunt-Destination-Number: 48732081792 Hunt-Unique-ID: a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/48798517722%4046.19.210.14 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1631624813526744 Hunt-Channel-Created-Time: 1631624813526744 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false ' 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_name: 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] key_value: 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] tag_name: 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [xml_REQUEST] section: dialplan 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 48732081792 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '48732081792' limit 1 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number as number FROM accessnumber WHERE access_number = '48732081792' AND status=0 limit 1 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.210.14' limit 1 2021-09-14 09:06:53.526744 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 48798517722 / 48798517722 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode1 : 714761424818] 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" OR number = "714761424818" AND deleted = 0 limit 1 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [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 ="48732081792" AND A.accountid = '863' limit 1 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 48732081792 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="48732081792" AND (accountid = 0 OR status = 1) LIMIT 1 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [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 (patterns = '^48732081792.*' OR patterns = '^4873208179.*' OR patterns = '^487320817.*' OR patterns = '^48732081.*' OR patterns = '^4873208.*' OR patterns = '^487320.*' OR patterns = '^48732.*' OR patterns = '^4873.*' OR patterns = '^487.*' OR patterns = '^48.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '48732081792' OR number = '4873208179' OR number = '487320817' OR number = '48732081' OR number = '4873208' OR number = '487320' OR number = '48732' OR number = '4873' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48732081792*' OR number = '4873208179*' OR number = '487320817*' OR number = '48732081*' OR number = '4873208*' OR number = '487320*' OR number = '48732*' OR number = '4873*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--') OR (number = '48798517722' OR number = '4879851772' OR number = '487985177' OR number = '48798517' OR number = '4879851' OR number = '487985' OR number = '48798' OR number = '4879' OR number = '487' OR number = '48' OR number = '4' OR number ='--') OR (number = '48798517722*' OR number = '4879851772*' OR number = '487985177*' OR number = '48798517*' OR number = '4879851*' OR number = '487985*' OR number = '48798*' OR number = '4879*' OR number = '487*' OR number = '48*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '48732081792' OR routing_prefix = '4873208179' OR routing_prefix = '487320817' OR routing_prefix = '48732081' OR routing_prefix = '4873208' OR routing_prefix = '487320' OR routing_prefix = '48732' OR routing_prefix = '4873' OR routing_prefix = '487' OR routing_prefix = '48' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 863 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 714761424818 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="48732081792" LIMIT 1 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 8057 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 153 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 863 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 863 !!! 2021-09-14 09:06:53.526744 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-09-14 09:06:53.526744 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-09-14 09:06:53.526744 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 863 AND status=0 LIMIT 1 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" OR number = "851" AND deleted = 0 limit 1 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:863 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:863 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 863 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:53.566674 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:53.566674 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1 2021-09-14 09:06:53.566674 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2 2021-09-14 09:06:53.566674 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-09-14 09:06:53.566674 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fd4942527b0 released. Dialplan: sofia/default/48798517722@46.19.210.14 parsing [default->48732081792] continue=false Dialplan: sofia/default/48798517722@46.19.210.14 Regex (PASS) [48732081792] destination_number(48732081792) =~ /48732081792/ break=on-false Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_destination_number=48732081792) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(callstart=2021-09-14 13:06:53) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(hangup_after_bridge=true) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(account_id=863) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(parent_id=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(entity_id=3) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_processed=internal) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(call_direction=inbound) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(accountname=default) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(origination_rates=0) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(original_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_name=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(effective_caller_id_number=48798517722) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(receiver_accid=851) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com) Dialplan: sofia/default/48798517722@46.19.210.14 Action limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) Dialplan: sofia/default/48798517722@46.19.210.14 Action export(call_type=2) Dialplan: sofia/default/48798517722@46.19.210.14 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/48798517722@46.19.210.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/48732081792@35.205.116.118) 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:286 (sofia/default/48798517722@46.19.210.14) State Change CS_ROUTING -> CS_EXECUTE 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48798517722@46.19.210.14) State ROUTING going to sleep 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_EXECUTE (Cur 7 Tot 248052) 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:198 sofia/default/48798517722@46.19.210.14 SOFIA EXECUTE 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:328 sofia/default/48798517722@46.19.210.14 Standard EXECUTE EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_destination_number=48732081792) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_destination_number]=[48732081792] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/48798517722@46.19.210.14 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/48798517722@46.19.210.14 set(callstart=2021-09-14 13:06:53) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [callstart]=[2021-09-14 13:06:53] EXECUTE sofia/default/48798517722@46.19.210.14 set(hangup_after_bridge=true) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [hangup_after_bridge]=[true] EXECUTE sofia/default/48798517722@46.19.210.14 set(continue_on_fail=1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [continue_on_fail]=[1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602] EXECUTE sofia/default/48798517722@46.19.210.14 set(account_id=863) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [account_id]=[863] EXECUTE sofia/default/48798517722@46.19.210.14 set(parent_id=0) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [parent_id]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(entity_id=3) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [entity_id]=[3] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_processed=internal) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_processed]=[internal] EXECUTE sofia/default/48798517722@46.19.210.14 set(call_direction=inbound) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [call_direction]=[inbound] EXECUTE sofia/default/48798517722@46.19.210.14 set(accountname=default) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [accountname]=[default] EXECUTE sofia/default/48798517722@46.19.210.14 set(filename1=astpp.pbx.lua) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates_did=ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates_did]=[ID:8057|CODE:^48732081792.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:153|ACCID:851] EXECUTE sofia/default/48798517722@46.19.210.14 set(origination_rates=0) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [origination_rates]=[0] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_name=48798517722) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(original_caller_id_number=48798517722) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [original_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_name=48798517722) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_name]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(effective_caller_id_number=48798517722) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [effective_caller_id_number]=[48798517722] EXECUTE sofia/default/48798517722@46.19.210.14 set(receiver_accid=851) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [receiver_accid]=[851] EXECUTE sofia/default/48798517722@46.19.210.14 export(domain_name=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com) 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com] EXECUTE sofia/default/48798517722@46.19.210.14 limit(db 48732081792 did_48732081792 2 !SWITCH_CONGESTION) 2021-09-14 09:06:53.566674 [DEBUG] switch_limit.c:126 incr called: 48732081792_did_48732081792 max:2, interval:0 2021-09-14 09:06:53.566674 [DEBUG] mod_db.c:194 Usage for 48732081792_did_48732081792 is now 1/2 EXECUTE sofia/default/48798517722@46.19.210.14 export(presence_data=x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14) 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] EXECUTE sofia/default/48798517722@46.19.210.14 export(call_type=2) 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2] EXECUTE sofia/default/48798517722@46.19.210.14 set(calltype=DIRECT-IP) 2021-09-14 09:06:53.566674 [DEBUG] mod_dptools.c:1548 SET sofia/default/48798517722@46.19.210.14 [calltype]=[DIRECT-IP] EXECUTE sofia/default/48798517722@46.19.210.14 bridge([leg_timeout=30]sofia/default/48732081792@35.205.116.118) 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [presence_data]=[x|||DIDwwIn1(714761424818)|||^48732081792.* // Mobile Voice // 0.00000||||||DID|||46.19.210.14] to event 2021-09-14 09:06:53.566674 [DEBUG] switch_channel.c:1250 sofia/default/48798517722@46.19.210.14 EXPORTING[export_vars] [call_type]=[2] to event 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables 2021-09-14 09:06:53.566674 [NOTICE] switch_channel.c:1104 New Channel sofia/default/48732081792@35.205.116.118 [a1b4a162-155c-11ec-a0db-7dfb9f6e00f0] 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:4819 (sofia/default/48732081792@35.205.116.118) State Change CS_NEW -> CS_INIT 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:2963 sofia/default/48732081792@35.205.116.118 Setting leg timeout to 30 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 248053) 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:90 sofia/default/48732081792@35.205.116.118 SOFIA INIT 2021-09-14 09:06:53.566674 [DEBUG] sofia_glue.c:1295 sofia/default/48732081792@35.205.116.118 sending invite version: 1.6.20 64bit Local SDP: v=0 o=FreeSWITCH 1631594989 1631594990 IN IP4 89.46.223.193 s=FreeSWITCH c=IN IP4 89.46.223.193 t=0 0 m=audio 29824 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:40 sofia/default/48732081792@35.205.116.118 Standard INIT 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:48 (sofia/default/48732081792@35.205.116.118) State Change CS_INIT -> CS_ROUTING 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:627 (sofia/default/48732081792@35.205.116.118) State INIT going to sleep 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 248053) 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING 2021-09-14 09:06:53.566674 [DEBUG] mod_sofia.c:143 sofia/default/48732081792@35.205.116.118 SOFIA ROUTING 2021-09-14 09:06:53.566674 [DEBUG] switch_ivr_originate.c:67 (sofia/default/48732081792@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:643 (sofia/default/48732081792@35.205.116.118) State ROUTING going to sleep 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 248053) 2021-09-14 09:06:53.566674 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [calling][0] 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA 2021-09-14 09:06:53.566674 [DEBUG] switch_core_state_machine.c:662 (sofia/default/48732081792@35.205.116.118) State CONSUME_MEDIA going to sleep 2021-09-14 09:06:53.826669 [DEBUG] sofia.c:7084 Channel sofia/default/48732081792@35.205.116.118 entering state [terminated][500] 2021-09-14 09:06:53.826669 [NOTICE] sofia.c:8273 Hangup sofia/default/48732081792@35.205.116.118 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 248053) 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48732081792@35.205.116.118) Callstate Change DOWN -> HANGUP 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP 2021-09-14 09:06:53.826669 [DEBUG] mod_sofia.c:438 Channel sofia/default/48732081792@35.205.116.118 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:60 sofia/default/48732081792@35.205.116.118 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48732081792@35.205.116.118) State HANGUP going to sleep 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48732081792@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48732081792@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 248053) 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING 2021-09-14 09:06:53.826669 [INFO] mod_json_cdr.c:271 Process [a1b4a162-155c-11ec-a0db-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:53.826669 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2021-09-14 09:06:53.826669 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:53.826669 [DEBUG] switch_channel.c:4775 Continue on fail [1,19,20,21,27,34,38,41,42,44,52,58,69,79,102,602]: Cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:53.826669 [NOTICE] switch_core_state_machine.c:385 sofia/default/48798517722@46.19.210.14 has executed the last dialplan instruction, hanging up. 2021-09-14 09:06:53.826669 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/48798517722@46.19.210.14 [CS_EXECUTE] [NORMAL_CLEARING] 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:174 sofia/default/48732081792@35.205.116.118 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48732081792@35.205.116.118) State REPORTING going to sleep 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48732081792@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:53.826669 [DEBUG] switch_core_session.c:1665 Session 248053 (sofia/default/48732081792@35.205.116.118) Locked, Waiting on external entities 2021-09-14 09:06:53.826669 [NOTICE] switch_core_session.c:1683 Session 248053 (sofia/default/48732081792@35.205.116.118) Ended 2021-09-14 09:06:53.826669 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48732081792@35.205.116.118 [CS_DESTROY] 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48732081792@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 248053) 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY 2021-09-14 09:06:53.826669 [DEBUG] mod_sofia.c:343 sofia/default/48732081792@35.205.116.118 SOFIA DESTROY 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:181 sofia/default/48732081792@35.205.116.118 Standard DESTROY 2021-09-14 09:06:53.826669 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48732081792@35.205.116.118) State DESTROY going to sleep 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:650 (sofia/default/48798517722@46.19.210.14) State EXECUTE going to sleep 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_HANGUP (Cur 7 Tot 248053) 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:850 (sofia/default/48798517722@46.19.210.14) Callstate Change RINGING -> HANGUP 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:432 sofia/default/48798517722@46.19.210.14 Overriding SIP cause 480 with 500 from the other leg 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:438 Channel sofia/default/48798517722@46.19.210.14 hanging up, cause: NORMAL_CLEARING 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 500 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:60 sofia/default/48798517722@46.19.210.14 Standard HANGUP, cause: NORMAL_CLEARING 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:852 (sofia/default/48798517722@46.19.210.14) State HANGUP going to sleep 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:619 (sofia/default/48798517722@46.19.210.14) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:584 (sofia/default/48798517722@46.19.210.14) Running State Change CS_REPORTING (Cur 7 Tot 248053) 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING 2021-09-14 09:06:53.886753 [INFO] mod_json_cdr.c:271 Process [a1af19a4-155c-11ec-a0bb-7dfb9f6e00f0.cdr.json] 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:174 sofia/default/48798517722@46.19.210.14 Standard REPORTING, cause: NORMAL_CLEARING 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:938 (sofia/default/48798517722@46.19.210.14) State REPORTING going to sleep 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:610 (sofia/default/48798517722@46.19.210.14) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:06:53.886753 [DEBUG] switch_core_session.c:1665 Session 248052 (sofia/default/48798517722@46.19.210.14) Locked, Waiting on external entities 2021-09-14 09:06:53.886753 [NOTICE] switch_core_session.c:1683 Session 248052 (sofia/default/48798517722@46.19.210.14) Ended 2021-09-14 09:06:53.886753 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/48798517722@46.19.210.14 [CS_DESTROY] 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:741 (sofia/default/48798517722@46.19.210.14) Running State Change CS_DESTROY (Cur 6 Tot 248053) 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY 2021-09-14 09:06:53.886753 [DEBUG] mod_sofia.c:343 sofia/default/48798517722@46.19.210.14 SOFIA DESTROY 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:181 sofia/default/48798517722@46.19.210.14 Standard DESTROY 2021-09-14 09:06:53.886753 [DEBUG] switch_core_state_machine.c:751 (sofia/default/48798517722@46.19.210.14) State DESTROY going to sleep 2021-09-14 09:06:59.646668 [NOTICE] switch_channel.c:1104 New Channel sofia/default/test@89.46.223.193 [a5543fa8-155c-11ec-a0df-7dfb9f6e00f0] 2021-09-14 09:06:59.646668 [DEBUG] switch_core_state_machine.c:584 (sofia/default/test@89.46.223.193) Running State Change CS_NEW (Cur 7 Tot 248054) 2021-09-14 09:06:59.646668 [DEBUG] sofia.c:9873 sofia/default/test@89.46.223.193 receiving invite from 51.15.153.41:5080 version: 1.6.20 64bit 2021-09-14 09:06:59.646668 [DEBUG] sofia.c:10044 IP 51.15.153.41 Rejected by acl "default". Falling back to Digest auth. 2021-09-14 09:06:59.646668 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [009447418600363@89.46.223.193] from ip 51.15.153.41 2021-09-14 09:06:59.646668 [DEBUG] switch_core_state_machine.c:603 (sofia/default/test@89.46.223.193) State NEW 2021-09-14 09:06:59.646668 [DEBUG] sofia.c:2334 detaching session a5543fa8-155c-11ec-a0df-7dfb9f6e00f0 2021-09-14 09:07:09.666750 [WARNING] switch_core_state_machine.c:687 a5543fa8-155c-11ec-a0df-7dfb9f6e00f0 sofia/default/test@89.46.223.193 Abandoned 2021-09-14 09:07:09.666750 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/test@89.46.223.193 [CS_NEW] [WRONG_CALL_STATE] 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:584 (sofia/default/test@89.46.223.193) Running State Change CS_HANGUP (Cur 7 Tot 248054) 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:850 (sofia/default/test@89.46.223.193) Callstate Change DOWN -> HANGUP 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:852 (sofia/default/test@89.46.223.193) State HANGUP 2021-09-14 09:07:09.666750 [DEBUG] mod_sofia.c:438 Channel sofia/default/test@89.46.223.193 hanging up, cause: WRONG_CALL_STATE 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:60 sofia/default/test@89.46.223.193 Standard HANGUP, cause: WRONG_CALL_STATE 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:852 (sofia/default/test@89.46.223.193) State HANGUP going to sleep 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:619 (sofia/default/test@89.46.223.193) State Change CS_HANGUP -> CS_REPORTING 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:584 (sofia/default/test@89.46.223.193) Running State Change CS_REPORTING (Cur 7 Tot 248054) 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:938 (sofia/default/test@89.46.223.193) State REPORTING 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:174 sofia/default/test@89.46.223.193 Standard REPORTING, cause: WRONG_CALL_STATE 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:938 (sofia/default/test@89.46.223.193) State REPORTING going to sleep 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:610 (sofia/default/test@89.46.223.193) State Change CS_REPORTING -> CS_DESTROY 2021-09-14 09:07:09.666750 [DEBUG] switch_core_session.c:1665 Session 248054 (sofia/default/test@89.46.223.193) Locked, Waiting on external entities 2021-09-14 09:07:09.666750 [NOTICE] switch_core_session.c:1683 Session 248054 (sofia/default/test@89.46.223.193) Ended 2021-09-14 09:07:09.666750 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/test@89.46.223.193 [CS_DESTROY] 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:741 (sofia/default/test@89.46.223.193) Running State Change CS_DESTROY (Cur 6 Tot 248054) 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:751 (sofia/default/test@89.46.223.193) State DESTROY 2021-09-14 09:07:09.666750 [DEBUG] mod_sofia.c:343 sofia/default/test@89.46.223.193 SOFIA DESTROY 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:181 sofia/default/test@89.46.223.193 Standard DESTROY 2021-09-14 09:07:09.666750 [DEBUG] switch_core_state_machine.c:751 (sofia/default/test@89.46.223.193) State DESTROY going to sleep