From RG PICKUP, 1 Year ago, written in HTML5.
- view diff
Embed
  1. 2022-08-18 09:31:42.017623 91.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/3333@13.126.179.47:5061 [f8ec7089-c62e-4e8e-a1cc-20f88eab7433]
  2. 2022-08-18 09:31:42.017623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_NEW (Cur 3 Tot 35)
  3. 2022-08-18 09:31:42.017623 91.00% [INFO] sofia.c:10462 sofia/default/3333@13.126.179.47:5061 receiving invite from 157.32.87.8:37853 version: 1.10.7 -release 64bit call-id: 5rS9fb3O8SVm3fGFrwH6dQ..
  4. 2022-08-18 09:31:42.017623 91.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 157.32.87.8:0.
  5. 2022-08-18 09:31:42.017623 91.00% [DEBUG] sofia.c:2419 detaching session f8ec7089-c62e-4e8e-a1cc-20f88eab7433
  6. 2022-08-18 09:31:42.017623 91.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [*99@13.126.179.47] from ip 157.32.87.8
  7. 2022-08-18 09:31:42.017623 91.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3333@13.126.179.47:5061) State NEW
  8. 2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:2532 Re-attaching to session f8ec7089-c62e-4e8e-a1cc-20f88eab7433
  9. 2022-08-18 09:31:42.217623 91.00% [INFO] sofia.c:10462 sofia/default/3333@13.126.179.47:5061 receiving invite from 157.32.87.8:37853 version: 1.10.7 -release 64bit call-id: 5rS9fb3O8SVm3fGFrwH6dQ..
  10. 2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 157.32.87.8:0.
  11. 2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
  12. 2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:7499 Channel sofia/default/3333@13.126.179.47:5061 entering state [received][100]
  13. 2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:7509 Remote SDP:
  14. v=0
  15. o=Zoiper 1660815101415 1 IN IP4 157.32.87.8
  16. s=Z
  17. c=IN IP4 157.32.87.8
  18. t=0 0
  19. m=audio 58972 RTP/AVP 0 101 8 3
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-16
  22.  
  23. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  27. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  31. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  32. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/3333@13.126.179.47:5061 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  33. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_codec.c:111 sofia/default/3333@13.126.179.47:5061 Original read codec set to PCMU:0
  34. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  35. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5973 sofia/default/3333@13.126.179.47:5061 Set 2833 dtmf send payload to 101 recv payload to 101
  36. 2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:7933 (sofia/default/3333@13.126.179.47:5061) State Change CS_NEW -> CS_INIT
  37. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_INIT (Cur 3 Tot 35)
  38. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3333@13.126.179.47:5061) State INIT
  39. 2022-08-18 09:31:42.217623 91.00% [DEBUG] mod_sofia.c:97 sofia/default/3333@13.126.179.47:5061 SOFIA INIT
  40. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/3333@13.126.179.47:5061 Standard INIT
  41. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3333@13.126.179.47:5061) State Change CS_INIT -> CS_ROUTING
  42. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3333@13.126.179.47:5061) State INIT going to sleep
  43. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_ROUTING (Cur 3 Tot 35)
  44. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_channel.c:2380 (sofia/default/3333@13.126.179.47:5061) Callstate Change DOWN -> RINGING
  45. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3333@13.126.179.47:5061) State ROUTING
  46. 2022-08-18 09:31:42.217623 91.00% [DEBUG] mod_sofia.c:158 sofia/default/3333@13.126.179.47:5061 SOFIA ROUTING
  47. 2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/3333@13.126.179.47:5061 Standard ROUTING
  48. 2022-08-18 09:31:42.237622 91.00% [INFO] mod_dialplan_xml.c:639 Processing 3333 <3333>->*99 in context default
  49. 2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
  50. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  52. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  54. 2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: *99
  55. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  56. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  57. 2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
  58. 2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : *99
  59. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '*99' limit 1
  60. 2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Feature Code Action : call_pickup_same_group
  61. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_Sip_Accountcode] Query :SELECT sip_devices.accountid from sip_devices,domains where sip_devices.accountid=domains.accountid and sip_devices.username = '3333' and domain = '13.126.179.47' limit 1
  62. 2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3333"  AND domains.domain="13.126.179.47" limit 1
  63. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FEATURE_CODE] Sip Info Id :4
  64. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FEATURE_CODE] Feature Code Action :call_pickup_same_group
  65. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4 limit 1
  66. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_PICKUP_GROUP] Query :SELECT id,name from pickup_group where id IN (1) AND status = 0
  67. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  68. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  69. <document type="freeswitch/xml">
  70. <section name="dialplan" description="ASTPP Dialplan">
  71. <context name="default">
  72. <extension name="\*99">
  73. <condition field="destination_number" expression="\*99">
  74. <action application="export" data="did_user_domain=13.126.179.47"/>
  75. <action application="answer"/>
  76. <action application="play_and_get_digits" data="2 15 3 7000 # /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+"/>
  77. <action application="pickup" data="TestPickup_${foobar}"/>
  78. </condition>
  79. </extension>
  80. </context>
  81. </document>
  82. Dialplan: sofia/default/3333@13.126.179.47:5061 parsing [default->\*99] continue=false
  83. Dialplan: sofia/default/3333@13.126.179.47:5061 Regex (PASS) [\*99] destination_number(*99) =~ /\*99/ break=on-false
  84. Dialplan: sofia/default/3333@13.126.179.47:5061 Action export(did_user_domain=13.126.179.47)
  85. Dialplan: sofia/default/3333@13.126.179.47:5061 Action answer()
  86. Dialplan: sofia/default/3333@13.126.179.47:5061 Action play_and_get_digits(2 15 3 7000 # /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+)
  87. Dialplan: sofia/default/3333@13.126.179.47:5061 Action pickup(TestPickup_${foobar})
  88. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3333@13.126.179.47:5061) State Change CS_ROUTING -> CS_EXECUTE
  89. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3333@13.126.179.47:5061) State ROUTING going to sleep
  90. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_EXECUTE (Cur 3 Tot 35)
  91. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3333@13.126.179.47:5061) State EXECUTE
  92. 2022-08-18 09:31:42.257623 91.00% [DEBUG] mod_sofia.c:213 sofia/default/3333@13.126.179.47:5061 SOFIA EXECUTE
  93. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/3333@13.126.179.47:5061 Standard EXECUTE
  94. EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 export(did_user_domain=13.126.179.47)
  95. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[13.126.179.47]
  96. EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 answer()
  97. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/3333@13.126.179.47:5061] 172.31.32.150 port 31156 -> 157.32.87.8 port 58972 codec: 0 ms: 20
  98. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  99. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:9089 sofia/default/3333@13.126.179.47:5061 Set 2833 dtmf send payload to 101
  100. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:9096 sofia/default/3333@13.126.179.47:5061 Set 2833 dtmf receive payload to 101
  101. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:9119 sofia/default/3333@13.126.179.47:5061 Set rtp dtmf delay to 40
  102. 2022-08-18 09:31:42.257623 91.00% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/3333@13.126.179.47:5061:
  103. v=0
  104. o=FreeSWITCH 1660783946 1660783947 IN IP4 13.126.179.47
  105. s=FreeSWITCH
  106. c=IN IP4 13.126.179.47
  107. t=0 0
  108. m=audio 31156 RTP/AVP 0 101
  109. a=rtpmap:0 PCMU/8000
  110. a=rtpmap:101 telephone-event/8000
  111. a=fmtp:101 0-15
  112. a=ptime:20
  113. a=sendrecv
  114.  
  115. 2022-08-18 09:31:42.257623 91.00% [DEBUG] sofia.c:7499 Channel sofia/default/3333@13.126.179.47:5061 entering state [completed][200]
  116. 2022-08-18 09:31:42.257623 91.00% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/3333@13.126.179.47:5061] has been answered
  117. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_channel.c:3950 (sofia/default/3333@13.126.179.47:5061) Callstate Change RINGING -> ACTIVE
  118. EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 play_and_get_digits(2 15 3 7000 # /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+)
  119. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav sample rate 22050 doesn't match requested rate 8000
  120. 2022-08-18 09:31:42.257623 91.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
  121. 2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  122. 2022-08-18 09:31:42.337643 91.00% [DEBUG] sofia.c:7499 Channel sofia/default/3333@13.126.179.47:5061 entering state [ready][200]
  123. 2022-08-18 09:31:42.757646 91.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  124. 2022-08-18 09:31:45.437640 91.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav
  125. 2022-08-18 09:31:45.917679 91.90% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  126. 2022-08-18 09:31:45.917679 91.90% [INFO] switch_channel.c:527 RECV DTMF 2:960
  127. 2022-08-18 09:31:46.557638 91.90% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  128. 2022-08-18 09:31:46.557638 91.90% [INFO] switch_channel.c:527 RECV DTMF 2:960
  129. 2022-08-18 09:31:47.017649 91.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  130. 2022-08-18 09:31:47.017649 91.57% [INFO] switch_channel.c:527 RECV DTMF 2:960
  131. 2022-08-18 09:31:47.457646 91.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
  132. 2022-08-18 09:31:47.457646 91.57% [INFO] switch_channel.c:527 RECV DTMF 2:960
  133. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:960
  134. 2022-08-18 09:31:48.157662 91.57% [INFO] switch_channel.c:527 RECV DTMF #:960
  135. EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 pickup(TestPickup_2222)
  136. 2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/3333@13.126.179.47:5061 has executed the last dialplan instruction, hanging up.
  137. 2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/3333@13.126.179.47:5061 [CS_EXECUTE] [NORMAL_CLEARING]
  138. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3333@13.126.179.47:5061) State EXECUTE going to sleep
  139. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_HANGUP (Cur 3 Tot 35)
  140. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3333@13.126.179.47:5061) Callstate Change ACTIVE -> HANGUP
  141. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3333@13.126.179.47:5061) State HANGUP
  142. 2022-08-18 09:31:48.157662 91.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/3333@13.126.179.47:5061 hanging up, cause: NORMAL_CLEARING
  143. 2022-08-18 09:31:48.157662 91.57% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/3333@13.126.179.47:5061
  144. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/3333@13.126.179.47:5061 Standard HANGUP, cause: NORMAL_CLEARING
  145. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3333@13.126.179.47:5061) State HANGUP going to sleep
  146. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3333@13.126.179.47:5061) State Change CS_HANGUP -> CS_REPORTING
  147. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_REPORTING (Cur 3 Tot 35)
  148. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3333@13.126.179.47:5061) State REPORTING
  149. 2022-08-18 09:31:48.157662 91.57% [INFO] mod_json_cdr.c:271 Process [f8ec7089-c62e-4e8e-a1cc-20f88eab7433.cdr.json]
  150. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/3333@13.126.179.47:5061 Standard REPORTING, cause: NORMAL_CLEARING
  151. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3333@13.126.179.47:5061) State REPORTING going to sleep
  152. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3333@13.126.179.47:5061) State Change CS_REPORTING -> CS_DESTROY
  153. 2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_session.c:1753 Session 35 (sofia/default/3333@13.126.179.47:5061) Locked, Waiting on external entities
  154. 2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_session.c:1771 Session 35 (sofia/default/3333@13.126.179.47:5061) Ended
  155. 2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3333@13.126.179.47:5061 [CS_DESTROY]
  156.