2019-11-05 12:08:38.353473 [DEBUG] switch_core_state_machine.c:604 (sofia/default/1070@82.214.92.12) State NEW 2019-11-05 12:08:38.353473 [DEBUG] sofia.c:2426 detaching session 8cf4e991-8eff-44e6-9061-540f5bf5f4f8 2019-11-05 12:08:38.613465 [NOTICE] switch_channel.c:1118 New Channel sofia/default/+381653552255@109.245.237.28 [e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_NEW (Cur 12 Tot 96273) 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:10243 sofia/default/+381653552255@109.245.237.28 receiving invite from 109.245.237.28:5060 version: 1.10.1 -release-12-f9990221e6 64bit 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 109.245.237.28:0. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:10366 IP 109.245.237.28 Approved by acl "default[]". Access Granted. 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:7290 Channel sofia/default/+381653552255@109.245.237.28 entering state [received][100] 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:7300 Remote SDP: v=0 o=root 1403115625 1403115625 IN IP4 109.245.237.28 s=Asterisk PBX 11.5.1 c=IN IP4 109.245.237.28 t=0 0 m=audio 17934 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 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[SILK:117:8000:20:20000:1] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[SILK:117:8000:20:20000:1] 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/+381653552255@109.245.237.28 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2019-11-05 12:08:38.613465 [DEBUG] switch_core_codec.c:111 sofia/default/+381653552255@109.245.237.28 Original read codec set to PCMA:8 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000 2019-11-05 12:08:38.613465 [DEBUG] switch_core_media.c:5907 sofia/default/+381653552255@109.245.237.28 Set 2833 dtmf send payload to 101 recv payload to 101 2019-11-05 12:08:38.613465 [DEBUG] sofia.c:7724 (sofia/default/+381653552255@109.245.237.28) State Change CS_NEW -> CS_INIT 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:604 (sofia/default/+381653552255@109.245.237.28) State NEW 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_INIT (Cur 12 Tot 96273) 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:628 (sofia/default/+381653552255@109.245.237.28) State INIT 2019-11-05 12:08:38.613465 [DEBUG] mod_sofia.c:93 sofia/default/+381653552255@109.245.237.28 SOFIA INIT 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:40 sofia/default/+381653552255@109.245.237.28 Standard INIT 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+381653552255@109.245.237.28) State Change CS_INIT -> CS_ROUTING 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:628 (sofia/default/+381653552255@109.245.237.28) State INIT going to sleep 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_ROUTING (Cur 12 Tot 96273) 2019-11-05 12:08:38.613465 [DEBUG] switch_channel.c:2332 (sofia/default/+381653552255@109.245.237.28) Callstate Change DOWN -> RINGING 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:644 (sofia/default/+381653552255@109.245.237.28) State ROUTING 2019-11-05 12:08:38.613465 [DEBUG] mod_sofia.c:154 sofia/default/+381653552255@109.245.237.28 SOFIA ROUTING 2019-11-05 12:08:38.613465 [DEBUG] switch_core_state_machine.c:236 sofia/default/+381653552255@109.245.237.28 Standard ROUTING 2019-11-05 12:08:38.613465 [INFO] mod_dialplan_xml.c:637 Processing +381653552255 <+381653552255>->381114419082 in context default 2019-11-05 12:08:38.613465 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2019-11-05 12:08:38.633456 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2019-11-05 12:08:38.673453 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 8189f664-1fdc-4e36-895b-453d6208be8a FreeSWITCH-Hostname: deb FreeSWITCH-Switchname: deb FreeSWITCH-IPv4: 82.214.92.12 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2019-11-05%2012%3A08%3A38 Event-Date-GMT: Tue,%2005%20Nov%202019%2011%3A08%3A38%20GMT Event-Date-Timestamp: 1572952118613465 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 608 Event-Sequence: 1520427 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/%2B381653552255%40109.245.237.28 Unique-ID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: %2B381653552255%40109.245.237.28 Channel-Call-UUID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194 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: %2B381653552255 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B381653552255 Caller-Caller-ID-Number: %2B381653552255 Caller-Orig-Caller-ID-Name: %2B381653552255 Caller-Orig-Caller-ID-Number: %2B381653552255 Caller-Network-Addr: 109.245.237.28 Caller-ANI: %2B381653552255 Caller-Destination-Number: 381114419082 Caller-Unique-ID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/%2B381653552255%40109.245.237.28 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1572952118613465 Caller-Channel-Created-Time: 1572952118613465 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: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194 variable_session_id: 96273 variable_sip_from_user: %2B381653552255 variable_sip_from_uri: %2B381653552255%40109.245.237.28 variable_sip_from_host: 109.245.237.28 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/%2B381653552255%40109.245.237.28 variable_sip_call_id: 2a921c7b0b167c6d27c94fc519c7d498%40109.245.237.28%3A5060 variable_sip_local_network_addr: 82.214.92.12 variable_sip_network_ip: 109.245.237.28 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1572952118613465 variable_sip_received_ip: 109.245.237.28 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: 381653552255 variable_sip_from_tag: as276011a3 variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.12%3A5060 variable_recovery_profile_name: default variable_sip_full_via: SIP/2.0/UDP%20109.245.237.28%3A5060%3Bbranch%3Dz9hG4bK6772eb63 variable_sip_from_display: %2B381653552255 variable_sip_full_from: %22%2B381653552255%22%20%3Csip%3A%2B381653552255%40109.245.237.28%3E%3Btag%3Das276011a3 variable_sip_full_to: %3Csip%3A381114419082%4082.214.92.12%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH variable_sip_req_user: 381114419082 variable_sip_req_uri: 381114419082%4082.214.92.12 variable_sip_req_host: 82.214.92.12 variable_sip_to_user: 381114419082 variable_sip_to_uri: 381114419082%4082.214.92.12 variable_sip_to_host: 82.214.92.12 variable_sip_contact_user: %2B381653552255 variable_sip_contact_port: 5060 variable_sip_contact_uri: %2B381653552255%40109.245.237.28%3A5060 variable_sip_contact_host: 109.245.237.28 variable_sip_user_agent: FPBX-2.11.0(11.5.1) variable_sip_via_host: 109.245.237.28 variable_sip_via_port: 5060 variable_max_forwards: 70 variable_presence_id: %2B381653552255%40109.245.237.28 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201403115625%201403115625%20IN%20IP4%20109.245.237.28%0D%0As%3DAsterisk%20PBX%2011.5.1%0D%0Ac%3DIN%20IP4%20109.245.237.28%0D%0At%3D0%200%0D%0Am%3Daudio%2017934%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_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU,G.723,H264,SILK variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 109.245.237.28 variable_remote_media_port: 17934 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: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: %2B381653552255 Hunt-Dialplan: XML Hunt-Caller-ID-Name: %2B381653552255 Hunt-Caller-ID-Number: %2B381653552255 Hunt-Orig-Caller-ID-Name: %2B381653552255 Hunt-Orig-Caller-ID-Number: %2B381653552255 Hunt-Network-Addr: 109.245.237.28 Hunt-ANI: %2B381653552255 Hunt-Destination-Number: 381114419082 Hunt-Unique-ID: e5bf5d3f-ba4c-4430-a9ee-9ba5efce7194 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/%2B381653552255%40109.245.237.28 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1572952118613465 Hunt-Channel-Created-Time: 1572952118613465 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 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_name: 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] section: dialplan 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] tag_name: 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [xml_REQUEST] key_value: 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] blind_flag: 0 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Dialed number : 381114419082 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '381114419082' limit 1 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '381114419082' AND status=0 limit 1 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '381114419082' and status=0 LIMIT 1 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Caller Id name / number : +381653552255 / +381653552255 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [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 ="381114419082" LIMIT 1 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [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="381114419082" AND domains.domain="82.214.92.12" limit 1 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Call direction : outbound 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("109.245.237.28") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "381114419082" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2019-11-05 12:08:38.673453 [INFO] switch_cpp.cpp:1443 [ASTPP] [Accountcode : 1625687638] 2019-11-05 12:08:38.673453 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1625687638" AND deleted = 0 limit 1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^381114419082.*' OR blocked_patterns = '^38111441908.*' OR blocked_patterns = '^3811144190.*' OR blocked_patterns = '^381114419.*' OR blocked_patterns = '^38111441.*' OR blocked_patterns = '^3811144.*' OR blocked_patterns = '^381114.*' OR blocked_patterns = '^38111.*' OR blocked_patterns = '^3811.*' OR blocked_patterns = '^381.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 5 limit 1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [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 ="381114419082" AND A.accountid = '5' limit 1 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 381114419082 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [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 ="381114419082" LIMIT 1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [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="381114419082" AND domains.domain="82.214.92.12" limit 1 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [Dialplan] New Call direction : outbound 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="381114419082" AND (accountid = 0 OR status = 1) LIMIT 1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [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 = '^381114419082.*' OR patterns = '^38111441908.*' OR patterns = '^3811144190.*' OR patterns = '^381114419.*' OR patterns = '^38111441.*' OR patterns = '^3811144.*' OR patterns = '^381114.*' OR patterns = '^38111.*' OR patterns = '^3811.*' OR patterns = '^381.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '381114419082' OR number = '38111441908' OR number = '3811144190' OR number = '381114419' OR number = '38111441' OR number = '3811144' OR number = '381114' OR number = '38111' OR number = '3811' OR number = '381' OR number = '38' OR number = '3' OR number ='--') OR (number = '381114419082*' OR number = '38111441908*' OR number = '3811144190*' OR number = '381114419*' OR number = '38111441*' OR number = '3811144*' OR number = '381114*' OR number = '38111*' OR number = '3811*' OR number = '381*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '+381653552255' OR number = '+38165355225' OR number = '+3816535522' OR number = '+381653552' OR number = '+38165355' OR number = '+3816535' OR number = '+381653' OR number = '+38165' OR number = '+3816' OR number = '+381' OR number = '+38' OR number = '+3' OR number = '+' OR number ='--') OR (number = '+381653552255*' OR number = '+38165355225*' OR number = '+3816535522*' OR number = '+381653552*' OR number = '+38165355*' OR number = '+3816535*' OR number = '+381653*' OR number = '+38165*' OR number = '+3816*' OR number = '+381*' OR number = '+38*' OR number = '+3*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] Call Barring Status : -1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '381114419082' OR routing_prefix = '38111441908' OR routing_prefix = '3811144190' OR routing_prefix = '381114419' OR routing_prefix = '38111441' OR routing_prefix = '3811144' OR routing_prefix = '381114' OR routing_prefix = '38111' OR routing_prefix = '3811' OR routing_prefix = '381' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Account Information =================== 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] User id : 5 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Account code : 1625687638 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Balance : 59.9122 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Ratecard id : 4 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] CID Pool : 0 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ======================================================== 2019-11-05 12:08:38.693457 [NOTICE] switch_cpp.cpp:1443 [ASTPP] HARSH1: 1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] call_direction :outbound 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^381114419082.*' OR pattern = '^38111441908.*' OR pattern = '^3811144190.*' OR pattern = '^381114419.*' OR pattern = '^38111441.*' OR pattern = '^3811144.*' OR pattern = '^381114.*' OR pattern = '^38111.*' OR pattern = '^3811.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 4 OR accountid=5) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] call_direction:::::: outbound 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Rates Information =================== 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 24 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Includedseconds : 0 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Cost : 0.01000 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] comment : Serbia-Belgrade 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Country Id : 164 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Accid : 5 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk ID: 3 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Routing type: 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ================================================================ 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Your59.9122 balance Accountid 5 !!! 2019-11-05 12:08:38.693457 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins! 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Call Max length duration : 100 minutes 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] [DIALPLAN] User Rate ID : 24 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :3 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [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 = '^381114419082.*' OR pattern = '^38111441908.*' OR pattern = '^3811144190.*' OR pattern = '^381114419.*' OR pattern = '^38111441.*' OR pattern = '^3811144.*' OR pattern = '^381114.*' OR pattern = '^38111.*' OR pattern = '^3811.*' OR pattern = '^381.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) ORDER by FIELD(TR.trunk_id,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] =============== Termination Rates Information =================== 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ID : 2 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Code : ^38111.* 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Destination : Serbia-Fiksni-Beograd 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Connectcost : 0.00000 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Free Seconds : 0 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Prefix : ^38111.* 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Strip : 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Prepend : 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Carrier id : 3 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] carrier_name : IPHouse 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] dialplan_variable : 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Failover gateway : 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Vendor id : 5 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Max channels : 10 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] Trunk Name : IPHouse 2019-11-05 12:08:38.693457 [INFO] switch_cpp.cpp:1443 [ASTPP] ========================END OF TERMINATION RATES======================= 2019-11-05 12:08:38.693457 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 5 AND status=0 LIMIT 1 2019-11-05 12:08:38.713455 [INFO] switch_cpp.cpp:1443 [ASTPP] maxlength::::::::: 100 2019-11-05 12:08:38.713455 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0 2019-11-05 12:08:38.713455 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 5) AND status=0 limit 1 2019-11-05 12:08:38.713455 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 381114419082 2019-11-05 12:08:38.713455 [NOTICE] switch_cpp.cpp:1443 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 4419082 2019-11-05 12:08:38.713455 [DEBUG] switch_cpp.cpp:1443 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/+381653552255@109.245.237.28 parsing [default->381114419082] continue=false Dialplan: sofia/default/+381653552255@109.245.237.28 Regex (PASS) [381114419082] destination_number(381114419082) =~ /381114419082/ break=on-false Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(effective_destination_number=381114419082) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(callstart=2019-11-05 11:08:38) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(hangup_after_bridge=true) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(account_id=5) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(parent_id=0) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(entity_id=3) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(call_processed=internal) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(call_direction=outbound) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(accountname=IPHouse-IP) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(origination_rates=ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(original_caller_id_name=+381653552255) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(original_caller_id_number=+381653552255) Dialplan: sofia/default/+381653552255@109.245.237.28 Action limit(hash CPS_1625687638 CPS_user_1625687638 2/1 !SWITCH_CONGESTION) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(effective_caller_id_name=+381653552255) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(effective_caller_id_number=+381653552255) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(calltype=STANDARD) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(termination_rates=ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(trunk_id=3) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(provider_id=5) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(rate_flag=1) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(force_trunk_flag=24) Dialplan: sofia/default/+381653552255@109.245.237.28 Action export(presence_data=trunk_id=3) Dialplan: sofia/default/+381653552255@109.245.237.28 Action set(intcall=0) Dialplan: sofia/default/+381653552255@109.245.237.28 Action export(presence_data=x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD) Dialplan: sofia/default/+381653552255@109.245.237.28 Action limit(hash CPS_3 CPS_trunk_3 4/1 !SWITCH_CONGESTION) Dialplan: sofia/default/+381653552255@109.245.237.28 Action limit_execute(db IPHouse gw_IPHouse 10 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082) 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:287 (sofia/default/+381653552255@109.245.237.28) State Change CS_ROUTING -> CS_EXECUTE 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:644 (sofia/default/+381653552255@109.245.237.28) State ROUTING going to sleep 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+381653552255@109.245.237.28) Running State Change CS_EXECUTE (Cur 12 Tot 96273) 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:651 (sofia/default/+381653552255@109.245.237.28) State EXECUTE 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:209 sofia/default/+381653552255@109.245.237.28 SOFIA EXECUTE 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:329 sofia/default/+381653552255@109.245.237.28 Standard EXECUTE EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(effective_destination_number=381114419082) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [effective_destination_number]=[381114419082] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(bridge_pre_execute_bleg_app=sched_hangup) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(callstart=2019-11-05 11:08:38) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [callstart]=[2019-11-05 11:08:38] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(hangup_after_bridge=true) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(continue_on_fail=TRUE) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(account_id=5) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [account_id]=[5] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(parent_id=0) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [parent_id]=[0] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(entity_id=3) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [entity_id]=[3] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(call_processed=internal) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(call_direction=outbound) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(accountname=IPHouse-IP) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [accountname]=[IPHouse-IP] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(origination_rates=ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [origination_rates]=[ID:24|CODE:^38111.*|DESTINATION:Serbia-Belgrade|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01000|INC:1|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:164|ACCID:5] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(original_caller_id_name=+381653552255) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [original_caller_id_name]=[+381653552255] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(original_caller_id_number=+381653552255) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [original_caller_id_number]=[+381653552255] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 limit(hash CPS_1625687638 CPS_user_1625687638 2/1 !SWITCH_CONGESTION) 2019-11-05 12:08:38.713455 [DEBUG] switch_limit.c:124 incr called: CPS_1625687638_CPS_user_1625687638 max:2, interval:1 2019-11-05 12:08:38.713455 [DEBUG] mod_hash.c:198 Usage for CPS_1625687638_CPS_user_1625687638 is now 1/2 for the last 1 seconds EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(effective_caller_id_name=+381653552255) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [effective_caller_id_name]=[+381653552255] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(effective_caller_id_number=+381653552255) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [effective_caller_id_number]=[+381653552255] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(calltype=STANDARD) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(termination_rates=ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [termination_rates]=[ID:2|CODE:^38111.*|DESTINATION:Serbia-Fiksni-Beograd|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00900|INC:1|INITIALBLOCK:60|TRUNK:3|PROVIDER:5] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(trunk_id=3) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [trunk_id]=[3] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(provider_id=5) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [provider_id]=[5] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(rate_flag=1) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [rate_flag]=[1] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(force_trunk_flag=24) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [force_trunk_flag]=[24] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 export(presence_data=trunk_id=3) 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=3] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 set(intcall=0) 2019-11-05 12:08:38.713455 [DEBUG] mod_dptools.c:1672 SET sofia/default/+381653552255@109.245.237.28 [intcall]=[0] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 export(presence_data=x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD) 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD] EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 limit(hash CPS_3 CPS_trunk_3 4/1 !SWITCH_CONGESTION) 2019-11-05 12:08:38.713455 [DEBUG] switch_limit.c:124 incr called: CPS_3_CPS_trunk_3 max:4, interval:1 2019-11-05 12:08:38.713455 [DEBUG] mod_hash.c:198 Usage for CPS_3_CPS_trunk_3 is now 1/4 for the last 1 seconds EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 limit_execute(db IPHouse gw_IPHouse 10 bridge [leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082) 2019-11-05 12:08:38.713455 [DEBUG] switch_limit.c:124 incr called: IPHouse_gw_IPHouse max:10, interval:0 2019-11-05 12:08:38.713455 [DEBUG] mod_db.c:194 Usage for IPHouse_gw_IPHouse is now 3/10 EXECUTE [depth=0] sofia/default/+381653552255@109.245.237.28 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IPHouse/4419082) 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1264 sofia/default/+381653552255@109.245.237.28 EXPORTING[export_vars] [presence_data]=[x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD] to event 2019-11-05 12:08:38.713455 [DEBUG] switch_channel.c:1264 sofia/default/+381653552255@109.245.237.28 EXPORTING[export_vars] [presence_data]=[x|||Telenor(1625687638)|||^38111.* // Serbia-Belgrade // 0.01000 // trunk_id=3|||IPHouse // ^38111.* // Serbia-Fiksni-Beograd // 0.00900 // trunk_id=3|||STD] to event 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:2212 Parsing global variables 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:2757 Parsing session specific variables 2019-11-05 12:08:38.713455 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4419082 [83861e5b-32cc-4117-8018-255c29916d1c] 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:5096 (sofia/default/4419082) State Change CS_NEW -> CS_INIT 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:3064 sofia/default/4419082 Setting leg timeout to 30 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_INIT (Cur 13 Tot 96274) 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4419082) State INIT 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:93 sofia/default/4419082 SOFIA INIT 2019-11-05 12:08:38.713455 [DEBUG] sofia_glue.c:1618 sofia/default/4419082 sending invite version: 1.10.1 -release-12-f9990221e6 64bit Local SDP: v=0 o=FreeSWITCH 1572923944 1572923945 IN IP4 82.214.92.12 s=FreeSWITCH c=IN IP4 82.214.92.12 t=0 0 m=audio 28174 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 a=sendrecv 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:40 sofia/default/4419082 Standard INIT 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4419082) State Change CS_INIT -> CS_ROUTING 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4419082) State INIT going to sleep 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_ROUTING (Cur 13 Tot 96274) 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4419082) State ROUTING 2019-11-05 12:08:38.713455 [DEBUG] mod_sofia.c:154 sofia/default/4419082 SOFIA ROUTING 2019-11-05 12:08:38.713455 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4419082) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4419082) State ROUTING going to sleep 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_CONSUME_MEDIA (Cur 13 Tot 96274) 2019-11-05 12:08:38.713455 [DEBUG] sofia.c:7290 Channel sofia/default/4419082 entering state [calling][0] 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4419082) State CONSUME_MEDIA 2019-11-05 12:08:38.713455 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4419082) State CONSUME_MEDIA going to sleep 2019-11-05 12:08:38.773455 [DEBUG] sofia.c:7290 Channel sofia/default/4419082 entering state [proceeding][180] 2019-11-05 12:08:38.773455 [NOTICE] sofia.c:7401 Ring-Ready sofia/default/4419082! 2019-11-05 12:08:38.773455 [DEBUG] switch_channel.c:3437 (sofia/default/4419082) Callstate Change DOWN -> RINGING 2019-11-05 12:08:38.793457 [NOTICE] mod_sofia.c:2505 Ring-Ready sofia/default/+381653552255@109.245.237.28! 2019-11-05 12:08:38.793457 [DEBUG] sofia.c:7290 Channel sofia/default/+381653552255@109.245.237.28 entering state [early][180] 2019-11-05 12:08:38.793457 [NOTICE] switch_ivr_originate.c:553 Ring Ready sofia/default/+381653552255@109.245.237.28! 2019-11-05 12:08:39.173455 [DEBUG] sofia.c:7290 Channel sofia/default/4419082 entering state [proceeding][183] 2019-11-05 12:08:39.173455 [DEBUG] sofia.c:7300 Remote SDP: v=0 o=root 699491114 699491114 IN IP4 109.245.237.28 s=Asterisk PBX 11.5.1 c=IN IP4 109.245.237.28 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 2019-11-05 12:08:39.173455 [NOTICE] sofia.c:7303 Pre-Answer sofia/default/4419082! 2019-11-05 12:08:39.173455 [DEBUG] switch_channel.c:3565 (sofia/default/4419082) Callstate Change RINGING -> EARLY 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5590 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5645 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5506 Set telephone-event payload to 101@8000 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:3834 Set Codec sofia/default/4419082 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2019-11-05 12:08:39.173455 [DEBUG] switch_core_codec.c:111 sofia/default/4419082 Original read codec set to PCMA:8 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5849 Set telephone-event payload to 101@8000 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:5907 sofia/default/4419082 Set 2833 dtmf send payload to 101 recv payload to 101 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/4419082] 82.214.92.12 port 28174 -> 109.245.237.28 port 17990 codec: 8 ms: 20 2019-11-05 12:08:39.173455 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:8972 sofia/default/4419082 Set 2833 dtmf send payload to 101 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:8979 sofia/default/4419082 Set 2833 dtmf receive payload to 101 2019-11-05 12:08:39.173455 [DEBUG] switch_core_media.c:9002 sofia/default/4419082 Set rtp dtmf delay to 40 2019-11-05 12:08:39.193455 [INFO] switch_ivr_originate.c:3755 Sending early media 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:8658 AUDIO RTP [sofia/default/+381653552255@109.245.237.28] 82.214.92.12 port 16384 -> 109.245.237.28 port 17934 codec: 8 ms: 20 2019-11-05 12:08:39.193455 [DEBUG] switch_rtp.c:4408 Starting timer [soft] 160 bytes per 20ms 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:8972 sofia/default/+381653552255@109.245.237.28 Set 2833 dtmf send payload to 101 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:8979 sofia/default/+381653552255@109.245.237.28 Set 2833 dtmf receive payload to 101 2019-11-05 12:08:39.193455 [DEBUG] switch_core_media.c:9002 sofia/default/+381653552255@109.245.237.28 Set rtp dtmf delay to 40 2019-11-05 12:08:39.193455 [DEBUG] mod_sofia.c:2600 Ring SDP: v=0 o=FreeSWITCH 1572935735 1572935736 IN IP4 82.214.92.12 s=FreeSWITCH c=IN IP4 82.214.92.12 t=0 0 m=audio 16384 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 2019-11-05 12:08:39.193455 [NOTICE] mod_sofia.c:2603 Pre-Answer sofia/default/+381653552255@109.245.237.28! 2019-11-05 12:08:39.193455 [DEBUG] switch_channel.c:3565 (sofia/default/+381653552255@109.245.237.28) Callstate Change RINGING -> EARLY 2019-11-05 12:08:39.193455 [DEBUG] switch_ivr_originate.c:3806 Originate Resulted in Success: [sofia/default/4419082] 2019-11-05 12:08:39.193455 [DEBUG] sofia.c:7290 Channel sofia/default/+381653552255@109.245.237.28 entering state [early][183] 2019-11-05 12:08:39.193455 [DEBUG] switch_ivr_bridge.c:1794 (sofia/default/4419082) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2019-11-05 12:08:39.193455 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4419082) Running State Change CS_EXCHANGE_MEDIA (Cur 13 Tot 96274) 2019-11-05 12:08:39.193455 [DEBUG] switch_core_state_machine.c:654 (sofia/default/4419082) State EXCHANGE_MEDIA 2019-11-05 12:08:39.193455 [DEBUG] mod_sofia.c:663 SOFIA EXCHANGE_MEDIA 2019-11-05 12:08:39.233457 [DEBUG] switch_rtp.c:7720 Correct audio ip/port confirmed. 2019-11-05 12:08:39.373454 [DEBUG] switch_ivr_bridge.c:658 sofia/default/4419082 Bridge execute app sched_hangup(+6000 normal_clearing) 2019-11-05 12:08:39.393453 [DEBUG] switch_ivr.c:632 sofia/default/4419082 Command Execute [depth=0] sched_hangup(+6000 normal_clearing) EXECUTE [depth=0] sofia/default/4419082 sched_hangup(+6000 normal_clearing) 2019-11-05 12:08:39.393453 [DEBUG] switch_scheduler.c:252 Added task 2252 switch_ivr_schedule_hangup (83861e5b-32cc-4117-8018-255c29916d1c) to run at 1572958119 2019-11-05 12:08:41.773460 [WARNING] switch_core_state_machine.c:688 a4f3338b-a928-4168-b1ce-f11511809e79 sofia/default/11777@82.214.92.12 Abandoned 2019-11-05 12:08:41.773460 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/11777@82.214.92.12 [CS_NEW] [WRONG_CALL_STATE] 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/11777@82.214.92.12) Running State Change CS_HANGUP (Cur 13 Tot 96274) 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:848 (sofia/default/11777@82.214.92.12) Callstate Change DOWN -> HANGUP 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:850 (sofia/default/11777@82.214.92.12) State HANGUP 2019-11-05 12:08:41.773460 [DEBUG] mod_sofia.c:460 Channel sofia/default/11777@82.214.92.12 hanging up, cause: WRONG_CALL_STATE 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:60 sofia/default/11777@82.214.92.12 Standard HANGUP, cause: WRONG_CALL_STATE 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:850 (sofia/default/11777@82.214.92.12) State HANGUP going to sleep 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:620 (sofia/default/11777@82.214.92.12) State Change CS_HANGUP -> CS_REPORTING 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:585 (sofia/default/11777@82.214.92.12) Running State Change CS_REPORTING (Cur 13 Tot 96274) 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:936 (sofia/default/11777@82.214.92.12) State REPORTING 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:174 sofia/default/11777@82.214.92.12 Standard REPORTING, cause: WRONG_CALL_STATE 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:936 (sofia/default/11777@82.214.92.12) State REPORTING going to sleep 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:611 (sofia/default/11777@82.214.92.12) State Change CS_REPORTING -> CS_DESTROY 2019-11-05 12:08:41.773460 [DEBUG] switch_core_session.c:1726 Session 96266 (sofia/default/11777@82.214.92.12) Locked, Waiting on external entities 2019-11-05 12:08:41.773460 [NOTICE] switch_core_session.c:1744 Session 96266 (sofia/default/11777@82.214.92.12) Ended 2019-11-05 12:08:41.773460 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/11777@82.214.92.12 [CS_DESTROY] 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:739 (sofia/default/11777@82.214.92.12) Running State Change CS_DESTROY (Cur 12 Tot 96274) 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:749 (sofia/default/11777@82.214.92.12) State DESTROY 2019-11-05 12:08:41.773460 [DEBUG] mod_sofia.c:365 sofia/default/11777@82.214.92.12 SOFIA DESTROY 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:181 sofia/default/11777@82.214.92.12 Standard DESTROY 2019-11-05 12:08:41.773460 [DEBUG] switch_core_state_machine.c:749 (sofia/default/11777@82.214.92.12) State DESTROY going to sleep 2019-11-05 12:08:42.493459 [WARNING] switch_core_state_machine.c:688 1a848b5b-6880-44c1-957b-14c09f974583 sofia/default/91261@82.214.92.12 Abandoned 2019-11-05 12:08:42.493459 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/91261@82.214.92.12 [CS_NEW] [WRONG_CALL_STATE] 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/91261@82.214.92.12) Running State Change CS_HANGUP (Cur 12 Tot 96274) 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:848 (sofia/default/91261@82.214.92.12) Callstate Change DOWN -> HANGUP 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/91261@82.214.92.12) State HANGUP 2019-11-05 12:08:42.493459 [DEBUG] mod_sofia.c:460 Channel sofia/default/91261@82.214.92.12 hanging up, cause: WRONG_CALL_STATE 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:60 sofia/default/91261@82.214.92.12 Standard HANGUP, cause: WRONG_CALL_STATE 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/91261@82.214.92.12) State HANGUP going to sleep 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:620 (sofia/default/91261@82.214.92.12) State Change CS_HANGUP -> CS_REPORTING 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/91261@82.214.92.12) Running State Change CS_REPORTING (Cur 12 Tot 96274) 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/91261@82.214.92.12) State REPORTING 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:174 sofia/default/91261@82.214.92.12 Standard REPORTING, cause: WRONG_CALL_STATE 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/91261@82.214.92.12) State REPORTING going to sleep 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:611 (sofia/default/91261@82.214.92.12) State Change CS_REPORTING -> CS_DESTROY 2019-11-05 12:08:42.493459 [DEBUG] switch_core_session.c:1726 Session 96267 (sofia/default/91261@82.214.92.12) Locked, Waiting on external entities 2019-11-05 12:08:42.493459 [NOTICE] switch_core_session.c:1744 Session 96267 (sofia/default/91261@82.214.92.12) Ended 2019-11-05 12:08:42.493459 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/91261@82.214.92.12 [CS_DESTROY] 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:739 (sofia/default/91261@82.214.92.12) Running State Change CS_DESTROY (Cur 11 Tot 96274) 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/91261@82.214.92.12) State DESTROY 2019-11-05 12:08:42.493459 [DEBUG] mod_sofia.c:365 sofia/default/91261@82.214.92.12 SOFIA DESTROY 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:181 sofia/default/91261@82.214.92.12 Standard DESTROY 2019-11-05 12:08:42.493459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/91261@82.214.92.12) State DESTROY going to sleep 2019-11-05 12:08:44.413456 [NOTICE] switch_channel.c:1118 New Channel sofia/default/adella@82.214.92.12 [bb6a44b9-9b1e-4e33-a61d-52d915b74cd8] 2019-11-05 12:08:44.413456 [DEBUG] switch_core_state_machine.c:585 (sofia/default/adella@82.214.92.12) Running State Change CS_NEW (Cur 12 Tot 96275) 2019-11-05 12:08:44.413456 [DEBUG] sofia.c:10243 sofia/default/adella@82.214.92.12 receiving invite from 45.125.65.33:53022 version: 1.10.1 -release-12-f9990221e6 64bit 2019-11-05 12:08:44.413456 [DEBUG] sofia.c:10337 verifying acl "default" for ip/port 45.125.65.33:0. 2019-11-05 12:08:44.413456 [WARNING] sofia_reg.c:1793 SIP auth challenge (INVITE) on sofia profile 'default' for [0048257495002@82.214.92.12] from ip 45.125.65.33 2019-11-05 12:08:44.413456 [DEBUG] switch_core_state_machine.c:604 (sofia/default/adella@82.214.92.12) State NEW 2019-11-05 12:08:44.413456 [DEBUG] sofia.c:2426 detaching session bb6a44b9-9b1e-4e33-a61d-52d915b74cd8 2019-11-05 12:08:45.853459 [WARNING] switch_core_state_machine.c:688 5fd40666-3422-4d91-8dbd-b28caa7e4e57 sofia/default/ehs@82.214.92.12 Abandoned 2019-11-05 12:08:45.853459 [NOTICE] switch_core_state_machine.c:691 Hangup sofia/default/ehs@82.214.92.12 [CS_NEW] [WRONG_CALL_STATE] 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/ehs@82.214.92.12) Running State Change CS_HANGUP (Cur 12 Tot 96275) 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:848 (sofia/default/ehs@82.214.92.12) Callstate Change DOWN -> HANGUP 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/ehs@82.214.92.12) State HANGUP 2019-11-05 12:08:45.853459 [DEBUG] mod_sofia.c:460 Channel sofia/default/ehs@82.214.92.12 hanging up, cause: WRONG_CALL_STATE 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:60 sofia/default/ehs@82.214.92.12 Standard HANGUP, cause: WRONG_CALL_STATE 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:850 (sofia/default/ehs@82.214.92.12) State HANGUP going to sleep 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:620 (sofia/default/ehs@82.214.92.12) State Change CS_HANGUP -> CS_REPORTING 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:585 (sofia/default/ehs@82.214.92.12) Running State Change CS_REPORTING (Cur 12 Tot 96275) 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/ehs@82.214.92.12) State REPORTING 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:174 sofia/default/ehs@82.214.92.12 Standard REPORTING, cause: WRONG_CALL_STATE 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:936 (sofia/default/ehs@82.214.92.12) State REPORTING going to sleep 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:611 (sofia/default/ehs@82.214.92.12) State Change CS_REPORTING -> CS_DESTROY 2019-11-05 12:08:45.853459 [DEBUG] switch_core_session.c:1726 Session 96268 (sofia/default/ehs@82.214.92.12) Locked, Waiting on external entities 2019-11-05 12:08:45.853459 [NOTICE] switch_core_session.c:1744 Session 96268 (sofia/default/ehs@82.214.92.12) Ended 2019-11-05 12:08:45.853459 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/ehs@82.214.92.12 [CS_DESTROY] 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:739 (sofia/default/ehs@82.214.92.12) Running State Change CS_DESTROY (Cur 11 Tot 96275) 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/ehs@82.214.92.12) State DESTROY 2019-11-05 12:08:45.853459 [DEBUG] mod_sofia.c:365 sofia/default/ehs@82.214.92.12 SOFIA DESTROY 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:181 sofia/default/ehs@82.214.92.12 Standard DESTROY 2019-11-05 12:08:45.853459 [DEBUG] switch_core_state_machine.c:749 (sofia/default/ehs@82.214.92.12) State DESTROY going to sleep