From Karl-working-audio, 6 Years ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2. 2018-12-20 13:30:38.557637 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6753432658@karlatp.inextrix.com:5065 [fae33aee-f2c6-47cb-864e-c10aa8517ef7]
  3. 2018-12-20 13:30:38.557637 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6753432658@karlatp.inextrix.com:5065) Running State Change CS_NEW (Cur 1 Tot 23)
  4. 2018-12-20 13:30:38.557637 [DEBUG] sofia.c:9873 sofia/default/6753432658@karlatp.inextrix.com:5065 receiving invite from 117.247.91.162:34368 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  5. 2018-12-20 13:30:38.557637 [DEBUG] sofia.c:10044 IP 117.247.91.162 Rejected by acl "default". Falling back to Digest auth.
  6. 2018-12-20 13:30:38.557637 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [6529673495@karlatp.inextrix.com] from ip 117.247.91.162
  7. 2018-12-20 13:30:38.557637 [DEBUG] switch_core_state_machine.c:603 (sofia/default/6753432658@karlatp.inextrix.com:5065) State NEW
  8. 2018-12-20 13:30:38.557637 [DEBUG] sofia.c:2334 detaching session fae33aee-f2c6-47cb-864e-c10aa8517ef7
  9. 2018-12-20 13:30:38.877563 [DEBUG] sofia.c:2442 Re-attaching to session fae33aee-f2c6-47cb-864e-c10aa8517ef7
  10. 2018-12-20 13:30:38.897557 [DEBUG] sofia.c:9873 sofia/default/6753432658@karlatp.inextrix.com:5065 receiving invite from 117.247.91.162:34368 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  11. 2018-12-20 13:30:38.897557 [DEBUG] sofia.c:10044 IP 117.247.91.162 Rejected by acl "default". Falling back to Digest auth.
  12. 2018-12-20 13:30:38.897557 [DEBUG] sofia.c:11168 Setting NAT mode based on via received
  13. 2018-12-20 13:30:38.897557 [DEBUG] sofia.c:7084 Channel sofia/default/6753432658@karlatp.inextrix.com:5065 entering state [received][100]
  14. 2018-12-20 13:30:38.897557 [DEBUG] sofia.c:7094 Remote SDP:
  15. v=0
  16. o=Zoiper 1285566 0 IN IP4 192.168.1.171
  17. s=Z
  18. c=IN IP4 192.168.1.171
  19. t=0 0
  20. m=audio 42434 RTP/AVP 3 101 0 8 97 110
  21. a=rtpmap:3 GSM/8000
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-16
  24. a=rtpmap:0 PCMU/8000
  25. a=rtpmap:8 PCMA/8000
  26. a=rtpmap:97 iLBC/8000
  27. a=fmtp:97 mode=30
  28. a=rtpmap:110 speex/8000
  29.  
  30. 2018-12-20 13:30:38.897557 [DEBUG] sofia.c:7480 (sofia/default/6753432658@karlatp.inextrix.com:5065) State Change CS_NEW -> CS_INIT
  31. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6753432658@karlatp.inextrix.com:5065) Running State Change CS_INIT (Cur 1 Tot 23)
  32. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6753432658@karlatp.inextrix.com:5065) State INIT
  33. 2018-12-20 13:30:38.897557 [DEBUG] mod_sofia.c:90 sofia/default/6753432658@karlatp.inextrix.com:5065 SOFIA INIT
  34. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:40 sofia/default/6753432658@karlatp.inextrix.com:5065 Standard INIT
  35. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6753432658@karlatp.inextrix.com:5065) State Change CS_INIT -> CS_ROUTING
  36. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6753432658@karlatp.inextrix.com:5065) State INIT going to sleep
  37. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6753432658@karlatp.inextrix.com:5065) Running State Change CS_ROUTING (Cur 1 Tot 23)
  38. 2018-12-20 13:30:38.897557 [DEBUG] switch_channel.c:2249 (sofia/default/6753432658@karlatp.inextrix.com:5065) Callstate Change DOWN -> RINGING
  39. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6753432658@karlatp.inextrix.com:5065) State ROUTING
  40. 2018-12-20 13:30:38.897557 [DEBUG] mod_sofia.c:143 sofia/default/6753432658@karlatp.inextrix.com:5065 SOFIA ROUTING
  41. 2018-12-20 13:30:38.897557 [DEBUG] switch_core_state_machine.c:236 sofia/default/6753432658@karlatp.inextrix.com:5065 Standard ROUTING
  42. 2018-12-20 13:30:38.897557 [INFO] mod_dialplan_xml.c:637 Processing 6753432658 <6753432658>->6529673495 in context default
  43. 2018-12-20 13:30:38.897557 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fbed406a910 Connected.
  44. 2018-12-20 13:30:38.917557 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  45. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 6529673495
  46. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 6753432658 / 6753432658
  47. 2018-12-20 13:30:38.917557 [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 ="6529673495" LIMIT 1
  48. 2018-12-20 13:30:38.917557 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6529673495" limit 1
  49. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : local
  50. 2018-12-20 13:30:38.917557 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 7545646832]
  51. 2018-12-20 13:30:38.917557 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "7545646832" OR id="7545646832") AND status=0 AND deleted=0 AND (expiry >= '2018-12-20 12:30:38' OR expiry = '0000-00-00 00:00:00') limit 1
  52. 2018-12-20 13:30:38.917557 [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 ='^6529673495.*' OR patterns ='^652967349.*' OR patterns ='^65296734.*' OR patterns ='^6529673.*' OR patterns ='^652967.*' OR patterns ='^65296.*' OR patterns ='^6529.*' OR patterns ='^652.*' OR patterns ='^65.*' OR patterns ='^6.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  53. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  54. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 7
  55. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 7545646832
  56. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 100
  57. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  58. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  59. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  60. 2018-12-20 13:30:38.917557 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  61. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  62. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  63. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 0
  64. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : 6529673495
  65. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Local
  66. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0
  67. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  68. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0
  69. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 60
  70. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 60
  71. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 7
  72. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  73. 2018-12-20 13:30:38.917557 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  74. 2018-12-20 13:30:38.917557 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="6529673495" limit 1
  75. 2018-12-20 13:30:38.917557 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
  76. 2018-12-20 13:30:38.917557 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
  77. 2018-12-20 13:30:38.917557 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  78. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  79. <document type="freeswitch/xml">
  80. <section name="dialplan" description="ASTPP Dialplan">
  81. <context name="default">
  82. <extension name="6529673495">
  83. <condition field="destination_number" expression="6529673495">
  84. <action application="set" data="effective_destination_number=6529673495"/>
  85. <action application="sched_hangup" data="+6000 normal_clearing"/>
  86. <action application="set" data="callstart=2018-12-20 12:30:38"/>
  87. <action application="set" data="hangup_after_bridge=true"/>
  88. <action application="set" data="continue_on_fail=!USER_BUSY"/>
  89. <action application="set" data="account_id=7"/>
  90. <action application="set" data="parent_id=0"/>
  91. <action application="set" data="entity_id=0"/>
  92. <action application="set" data="call_processed=internal"/>
  93. <action application="set" data="call_direction=local"/>
  94. <action application="set" data="accountname=default"/>
  95. <action application="set" data="origination_rates=ID:0|CODE:6529673495|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:7"/>
  96. <action application="set" data="original_caller_id_name=6753432658"/>
  97. <action application="set" data="original_caller_id_number=6753432658"/>
  98. <action application="set" data="effective_caller_id_name=6753432658"/>
  99. <action application="set" data="effective_caller_id_number=6753432658"/>
  100. <action application="set" data="calltype=LOCAL"/>
  101. <action application="set" data="receiver_accid=7"/>
  102. <action application="bridge" data="[leg_timeout=30]user/6529673495@${domain_name}"/>
  103. <condition field="${cond(${user_data 6529673495@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  104. <action application="answer"/>
  105. <action application="export" data="voicemail_alternate_greet_id=6529673495"/>
  106. <action application="voicemail" data="default $${domain_name} 6529673495"/>
  107. <anti-action application="hangup" data="${originate_disposition}"/>
  108. </condition>
  109. </condition>
  110. </extension>
  111. </context>
  112. </section>
  113. </document>
  114. 2018-12-20 13:30:38.917557 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fbed406a910 released.
  115. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 parsing [default->6529673495] continue=false
  116. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Regex (PASS) [6529673495] destination_number(6529673495) =~ /6529673495/ break=on-false
  117. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(effective_destination_number=6529673495)
  118. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action sched_hangup(+6000 normal_clearing)
  119. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(callstart=2018-12-20 12:30:38)
  120. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(hangup_after_bridge=true)
  121. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(continue_on_fail=!USER_BUSY)
  122. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(account_id=7)
  123. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(parent_id=0)
  124. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(entity_id=0)
  125. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(call_processed=internal)
  126. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(call_direction=local)
  127. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(accountname=default)
  128. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(origination_rates=ID:0|CODE:6529673495|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:7)
  129. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(original_caller_id_name=6753432658)
  130. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(original_caller_id_number=6753432658)
  131. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(effective_caller_id_name=6753432658)
  132. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(effective_caller_id_number=6753432658)
  133. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(calltype=LOCAL)
  134. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action set(receiver_accid=7)
  135. Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action bridge([leg_timeout=30]user/6529673495@${domain_name})
  136. |--- Dialplan: Processing recursive conditions level:1 [6529673495_recur_1] require-nested=TRUE
  137. |--- Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Regex (PASS) [6529673495_recur_1] ${cond(${user_data 6529673495@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  138. |--- Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action answer()
  139. |--- Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action export(voicemail_alternate_greet_id=6529673495)
  140. |--- Dialplan: sofia/default/6753432658@karlatp.inextrix.com:5065 Action voicemail(default $${domain_name} 6529673495)
  141. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:286 (sofia/default/6753432658@karlatp.inextrix.com:5065) State Change CS_ROUTING -> CS_EXECUTE
  142. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6753432658@karlatp.inextrix.com:5065) State ROUTING going to sleep
  143. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6753432658@karlatp.inextrix.com:5065) Running State Change CS_EXECUTE (Cur 1 Tot 23)
  144. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6753432658@karlatp.inextrix.com:5065) State EXECUTE
  145. 2018-12-20 13:30:38.937558 [DEBUG] mod_sofia.c:198 sofia/default/6753432658@karlatp.inextrix.com:5065 SOFIA EXECUTE
  146. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:328 sofia/default/6753432658@karlatp.inextrix.com:5065 Standard EXECUTE
  147. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(effective_destination_number=6529673495)
  148. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [effective_destination_number]=[6529673495]
  149. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 sched_hangup(+6000 normal_clearing)
  150. 2018-12-20 13:30:38.937558 [DEBUG] switch_scheduler.c:249 Added task 15 switch_ivr_schedule_hangup (fae33aee-f2c6-47cb-864e-c10aa8517ef7) to run at 1545315038
  151. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(callstart=2018-12-20 12:30:38)
  152. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [callstart]=[2018-12-20 12:30:38]
  153. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(hangup_after_bridge=true)
  154. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [hangup_after_bridge]=[true]
  155. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(continue_on_fail=!USER_BUSY)
  156. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [continue_on_fail]=[!USER_BUSY]
  157. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(account_id=7)
  158. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [account_id]=[7]
  159. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(parent_id=0)
  160. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [parent_id]=[0]
  161. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(entity_id=0)
  162. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [entity_id]=[0]
  163. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(call_processed=internal)
  164. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [call_processed]=[internal]
  165. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(call_direction=local)
  166. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [call_direction]=[local]
  167. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(accountname=default)
  168. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [accountname]=[default]
  169. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(origination_rates=ID:0|CODE:6529673495|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:7)
  170. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [origination_rates]=[ID:0|CODE:6529673495|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:7]
  171. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(original_caller_id_name=6753432658)
  172. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [original_caller_id_name]=[6753432658]
  173. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(original_caller_id_number=6753432658)
  174. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [original_caller_id_number]=[6753432658]
  175. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(effective_caller_id_name=6753432658)
  176. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [effective_caller_id_name]=[6753432658]
  177. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(effective_caller_id_number=6753432658)
  178. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [effective_caller_id_number]=[6753432658]
  179. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(calltype=LOCAL)
  180. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [calltype]=[LOCAL]
  181. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 set(receiver_accid=7)
  182. 2018-12-20 13:30:38.937558 [DEBUG] mod_dptools.c:1548 SET sofia/default/6753432658@karlatp.inextrix.com:5065 [receiver_accid]=[7]
  183. EXECUTE sofia/default/6753432658@karlatp.inextrix.com:5065 bridge([leg_timeout=30]user/6529673495@karlatp.inextrix.com)
  184. 2018-12-20 13:30:38.937558 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  185. 2018-12-20 13:30:38.937558 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  186. 2018-12-20 13:30:38.937558 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  187. 2018-12-20 13:30:38.937558 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6529673495@117.247.91.162:34255 [275977f2-f211-4abb-8f6f-ad6f458489b8]
  188. 2018-12-20 13:30:38.937558 [DEBUG] mod_sofia.c:4819 (sofia/default/6529673495@117.247.91.162:34255) State Change CS_NEW -> CS_INIT
  189. 2018-12-20 13:30:38.937558 [DEBUG] switch_ivr_originate.c:2963 sofia/default/6529673495@117.247.91.162:34255 Setting leg timeout to 30
  190. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6529673495@117.247.91.162:34255) Running State Change CS_INIT (Cur 2 Tot 24)
  191. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6529673495@117.247.91.162:34255) State INIT
  192. 2018-12-20 13:30:38.937558 [DEBUG] mod_sofia.c:90 sofia/default/6529673495@117.247.91.162:34255 SOFIA INIT
  193. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_media.c:9710 sofia/default/6529673495@117.247.91.162:34255 Patched SDP
  194. ---
  195. v=0
  196. o=Zoiper 1285566 0 IN IP4 192.168.1.171
  197. s=Z
  198. c=IN IP4 192.168.1.171
  199. t=0 0
  200. m=audio 42434 RTP/AVP 3 101 0 8 97 110
  201. a=rtpmap:3 GSM/8000
  202. a=rtpmap:101 telephone-event/8000
  203. a=fmtp:101 0-16
  204. a=rtpmap:0 PCMU/8000
  205. a=rtpmap:8 PCMA/8000
  206. a=rtpmap:97 iLBC/8000
  207. a=fmtp:97 mode=30
  208. a=rtpmap:110 speex/8000
  209.  
  210. +++
  211. v=0
  212. o=FreeSWITCH 0198340143 0198340144 IN IP4 217.113.176.153
  213. s=FreeSWITCH
  214. c=IN IP4 217.113.176.153
  215. t=0 0
  216. m=audio 18338 RTP/AVP 3 101 0 8 97 110
  217. a=rtpmap:3 GSM/8000
  218. a=rtpmap:101 telephone-event/8000
  219. a=fmtp:101 0-16
  220. a=rtpmap:0 PCMU/8000
  221. a=rtpmap:8 PCMA/8000
  222. a=rtpmap:97 iLBC/8000
  223. a=fmtp:97 mode=30
  224. a=rtpmap:110 speex/8000
  225.  
  226. 2018-12-20 13:30:38.937558 [DEBUG] sofia_glue.c:1264 sip:6529673495@117.247.91.162:34255;transport=TCP;rinstance=3f4506880ce1562f Setting proxy route to sofia/default/6529673495@117.247.91.162:34255
  227. 2018-12-20 13:30:38.937558 [DEBUG] sofia_glue.c:1295 sofia/default/6529673495@117.247.91.162:34255 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  228. Local SDP:
  229. v=0
  230. o=FreeSWITCH 0198340143 0198340144 IN IP4 217.113.176.153
  231. s=FreeSWITCH
  232. c=IN IP4 217.113.176.153
  233. t=0 0
  234. m=audio 18338 RTP/AVP 3 101 0 8 97 110
  235. a=rtpmap:3 GSM/8000
  236. a=rtpmap:101 telephone-event/8000
  237. a=fmtp:101 0-16
  238. a=rtpmap:0 PCMU/8000
  239. a=rtpmap:8 PCMA/8000
  240. a=rtpmap:97 iLBC/8000
  241. a=fmtp:97 mode=30
  242. a=rtpmap:110 speex/8000
  243.  
  244. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:40 sofia/default/6529673495@117.247.91.162:34255 Standard INIT
  245. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6529673495@117.247.91.162:34255) State Change CS_INIT -> CS_ROUTING
  246. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6529673495@117.247.91.162:34255) State INIT going to sleep
  247. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6529673495@117.247.91.162:34255) Running State Change CS_ROUTING (Cur 2 Tot 24)
  248. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6529673495@117.247.91.162:34255) State ROUTING
  249. 2018-12-20 13:30:38.937558 [DEBUG] mod_sofia.c:143 sofia/default/6529673495@117.247.91.162:34255 SOFIA ROUTING
  250. 2018-12-20 13:30:38.937558 [DEBUG] switch_ivr_originate.c:67 (sofia/default/6529673495@117.247.91.162:34255) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  251. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6529673495@117.247.91.162:34255) State ROUTING going to sleep
  252. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6529673495@117.247.91.162:34255) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 24)
  253. 2018-12-20 13:30:38.937558 [DEBUG] sofia.c:7084 Channel sofia/default/6529673495@117.247.91.162:34255 entering state [calling][0]
  254. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:662 (sofia/default/6529673495@117.247.91.162:34255) State CONSUME_MEDIA
  255. 2018-12-20 13:30:38.937558 [DEBUG] switch_core_state_machine.c:662 (sofia/default/6529673495@117.247.91.162:34255) State CONSUME_MEDIA going to sleep
  256. 2018-12-20 13:30:39.437628 [DEBUG] sofia.c:7084 Channel sofia/default/6529673495@117.247.91.162:34255 entering state [proceeding][180]
  257. 2018-12-20 13:30:39.437628 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/6529673495@117.247.91.162:34255!
  258. 2018-12-20 13:30:39.437628 [DEBUG] switch_channel.c:3346 (sofia/default/6529673495@117.247.91.162:34255) Callstate Change DOWN -> RINGING
  259. 2018-12-20 13:30:39.437628 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/6753432658@karlatp.inextrix.com:5065!
  260. 2018-12-20 13:30:39.437628 [DEBUG] sofia.c:7084 Channel sofia/default/6753432658@karlatp.inextrix.com:5065 entering state [early][180]
  261. 2018-12-20 13:30:39.437628 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/6753432658@karlatp.inextrix.com:5065!
  262. 2018-12-20 13:30:41.277604 [DEBUG] sofia.c:7084 Channel sofia/default/6529673495@117.247.91.162:34255 entering state [completing][200]
  263. 2018-12-20 13:30:41.277604 [DEBUG] sofia.c:7094 Remote SDP:
  264. v=0
  265. o=Zoiper 0 2 IN IP4 192.168.1.176
  266. s=Z
  267. c=IN IP4 192.168.1.176
  268. t=0 0
  269. m=audio 62298 RTP/AVP 3 0 8 97 110 101
  270. a=rtpmap:3 GSM/8000
  271. a=rtpmap:0 PCMU/8000
  272. a=rtpmap:8 PCMA/8000
  273. a=rtpmap:97 iLBC/8000
  274. a=fmtp:97 mode=30
  275. a=rtpmap:110 speex/8000
  276. a=rtpmap:101 telephone-event/8000
  277. a=fmtp:101 0-16
  278.  
  279. 2018-12-20 13:30:41.277604 [DEBUG] sofia.c:7084 Channel sofia/default/6529673495@117.247.91.162:34255 entering state [ready][200]
  280. 2018-12-20 13:30:41.277604 [NOTICE] sofia.c:8180 Channel [sofia/default/6529673495@117.247.91.162:34255] has been answered
  281. 2018-12-20 13:30:41.277604 [DEBUG] switch_channel.c:3773 (sofia/default/6529673495@117.247.91.162:34255) Callstate Change RINGING -> ACTIVE
  282. 2018-12-20 13:30:41.277604 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/6529673495@117.247.91.162:34255 PROXY/0 0 ms 160 samples 0 bits 1 channels
  283. 2018-12-20 13:30:41.277604 [DEBUG] switch_core_codec.c:111 sofia/default/6529673495@117.247.91.162:34255 Original read codec set to PROXY:0
  284. 2018-12-20 13:30:41.277604 [DEBUG] switch_core_media.c:6944 PROXY AUDIO RTP [sofia/default/6529673495@117.247.91.162:34255] 192.168.1.176:62298->192.168.1.176:62298 codec: 0 ms: 20
  285. 2018-12-20 13:30:41.277604 [DEBUG] switch_rtp.c:4133 Not using a timer
  286. 2018-12-20 13:30:41.277604 [DEBUG] switch_core_media.c:7179 sofia/default/6529673495@117.247.91.162:34255 Set 2833 dtmf send payload to 101
  287. 2018-12-20 13:30:41.277604 [DEBUG] switch_core_media.c:7186 sofia/default/6529673495@117.247.91.162:34255 Set 2833 dtmf receive payload to 101
  288. 2018-12-20 13:30:41.277604 [DEBUG] switch_core_media.c:7209 sofia/default/6529673495@117.247.91.162:34255 Set rtp dtmf delay to 40
  289. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_media.c:9710 sofia/default/6753432658@karlatp.inextrix.com:5065 Patched SDP
  290. ---
  291. v=0
  292. o=Zoiper 0 2 IN IP4 192.168.1.176
  293. s=Z
  294. c=IN IP4 192.168.1.176
  295. t=0 0
  296. m=audio 62298 RTP/AVP 3 0 8 97 110 101
  297. a=rtpmap:3 GSM/8000
  298. a=rtpmap:0 PCMU/8000
  299. a=rtpmap:8 PCMA/8000
  300. a=rtpmap:97 iLBC/8000
  301. a=fmtp:97 mode=30
  302. a=rtpmap:110 speex/8000
  303. a=rtpmap:101 telephone-event/8000
  304. a=fmtp:101 0-16
  305.  
  306. +++
  307. v=0
  308. o=FreeSWITCH 0198435606 0198435607 IN IP4 217.113.176.153
  309. s=FreeSWITCH
  310. c=IN IP4 217.113.176.153
  311. t=0 0
  312. m=audio 16678 RTP/AVP 3 0 8 97 110 101
  313. a=rtpmap:3 GSM/8000
  314. a=rtpmap:0 PCMU/8000
  315. a=rtpmap:8 PCMA/8000
  316. a=rtpmap:97 iLBC/8000
  317. a=fmtp:97 mode=30
  318. a=rtpmap:110 speex/8000
  319. a=rtpmap:101 telephone-event/8000
  320. a=fmtp:101 0-16
  321.  
  322. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/6753432658@karlatp.inextrix.com:5065 PROXY/0 0 ms 160 samples 0 bits 1 channels
  323. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_codec.c:111 sofia/default/6753432658@karlatp.inextrix.com:5065 Original read codec set to PROXY:0
  324. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_media.c:6944 PROXY AUDIO RTP [sofia/default/6753432658@karlatp.inextrix.com:5065] 192.168.1.171:42434->192.168.1.171:42434 codec: 0 ms: 20
  325. 2018-12-20 13:30:41.297556 [DEBUG] switch_rtp.c:4133 Not using a timer
  326. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_media.c:7179 sofia/default/6753432658@karlatp.inextrix.com:5065 Set 2833 dtmf send payload to 101
  327. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_media.c:7186 sofia/default/6753432658@karlatp.inextrix.com:5065 Set 2833 dtmf receive payload to 101
  328. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_media.c:7209 sofia/default/6753432658@karlatp.inextrix.com:5065 Set rtp dtmf delay to 40
  329. 2018-12-20 13:30:41.297556 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/6753432658@karlatp.inextrix.com:5065] has been answered
  330. 2018-12-20 13:30:41.297556 [DEBUG] switch_channel.c:3773 (sofia/default/6753432658@karlatp.inextrix.com:5065) Callstate Change RINGING -> ACTIVE
  331. 2018-12-20 13:30:41.297556 [DEBUG] sofia.c:7084 Channel sofia/default/6753432658@karlatp.inextrix.com:5065 entering state [completed][200]
  332. 2018-12-20 13:30:41.297556 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/6529673495@117.247.91.162:34255]
  333. 2018-12-20 13:30:41.297556 [DEBUG] switch_ivr_originate.c:2963 sofia/default/6529673495@117.247.91.162:34255 Setting leg timeout to 30
  334. 2018-12-20 13:30:41.297556 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/6529673495@117.247.91.162:34255]
  335. 2018-12-20 13:30:41.297556 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/6529673495@117.247.91.162:34255) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  336. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6529673495@117.247.91.162:34255) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 24)
  337. 2018-12-20 13:30:41.297556 [DEBUG] switch_core_state_machine.c:653 (sofia/default/6529673495@117.247.91.162:34255) State EXCHANGE_MEDIA
  338. 2018-12-20 13:30:41.297556 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  339. 2018-12-20 13:30:41.437636 [DEBUG] sofia.c:7084 Channel sofia/default/6753432658@karlatp.inextrix.com:5065 entering state [ready][200]
  340. 2018-12-20 13:30:41.437636 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/6753432658@karlatp.inextrix.com:5065.
  341. 2018-12-20 13:30:41.557636 [INFO] switch_rtp.c:7231 Auto Changing audio port from 192.168.1.176:62298 to 117.247.91.162:62298
  342. 2018-12-20 13:30:41.857637 [INFO] switch_rtp.c:7231 Auto Changing audio port from 192.168.1.171:42434 to 117.247.91.162:42434
  343.