From Akash_patel, 5 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and Working_Trace
  1. 2019-07-02 15:22:57.133716 [INFO] mod_dialplan_xml.c:637 Processing 61212777543 <61212777543>->16466616726 in context default
  2. 2019-07-02 15:22:57.133716 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f1e0404e230 Connected.
  3. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  4. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 16466616726
  5. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 61212777543 / 61212777543
  6. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,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 FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="16466616726" LIMIT 1
  7. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  8. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("72.21.24.130") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "16466616726"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  9. 2019-07-02 15:22:57.133716 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9915697231]
  10. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9915697231" OR id="9915697231") AND status=0 AND deleted=0 AND (expiry >= '2019-07-02 12:22:57' OR expiry = '0000-00-00 00:00:00') limit 1
  11. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^16466616726.*' OR patterns ='^1646661672.*' OR patterns ='^164666167.*' OR patterns ='^16466616.*' OR patterns ='^1646661.*' OR patterns ='^164666.*' OR patterns ='^16466.*' OR patterns ='^1646.*' OR patterns ='^164.*' OR patterns ='^16.*' OR patterns ='^1.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  12. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  13. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 103
  14. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9915697231
  15. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  16. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  17. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  18. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  19. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  20. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,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 FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="16466616726" LIMIT 1
  21. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!!
  22. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  23. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2
  24. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^.16466616726.*
  25. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Bhopal MADHYA PRADESH
  26. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 1.00000
  27. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  28. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.01000
  29. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 1
  30. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 1
  31. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 103
  32. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  33. 2019-07-02 15:22:57.133716 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 24 minutes
  34. 2019-07-02 15:22:57.133716 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "98" OR id="98") AND status=0 AND deleted=0 AND (expiry >= '2019-07-02 12:22:57' OR expiry = '0000-00-00 00:00:00') limit 1
  35. 2019-07-02 15:22:57.173571 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  36. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  37. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  38. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 0
  39. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : 16466616726
  40. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Local
  41. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0
  42. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  43. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0
  44. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 60
  45. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 60
  46. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 103
  47. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  48. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:103
  49. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:103
  50. 2019-07-02 15:22:57.173571 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 103
  51. 2019-07-02 15:22:57.173571 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Starts
  52. 2019-07-02 15:22:57.173571 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLINBOUND] Caller ID Translation Ends
  53. 2019-07-02 15:22:57.173571 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [NOTIFY] Query :SELECT callkit_token FROM dialer_device_info WHERE username='6543219874' AND mobile_type='ios' AND callkit_token!='' order by last_login_date DESC
  54. 2019-07-02 15:22:57.173571 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  55. <document type="freeswitch/xml">
  56. <section name="dialplan" description="ASTPP Dialplan">
  57. <context name="default">
  58. <extension name="16466616726">
  59. <condition field="destination_number" expression="16466616726">
  60. <action application="set" data="effective_destination_number=16466616726"/>
  61. <action application="sched_hangup" data="+1440 normal_clearing"/>
  62. <action application="set" data="callstart=2019-07-02 12:22:57"/>
  63. <action application="set" data="hangup_after_bridge=true"/>
  64. <action application="set" data="continue_on_fail=!USER_BUSY"/>
  65. <action application="set" data="account_id=103"/>
  66. <action application="set" data="parent_id=0"/>
  67. <action application="set" data="entity_id=3"/>
  68. <action application="set" data="call_processed=internal"/>
  69. <action application="set" data="call_direction=inbound"/>
  70. <action application="set" data="accountname=DID Provider"/>
  71. <action application="export" data="t38_passthru=true"/>
  72. <action application="set" data="fax_enable_t38=true"/>
  73. <action application="set" data="fax_enable_t38_request=true"/>
  74. <action application="set" data="origination_rates_did=ID:2|CODE:^.16466616726.*|DESTINATION:Bhopal MADHYA PRADESH|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|ACCID:98"/>
  75. <action application="set" data="origination_rates=ID:0|CODE:16466616726|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:103"/>
  76. <action application="set" data="original_caller_id_name=61212777543"/>
  77. <action application="set" data="original_caller_id_number=61212777543"/>
  78. <action application="set" data="effective_caller_id_name=61212777543"/>
  79. <action application="set" data="effective_caller_id_number=61212777543"/>
  80. <action application="set" data="receiver_accid=98"/>
  81. <action application="limit" data="db 16466616726 did_16466616726 2 !SWITCH_CONGESTION"/>
  82. <action application="set" data="calltype=DID-LOCAL"/>
  83. <action application="bridge" data="[leg_timeout=0]user/6543219874@${domain_name}"/>
  84. <condition field="${cond(${user_data 6543219874@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  85. <action application="answer"/>
  86. <action application="export" data="voicemail_alternate_greet_id=16466616726"/>
  87. <action application="voicemail" data="default $${domain_name} 6543219874"/>
  88. <anti-action application="hangup" data="${originate_disposition}"/>
  89. </condition>
  90. </condition>
  91. </extension>
  92. </context>
  93. </section>
  94. </document>
  95. 2019-07-02 15:22:57.173571 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f1e0404e230 released.
  96. Dialplan: sofia/default/61212777543@72.21.24.130 parsing [default->16466616726] continue=false
  97. Dialplan: sofia/default/61212777543@72.21.24.130 Regex (PASS) [16466616726] destination_number(16466616726) =~ /16466616726/ break=on-false
  98. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(effective_destination_number=16466616726)
  99. Dialplan: sofia/default/61212777543@72.21.24.130 Action sched_hangup(+1440 normal_clearing)
  100. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(callstart=2019-07-02 12:22:57)
  101. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(hangup_after_bridge=true)
  102. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(continue_on_fail=!USER_BUSY)
  103. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(account_id=103)
  104. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(parent_id=0)
  105. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(entity_id=3)
  106. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(call_processed=internal)
  107. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(call_direction=inbound)
  108. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(accountname=DID Provider)
  109. Dialplan: sofia/default/61212777543@72.21.24.130 Action export(t38_passthru=true)
  110. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(fax_enable_t38=true)
  111. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(fax_enable_t38_request=true)
  112. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(origination_rates_did=ID:2|CODE:^.16466616726.*|DESTINATION:Bhopal MADHYA PRADESH|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|ACCID:98)
  113. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(origination_rates=ID:0|CODE:16466616726|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:103)
  114. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(original_caller_id_name=61212777543)
  115. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(original_caller_id_number=61212777543)
  116. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(effective_caller_id_name=61212777543)
  117. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(effective_caller_id_number=61212777543)
  118. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(receiver_accid=98)
  119. Dialplan: sofia/default/61212777543@72.21.24.130 Action limit(db 16466616726 did_16466616726 2 !SWITCH_CONGESTION)
  120. Dialplan: sofia/default/61212777543@72.21.24.130 Action set(calltype=DID-LOCAL)
  121. Dialplan: sofia/default/61212777543@72.21.24.130 Action bridge([leg_timeout=0]user/6543219874@${domain_name})
  122. |--- Dialplan: Processing recursive conditions level:1 [16466616726_recur_1] require-nested=TRUE
  123. |--- Dialplan: sofia/default/61212777543@72.21.24.130 Regex (PASS) [16466616726_recur_1] ${cond(${user_data 6543219874@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  124. |--- Dialplan: sofia/default/61212777543@72.21.24.130 Action answer()
  125. |--- Dialplan: sofia/default/61212777543@72.21.24.130 Action export(voicemail_alternate_greet_id=16466616726)
  126. |--- Dialplan: sofia/default/61212777543@72.21.24.130 Action voicemail(default $${domain_name} 6543219874)
  127. 2019-07-02 15:22:57.193608 [DEBUG] switch_core_state_machine.c:286 (sofia/default/61212777543@72.21.24.130) State Change CS_ROUTING -> CS_EXECUTE
  128. 2019-07-02 15:22:57.193608 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61212777543@72.21.24.130) State ROUTING going to sleep
  129. 2019-07-02 15:22:57.193608 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61212777543@72.21.24.130) Running State Change CS_EXECUTE (Cur 1 Tot 947168)
  130. 2019-07-02 15:22:57.193608 [DEBUG] switch_core_state_machine.c:650 (sofia/default/61212777543@72.21.24.130) State EXECUTE
  131. 2019-07-02 15:22:57.193608 [DEBUG] mod_sofia.c:198 sofia/default/61212777543@72.21.24.130 SOFIA EXECUTE
  132. 2019-07-02 15:22:57.193608 [DEBUG] switch_core_state_machine.c:328 sofia/default/61212777543@72.21.24.130 Standard EXECUTE
  133. EXECUTE sofia/default/61212777543@72.21.24.130 set(effective_destination_number=16466616726)
  134. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [effective_destination_number]=[16466616726]
  135. EXECUTE sofia/default/61212777543@72.21.24.130 sched_hangup(+1440 normal_clearing)
  136. 2019-07-02 15:22:57.193608 [DEBUG] switch_scheduler.c:249 Added task 534 switch_ivr_schedule_hangup (1fbb2900-9cc4-11e9-a4dc-17f176f9184b) to run at 1562071617
  137. EXECUTE sofia/default/61212777543@72.21.24.130 set(callstart=2019-07-02 12:22:57)
  138. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [callstart]=[2019-07-02 12:22:57]
  139. EXECUTE sofia/default/61212777543@72.21.24.130 set(hangup_after_bridge=true)
  140. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [hangup_after_bridge]=[true]
  141. EXECUTE sofia/default/61212777543@72.21.24.130 set(continue_on_fail=!USER_BUSY)
  142. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [continue_on_fail]=[!USER_BUSY]
  143. EXECUTE sofia/default/61212777543@72.21.24.130 set(account_id=103)
  144. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [account_id]=[103]
  145. EXECUTE sofia/default/61212777543@72.21.24.130 set(parent_id=0)
  146. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [parent_id]=[0]
  147. EXECUTE sofia/default/61212777543@72.21.24.130 set(entity_id=3)
  148. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [entity_id]=[3]
  149. EXECUTE sofia/default/61212777543@72.21.24.130 set(call_processed=internal)
  150. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [call_processed]=[internal]
  151. EXECUTE sofia/default/61212777543@72.21.24.130 set(call_direction=inbound)
  152. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [call_direction]=[inbound]
  153. EXECUTE sofia/default/61212777543@72.21.24.130 set(accountname=DID Provider)
  154. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [accountname]=[DID Provider]
  155. EXECUTE sofia/default/61212777543@72.21.24.130 export(t38_passthru=true)
  156. 2019-07-02 15:22:57.193608 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  157. EXECUTE sofia/default/61212777543@72.21.24.130 set(fax_enable_t38=true)
  158. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [fax_enable_t38]=[true]
  159. EXECUTE sofia/default/61212777543@72.21.24.130 set(fax_enable_t38_request=true)
  160. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [fax_enable_t38_request]=[true]
  161. EXECUTE sofia/default/61212777543@72.21.24.130 set(origination_rates_did=ID:2|CODE:^.16466616726.*|DESTINATION:Bhopal MADHYA PRADESH|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|ACCID:98)
  162. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [origination_rates_did]=[ID:2|CODE:^.16466616726.*|DESTINATION:Bhopal MADHYA PRADESH|CONNECTIONCOST:1.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|ACCID:98]
  163. EXECUTE sofia/default/61212777543@72.21.24.130 set(origination_rates=ID:0|CODE:16466616726|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:103)
  164. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [origination_rates]=[ID:0|CODE:16466616726|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:103]
  165. EXECUTE sofia/default/61212777543@72.21.24.130 set(original_caller_id_name=61212777543)
  166. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [original_caller_id_name]=[61212777543]
  167. EXECUTE sofia/default/61212777543@72.21.24.130 set(original_caller_id_number=61212777543)
  168. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [original_caller_id_number]=[61212777543]
  169. EXECUTE sofia/default/61212777543@72.21.24.130 set(effective_caller_id_name=61212777543)
  170. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [effective_caller_id_name]=[61212777543]
  171. EXECUTE sofia/default/61212777543@72.21.24.130 set(effective_caller_id_number=61212777543)
  172. 2019-07-02 15:22:57.193608 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [effective_caller_id_number]=[61212777543]
  173. EXECUTE sofia/default/61212777543@72.21.24.130 set(receiver_accid=98)
  174. 2019-07-02 15:22:57.213612 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [receiver_accid]=[98]
  175. EXECUTE sofia/default/61212777543@72.21.24.130 limit(db 16466616726 did_16466616726 2 !SWITCH_CONGESTION)
  176. 2019-07-02 15:22:57.213612 [DEBUG] switch_limit.c:126 incr called: 16466616726_did_16466616726 max:2, interval:0
  177. 2019-07-02 15:22:57.213612 [DEBUG] mod_db.c:194 Usage for 16466616726_did_16466616726 is now 1/2
  178. EXECUTE sofia/default/61212777543@72.21.24.130 set(calltype=DID-LOCAL)
  179. 2019-07-02 15:22:57.213612 [DEBUG] mod_dptools.c:1548 SET sofia/default/61212777543@72.21.24.130 [calltype]=[DID-LOCAL]
  180. EXECUTE sofia/default/61212777543@72.21.24.130 bridge([leg_timeout=0]user/6543219874@197.232.72.171)
  181. 2019-07-02 15:22:57.213612 [DEBUG] switch_channel.c:1250 sofia/default/61212777543@72.21.24.130 EXPORTING[export_vars] [t38_passthru]=[true] to event
  182. 2019-07-02 15:22:57.213612 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  183. 2019-07-02 15:22:57.213612 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  184. 2019-07-02 15:22:57.213612 [DEBUG] switch_channel.c:1250 sofia/default/61212777543@72.21.24.130 EXPORTING[export_vars] [t38_passthru]=[true] to event
  185. 2019-07-02 15:22:57.213612 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  186. 2019-07-02 15:22:57.213612 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6543219874@117.247.91.162:39198 [1fc87826-9cc4-11e9-a4fe-17f176f9184b]
  187. 2019-07-02 15:22:57.213612 [DEBUG] mod_sofia.c:4819 (sofia/default/6543219874@117.247.91.162:39198) State Change CS_NEW -> CS_INIT
  188. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6543219874@117.247.91.162:39198) Running State Change CS_INIT (Cur 2 Tot 947169)
  189. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6543219874@117.247.91.162:39198) State INIT
  190. 2019-07-02 15:22:57.213612 [DEBUG] mod_sofia.c:90 sofia/default/6543219874@117.247.91.162:39198 SOFIA INIT
  191. 2019-07-02 15:22:57.213612 [DEBUG] sofia_glue.c:1295 sofia/default/6543219874@117.247.91.162:39198 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  192. Local SDP:
  193. v=0
  194. o=FreeSWITCH 1562052733 1562052734 IN IP4 197.232.72.171
  195. s=FreeSWITCH
  196. c=IN IP4 197.232.72.171
  197. t=0 0
  198. m=audio 17444 RTP/AVP 0 101
  199. a=rtpmap:0 PCMU/8000
  200. a=rtpmap:101 telephone-event/8000
  201. a=fmtp:101 0-16
  202. a=ptime:20
  203. a=sendrecv
  204.  
  205. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:40 sofia/default/6543219874@117.247.91.162:39198 Standard INIT
  206. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6543219874@117.247.91.162:39198) State Change CS_INIT -> CS_ROUTING
  207. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6543219874@117.247.91.162:39198) State INIT going to sleep
  208. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6543219874@117.247.91.162:39198) Running State Change CS_ROUTING (Cur 2 Tot 947169)
  209. 2019-07-02 15:22:57.213612 [DEBUG] sofia.c:7084 Channel sofia/default/6543219874@117.247.91.162:39198 entering state [calling][0]
  210. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6543219874@117.247.91.162:39198) State ROUTING
  211. 2019-07-02 15:22:57.213612 [DEBUG] mod_sofia.c:143 sofia/default/6543219874@117.247.91.162:39198 SOFIA ROUTING
  212. 2019-07-02 15:22:57.213612 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6543219874@117.247.91.162:39198) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  213. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6543219874@117.247.91.162:39198) State ROUTING going to sleep
  214. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6543219874@117.247.91.162:39198) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 947169)
  215. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:662 (sofia/default/6543219874@117.247.91.162:39198) State CONSUME_MEDIA
  216. 2019-07-02 15:22:57.213612 [DEBUG] switch_core_state_machine.c:662 (sofia/default/6543219874@117.247.91.162:39198) State CONSUME_MEDIA going to sleep
  217. 2019-07-02 15:22:57.753731 [DEBUG] sofia.c:7084 Channel sofia/default/6543219874@117.247.91.162:39198 entering state [proceeding][180]
  218. 2019-07-02 15:22:57.753731 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/6543219874@117.247.91.162:39198!
  219. 2019-07-02 15:22:57.753731 [DEBUG] switch_channel.c:3346 (sofia/default/6543219874@117.247.91.162:39198) Callstate Change DOWN -> RINGING
  220. 2019-07-02 15:22:57.773715 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/61212777543@72.21.24.130!
  221. 2019-07-02 15:22:57.773715 [DEBUG] sofia.c:7084 Channel sofia/default/61212777543@72.21.24.130 entering state [early][180]
  222. 2019-07-02 15:22:57.773715 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/61212777543@72.21.24.130!
  223. 2019-07-02 15:22:58.613708 [NOTICE] switch_channel.c:1104 New Channel sofia/default/92693@197.232.72.171 [209f0fb2-9cc4-11e9-a502-17f176f9184b]
  224. 2019-07-02 15:22:58.613708 [DEBUG] switch_core_state_machine.c:584 (sofia/default/92693@197.232.72.171) Running State Change CS_NEW (Cur 3 Tot 947170)
  225. 2019-07-02 15:22:58.613708 [DEBUG] sofia.c:9873 sofia/default/92693@197.232.72.171 receiving invite from 77.247.110.196:51349 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  226. 2019-07-02 15:22:58.613708 [DEBUG] sofia.c:10044 IP 77.247.110.196 Rejected by acl "default". Falling back to Digest auth.
  227. 2019-07-02 15:22:58.613708 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [+441217900479@197.232.72.171] from ip 77.247.110.196
  228. 2019-07-02 15:22:58.613708 [DEBUG] switch_core_state_machine.c:603 (sofia/default/92693@197.232.72.171) State NEW
  229. 2019-07-02 15:22:58.613708 [DEBUG] sofia.c:2334 detaching session 209f0fb2-9cc4-11e9-a502-17f176f9184b
  230. 2019-07-02 15:23:00.893728 [DEBUG] sofia.c:7084 Channel sofia/default/6543219874@117.247.91.162:39198 entering state [completing][200]
  231. 2019-07-02 15:23:00.893728 [DEBUG] sofia.c:7094 Remote SDP:
  232. v=0
  233. o=- 3771058977 3771058978 IN IP4 117.247.91.162
  234. s=pjmedia
  235. c=IN IP4 117.247.91.162
  236. t=0 0
  237. m=audio 4008 RTP/AVP 0 101
  238. c=IN IP4 117.247.91.162
  239. a=rtpmap:101 telephone-event/8000
  240. a=fmtp:101 0-16
  241. a=rtcp:4009 IN IP4 192.168.1.177
  242.  
  243. 2019-07-02 15:23:00.893728 [DEBUG] sofia.c:7084 Channel sofia/default/6543219874@117.247.91.162:39198 entering state [ready][200]
  244. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  245. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  246. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  247. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/6543219874@117.247.91.162:39198 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  248. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_codec.c:111 sofia/default/6543219874@117.247.91.162:39198 Original read codec set to PCMU:0
  249. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  250. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:4767 sofia/default/6543219874@117.247.91.162:39198 Set 2833 dtmf send payload to 101 recv payload to 101
  251. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/6543219874@117.247.91.162:39198] 197.232.72.171 port 17444 -> 117.247.91.162 port 4008 codec: 0 ms: 20
  252. 2019-07-02 15:23:00.893728 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms
  253. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7098 Activating RTCP PORT 4009
  254. 2019-07-02 15:23:00.893728 [DEBUG] switch_rtp.c:4507 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 4009
  255. 2019-07-02 15:23:00.893728 [DEBUG] switch_rtp.c:2567 Setting RTCP remote addr to 117.247.91.162:4009 2
  256. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7179 sofia/default/6543219874@117.247.91.162:39198 Set 2833 dtmf send payload to 101
  257. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7186 sofia/default/6543219874@117.247.91.162:39198 Set 2833 dtmf receive payload to 101
  258. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7209 sofia/default/6543219874@117.247.91.162:39198 Set rtp dtmf delay to 40
  259. 2019-07-02 15:23:00.893728 [NOTICE] sofia.c:8218 Channel [sofia/default/6543219874@117.247.91.162:39198] has been answered
  260. 2019-07-02 15:23:00.893728 [DEBUG] switch_channel.c:3773 (sofia/default/6543219874@117.247.91.162:39198) Callstate Change RINGING -> ACTIVE
  261. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/61212777543@72.21.24.130] 197.232.72.171 port 28092 -> 72.21.24.130 port 21630 codec: 0 ms: 20
  262. 2019-07-02 15:23:00.893728 [DEBUG] switch_rtp.c:4111 Starting timer [soft] 160 bytes per 20ms
  263. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7179 sofia/default/61212777543@72.21.24.130 Set 2833 dtmf send payload to 101
  264. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7186 sofia/default/61212777543@72.21.24.130 Set 2833 dtmf receive payload to 101
  265. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_media.c:7209 sofia/default/61212777543@72.21.24.130 Set rtp dtmf delay to 40
  266. 2019-07-02 15:23:00.893728 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/61212777543@72.21.24.130:
  267. v=0
  268. o=FreeSWITCH 1562042088 1562042089 IN IP4 197.232.72.171
  269. s=FreeSWITCH
  270. c=IN IP4 197.232.72.171
  271. t=0 0
  272. m=audio 28092 RTP/AVP 0 101
  273. a=rtpmap:0 PCMU/8000
  274. a=rtpmap:101 telephone-event/8000
  275. a=fmtp:101 0-16
  276. a=ptime:20
  277. a=sendrecv
  278.  
  279. 2019-07-02 15:23:00.893728 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/61212777543@72.21.24.130] has been answered
  280. 2019-07-02 15:23:00.893728 [DEBUG] switch_channel.c:3773 (sofia/default/61212777543@72.21.24.130) Callstate Change RINGING -> ACTIVE
  281. 2019-07-02 15:23:00.893728 [DEBUG] sofia.c:7084 Channel sofia/default/61212777543@72.21.24.130 entering state [completed][200]
  282. 2019-07-02 15:23:00.893728 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/6543219874@117.247.91.162:39198]
  283. 2019-07-02 15:23:00.893728 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/6543219874@117.247.91.162:39198]
  284. 2019-07-02 15:23:00.893728 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/6543219874@117.247.91.162:39198) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  285. 2019-07-02 15:23:00.893728 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6543219874@117.247.91.162:39198) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 947170)