From Aqua Crow, 2 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2021-12-16 09:03:50.813834 [INFO] mod_dialplan_xml.c:637 Processing 1794393196 <1794393196>->97239707000 in context default
  2. 2021-12-16 09:03:50.813834 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fa2481e6330 Connected.
  3. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  4. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5. 2021-12-16 09:03:50.813834 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  6. 2021-12-16 09:03:50.813834 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 97239707000
  7. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '97239707000' limit 1
  8. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '97239707000' AND status=0 limit 1
  9. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'test1550.newsip.israelnumber.com' limit 1
  10. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '97239707000' and account_id = '1743' and status=0 LIMIT 1
  11. 2021-12-16 09:03:50.813834 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  12. 2021-12-16 09:03:50.813834 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 1794393196 / 1794393196
  13. 2021-12-16 09:03:50.813834 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  14. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  15. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  16. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  17. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  18. 2021-12-16 09:03:50.833825 [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.buy_minutes,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 ="97239707000" LIMIT 1
  19. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  20. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 789558853]
  21. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "789558853" AND deleted = 0 limit 1
  22. 2021-12-16 09:03:50.833825 [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 ="97239707000" AND A.accountid = '1743' limit 1
  23. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 97239707000
  24. 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  25. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  26. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  27. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  28. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  29. 2021-12-16 09:03:50.833825 [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.buy_minutes,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 ="97239707000" LIMIT 1
  30. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  31. 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  32. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  33. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  34. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  35. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  36. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="97239707000" AND (accountid = 0 OR status = 1) LIMIT 1
  37. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  38. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :1573
  39. 2021-12-16 09:03:50.833825 [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 = '^97239707000.*' OR patterns = '^9723970700.*' OR patterns = '^972397070.*' OR patterns = '^97239707.*' OR patterns = '^9723970.*' OR patterns = '^972397.*' OR patterns = '^97239.*' OR patterns = '^9723.*' OR patterns = '^972.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 1573 ORDER BY LENGTH(PKGPTR.patterns) DESC
  40. 2021-12-16 09:03:50.833825 [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 = '97239707000' OR number = '9723970700' OR number = '972397070' OR number = '97239707' OR number = '9723970' OR number = '972397' OR number = '97239' OR number = '9723' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '97239707000*' OR number = '9723970700*' OR number = '972397070*' OR number = '97239707*' OR number = '9723970*' OR number = '972397*' OR number = '97239*' OR number = '9723*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '1794393196' OR number = '179439319' OR number = '17943931' OR number = '1794393' OR number = '179439' OR number = '17943' OR number = '1794' OR number = '179' OR number = '17' OR number = '1' OR number ='--') OR (number = '1794393196*' OR number = '179439319*' OR number = '17943931*' OR number = '1794393*' OR number = '179439*' OR number = '17943*' OR number = '1794*' OR number = '179*' OR number = '17*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  41. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  42. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '97239707000' OR routing_prefix = '9723970700' OR routing_prefix = '972397070' OR routing_prefix = '97239707' OR routing_prefix = '9723970' OR routing_prefix = '972397' OR routing_prefix = '97239' OR routing_prefix = '9723' OR routing_prefix = '972' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  43. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  44. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1743
  45. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 789558853
  46. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 9
  47. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  48. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  49. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  50. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  51. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  52. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  53. 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  54. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  55. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  56. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  57. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000
  58. 2021-12-16 09:03:50.833825 [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.buy_minutes,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 ="97239707000" LIMIT 1
  59. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  60. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  61. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 15049
  62. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  63. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  64. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  65. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : National Landline
  66. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 93
  67. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1743
  68. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  69. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your9 balance Accountid 1743 !!!
  70. 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  71. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 1743
  72. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  73. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  74. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  75. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  76. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  77. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  78. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  79. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  80. 2021-12-16 09:03:50.833825 [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 = 1743 AND status= '0' LIMIT 1
  81. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1573" AND deleted = 0 limit 1
  82. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:1743
  83. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:1743
  84. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 1743
  85. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 1573 limit 1
  86. 2021-12-16 09:03:50.833825 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainITCIVR1394.newsip.israelnumber.com
  87. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  88. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....1646969247
  89. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....1646969247
  90. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 1573 limit 1
  91. 2021-12-16 09:03:50.833825 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainITCIVR1394.newsip.israelnumber.com
  92. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_10
  93. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::15049
  94. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10
  95. 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR
  96. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 15 and status=0 LIMIT 1
  97. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  98. 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  99. <document type="freeswitch/xml">
  100. <section name="dialplan" description="ASTPP Dialplan">
  101. <context name="default">
  102. <extension name="97239707000">
  103. <condition field="destination_number" expression="97239707000">
  104. <action application="set" data="effective_destination_number=97239707000"/>
  105. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  106. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  107. <action application="set" data="nibble_account=1743"/>
  108. <action application="set" data="nibble_rate=0.00000"/>
  109. <action application="set" data="nibble_increment=60"/>
  110. <action application="set" data="nibble_minimum=0.00000"/>
  111. <action application="nibblebill" data="heartbeat 60"/>
  112. <action application="set" data="callstart=2021-12-16 09:03:50"/>
  113. <action application="set" data="hangup_after_bridge=true"/>
  114. <action application="set" data="continue_on_fail=TRUE"/>
  115. <action application="set" data="account_id=1743"/>
  116. <action application="set" data="parent_id=0"/>
  117. <action application="set" data="entity_id=0"/>
  118. <action application="set" data="call_processed=internal"/>
  119. <action application="set" data="call_direction=inbound"/>
  120. <action application="set" data="accountname=default"/>
  121. <action application="set" data="filename1=astpp.pbx.lua"/>
  122. <action application="set" data="origination_rates_did=ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573"/>
  123. <action application="set" data="origination_rates=0"/>
  124. <action application="set" data="original_caller_id_name=1646969247"/>
  125. <action application="set" data="original_caller_id_number=1646969247"/>
  126. <action application="limit" data="db 789558853 user_789558853 2 !SWITCH_CONGESTION"/>
  127. <action application="limit" data="hash CPS_789558853 CPS_user_789558853 2/1 !SWITCH_CONGESTION"/>
  128. <action application="limit" data="db 1573 user_1573 2 !SWITCH_CONGESTION"/>
  129. <action application="set" data="effective_caller_id_name=1646969247"/>
  130. <action application="set" data="effective_caller_id_number=1646969247"/>
  131. <action application="set" data="receiver_accid=1573"/>
  132. <action application="export" data="domain_name=ITCIVR1394.newsip.israelnumber.com"/>
  133. <action application="export" data="sip_to_host=ITCIVR1394.newsip.israelnumber.com"/>
  134. <action application="limit" data="db 97239707000 did_97239707000 2 !SWITCH_CONGESTION"/>
  135. <action application="export" data="presence_data=x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162"/>
  136. <action application="export" data="call_type=10"/>
  137. <action application="set" data="did_calltype=10"/>
  138. <action application="set" data="did_extensions=15"/>
  139. <action application="set" data="ringback="/>
  140. <action application="set" data="module_name=pbx"/>
  141. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  142. <action application="set" data="sip_h_P-Accountcode=1573"/>
  143. <action application="set" data="domain_name=ITCIVR1394.newsip.israelnumber.com"/>
  144. <action application="set" data="original_did_number=97239707000"/>
  145.     <action application="answer"/>
  146. <action application="ivr" data="ITC IVR0"/>
  147. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  148. </condition>
  149. </extension>
  150. </context>
  151. </section>
  152. </document>
  153. 2021-12-16 09:03:50.833825 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fa2481e6330 released.
  154. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com parsing [default->97239707000] continue=false
  155. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Regex (PASS) [97239707000] destination_number(97239707000) =~ /97239707000/ break=on-false
  156. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(effective_destination_number=97239707000)
  157. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(bridge_pre_execute_bleg_app=sched_hangup)
  158. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  159. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_account=1743)
  160. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_rate=0.00000)
  161. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_increment=60)
  162. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
  163. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action nibblebill(heartbeat 60)
  164. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(callstart=2021-12-16 09:03:50)
  165. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(hangup_after_bridge=true)
  166. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
  167. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(account_id=1743)
  168. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(parent_id=0)
  169. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(entity_id=0)
  170. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(call_processed=internal)
  171. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(call_direction=inbound)
  172. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(accountname=default)
  173. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
  174. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(origination_rates_did=ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573)
  175. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(origination_rates=0)
  176. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(original_caller_id_name=1646969247)
  177. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(original_caller_id_number=1646969247)
  178. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(db 789558853 user_789558853 2 !SWITCH_CONGESTION)
  179. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(hash CPS_789558853 CPS_user_789558853 2/1 !SWITCH_CONGESTION)
  180. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(db 1573 user_1573 2 !SWITCH_CONGESTION)
  181. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(effective_caller_id_name=1646969247)
  182. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(effective_caller_id_number=1646969247)
  183. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(receiver_accid=1573)
  184. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(domain_name=ITCIVR1394.newsip.israelnumber.com)
  185. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(sip_to_host=ITCIVR1394.newsip.israelnumber.com)
  186. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(db 97239707000 did_97239707000 2 !SWITCH_CONGESTION)
  187. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(presence_data=x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162)
  188. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(call_type=10)
  189. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(did_calltype=10)
  190. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(did_extensions=15)
  191. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(ringback=)
  192. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(module_name=pbx)
  193. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(sip_h_P-call_type=custom_forward)
  194. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(sip_h_P-Accountcode=1573)
  195. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(domain_name=ITCIVR1394.newsip.israelnumber.com)
  196. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(original_did_number=97239707000)
  197. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action answer()
  198. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action ivr(ITC IVR0)
  199. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  200. 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:286 (sofia/default/1794393196@test1550.newsip.israelnumber.com) State Change CS_ROUTING -> CS_EXECUTE
  201. 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1794393196@test1550.newsip.israelnumber.com) State ROUTING going to sleep
  202. 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1794393196@test1550.newsip.israelnumber.com) Running State Change CS_EXECUTE (Cur 5 Tot 104196)
  203. 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:650 (sofia/default/1794393196@test1550.newsip.israelnumber.com) State EXECUTE
  204. 2021-12-16 09:03:50.833825 [DEBUG] mod_sofia.c:198 sofia/default/1794393196@test1550.newsip.israelnumber.com SOFIA EXECUTE
  205. 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:328 sofia/default/1794393196@test1550.newsip.israelnumber.com Standard EXECUTE
  206. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(effective_destination_number=97239707000)
  207. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [effective_destination_number]=[97239707000]
  208. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(bridge_pre_execute_bleg_app=sched_hangup)
  209. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [bridge_pre_execute_bleg_app]=[sched_hangup]
  210. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  211. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  212. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_account=1743)
  213. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_account]=[1743]
  214. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_rate=0.00000)
  215. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_rate]=[0.00000]
  216. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_increment=60)
  217. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_increment]=[60]
  218. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_minimum=0.00000)
  219. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_minimum]=[0.00000]
  220. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com nibblebill(heartbeat 60)
  221. 2021-12-16 09:03:50.833825 [WARNING] switch_core_session.c:1605 sofia/default/1794393196@test1550.newsip.israelnumber.com using scheduler due to bypass media or media is not established.
  222. 2021-12-16 09:03:50.833825 [DEBUG] switch_scheduler.c:249 Added task 40421 switch_core_session_sched_heartbeat (161f5b6a-5e4f-11ec-a215-9322a0e4a4d3) to run at 1639645490
  223. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(callstart=2021-12-16 09:03:50)
  224. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [callstart]=[2021-12-16 09:03:50]
  225. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(hangup_after_bridge=true)
  226. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [hangup_after_bridge]=[true]
  227. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(continue_on_fail=TRUE)
  228. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [continue_on_fail]=[TRUE]
  229. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(account_id=1743)
  230. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [account_id]=[1743]
  231. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(parent_id=0)
  232. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [parent_id]=[0]
  233. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(entity_id=0)
  234. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [entity_id]=[0]
  235. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(call_processed=internal)
  236. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [call_processed]=[internal]
  237. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(call_direction=inbound)
  238. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [call_direction]=[inbound]
  239. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(accountname=default)
  240. 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [accountname]=[default]
  241. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
  242. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
  243. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(origination_rates_did=ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573)
  244. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [origination_rates_did]=[ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573]
  245. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(origination_rates=0)
  246. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [origination_rates]=[0]
  247. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(original_caller_id_name=1646969247)
  248. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [original_caller_id_name]=[1646969247]
  249. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(original_caller_id_number=1646969247)
  250. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [original_caller_id_number]=[1646969247]
  251. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(db 789558853 user_789558853 2 !SWITCH_CONGESTION)
  252. 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: 789558853_user_789558853 max:2, interval:0
  253. 2021-12-16 09:03:50.853816 [DEBUG] mod_db.c:194 Usage for 789558853_user_789558853 is now 1/2
  254. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(hash CPS_789558853 CPS_user_789558853 2/1 !SWITCH_CONGESTION)
  255. 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: CPS_789558853_CPS_user_789558853 max:2, interval:1
  256. 2021-12-16 09:03:50.853816 [DEBUG] mod_hash.c:198 Usage for CPS_789558853_CPS_user_789558853 is now 1/2 for the last 1 seconds
  257. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(db 1573 user_1573 2 !SWITCH_CONGESTION)
  258. 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: 1573_user_1573 max:2, interval:0
  259. 2021-12-16 09:03:50.853816 [DEBUG] mod_db.c:194 Usage for 1573_user_1573 is now 1/2
  260. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(effective_caller_id_name=1646969247)
  261. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [effective_caller_id_name]=[1646969247]
  262. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(effective_caller_id_number=1646969247)
  263. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [effective_caller_id_number]=[1646969247]
  264. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(receiver_accid=1573)
  265. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [receiver_accid]=[1573]
  266. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(domain_name=ITCIVR1394.newsip.israelnumber.com)
  267. 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[ITCIVR1394.newsip.israelnumber.com]
  268. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(sip_to_host=ITCIVR1394.newsip.israelnumber.com)
  269. 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[ITCIVR1394.newsip.israelnumber.com]
  270. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(db 97239707000 did_97239707000 2 !SWITCH_CONGESTION)
  271. 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: 97239707000_did_97239707000 max:2, interval:0
  272. 2021-12-16 09:03:50.853816 [DEBUG] mod_db.c:194 Usage for 97239707000_did_97239707000 is now 1/2
  273. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(presence_data=x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162)
  274. 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162]
  275. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(call_type=10)
  276. 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10]
  277. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(did_calltype=10)
  278. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [did_calltype]=[10]
  279. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(did_extensions=15)
  280. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [did_extensions]=[15]
  281. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(ringback=)
  282. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [ringback]=[UNDEF]
  283. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(module_name=pbx)
  284. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [module_name]=[pbx]
  285. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(sip_h_P-call_type=custom_forward)
  286. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [sip_h_P-call_type]=[custom_forward]
  287. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(sip_h_P-Accountcode=1573)
  288. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [sip_h_P-Accountcode]=[1573]
  289. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(domain_name=ITCIVR1394.newsip.israelnumber.com)
  290. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [domain_name]=[ITCIVR1394.newsip.israelnumber.com]
  291. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(original_did_number=97239707000)
  292. 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [original_did_number]=[97239707000]
  293. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com answer()
  294. 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/1794393196@test1550.newsip.israelnumber.com] 89.46.223.194 port 31188 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  295. 2021-12-16 09:03:50.853816 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  296. 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:7180 sofia/default/1794393196@test1550.newsip.israelnumber.com Set 2833 dtmf send payload to 101
  297. 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:7187 sofia/default/1794393196@test1550.newsip.israelnumber.com Set 2833 dtmf receive payload to 101
  298. 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:7210 sofia/default/1794393196@test1550.newsip.israelnumber.com Set rtp dtmf delay to 40
  299. 2021-12-16 09:03:50.853816 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/1794393196@test1550.newsip.israelnumber.com:
  300. v=0
  301. o=FreeSWITCH 1639614242 1639614243 IN IP4 89.46.223.194
  302. s=FreeSWITCH
  303. c=IN IP4 89.46.223.194
  304. t=0 0
  305. m=audio 31188 RTP/AVP 8 101
  306. a=rtpmap:8 PCMA/8000
  307. a=rtpmap:101 telephone-event/8000
  308. a=fmtp:101 0-16
  309. a=ptime:20
  310. a=sendrecv
  311.  
  312. 2021-12-16 09:03:50.853816 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/1794393196@test1550.newsip.israelnumber.com] has been answered
  313. 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:3773 (sofia/default/1794393196@test1550.newsip.israelnumber.com) Callstate Change RINGING -> ACTIVE
  314. EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com ivr(ITC IVR0)
  315. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  316. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  317. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  318. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  319. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back'
  320. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top'
  321. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:880 building menu 'ITC IVR0'
  322. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1'
  323. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2'
  324. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3'
  325. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  326. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu ITC IVR0
  327. 2021-12-16 09:03:50.853816 [DEBUG] sofia.c:7084 Channel sofia/default/1794393196@test1550.newsip.israelnumber.com entering state [completed][200]
  328. 2021-12-16 09:03:50.853816 [WARNING] switch_core_file.c:360 File has 2 channels, muxing to 1 channel will occur.
  329. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
  330. 2021-12-16 09:03:50.933819 [NOTICE] switch_channel.c:1104 New Channel sofia/default/498007241083@92.249.69.77 [1631a8e2-5e4f-11ec-a243-9322a0e4a4d3]
  331. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_NEW (Cur 6 Tot 104197)
  332. 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:9873 sofia/default/498007241083@92.249.69.77 receiving invite from 136.243.196.198:5060 version: 1.6.20  64bit
  333. 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  334. 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:7084 Channel sofia/default/498007241083@92.249.69.77 entering state [received][100]
  335. 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:7094 Remote SDP:
  336. v=0
  337. o=asterisk 958886540 958886540 IN IP4 92.249.69.77
  338. s=Asterisk PBX
  339. c=IN IP4 92.249.69.77
  340. t=0 0
  341. m=audio 50248 RTP/AVP 8 0 101
  342. a=rtpmap:8 PCMA/8000
  343. a=rtpmap:0 PCMU/8000
  344. a=rtpmap:101 telephone-event/8000
  345. a=fmtp:101 0-16
  346. a=ptime:20
  347.  
  348. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  349. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  350. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  351. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  352. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  353. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  354. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  355. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  356. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  357. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/498007241083@92.249.69.77 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  358. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_codec.c:111 sofia/default/498007241083@92.249.69.77 Original read codec set to PCMA:8
  359. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  360. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4767 sofia/default/498007241083@92.249.69.77 Set 2833 dtmf send payload to 101 recv payload to 101
  361. 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:7507 (sofia/default/498007241083@92.249.69.77) State Change CS_NEW -> CS_INIT
  362. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:603 (sofia/default/498007241083@92.249.69.77) State NEW
  363. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_INIT (Cur 6 Tot 104197)
  364. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498007241083@92.249.69.77) State INIT
  365. 2021-12-16 09:03:50.933819 [DEBUG] mod_sofia.c:90 sofia/default/498007241083@92.249.69.77 SOFIA INIT
  366. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:40 sofia/default/498007241083@92.249.69.77 Standard INIT
  367. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:48 (sofia/default/498007241083@92.249.69.77) State Change CS_INIT -> CS_ROUTING
  368. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498007241083@92.249.69.77) State INIT going to sleep
  369. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_ROUTING (Cur 6 Tot 104197)
  370. 2021-12-16 09:03:50.933819 [DEBUG] switch_channel.c:2249 (sofia/default/498007241083@92.249.69.77) Callstate Change DOWN -> RINGING
  371. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498007241083@92.249.69.77) State ROUTING
  372. 2021-12-16 09:03:50.933819 [DEBUG] mod_sofia.c:143 sofia/default/498007241083@92.249.69.77 SOFIA ROUTING
  373. 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:236 sofia/default/498007241083@92.249.69.77 Standard ROUTING
  374. 2021-12-16 09:03:50.933819 [INFO] mod_dialplan_xml.c:637 Processing 498007241083 <498007241083>->00491752000292 in context default
  375. 2021-12-16 09:03:50.933819 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fa2481e6330 Connected.
  376. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  377. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  378. 2021-12-16 09:03:50.933819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  379. 2021-12-16 09:03:50.933819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 00491752000292
  380. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00491752000292' limit 1
  381. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '00491752000292' AND status=0 limit 1
  382. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '92.249.69.77' limit 1
  383. 2021-12-16 09:03:50.933819 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  384. 2021-12-16 09:03:50.933819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 498007241083 / 498007241083
  385. 2021-12-16 09:03:50.933819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  386. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  387. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  388. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  389. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  390. 2021-12-16 09:03:50.933819 [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.buy_minutes,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 ="00491752000292" LIMIT 1
  391. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00491752000292"  AND domains.domain="136.243.196.198" limit 1
  392. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  393. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 619312506378]
  394. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" AND deleted = 0 limit 1
  395. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00491752000292.*' OR blocked_patterns = '^0049175200029.*' OR blocked_patterns = '^004917520002.*' OR blocked_patterns = '^00491752000.*' OR blocked_patterns = '^0049175200.*' OR blocked_patterns = '^004917520.*' OR blocked_patterns = '^00491752.*' OR blocked_patterns = '^0049175.*' OR blocked_patterns = '^004917.*' OR blocked_patterns = '^00491.*' OR blocked_patterns = '^0049.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1
  396. 2021-12-16 09:03:50.953819 [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 ="00491752000292" AND A.accountid = '1039' limit 1
  397. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 00491752000292
  398. 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  399. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  400. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  401. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  402. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  403. 2021-12-16 09:03:50.953819 [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.buy_minutes,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 ="00491752000292" LIMIT 1
  404. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="00491752000292"  AND domains.domain="136.243.196.198" limit 1
  405. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  406. 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  407. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  408. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  409. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  410. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292
  411. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00491752000292" AND (accountid = 0 OR status = 1) LIMIT 1
  412. 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3
  413. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 3 AND status=0 limit 1
  414. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....00491752000292
  415. 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00491752000292
  416. 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 491752000292
  417. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....491752000292
  418. 2021-12-16 09:03:50.953819 [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 = '^491752000292.*' OR patterns = '^49175200029.*' OR patterns = '^4917520002.*' OR patterns = '^491752000.*' OR patterns = '^49175200.*' OR patterns = '^4917520.*' OR patterns = '^491752.*' OR patterns = '^49175.*' OR patterns = '^4917.*' OR patterns = '^491.*' OR patterns = '^49.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC
  419. 2021-12-16 09:03:50.953819 [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 = '491752000292' OR number = '49175200029' OR number = '4917520002' OR number = '491752000' OR number = '49175200' OR number = '4917520' OR number = '491752' OR number = '49175' OR number = '4917' OR number = '491' OR number = '49' OR number = '4' OR number ='--') OR (number = '491752000292*' OR number = '49175200029*' OR number = '4917520002*' OR number = '491752000*' OR number = '49175200*' OR number = '4917520*' OR number = '491752*' OR number = '49175*' OR number = '4917*' OR number = '491*' OR number = '49*' OR number = '4*' OR number ='--') OR (number = '498007241083' OR number = '49800724108' OR number = '4980072410' OR number = '498007241' OR number = '49800724' OR number = '4980072' OR number = '498007' OR number = '49800' OR number = '4980' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '498007241083*' OR number = '49800724108*' OR number = '4980072410*' OR number = '498007241*' OR number = '49800724*' OR number = '4980072*' OR number = '498007*' OR number = '49800*' OR number = '4980*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  420. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  421. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '491752000292' OR routing_prefix = '49175200029' OR routing_prefix = '4917520002' OR routing_prefix = '491752000' OR routing_prefix = '49175200' OR routing_prefix = '4917520' OR routing_prefix = '491752' OR routing_prefix = '49175' OR routing_prefix = '4917' OR routing_prefix = '491' OR routing_prefix = '49' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  422. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  423. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039
  424. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378
  425. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 6381.67788
  426. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  427. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49
  428. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  429. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  430. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  431. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  432. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  433. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^491752000292.*' OR pattern = '^49175200029.*' OR pattern = '^4917520002.*' OR pattern = '^491752000.*' OR pattern = '^49175200.*' OR pattern = '^4917520.*' OR pattern = '^491752.*' OR pattern = '^49175.*' OR pattern = '^4917.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  434. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  435. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  436. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5979639
  437. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  438. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  439. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.37744
  440. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : GERMANY - MOBILE T-MOBILE
  441. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  442. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039
  443. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  444. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  445. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  446. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your6381.67788 balance Accountid 1039 !!!
  447. 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  448. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 1039
  449. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.37744
  450. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  451. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  452. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 1
  453. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 1
  454. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  455. 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 5979639
  456. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  457. 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc
  458. 2021-12-16 09:03:50.953819 [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 = '^491752000292.*' OR pattern = '^49175200029.*' OR pattern = '^4917520002.*' OR pattern = '^491752000.*' OR pattern = '^49175200.*' OR pattern = '^4917520.*' OR pattern = '^491752.*' OR pattern = '^49175.*' OR pattern = '^4917.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (25,27,33) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  459. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  460. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  461. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5790617
  462. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49175.*
  463. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile
  464. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  465. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  466. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49175.*
  467. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  468. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  469. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 33
  470. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  471. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  472. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  473. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  474. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  475. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986
  476. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  477. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  478. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5969469
  479. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49175.*
  480. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile
  481. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  482. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  483. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49175.*
  484. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  485. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  486. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 25
  487. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3
  488. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  489. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  490. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587
  491. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  492. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_prime_1-1
  493. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  494. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  495. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5002873
  496. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49175.*
  497. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GERMANY - MOBILE T-MOBILE
  498. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  499. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  500. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49175.*
  501. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  502. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  503. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 27
  504. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  505. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  506. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  507. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  508. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  509. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_telia_prime_1-1
  510. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  511. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status= '0' LIMIT 1
  512. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  513. 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  514. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  515. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  516. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....491752000292
  517. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  518. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  519. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....491752000292
  520. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0
  521. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1
  522. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....491752000292
  523. 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  524. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  525. <document type="freeswitch/xml">
  526. <section name="dialplan" description="ASTPP Dialplan">
  527. <context name="default">
  528. <extension name="491752000292">
  529. <condition field="destination_number" expression="00491752000292">
  530. <action application="set" data="effective_destination_number=491752000292"/>
  531. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  532. <action application="set" data="bridge_pre_execute_bleg_data=+10800 normal_clearing"/>
  533. <action application="set" data="nibble_account=1039"/>
  534. <action application="set" data="nibble_rate=0.37744"/>
  535. <action application="set" data="nibble_increment=1"/>
  536. <action application="set" data="nibble_minimum=0.00000"/>
  537. <action application="nibblebill" data="heartbeat 1"/>
  538. <action application="set" data="callstart=2021-12-16 09:03:50"/>
  539. <action application="set" data="hangup_after_bridge=true"/>
  540. <action application="set" data="continue_on_fail=TRUE"/>
  541. <action application="set" data="account_id=1039"/>
  542. <action application="set" data="parent_id=0"/>
  543. <action application="set" data="entity_id=0"/>
  544. <action application="set" data="call_processed=internal"/>
  545. <action application="set" data="call_direction=outbound"/>
  546. <action application="set" data="accountname=default"/>
  547. <action application="set" data="filename1=astpp.pbx.lua"/>
  548. <action application="set" data="origination_rates=ID:5979639|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.37744|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039"/>
  549. <action application="set" data="original_caller_id_name=498007241083"/>
  550. <action application="set" data="original_caller_id_number=498007241083"/>
  551.  
  552. <action application="export" data="is_recording=1"/>
  553. <action application="export" data="media_bug_answer_req=true"/>
  554. <action application="export" data="RECORD_STEREO=true"/>
  555. <action application="export" data="record_sample_rate=8000"/>
  556. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  557. <action application="set" data="effective_caller_id_name=498007241083"/>
  558. <action application="set" data="effective_caller_id_number=498007241083"/>
  559. <action application="set" data="calltype=STANDARD"/>
  560. <action application="set" data="termination_rates=ID:5790617|CODE:^49175.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587"/>
  561. <action application="set" data="trunk_id=33"/>
  562. <action application="set" data="provider_id=587"/>
  563. <action application="set" data="rate_flag=0"/>
  564. <action application="set" data="force_trunk_flag=5979639"/>
  565. <action application="export" data="presence_data=trunk_id=33"/>
  566. <action application="set" data="intcall=0"/>
  567. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||Low_Tata_38986 // ^49175.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=33|||STD|||92.249.69.77"/>
  568. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/491752000292;fs_path=sip:136.243.196.198:5060"/>
  569. <action application="set" data="effective_caller_id_name=498007241083"/>
  570. <action application="set" data="effective_caller_id_number=498007241083"/>
  571. <action application="set" data="calltype=STANDARD"/>
  572. <action application="set" data="termination_rates=ID:5969469|CODE:^49175.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:25|PROVIDER:587"/>
  573. <action application="set" data="trunk_id=25"/>
  574. <action application="set" data="provider_id=587"/>
  575. <action application="set" data="rate_flag=0"/>
  576. <action application="set" data="force_trunk_flag=5979639"/>
  577. <action application="export" data="presence_data=trunk_id=25"/>
  578. <action application="set" data="intcall=0"/>
  579. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||high_tata_37113_prime_1-1 // ^49175.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=25|||STD|||92.249.69.77"/>
  580. <action application="bridge" data="[leg_timeout=0]sofia/gateway/tata3/491752000292;fs_path=sip:136.243.196.198:5060"/>
  581. <action application="set" data="effective_caller_id_name=498007241083"/>
  582. <action application="set" data="effective_caller_id_number=498007241083"/>
  583. <action application="set" data="calltype=STANDARD"/>
  584. <action application="set" data="termination_rates=ID:5002873|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23590|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017"/>
  585. <action application="set" data="trunk_id=27"/>
  586. <action application="set" data="provider_id=1017"/>
  587. <action application="set" data="rate_flag=0"/>
  588. <action application="set" data="force_trunk_flag=5979639"/>
  589. <action application="export" data="presence_data=trunk_id=27"/>
  590. <action application="set" data="intcall=0"/>
  591. <action application="export" data="presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||high_telia_prime_1-1 // ^49175.* // GERMANY - MOBILE T-MOBILE // 0.23590 // trunk_id=27|||STD|||92.249.69.77"/>
  592. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/491752000292;fs_path=sip:136.243.196.198:5060"/>
  593. </condition>
  594. </extension>
  595. </context>
  596. </section>
  597. </document>
  598. 2021-12-16 09:03:50.973822 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fa2481e6330 released.
  599. Dialplan: sofia/default/498007241083@92.249.69.77 parsing [default->491752000292] continue=false
  600. Dialplan: sofia/default/498007241083@92.249.69.77 Regex (PASS) [491752000292] destination_number(00491752000292) =~ /00491752000292/ break=on-false
  601. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_destination_number=491752000292)
  602. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  603. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  604. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_account=1039)
  605. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_rate=0.37744)
  606. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_increment=1)
  607. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_minimum=0.00000)
  608. Dialplan: sofia/default/498007241083@92.249.69.77 Action nibblebill(heartbeat 1)
  609. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(callstart=2021-12-16 09:03:50)
  610. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(hangup_after_bridge=true)
  611. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(continue_on_fail=TRUE)
  612. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(account_id=1039)
  613. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(parent_id=0)
  614. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(entity_id=0)
  615. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(call_processed=internal)
  616. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(call_direction=outbound)
  617. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(accountname=default)
  618. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(filename1=astpp.pbx.lua)
  619. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(origination_rates=ID:5979639|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.37744|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  620. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(original_caller_id_name=498007241083)
  621. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(original_caller_id_number=498007241083)
  622. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(is_recording=1)
  623. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(media_bug_answer_req=true)
  624. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(RECORD_STEREO=true)
  625. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(record_sample_rate=8000)
  626. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  627. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_name=498007241083)
  628. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_number=498007241083)
  629. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(calltype=STANDARD)
  630. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(termination_rates=ID:5790617|CODE:^49175.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587)
  631. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(trunk_id=33)
  632. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(provider_id=587)
  633. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(rate_flag=0)
  634. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(force_trunk_flag=5979639)
  635. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=trunk_id=33)
  636. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(intcall=0)
  637. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||Low_Tata_38986 // ^49175.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=33|||STD|||92.249.69.77)
  638. Dialplan: sofia/default/498007241083@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/491752000292;fs_path=sip:136.243.196.198:5060)
  639. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_name=498007241083)
  640. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_number=498007241083)
  641. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(calltype=STANDARD)
  642. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(termination_rates=ID:5969469|CODE:^49175.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:25|PROVIDER:587)
  643. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(trunk_id=25)
  644. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(provider_id=587)
  645. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(rate_flag=0)
  646. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(force_trunk_flag=5979639)
  647. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=trunk_id=25)
  648. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(intcall=0)
  649. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||high_tata_37113_prime_1-1 // ^49175.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=25|||STD|||92.249.69.77)
  650. Dialplan: sofia/default/498007241083@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/491752000292;fs_path=sip:136.243.196.198:5060)
  651. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_name=498007241083)
  652. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_number=498007241083)
  653. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(calltype=STANDARD)
  654. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(termination_rates=ID:5002873|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23590|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017)
  655. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(trunk_id=27)
  656. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(provider_id=1017)
  657. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(rate_flag=0)
  658. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(force_trunk_flag=5979639)
  659. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=trunk_id=27)
  660. Dialplan: sofia/default/498007241083@92.249.69.77 Action set(intcall=0)
  661. Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||high_telia_prime_1-1 // ^49175.* // GERMANY - MOBILE T-MOBILE // 0.23590 // trunk_id=27|||STD|||92.249.69.77)
  662. Dialplan: sofia/default/498007241083@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/491752000292;fs_path=sip:136.243.196.198:5060)
  663. 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:286 (sofia/default/498007241083@92.249.69.77) State Change CS_ROUTING -> CS_EXECUTE
  664. 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498007241083@92.249.69.77) State ROUTING going to sleep
  665. 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_EXECUTE (Cur 6 Tot 104197)
  666. 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498007241083@92.249.69.77) State EXECUTE
  667. 2021-12-16 09:03:50.973822 [DEBUG] mod_sofia.c:198 sofia/default/498007241083@92.249.69.77 SOFIA EXECUTE
  668. 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:328 sofia/default/498007241083@92.249.69.77 Standard EXECUTE
  669. EXECUTE sofia/default/498007241083@92.249.69.77 set(effective_destination_number=491752000292)
  670. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [effective_destination_number]=[491752000292]
  671. EXECUTE sofia/default/498007241083@92.249.69.77 set(bridge_pre_execute_bleg_app=sched_hangup)
  672. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [bridge_pre_execute_bleg_app]=[sched_hangup]
  673. EXECUTE sofia/default/498007241083@92.249.69.77 set(bridge_pre_execute_bleg_data=+10800 normal_clearing)
  674. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing]
  675. EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_account=1039)
  676. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_account]=[1039]
  677. EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_rate=0.37744)
  678. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_rate]=[0.37744]
  679. EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_increment=1)
  680. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_increment]=[1]
  681. EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_minimum=0.00000)
  682. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_minimum]=[0.00000]
  683. EXECUTE sofia/default/498007241083@92.249.69.77 nibblebill(heartbeat 1)
  684. 2021-12-16 09:03:50.973822 [WARNING] switch_core_session.c:1605 sofia/default/498007241083@92.249.69.77 using scheduler due to bypass media or media is not established.
  685. 2021-12-16 09:03:50.973822 [DEBUG] switch_scheduler.c:249 Added task 40422 switch_core_session_sched_heartbeat (1631a8e2-5e4f-11ec-a243-9322a0e4a4d3) to run at 1639645431
  686. EXECUTE sofia/default/498007241083@92.249.69.77 set(callstart=2021-12-16 09:03:50)
  687. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [callstart]=[2021-12-16 09:03:50]
  688. EXECUTE sofia/default/498007241083@92.249.69.77 set(hangup_after_bridge=true)
  689. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [hangup_after_bridge]=[true]
  690. EXECUTE sofia/default/498007241083@92.249.69.77 set(continue_on_fail=TRUE)
  691. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [continue_on_fail]=[TRUE]
  692. EXECUTE sofia/default/498007241083@92.249.69.77 set(account_id=1039)
  693. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [account_id]=[1039]
  694. EXECUTE sofia/default/498007241083@92.249.69.77 set(parent_id=0)
  695. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [parent_id]=[0]
  696. EXECUTE sofia/default/498007241083@92.249.69.77 set(entity_id=0)
  697. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [entity_id]=[0]
  698. EXECUTE sofia/default/498007241083@92.249.69.77 set(call_processed=internal)
  699. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [call_processed]=[internal]
  700. EXECUTE sofia/default/498007241083@92.249.69.77 set(call_direction=outbound)
  701. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [call_direction]=[outbound]
  702. EXECUTE sofia/default/498007241083@92.249.69.77 set(accountname=default)
  703. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [accountname]=[default]
  704. EXECUTE sofia/default/498007241083@92.249.69.77 set(filename1=astpp.pbx.lua)
  705. 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [filename1]=[astpp.pbx.lua]
  706. EXECUTE sofia/default/498007241083@92.249.69.77 set(origination_rates=ID:5979639|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.37744|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)
  707.