From Gentle Ostrich, 3 Years ago, written in Plain Text.
- view diff
Embed
  1. 2020-07-21 13:36:22.785951 [NOTICE] switch_channel.c:1104 New Channel sofia/default/2578561401@3.23.204.137 [2abdab26-cb57-11ea-87d7-db63502b927a]
  2. 2020-07-21 13:36:22.785951 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2578561401@3.23.204.137) Running State Change CS_NEW (Cur 1 Tot 126)
  3. 2020-07-21 13:36:22.785951 [DEBUG] sofia.c:9873 sofia/default/2578561401@3.23.204.137 receiving invite from 49.34.109.127:4585 version: 1.6.20  64bit
  4. 2020-07-21 13:36:22.785951 [DEBUG] sofia.c:10044 IP 49.34.109.127 Rejected by acl "default". Falling back to Digest auth.
  5. 2020-07-21 13:36:22.785951 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [91949499797@3.23.204.137] from ip 49.34.109.127
  6. 2020-07-21 13:36:22.785951 [DEBUG] switch_core_state_machine.c:603 (sofia/default/2578561401@3.23.204.137) State NEW
  7. 2020-07-21 13:36:22.785951 [DEBUG] sofia.c:2334 detaching session 2abdab26-cb57-11ea-87d7-db63502b927a
  8. 2020-07-21 13:36:23.505988 [DEBUG] sofia.c:2442 Re-attaching to session 2abdab26-cb57-11ea-87d7-db63502b927a
  9. 2020-07-21 13:36:23.525968 [DEBUG] sofia.c:9873 sofia/default/2578561401@3.23.204.137 receiving invite from 49.34.109.127:4585 version: 1.6.20  64bit
  10. 2020-07-21 13:36:23.525968 [DEBUG] sofia.c:10044 IP 49.34.109.127 Rejected by acl "default". Falling back to Digest auth.
  11. 2020-07-21 13:36:23.525968 [DEBUG] sofia.c:11168 Setting NAT mode based on via received
  12. 2020-07-21 13:36:23.525968 [DEBUG] sofia.c:7084 Channel sofia/default/2578561401@3.23.204.137 entering state [received][100]
  13. 2020-07-21 13:36:23.525968 [DEBUG] sofia.c:7094 Remote SDP:
  14. v=0
  15. o=2578561401 193 514 IN IP4 192.168.43.40
  16. s=Talk
  17. c=IN IP4 192.168.43.40
  18. t=0 0
  19. m=audio 7078 RTP/AVP 124 111 110 0 8 101
  20. a=rtpmap:124 opus/48000
  21. a=fmtp:124 useinbandfec=1; usedtx=1
  22. a=rtpmap:111 speex/16000
  23. a=fmtp:111 vbr=on
  24. a=rtpmap:110 speex/8000
  25. a=fmtp:110 vbr=on
  26. a=rtpmap:101 telephone-event/8000
  27. a=fmtp:101 0-11
  28. m=video 9078 RTP/AVP 103 99
  29. a=rtpmap:103 VP8/90000
  30. a=rtpmap:99 MP4V-ES/90000
  31. a=fmtp:99 profile-level-id=3
  32.  
  33. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:124:48000:20:0:1]/[PCMA:8:8000:20:64000:1]
  34. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:124:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
  35. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  40. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  41. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  42. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  43. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  44. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  45. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  46. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/2578561401@3.23.204.137 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  47. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_codec.c:111 sofia/default/2578561401@3.23.204.137 Original read codec set to PCMU:0
  48. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  49. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4767 sofia/default/2578561401@3.23.204.137 Set 2833 dtmf send payload to 101 recv payload to 101
  50. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:4993 No matches with FTMP, fallback to ignoring FMTP
  51. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_media.c:5001 No matches with inherit_codec, fallback to ignoring PT
  52. 2020-07-21 13:36:23.525968 [DEBUG] sofia.c:7507 (sofia/default/2578561401@3.23.204.137) State Change CS_NEW -> CS_INIT
  53. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2578561401@3.23.204.137) Running State Change CS_INIT (Cur 1 Tot 126)
  54. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:627 (sofia/default/2578561401@3.23.204.137) State INIT
  55. 2020-07-21 13:36:23.525968 [DEBUG] mod_sofia.c:90 sofia/default/2578561401@3.23.204.137 SOFIA INIT
  56. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:40 sofia/default/2578561401@3.23.204.137 Standard INIT
  57. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2578561401@3.23.204.137) State Change CS_INIT -> CS_ROUTING
  58. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:627 (sofia/default/2578561401@3.23.204.137) State INIT going to sleep
  59. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2578561401@3.23.204.137) Running State Change CS_ROUTING (Cur 1 Tot 126)
  60. 2020-07-21 13:36:23.525968 [DEBUG] switch_channel.c:2249 (sofia/default/2578561401@3.23.204.137) Callstate Change DOWN -> RINGING
  61. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:643 (sofia/default/2578561401@3.23.204.137) State ROUTING
  62. 2020-07-21 13:36:23.525968 [DEBUG] mod_sofia.c:143 sofia/default/2578561401@3.23.204.137 SOFIA ROUTING
  63. 2020-07-21 13:36:23.525968 [DEBUG] switch_core_state_machine.c:236 sofia/default/2578561401@3.23.204.137 Standard ROUTING
  64. 2020-07-21 13:36:23.525968 [INFO] mod_dialplan_xml.c:637 Processing 2578561401 <2578561401>->91949499797 in context default
  65. 2020-07-21 13:36:23.545951 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fc29023c990 Connected.
  66. 2020-07-21 13:36:23.545951 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  67. 2020-07-21 13:36:23.545951 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  68. 2020-07-21 13:36:23.545951 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 91949499797
  69. 2020-07-21 13:36:23.545951 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '91949499797' AND status=0 limit 1
  70. 2020-07-21 13:36:23.545951 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 2578561401 / 2578561401
  71. 2020-07-21 13:36:23.545951 [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 ="91949499797" LIMIT 1
  72. 2020-07-21 13:36:23.545951 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="91949499797" limit 1
  73. 2020-07-21 13:36:23.545951 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  74. 2020-07-21 13:36:23.545951 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 4104652310]
  75. 2020-07-21 13:36:23.545951 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4104652310" AND deleted = 0 limit 1
  76. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^91949499797.*' OR blocked_patterns = '^9194949979.*' OR blocked_patterns = '^919494997.*' OR blocked_patterns = '^91949499.*' OR blocked_patterns = '^9194949.*' OR blocked_patterns = '^919494.*' OR blocked_patterns = '^91949.*' OR blocked_patterns = '^9194.*' OR blocked_patterns = '^919.*' OR blocked_patterns = '^91.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
  77. 2020-07-21 13:36:23.565950 [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 ="91949499797" AND A.accountid = '8' limit 1
  78. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 91949499797
  79. 2020-07-21 13:36:23.565950 [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 ="91949499797" LIMIT 1
  80. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="91949499797" limit 1
  81. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  82. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="91949499797" AND (accountid = 0 OR status = 1) LIMIT 1
  83. 2020-07-21 13:36:23.565950 [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 = '^91949499797.*' OR patterns = '^9194949979.*' OR patterns = '^919494997.*' OR patterns = '^91949499.*' OR patterns = '^9194949.*' OR patterns = '^919494.*' OR patterns = '^91949.*' OR patterns = '^9194.*' OR patterns = '^919.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
  84. 2020-07-21 13:36:23.565950 [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 = '91949499797' OR number = '9194949979' OR number = '919494997' OR number = '91949499' OR number = '9194949' OR number = '919494' OR number = '91949' OR number = '9194' OR number = '919' OR number = '91' OR number = '9' OR number ='--') OR (number = '91949499797*' OR number = '9194949979*' OR number = '919494997*' OR number = '91949499*' OR number = '9194949*' OR number = '919494*' OR number = '91949*' OR number = '9194*' OR number = '919*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '2578561401' OR number = '257856140' OR number = '25785614' OR number = '2578561' OR number = '257856' OR number = '25785' OR number = '2578' OR number = '257' OR number = '25' OR number = '2' OR number ='--') OR (number = '2578561401*' OR number = '257856140*' OR number = '25785614*' OR number = '2578561*' OR number = '257856*' OR number = '25785*' OR number = '2578*' OR number = '257*' OR number = '25*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  85. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  86. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '91949499797' OR routing_prefix = '9194949979' OR routing_prefix = '919494997' OR routing_prefix = '91949499' OR routing_prefix = '9194949' OR routing_prefix = '919494' OR routing_prefix = '91949' OR routing_prefix = '9194' OR routing_prefix = '919' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  87. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  88. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 8
  89. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 4104652310
  90. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10
  91. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  92. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 3
  93. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  94. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  95. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  96. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  97. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^91949499797.*' OR pattern = '^9194949979.*' OR pattern = '^919494997.*' OR pattern = '^91949499.*' OR pattern = '^9194949.*' OR pattern = '^919494.*' OR pattern = '^91949.*' OR pattern = '^9194.*' OR pattern = '^919.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 3 OR accountid=8)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  98. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  99. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  100. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 4
  101. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  102. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  103. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.20000
  104. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] comment :
  105. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  106. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 8
  107. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID:
  108. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  109. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  110. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 8 !!!
  111. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 50 minutes
  112. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :
  113. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=3 ORDER by id asc
  114. 2020-07-21 13:36:23.565950 [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 = '^91949499797.*' OR pattern = '^9194949979.*' OR pattern = '^919494997.*' OR pattern = '^91949499.*' OR pattern = '^9194949.*' OR pattern = '^919494.*' OR pattern = '^91949.*' OR pattern = '^9194.*' OR pattern = '^919.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  115. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  116. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5
  117. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^91.*
  118. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination :
  119. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  120. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  121. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^91.*
  122. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  123. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  124. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 4
  125. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : HemdipGW
  126. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  127. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  128. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 9
  129. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  130. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Hemdip Trunk
  131. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  132. 2020-07-21 13:36:23.565950 [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 = 8 AND status=0 LIMIT 1
  133. 2020-07-21 13:36:23.565950 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 50
  134. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  135. 2020-07-21 13:36:23.565950 [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 = 9) AND status=0 limit 1
  136. 2020-07-21 13:36:23.565950 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  137. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  138. <document type="freeswitch/xml">
  139. <section name="dialplan" description="ASTPP Dialplan">
  140. <context name="default">
  141. <extension name="91949499797">
  142. <condition field="destination_number" expression="91949499797">
  143. <action application="set" data="effective_destination_number=91949499797"/>
  144. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  145. <action application="set" data="bridge_pre_execute_bleg_data=+3000 normal_clearing"/>
  146. <action application="set" data="callstart=2020-07-21 13:36:23"/>
  147. <action application="set" data="hangup_after_bridge=true"/>
  148. <action application="set" data="continue_on_fail=TRUE"/>
  149. <action application="set" data="account_id=8"/>
  150. <action application="set" data="parent_id=0"/>
  151. <action application="set" data="entity_id=0"/>
  152. <action application="set" data="call_processed=internal"/>
  153. <action application="set" data="call_direction=outbound"/>
  154. <action application="set" data="accountname=default"/>
  155. <action application="export" data="t38_passthru=true"/>
  156. <action application="set" data="fax_enable_t38=true"/>
  157. <action application="set" data="fax_enable_t38_request=true"/>
  158. <action application="sleep" data="1000"/>
  159. <action application="playback" data="/usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
  160. <action application="say" data="en CURRENCY PRONOUNCED 10"/>
  161. <action application="set" data="origination_rates=ID:4|CODE:^91.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:8"/>
  162. <action application="set" data="original_caller_id_name=2578561401"/>
  163. <action application="set" data="original_caller_id_number=2578561401"/>
  164.  
  165. <action application="set" data="effective_caller_id_name=2578561401"/>
  166. <action application="set" data="effective_caller_id_number=2578561401"/>
  167. <action application="set" data="calltype=STANDARD"/>
  168. <action application="set" data="termination_rates=ID:5|CODE:^91.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:9"/>
  169. <action application="set" data="trunk_id=4"/>
  170. <action application="set" data="provider_id=9"/>
  171. <action application="set" data="rate_flag=0"/>
  172. <action application="set" data="force_trunk_flag=0"/>
  173. <action application="export" data="presence_data=trunk_id=4"/>
  174. <action application="set" data="intcall=0"/>
  175. <action application="export" data="presence_data=x|||Hemdip(4104652310)|||^91.* //  // 0.20000 // trunk_id=|||Hemdip Trunk // ^91.* //  // 0.10000 // trunk_id=4|||STD|||49.34.109.127"/>
  176. <action application="bridge" data="[leg_timeout=0]sofia/gateway/HemdipGW/91949499797"/>
  177. </condition>
  178. </extension>
  179. </context>
  180. </section>
  181. </document>
  182. 2020-07-21 13:36:23.565950 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fc29023c990 released.
  183. Dialplan: sofia/default/2578561401@3.23.204.137 parsing [default->91949499797] continue=false
  184. Dialplan: sofia/default/2578561401@3.23.204.137 Regex (PASS) [91949499797] destination_number(91949499797) =~ /91949499797/ break=on-false
  185. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(effective_destination_number=91949499797)
  186. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  187. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(bridge_pre_execute_bleg_data=+3000 normal_clearing)
  188. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(callstart=2020-07-21 13:36:23)
  189. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(hangup_after_bridge=true)
  190. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(continue_on_fail=TRUE)
  191. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(account_id=8)
  192. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(parent_id=0)
  193. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(entity_id=0)
  194. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(call_processed=internal)
  195. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(call_direction=outbound)
  196. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(accountname=default)
  197. Dialplan: sofia/default/2578561401@3.23.204.137 Action export(t38_passthru=true)
  198. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(fax_enable_t38=true)
  199. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(fax_enable_t38_request=true)
  200. Dialplan: sofia/default/2578561401@3.23.204.137 Action sleep(1000)
  201. Dialplan: sofia/default/2578561401@3.23.204.137 Action playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
  202. Dialplan: sofia/default/2578561401@3.23.204.137 Action say(en CURRENCY PRONOUNCED 10)
  203. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(origination_rates=ID:4|CODE:^91.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:8)
  204. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(original_caller_id_name=2578561401)
  205. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(original_caller_id_number=2578561401)
  206. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(effective_caller_id_name=2578561401)
  207. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(effective_caller_id_number=2578561401)
  208. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(calltype=STANDARD)
  209. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(termination_rates=ID:5|CODE:^91.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:0|INITIALBLOCK:0|TRUNK:4|PROVIDER:9)
  210. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(trunk_id=4)
  211. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(provider_id=9)
  212. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(rate_flag=0)
  213. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(force_trunk_flag=0)
  214. Dialplan: sofia/default/2578561401@3.23.204.137 Action export(presence_data=trunk_id=4)
  215. Dialplan: sofia/default/2578561401@3.23.204.137 Action set(intcall=0)
  216. Dialplan: sofia/default/2578561401@3.23.204.137 Action export(presence_data=x|||Hemdip(4104652310)|||^91.* //  // 0.20000 // trunk_id=|||Hemdip Trunk // ^91.* //  // 0.10000 // trunk_id=4|||STD|||49.34.109.127)
  217. Dialplan: sofia/default/2578561401@3.23.204.137 Action bridge([leg_timeout=0]sofia/gateway/HemdipGW/91949499797)
  218. 2020-07-21 13:36:23.565950 [DEBUG] switch_core_state_machine.c:286 (sofia/default/2578561401@3.23.204.137) State Change CS_ROUTING -> CS_EXECUTE
  219. 2020-07-21 13:36:23.565950 [DEBUG] switch_core_state_machine.c:643 (sofia/default/2578561401@3.23.204.137) State ROUTING going to sleep
  220. 2020-07-21 13:36:23.565950 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2578561401@3.23.204.137) Running State Change CS_EXECUTE (Cur 1 Tot 126)
  221. 2020-07-21 13:36:23.565950 [DEBUG] switch_core_state_machine.c:650 (sofia/default/2578561401@3.23.204.137) State EXECUTE
  222. 2020-07-21 13:36:23.565950 [DEBUG] mod_sofia.c:198 sofia/default/2578561401@3.23.204.137 SOFIA EXECUTE
  223. 2020-07-21 13:36:23.565950 [DEBUG] switch_core_state_machine.c:328 sofia/default/2578561401@3.23.204.137 Standard EXECUTE
  224. EXECUTE sofia/default/2578561401@3.23.204.137 set(effective_destination_number=91949499797)
  225. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [effective_destination_number]=[91949499797]
  226. EXECUTE sofia/default/2578561401@3.23.204.137 set(bridge_pre_execute_bleg_app=sched_hangup)
  227. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [bridge_pre_execute_bleg_app]=[sched_hangup]
  228. EXECUTE sofia/default/2578561401@3.23.204.137 set(bridge_pre_execute_bleg_data=+3000 normal_clearing)
  229. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [bridge_pre_execute_bleg_data]=[+3000 normal_clearing]
  230. EXECUTE sofia/default/2578561401@3.23.204.137 set(callstart=2020-07-21 13:36:23)
  231. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [callstart]=[2020-07-21 13:36:23]
  232. EXECUTE sofia/default/2578561401@3.23.204.137 set(hangup_after_bridge=true)
  233. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [hangup_after_bridge]=[true]
  234. EXECUTE sofia/default/2578561401@3.23.204.137 set(continue_on_fail=TRUE)
  235. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [continue_on_fail]=[TRUE]
  236. EXECUTE sofia/default/2578561401@3.23.204.137 set(account_id=8)
  237. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [account_id]=[8]
  238. EXECUTE sofia/default/2578561401@3.23.204.137 set(parent_id=0)
  239. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [parent_id]=[0]
  240. EXECUTE sofia/default/2578561401@3.23.204.137 set(entity_id=0)
  241. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [entity_id]=[0]
  242. EXECUTE sofia/default/2578561401@3.23.204.137 set(call_processed=internal)
  243. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [call_processed]=[internal]
  244. EXECUTE sofia/default/2578561401@3.23.204.137 set(call_direction=outbound)
  245. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [call_direction]=[outbound]
  246. EXECUTE sofia/default/2578561401@3.23.204.137 set(accountname=default)
  247. 2020-07-21 13:36:23.565950 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [accountname]=[default]
  248. EXECUTE sofia/default/2578561401@3.23.204.137 export(t38_passthru=true)
  249. 2020-07-21 13:36:23.585952 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  250. EXECUTE sofia/default/2578561401@3.23.204.137 set(fax_enable_t38=true)
  251. 2020-07-21 13:36:23.585952 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [fax_enable_t38]=[true]
  252. EXECUTE sofia/default/2578561401@3.23.204.137 set(fax_enable_t38_request=true)
  253. 2020-07-21 13:36:23.585952 [DEBUG] mod_dptools.c:1548 SET sofia/default/2578561401@3.23.204.137 [fax_enable_t38_request]=[true]
  254. EXECUTE sofia/default/2578561401@3.23.204.137 sleep(1000)
  255. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_session.c:2647 Application playback Requires media! pre_answering channel sofia/default/2578561401@3.23.204.137
  256. 2020-07-21 13:36:24.585979 [INFO] switch_core_session.c:2649 Sending early media
  257. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/2578561401@3.23.204.137] 3.23.204.137 port 23840 -> 192.168.43.40 port 7078 codec: 0 ms: 20
  258. 2020-07-21 13:36:24.585979 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  259. 2020-07-21 13:36:24.585979 [ERR] switch_core_media.c:7567 AUDIO RTP REPORTS ERROR: [Bind Error! 3.23.204.137:23840]
  260. 2020-07-21 13:36:24.585979 [NOTICE] switch_core_media.c:7568 Hangup sofia/default/2578561401@3.23.204.137 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
  261. 2020-07-21 13:36:24.585979 [DEBUG] mod_sofia.c:2364 Ring SDP:
  262. v=0
  263. o=FreeSWITCH 1595314744 1595314745 IN IP4 3.23.204.137
  264. s=FreeSWITCH
  265. c=IN IP4 3.23.204.137
  266. t=0 0
  267. m=audio 23840 RTP/AVP 0 101
  268. a=rtpmap:0 PCMU/8000
  269. a=rtpmap:101 telephone-event/8000
  270. a=fmtp:101 0-16
  271. a=ptime:20
  272. a=sendrecv
  273. m=video 0 RTP/AVP 19
  274.  
  275. 2020-07-21 13:36:24.585979 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/2578561401@3.23.204.137!
  276. 2020-07-21 13:36:24.585979 [DEBUG] switch_channel.c:3474 (sofia/default/2578561401@3.23.204.137) Callstate Change RINGING -> EARLY
  277. 2020-07-21 13:36:24.585979 [DEBUG] mod_sofia.c:2367 sofia/default/2578561401@3.23.204.137 skip receive message [PROGRESS_EVENT] (channel is hungup already)
  278. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_session.c:2650 Well, that didn't work very well did it? ...
  279. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:650 (sofia/default/2578561401@3.23.204.137) State EXECUTE going to sleep
  280. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2578561401@3.23.204.137) Running State Change CS_HANGUP (Cur 1 Tot 126)
  281. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2578561401@3.23.204.137) Callstate Change EARLY -> HANGUP
  282. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:852 (sofia/default/2578561401@3.23.204.137) State HANGUP
  283. 2020-07-21 13:36:24.585979 [DEBUG] mod_sofia.c:438 Channel sofia/default/2578561401@3.23.204.137 hanging up, cause: INCOMPATIBLE_DESTINATION
  284. 2020-07-21 13:36:24.585979 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 488
  285. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:60 sofia/default/2578561401@3.23.204.137 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
  286. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:852 (sofia/default/2578561401@3.23.204.137) State HANGUP going to sleep
  287. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:619 (sofia/default/2578561401@3.23.204.137) State Change CS_HANGUP -> CS_REPORTING
  288. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:584 (sofia/default/2578561401@3.23.204.137) Running State Change CS_REPORTING (Cur 1 Tot 126)
  289. 2020-07-21 13:36:24.585979 [DEBUG] switch_core_state_machine.c:938 (sofia/default/2578561401@3.23.204.137) State REPORTING
  290. 2020-07-21 13:36:24.585979 [INFO] mod_json_cdr.c:271 Process [2abdab26-cb57-11ea-87d7-db63502b927a.cdr.json]
  291. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:174 sofia/default/2578561401@3.23.204.137 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
  292. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:938 (sofia/default/2578561401@3.23.204.137) State REPORTING going to sleep
  293. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:610 (sofia/default/2578561401@3.23.204.137) State Change CS_REPORTING -> CS_DESTROY
  294. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_session.c:1665 Session 126 (sofia/default/2578561401@3.23.204.137) Locked, Waiting on external entities
  295. 2020-07-21 13:36:24.685982 [NOTICE] switch_core_session.c:1683 Session 126 (sofia/default/2578561401@3.23.204.137) Ended
  296. 2020-07-21 13:36:24.685982 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/2578561401@3.23.204.137 [CS_DESTROY]
  297. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:741 (sofia/default/2578561401@3.23.204.137) Running State Change CS_DESTROY (Cur 0 Tot 126)
  298. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:751 (sofia/default/2578561401@3.23.204.137) State DESTROY
  299. 2020-07-21 13:36:24.685982 [DEBUG] mod_sofia.c:343 sofia/default/2578561401@3.23.204.137 SOFIA DESTROY
  300. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:181 sofia/default/2578561401@3.23.204.137 Standard DESTROY
  301. 2020-07-21 13:36:24.685982 [DEBUG] switch_core_state_machine.c:751 (sofia/default/2578561401@3.23.204.137) State DESTROY going to sleep

Replies to Untitled rss

Title Name Language When
Re: Untitled Smelly Sheep freeswitch 3 Years ago.