From Anointedone, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. Sip Trace Log:
  2.  
  3. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:584 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_NEW (Cur 1 Tot 1)
  4. 2021-03-10 12:20:17.534757 [DEBUG] sofia.c:9873 sofia/sip-ip/01226971834@10.0.1.29 receiving invite from 10.0.1.29:5060 version: 1.6.20  64bit
  5. 2021-03-10 12:20:17.534757 [DEBUG] sofia.c:9989 IP 10.0.1.29 Approved by acl "default[]". Access Granted.
  6. 2021-03-10 12:20:17.534757 [DEBUG] sofia.c:7084 Channel sofia/sip-ip/01226971834@10.0.1.29 entering state [received][100]
  7. 2021-03-10 12:20:17.534757 [DEBUG] sofia.c:7094 Remote SDP:
  8. v=0
  9. o=- 283383691 283383691 IN IP4 10.0.1.29
  10. s=Asterisk
  11. c=IN IP4 10.0.1.29
  12. t=0 0
  13. m=audio 11144 RTP/AVP 0 8 9 4 3 101
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:9 G722/8000
  17. a=rtpmap:4 G723/8000
  18. a=rtpmap:3 GSM/8000
  19. a=rtpmap:101 telephone-event/8000
  20. a=fmtp:101 0-16
  21. a=ptime:20
  22. a=maxptime:150
  23.  
  24. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  28. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  29. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  31. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  32. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  35. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
  36. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[G729:18:8000:20:8000:1]
  38. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  39. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  40. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  41. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  42. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:3061 Set Codec sofia/sip-ip/01226971834@10.0.1.29 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  43. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_codec.c:111 sofia/sip-ip/01226971834@10.0.1.29 Original read codec set to PCMU:0
  44. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  45. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_media.c:4767 sofia/sip-ip/01226971834@10.0.1.29 Set 2833 dtmf send payload to 101 recv payload to 101
  46. 2021-03-10 12:20:17.534757 [DEBUG] sofia.c:7507 (sofia/sip-ip/01226971834@10.0.1.29) State Change CS_NEW -> CS_INIT
  47. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:603 (sofia/sip-ip/01226971834@10.0.1.29) State NEW
  48. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:584 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_INIT (Cur 1 Tot 1)
  49. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:627 (sofia/sip-ip/01226971834@10.0.1.29) State INIT
  50. 2021-03-10 12:20:17.534757 [DEBUG] mod_sofia.c:90 sofia/sip-ip/01226971834@10.0.1.29 SOFIA INIT
  51. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:40 sofia/sip-ip/01226971834@10.0.1.29 Standard INIT
  52. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:48 (sofia/sip-ip/01226971834@10.0.1.29) State Change CS_INIT -> CS_ROUTING
  53. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:627 (sofia/sip-ip/01226971834@10.0.1.29) State INIT going to sleep
  54. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:584 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_ROUTING (Cur 1 Tot 1)
  55. 2021-03-10 12:20:17.534757 [DEBUG] switch_channel.c:2249 (sofia/sip-ip/01226971834@10.0.1.29) Callstate Change DOWN -> RINGING
  56. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:643 (sofia/sip-ip/01226971834@10.0.1.29) State ROUTING
  57. 2021-03-10 12:20:17.534757 [DEBUG] mod_sofia.c:143 sofia/sip-ip/01226971834@10.0.1.29 SOFIA ROUTING
  58. 2021-03-10 12:20:17.534757 [DEBUG] switch_core_state_machine.c:236 sofia/sip-ip/01226971834@10.0.1.29 Standard ROUTING
  59. 2021-03-10 12:20:17.534757 [INFO] mod_dialplan_xml.c:637 Processing 01226971834 <01226971834>->03302290443 in context default
  60. 2021-03-10 12:20:17.596174 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3ebc1cae70 Connected.
  61. 2021-03-10 12:20:17.596174 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  62. 2021-03-10 12:20:17.596174 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  63. 2021-03-10 12:20:17.596174 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 03302290443
  64. 2021-03-10 12:20:17.596174 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '03302290443' AND status=0 limit 1
  65. 2021-03-10 12:20:17.596174 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 01226971834 / 01226971834
  66. 2021-03-10 12:20:17.596174 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03302290443" LIMIT 1
  67. 2021-03-10 12:20:17.596174 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  68. 2021-03-10 12:20:17.596174 [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("10.0.1.29") 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 "03302290443"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  69. 2021-03-10 12:20:17.634761 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 9856937967]
  70. 2021-03-10 12:20:17.634761 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9856937967" AND deleted = 0 limit 1
  71. 2021-03-10 12:20:17.634761 [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 ="03302290443" AND A.accountid = '13' limit 1
  72. 2021-03-10 12:20:17.634761 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 03302290443
  73. 2021-03-10 12:20:17.634761 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03302290443" LIMIT 1
  74. 2021-03-10 12:20:17.634761 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  75. 2021-03-10 12:20:17.634761 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="03302290443" AND (accountid = 0 OR status = 1) LIMIT 1
  76. 2021-03-10 12:20:17.634761 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  77. 2021-03-10 12:20:17.634761 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :2
  78. 2021-03-10 12:20:17.634761 [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 = '^03302290443.*' OR patterns = '^0330229044.*' OR patterns = '^033022904.*' OR patterns = '^03302290.*' OR patterns = '^0330229.*' OR patterns = '^033022.*' OR patterns = '^03302.*' OR patterns = '^0330.*' OR patterns = '^033.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  79. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  80. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 13
  81. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 9856937967
  82. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 10000
  83. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  84. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  85. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  86. 2021-03-10 12:20:17.655679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  87. 2021-03-10 12:20:17.655679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  88. 2021-03-10 12:20:17.655679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="03302290443" LIMIT 1
  89. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  90. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  91. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  92. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  93. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  94. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 1.30378
  95. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 03302290443
  96. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
  97. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 13
  98. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  99. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 13 !!!
  100. 2021-03-10 12:20:17.655679 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  101. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  102. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  103. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  104. 2021-03-10 12:20:17.655679 [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 = 13 AND status=0 LIMIT 1
  105. 2021-03-10 12:20:17.655679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "2" AND deleted = 0 limit 1
  106. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:13
  107. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:13
  108. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 13
  109. 2021-03-10 12:20:17.655679 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 100
  110. 2021-03-10 12:20:17.655679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_0
  111. 2021-03-10 12:20:17.655679 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  112. <document type="freeswitch/xml">
  113. <section name="dialplan" description="ASTPP Dialplan">
  114. <context name="default">
  115. <extension name="03302290443">
  116. <condition field="destination_number" expression="03302290443">
  117. <action application="set" data="effective_destination_number=03302290443"/>
  118. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  119. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  120. <action application="set" data="callstart=2021-03-10 12:20:17"/>
  121. <action application="set" data="hangup_after_bridge=true"/>
  122. <action application="set" data="continue_on_fail=TRUE"/>
  123. <action application="set" data="account_id=13"/>
  124. <action application="set" data="parent_id=0"/>
  125. <action application="set" data="entity_id=3"/>
  126. <action application="set" data="call_processed=internal"/>
  127. <action application="set" data="call_direction=inbound"/>
  128. <action application="set" data="accountname=FreePBX"/>
  129. <action application="set" data="origination_rates_did=ID:1|CODE:^03302290443.*|DESTINATION:03302290443|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.30378|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2"/>
  130. <action application="set" data="origination_rates=0"/>
  131. <action application="set" data="original_caller_id_name=01226971834"/>
  132. <action application="set" data="original_caller_id_number=01226971834"/>
  133. <action application="set" data="effective_caller_id_name=01226971834"/>
  134. <action application="set" data="effective_caller_id_number=01226971834"/>
  135. <action application="set" data="receiver_accid=2"/>
  136. <action application="export" data="presence_data=x|||Dial9(9856937967)|||^03302290443.* // 03302290443 // 1.30378||||||DID"/>
  137. <action application="export" data="call_type=0"/>
  138. <action application="set" data="calltype=DID-LOCAL"/>
  139. <action application="bridge" data="[leg_timeout=0]user/9856937967@${domain_name}"/>
  140. <condition field="${cond(${user_data 9856937967@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  141. <action application="answer"/>
  142. <action application="export" data="voicemail_alternate_greet_id=03302290443"/>
  143. <action application="voicemail" data="default $${domain_name} 9856937967"/>
  144. <anti-action application="hangup" data="${originate_disposition}"/>
  145. </condition>
  146. </condition>
  147. </extension>
  148. </context>
  149. </section>
  150. </document>
  151. 2021-03-10 12:20:17.655679 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3ebc1cae70 released.
  152. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 parsing [default->03302290443] continue=false
  153. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Regex (PASS) [03302290443] destination_number(03302290443) =~ /03302290443/ break=on-false
  154. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(effective_destination_number=03302290443)
  155. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  156. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  157. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(callstart=2021-03-10 12:20:17)
  158. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(hangup_after_bridge=true)
  159. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(continue_on_fail=TRUE)
  160. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(account_id=13)
  161. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(parent_id=0)
  162. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(entity_id=3)
  163. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(call_processed=internal)
  164. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(call_direction=inbound)
  165. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(accountname=FreePBX)
  166. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(origination_rates_did=ID:1|CODE:^03302290443.*|DESTINATION:03302290443|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.30378|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2)
  167. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(origination_rates=0)
  168. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(original_caller_id_name=01226971834)
  169. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(original_caller_id_number=01226971834)
  170. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(effective_caller_id_name=01226971834)
  171. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(effective_caller_id_number=01226971834)
  172. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(receiver_accid=2)
  173. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action export(presence_data=x|||Dial9(9856937967)|||^03302290443.* // 03302290443 // 1.30378||||||DID)
  174. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action export(call_type=0)
  175. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action set(calltype=DID-LOCAL)
  176. Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action bridge([leg_timeout=0]user/9856937967@${domain_name})
  177. |--- Dialplan: Processing recursive conditions level:1 [03302290443_recur_1] require-nested=TRUE
  178. |--- Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Regex (PASS) [03302290443_recur_1] ${cond(${user_data 9856937967@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  179. |--- Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action answer()
  180. |--- Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action export(voicemail_alternate_greet_id=03302290443)
  181. |--- Dialplan: sofia/sip-ip/01226971834@10.0.1.29 Action voicemail(default $${domain_name} 9856937967)
  182. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_state_machine.c:286 (sofia/sip-ip/01226971834@10.0.1.29) State Change CS_ROUTING -> CS_EXECUTE
  183. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_state_machine.c:643 (sofia/sip-ip/01226971834@10.0.1.29) State ROUTING going to sleep
  184. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_state_machine.c:584 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_EXECUTE (Cur 1 Tot 1)
  185. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_state_machine.c:650 (sofia/sip-ip/01226971834@10.0.1.29) State EXECUTE
  186. 2021-03-10 12:20:17.682238 [DEBUG] mod_sofia.c:198 sofia/sip-ip/01226971834@10.0.1.29 SOFIA EXECUTE
  187. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_state_machine.c:328 sofia/sip-ip/01226971834@10.0.1.29 Standard EXECUTE
  188. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(effective_destination_number=03302290443)
  189. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [effective_destination_number]=[03302290443]
  190. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(bridge_pre_execute_bleg_app=sched_hangup)
  191. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [bridge_pre_execute_bleg_app]=[sched_hangup]
  192. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  193. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  194. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(callstart=2021-03-10 12:20:17)
  195. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [callstart]=[2021-03-10 12:20:17]
  196. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(hangup_after_bridge=true)
  197. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [hangup_after_bridge]=[true]
  198. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(continue_on_fail=TRUE)
  199. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [continue_on_fail]=[TRUE]
  200. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(account_id=13)
  201. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [account_id]=[13]
  202. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(parent_id=0)
  203. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [parent_id]=[0]
  204. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(entity_id=3)
  205. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [entity_id]=[3]
  206. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(call_processed=internal)
  207. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [call_processed]=[internal]
  208. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(call_direction=inbound)
  209. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [call_direction]=[inbound]
  210. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(accountname=FreePBX)
  211. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [accountname]=[FreePBX]
  212. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(origination_rates_did=ID:1|CODE:^03302290443.*|DESTINATION:03302290443|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.30378|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2)
  213. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [origination_rates_did]=[ID:1|CODE:^03302290443.*|DESTINATION:03302290443|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:1.30378|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:200|ACCID:2]
  214. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(origination_rates=0)
  215. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [origination_rates]=[0]
  216. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(original_caller_id_name=01226971834)
  217. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [original_caller_id_name]=[01226971834]
  218. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(original_caller_id_number=01226971834)
  219. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [original_caller_id_number]=[01226971834]
  220. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(effective_caller_id_name=01226971834)
  221. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [effective_caller_id_name]=[01226971834]
  222. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(effective_caller_id_number=01226971834)
  223. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [effective_caller_id_number]=[01226971834]
  224. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(receiver_accid=2)
  225. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [receiver_accid]=[2]
  226. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 export(presence_data=x|||Dial9(9856937967)|||^03302290443.* // 03302290443 // 1.30378||||||DID)
  227. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Dial9(9856937967)|||^03302290443.* // 03302290443 // 1.30378||||||DID]
  228. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 export(call_type=0)
  229. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[0]
  230. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 set(calltype=DID-LOCAL)
  231. 2021-03-10 12:20:17.682238 [DEBUG] mod_dptools.c:1548 SET sofia/sip-ip/01226971834@10.0.1.29 [calltype]=[DID-LOCAL]
  232. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 bridge([leg_timeout=0]user/9856937967@10.0.1.212)
  233. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1250 sofia/sip-ip/01226971834@10.0.1.29 EXPORTING[export_vars] [presence_data]=[x|||Dial9(9856937967)|||^03302290443.* // 03302290443 // 1.30378||||||DID] to event
  234. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1250 sofia/sip-ip/01226971834@10.0.1.29 EXPORTING[export_vars] [call_type]=[0] to event
  235. 2021-03-10 12:20:17.682238 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  236. 2021-03-10 12:20:17.682238 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  237. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1250 sofia/sip-ip/01226971834@10.0.1.29 EXPORTING[export_vars] [presence_data]=[x|||Dial9(9856937967)|||^03302290443.* // 03302290443 // 1.30378||||||DID] to event
  238. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1250 sofia/sip-ip/01226971834@10.0.1.29 EXPORTING[export_vars] [call_type]=[0] to event
  239. 2021-03-10 12:20:17.682238 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  240. 2021-03-10 12:20:17.682238 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  241. 2021-03-10 12:20:17.682238 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  242. 2021-03-10 12:20:17.682238 [NOTICE] switch_ivr_originate.c:2851 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  243. 2021-03-10 12:20:17.682238 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
  244. 2021-03-10 12:20:17.682238 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: USER_NOT_REGISTERED
  245. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 answer()
  246. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/sip-ip/01226971834@10.0.1.29] 10.0.1.212 port 16840 -> 10.0.1.29 port 11144 codec: 0 ms: 20
  247. 2021-03-10 12:20:17.682238 [DEBUG] switch_rtp.c:4159 Not using a timer
  248. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_media.c:7180 sofia/sip-ip/01226971834@10.0.1.29 Set 2833 dtmf send payload to 101
  249. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_media.c:7187 sofia/sip-ip/01226971834@10.0.1.29 Set 2833 dtmf receive payload to 101
  250. 2021-03-10 12:20:17.682238 [DEBUG] switch_core_media.c:7210 sofia/sip-ip/01226971834@10.0.1.29 Set rtp dtmf delay to 40
  251. 2021-03-10 12:20:17.682238 [DEBUG] mod_sofia.c:850 Local SDP sofia/sip-ip/01226971834@10.0.1.29:
  252. v=0
  253. o=FreeSWITCH 1615361977 1615361978 IN IP4 10.0.1.212
  254. s=FreeSWITCH
  255. c=IN IP4 10.0.1.212
  256. t=0 0
  257. m=audio 16840 RTP/AVP 0 101
  258. a=rtpmap:0 PCMU/8000
  259. a=rtpmap:101 telephone-event/8000
  260. a=fmtp:101 0-16
  261. a=ptime:20
  262. a=sendrecv
  263.  
  264. 2021-03-10 12:20:17.682238 [NOTICE] mod_dptools.c:1312 Channel [sofia/sip-ip/01226971834@10.0.1.29] has been answered
  265. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:3773 (sofia/sip-ip/01226971834@10.0.1.29) Callstate Change RINGING -> ACTIVE
  266. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 export(voicemail_alternate_greet_id=03302290443)
  267. 2021-03-10 12:20:17.682238 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [voicemail_alternate_greet_id]=[03302290443]
  268. EXECUTE sofia/sip-ip/01226971834@10.0.1.29 voicemail(default 10.0.1.212 9856937967)
  269. 2021-03-10 12:20:17.715099 [DEBUG] sofia.c:7084 Channel sofia/sip-ip/01226971834@10.0.1.29 entering state [completed][200]
  270. 2021-03-10 12:20:17.715099 [DEBUG] sofia.c:7084 Channel sofia/sip-ip/01226971834@10.0.1.29 entering state [ready][200]
  271. 2021-03-10 12:20:49.734765 [NOTICE] sofia.c:1012 Hangup sofia/sip-ip/01226971834@10.0.1.29 [CS_EXECUTE] [NORMAL_CLEARING]
  272. 2021-03-10 12:20:49.734765 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  273. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_session.c:2815 sofia/sip-ip/01226971834@10.0.1.29 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  274. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:650 (sofia/sip-ip/01226971834@10.0.1.29) State EXECUTE going to sleep
  275. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:584 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_HANGUP (Cur 1 Tot 1)
  276. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:850 (sofia/sip-ip/01226971834@10.0.1.29) Callstate Change ACTIVE -> HANGUP
  277. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:852 (sofia/sip-ip/01226971834@10.0.1.29) State HANGUP
  278. 2021-03-10 12:20:49.734765 [DEBUG] mod_sofia.c:438 Channel sofia/sip-ip/01226971834@10.0.1.29 hanging up, cause: NORMAL_CLEARING
  279. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:60 sofia/sip-ip/01226971834@10.0.1.29 Standard HANGUP, cause: NORMAL_CLEARING
  280. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:852 (sofia/sip-ip/01226971834@10.0.1.29) State HANGUP going to sleep
  281. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:619 (sofia/sip-ip/01226971834@10.0.1.29) State Change CS_HANGUP -> CS_REPORTING
  282. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:584 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_REPORTING (Cur 1 Tot 1)
  283. 2021-03-10 12:20:49.734765 [DEBUG] switch_core_state_machine.c:938 (sofia/sip-ip/01226971834@10.0.1.29) State REPORTING
  284. 2021-03-10 12:20:49.734765 [INFO] mod_json_cdr.c:271 Process [f9793c2e-819a-11eb-b65f-8914a0e01ab2.cdr.json]
  285. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:174 sofia/sip-ip/01226971834@10.0.1.29 Standard REPORTING, cause: NORMAL_CLEARING
  286. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:938 (sofia/sip-ip/01226971834@10.0.1.29) State REPORTING going to sleep
  287. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:610 (sofia/sip-ip/01226971834@10.0.1.29) State Change CS_REPORTING -> CS_DESTROY
  288. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_session.c:1665 Session 1 (sofia/sip-ip/01226971834@10.0.1.29) Locked, Waiting on external entities
  289. 2021-03-10 12:20:49.794754 [NOTICE] switch_core_session.c:1683 Session 1 (sofia/sip-ip/01226971834@10.0.1.29) Ended
  290. 2021-03-10 12:20:49.794754 [NOTICE] switch_core_session.c:1687 Close Channel sofia/sip-ip/01226971834@10.0.1.29 [CS_DESTROY]
  291. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:741 (sofia/sip-ip/01226971834@10.0.1.29) Running State Change CS_DESTROY (Cur 0 Tot 1)
  292. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:751 (sofia/sip-ip/01226971834@10.0.1.29) State DESTROY
  293. 2021-03-10 12:20:49.794754 [DEBUG] mod_sofia.c:343 sofia/sip-ip/01226971834@10.0.1.29 SOFIA DESTROY
  294. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:181 sofia/sip-ip/01226971834@10.0.1.29 Standard DESTROY
  295. 2021-03-10 12:20:49.794754 [DEBUG] switch_core_state_machine.c:751 (sofia/sip-ip/01226971834@10.0.1.29) State DESTROY going to sleep
  296. freeswitch@astpp.myrevbill.com>
  297.  
  298. Thanks!!
  299.  
  300.  

Replies to FS Inbound DID Log rss

Title Name Language When
Re: FS Inbound DID Log Beige Shama freeswitch 1 Year ago.