From Harmless Coyote, 1 Month ago, written in HTML5.
- view diff
Embed
  1. 2024-10-23 12:31:52.603328 98.60% [NOTICE] switch_channel.c:1142 New Channel sofia/default/61881643972@sip.mynet.au [a0170d8c-35cf-4b2c-9929-a4f4fbfe31e0]
  2. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_NEW (Cur 1 Tot 151010)
  3. 2024-10-23 12:31:52.603328 98.60% [INFO] sofia.c:10459 sofia/default/61881643972@sip.mynet.au receiving invite from 103.142.158.210:5060 version: 1.10.10-release  64bit call-id: 017815c2-c112-47e0-b2e5-77ceaf45db33
  4. 2024-10-23 12:31:52.603328 98.60% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.142.158.210:0.
  5. 2024-10-23 12:31:52.603328 98.60% [DEBUG] sofia.c:10582 IP 103.142.158.210 Approved by acl "default[]". Access Granted.
  6. 2024-10-23 12:31:52.603328 98.60% [DEBUG] sofia.c:7493 Channel sofia/default/61881643972@sip.mynet.au entering state [received][100]
  7. 2024-10-23 12:31:52.603328 98.60% [DEBUG] sofia.c:7503 Remote SDP:
  8. v=0
  9. o=- 1495956304 1495956304 IN IP4 103.142.158.203
  10. s=Asterisk
  11. c=IN IP4 103.142.158.203
  12. t=0 0
  13. m=audio 28652 RTP/AVP 0 8 101
  14. a=rtpmap:0 PCMU/8000
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:101 telephone-event/8000
  17. a=fmtp:101 0-16
  18. a=maxptime:150
  19. a=rtcp:28653
  20. a=ptime:20
  21.  
  22. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  23. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  25. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  26. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  27. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  31. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/61881643972@sip.mynet.au PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  32. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_codec.c:111 sofia/default/61881643972@sip.mynet.au Original read codec set to PCMU:0
  33. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  34. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_media.c:5856 sofia/default/61881643972@sip.mynet.au Set 2833 dtmf send payload to 101 recv payload to 101
  35. 2024-10-23 12:31:52.603328 98.60% [DEBUG] sofia.c:7927 (sofia/default/61881643972@sip.mynet.au) State Change CS_NEW -> CS_INIT
  36. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:600 (sofia/default/61881643972@sip.mynet.au) State NEW
  37. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_INIT (Cur 1 Tot 151010)
  38. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61881643972@sip.mynet.au) State INIT
  39. 2024-10-23 12:31:52.603328 98.60% [DEBUG] mod_sofia.c:97 sofia/default/61881643972@sip.mynet.au SOFIA INIT
  40. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/61881643972@sip.mynet.au Standard INIT
  41. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/61881643972@sip.mynet.au) State Change CS_INIT -> CS_ROUTING
  42. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/61881643972@sip.mynet.au) State INIT going to sleep
  43. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_ROUTING (Cur 1 Tot 151010)
  44. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_channel.c:2399 (sofia/default/61881643972@sip.mynet.au) Callstate Change DOWN -> RINGING
  45. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61881643972@sip.mynet.au) State ROUTING
  46. 2024-10-23 12:31:52.603328 98.60% [DEBUG] mod_sofia.c:158 sofia/default/61881643972@sip.mynet.au SOFIA ROUTING
  47. 2024-10-23 12:31:52.603328 98.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/61881643972@sip.mynet.au Standard ROUTING
  48. 2024-10-23 12:31:52.603328 98.60% [INFO] mod_dialplan_xml.c:639 Processing 61881643972 <61881643972>->61884907199 in context default
  49. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  50. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  51. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  52. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  53. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 61884907199
  54. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '61884907199' AND status=0 limit 1
  55. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER1756561143
  56. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '61884907199' limit 1
  58. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 61881643972
  59. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  60. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  61. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  62. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 103.142.158.203
  63. 2024-10-23 12:31:52.623302 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 1756561143]
  64. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1756561143" OR id = "1756561143") AND deleted = 0 limit 1
  65. 2024-10-23 12:31:52.623302 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  66. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="61884907199" AND (accountid = 0 OR status = 1) LIMIT 1
  67. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  68. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 44
  69. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [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 P.is_terminated = 0 AND (patterns = '^61884907199.*' OR patterns = '^6188490719.*' OR patterns = '^618849071.*' OR patterns = '^61884907.*' OR patterns = '^6188490.*' OR patterns = '^618849.*' OR patterns = '^61884.*' OR patterns = '^6188.*' OR patterns = '^618.*' OR patterns = '^61.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 44 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                              
  70. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [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 ="61884907199" AND A.accountid = '12' limit 1                                                                                                                                                                
  71. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61884907199
  72. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  73. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  74. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  75. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '61884907199' OR number = '6188490719' OR number = '618849071' OR number = '61884907' OR number = '6188490' OR number = '618849' OR number = '61884' OR number = '6188' OR number = '618' OR number = '61' OR number = '6' OR number ='--') OR (number = '61884907199*' OR number = '6188490719*' OR number = '618849071*' OR number = '61884907*' OR number = '6188490*' OR number = '618849*' OR number = '61884*' OR number = '6188*' OR number = '618*' OR number = '61*' OR number = '6*' OR number ='--') OR (number = '61881643972' OR number = '6188164397' OR number = '618816439' OR number = '61881643' OR number = '6188164' OR number = '618816' OR number = '61881' OR number = '6188' OR number = '618' OR number = '61' OR number = '6' OR number ='--') OR (number = '61881643972*' OR number = '6188164397*' OR number = '618816439*' OR number = '61881643*' OR number = '6188164*' OR number = '618816*' OR number = '61881*' OR number = '6188*' OR number = '618*' OR number = '61*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  76. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  77. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '61884907199' OR routing_prefix = '6188490719' OR routing_prefix = '618849071' OR routing_prefix = '61884907' OR routing_prefix = '6188490' OR routing_prefix = '618849' OR routing_prefix = '61884' OR routing_prefix = '6188' OR routing_prefix = '618' OR routing_prefix = '61' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  78. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  79. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 12
  80. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1756561143
  81. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  82. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000000
  83. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  84. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  85. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 1
  86. 2024-10-23 12:31:52.643294 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  87. 2024-10-23 12:31:52.643294 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  88. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  89. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61884907199" LIMIT 1                                    
  90. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  91. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  92. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  93. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2728
  94. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  95. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  96. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  97. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 61884907199
  98. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 12
  99. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 12
  100. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  101. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  102. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000000 balance Accountid 12 !!!
  103. 2024-10-23 12:31:52.663300 98.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 600
  104. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 600 minutes
  105. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  106. 2024-10-23 12:31:52.663300 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  107. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 12 AND status=0 LIMIT 1                                                                                                                                                                                        
  108. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "44" OR number = "44") AND deleted = 0 limit 1
  109. 2024-10-23 12:31:52.663300 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =44
  110. 2024-10-23 12:31:52.683320 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:12
  111. 2024-10-23 12:31:52.683320 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:12
  112. 2024-10-23 12:31:52.683320 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 12
  113. 2024-10-23 12:31:52.683320 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 600
  114. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '1756561143' and status = 0 limit 1
  115. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  116. 2024-10-23 12:31:52.683320 98.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  117. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  118. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 44 or id = 44 ) and status = 0 limit 1                                                                                                                                                          
  119. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  120. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="4785155959" limit 1                                                                                                
  121. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  122. <document type="freeswitch/xml">                                                                                                                                                                                  
  123. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  124. <context name="default">                                                                                                                                                                                          
  125. <extension name="61884907199">                                                                                                                                                                                    
  126. <condition field="destination_number" expression="61884907199">                                                                                                                                                    
  127. <action application="set" data="effective_destination_number=61884907199"/>                                                                                                                                        
  128. <action application="set" data="execute_on_answer_1=sched_hangup +36000 normal_clearing"/>                                                                                                                        
  129. <action application="set" data="type=0"/>                                                                                                                                                                          
  130. <action application="set" data="callstart=2024-10-23 12:31:52"/>                                                                                                                                                  
  131. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  132. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  133. <action application="set" data="account_id=12"/>                                                                                                                                                                  
  134. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  135. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  136. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  137. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  138. <action application="set" data="accountname=default"/>                                                                                                                                                            
  139. <action application="set" data="origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:12"/>                                                                                                                                                                                                      
  140. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  141. <action application="set" data="original_caller_id_number=61881643972"/>                                                                                                                                          
  142. <action application="limit" data="db 1756561143 user_1756561143 4 "/>                                                                                                                                              
  143. <action application="set" data="effective_caller_id_number=61881643972"/>                                                                                                                                          
  144. <action application="set" data="receiver_accid=44"/>                                                                                                                                                              
  145. <action application="export" data="domain_name="/>                                                                                                                                                                
  146. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  147. <action application="set" data="sip_h_Privacy=id"/>                                                                                                                                                                
  148. <action application="set" data="sip_h_P-Asserted-Identity=<sip:${caller_id_number}@${domain}>"/>                                                                                                                  
  149. <action application="export" data="presence_data=x|||Dena(1756561143)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.142.158.203"/>                                                                  
  150. <action application="export" data="call_type=5"/>                                                                                                                                                                  
  151. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  152. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  153. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  154. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  155. <action application="set" data="calltype=SIP-DID"/>                                                                                                                                                                
  156. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4785155959@sip.mynet.au^61884907199"/>                                                                
  157. <condition field="${cond(${user_data 4785155959@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  158. <action application="answer"/>                                                                                                                                                                                    
  159. <action application="export" data="voicemail_alternate_greet_id=61884907199"/>                                                                                                                                    
  160. <action application="voicemail" data="default $${domain_name} 4785155959"/>                                                                                                                                        
  161. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  162. </condition>                                                                                                                                                                                                      
  163. <action application="set" data="did_id=2728"/>                                                                                                                                                                    
  164. <action application="set" data="destination_number=61884907199"/>                                                                                                                                                  
  165. <action application="set" data="leg_timeout=0"/>                                                                                                                                                                  
  166. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                                                            
  167. <action application="set" data="is_local_extension=1"/>                                                                                                                                                            
  168. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                                                        
  169. </condition>                                                                                                                                                                                                      
  170. </extension>                                                                                                                                                                                                      
  171. </context>                                                                                                                                                                                                        
  172. </section>                                                                                                                                                                                                        
  173. </document>                                                                                                                                                                                                        
  174. Dialplan: sofia/default/61881643972@sip.mynet.au parsing [default->61884907199] continue=false
  175. Dialplan: sofia/default/61881643972@sip.mynet.au Regex (PASS) [61884907199] destination_number(61884907199) =~ /61884907199/ break=on-false
  176. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(effective_destination_number=61884907199)
  177. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(execute_on_answer_1=sched_hangup +36000 normal_clearing)
  178. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(type=0)
  179. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(callstart=2024-10-23 12:31:52)
  180. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(hangup_after_bridge=true)
  181. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(continue_on_fail=TRUE)
  182. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(account_id=12)
  183. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(parent_id=0)
  184. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(entity_id=0)
  185. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(call_processed=internal)
  186. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(call_direction=inbound)
  187. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(accountname=default)
  188. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:12)                                                                                                                                                                            
  189. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(origination_rates=0)
  190. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(original_caller_id_number=61881643972)
  191. Dialplan: sofia/default/61881643972@sip.mynet.au Action limit(db 1756561143 user_1756561143 4 )
  192. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(effective_caller_id_number=61881643972)
  193. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(receiver_accid=44)
  194. Dialplan: sofia/default/61881643972@sip.mynet.au Action export(domain_name=)
  195. Dialplan: sofia/default/61881643972@sip.mynet.au Action export(sip_to_host=)
  196. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(sip_h_Privacy=id)
  197. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(sip_h_P-Asserted-Identity=<sip:${caller_id_number}@${domain}>)
  198. Dialplan: sofia/default/61881643972@sip.mynet.au Action export(presence_data=x|||Dena(1756561143)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.142.158.203)
  199. Dialplan: sofia/default/61881643972@sip.mynet.au Action export(call_type=5)
  200. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(daily_call_credit_limit=0.00000)
  201. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(monthly_call_credit_limit=0.00000)
  202. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(daily_call_used_limit=0.00000)
  203. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(monthly_call_used_limit=0.00000)
  204. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(calltype=SIP-DID)
  205. Dialplan: sofia/default/61881643972@sip.mynet.au Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/${sofia_profile_name}/4785155959@sip.mynet.au^61884907199)
  206. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(did_id=2728)
  207. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(destination_number=61884907199)
  208. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(leg_timeout=0)
  209. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(call_type_vm_flag=1)
  210. Dialplan: sofia/default/61881643972@sip.mynet.au Action set(is_local_extension=1)
  211. Dialplan: sofia/default/61881643972@sip.mynet.au Action lua(did_call_forwarding.lua)
  212. |--- Dialplan: Processing recursive conditions level:1 [61884907199_recur_1] require-nested=TRUE
  213. |--- Dialplan: sofia/default/61881643972@sip.mynet.au Regex (FAIL) [61884907199_recur_1] ${cond(${user_data 4785155959@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  214. |--- Dialplan: sofia/default/61881643972@sip.mynet.au ANTI-Action hangup(${originate_disposition})
  215. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_core_state_machine.c:281 (sofia/default/61881643972@sip.mynet.au) State Change CS_ROUTING -> CS_EXECUTE
  216. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/61881643972@sip.mynet.au) State ROUTING going to sleep
  217. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_EXECUTE (Cur 1 Tot 151010)
  218. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/61881643972@sip.mynet.au) State EXECUTE
  219. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_sofia.c:213 sofia/default/61881643972@sip.mynet.au SOFIA EXECUTE
  220. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_core_state_machine.c:323 sofia/default/61881643972@sip.mynet.au Standard EXECUTE
  221. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(effective_destination_number=61884907199)
  222. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [effective_destination_number]=[61884907199]
  223. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(execute_on_answer_1=sched_hangup +36000 normal_clearing)
  224. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [execute_on_answer_1]=[sched_hangup +36000 normal_clearing]
  225. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(type=0)
  226. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [type]=[0]
  227. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(callstart=2024-10-23 12:31:52)
  228. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [callstart]=[2024-10-23 12:31:52]
  229. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(hangup_after_bridge=true)
  230. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [hangup_after_bridge]=[true]
  231. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(continue_on_fail=TRUE)
  232. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [continue_on_fail]=[TRUE]
  233. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(account_id=12)
  234. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [account_id]=[12]
  235. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(parent_id=0)
  236. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [parent_id]=[0]
  237. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(entity_id=0)
  238. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [entity_id]=[0]
  239. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(call_processed=internal)
  240. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [call_processed]=[internal]
  241. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(call_direction=inbound)
  242. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [call_direction]=[inbound]
  243. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(accountname=default)
  244. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [accountname]=[default]
  245. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(origination_rates_did=ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:12)                                                                                                                                                                          
  246. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [origination_rates_did]=[ID:2728|CODE:^61884907199.*|DESTINATION:61884907199|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:12|ACCID:12]                                                                                                                            
  247. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(origination_rates=0)
  248. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [origination_rates]=[0]
  249. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(original_caller_id_number=61881643972)
  250. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [original_caller_id_number]=[61881643972]
  251. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au limit(db 1756561143 user_1756561143 4 )
  252. 2024-10-23 12:31:52.683320 98.60% [DEBUG] switch_limit.c:124 incr called: 1756561143_user_1756561143 max:4, interval:0
  253. 2024-10-23 12:31:52.683320 98.60% [DEBUG] mod_db.c:194 Usage for 1756561143_user_1756561143 is now 1/4
  254. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(effective_caller_id_number=61881643972)
  255. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [effective_caller_id_number]=[61881643972]
  256. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(receiver_accid=44)
  257. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [receiver_accid]=[44]
  258. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au export(domain_name=)
  259. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF]
  260. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au export(sip_to_host=)
  261. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  262. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(sip_h_Privacy=id)
  263. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [sip_h_Privacy]=[id]
  264. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(sip_h_P-Asserted-Identity=<sip:61881643972@103.142.158.211>)
  265. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [sip_h_P-Asserted-Identity]=[<sip:61881643972@103.142.158.211>]
  266. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au export(presence_data=x|||Dena(1756561143)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.142.158.203)
  267. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Dena(1756561143)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.142.158.203]
  268. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au export(call_type=5)
  269. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[5]
  270. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(daily_call_credit_limit=0.00000)
  271. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [daily_call_credit_limit]=[0.00000]
  272. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(monthly_call_credit_limit=0.00000)
  273. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [monthly_call_credit_limit]=[0.00000]
  274. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(daily_call_used_limit=0.00000)
  275. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [daily_call_used_limit]=[0.00000]
  276. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(monthly_call_used_limit=0.00000)
  277. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [monthly_call_used_limit]=[0.00000]
  278. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au set(calltype=SIP-DID)
  279. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/61881643972@sip.mynet.au [calltype]=[SIP-DID]
  280. EXECUTE [depth=0] sofia/default/61881643972@sip.mynet.au bridge({sip_invite_params=user=LOCAL}[leg_timeout=0]sofia/default/4785155959@sip.mynet.au^61884907199)
  281. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_channel.c:1288 sofia/default/61881643972@sip.mynet.au EXPORTING[export_vars] [presence_data]=[x|||Dena(1756561143)|||^61884907199.* // 61884907199 // 0.00000|||||||||DID|||103.142.158.203] to event                                                                                                                                                                                
  282. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_channel.c:1288 sofia/default/61881643972@sip.mynet.au EXPORTING[export_vars] [call_type]=[5] to event
  283. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  284. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  285. 2024-10-23 12:31:52.703275 98.60% [NOTICE] switch_channel.c:1142 New Channel sofia/default/4785155959@sip.mynet.au [75897bb3-23df-433b-87a1-e6ec15b3c3f7]
  286. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_sofia.c:5110 (sofia/default/4785155959@sip.mynet.au) State Change CS_NEW -> CS_INIT
  287. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_INIT (Cur 2 Tot 151011)
  288. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4785155959@sip.mynet.au) State INIT
  289. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_sofia.c:97 sofia/default/4785155959@sip.mynet.au SOFIA INIT
  290. 2024-10-23 12:31:52.703275 98.60% [INFO] sofia_glue.c:1659 sofia/default/4785155959@sip.mynet.au sending invite call-id: (null)
  291. 2024-10-23 12:31:52.703275 98.60% [DEBUG] sofia_glue.c:1662 sofia/default/4785155959@sip.mynet.au sending invite version: 1.10.10-release  64bit
  292. Local SDP:                                                                                                                                                                                                        
  293. v=0                                                                                                                                                                                                                
  294. o=FreeSWITCH 1729654016 1729654017 IN IP4 103.142.158.211                                                                                                                                                          
  295. s=FreeSWITCH                                                                                                                                                                                                      
  296. c=IN IP4 103.142.158.211                                                                                                                                                                                          
  297. t=0 0                                                                                                                                                                                                              
  298. m=audio 32696 RTP/AVP 0 101                                                                                                                                                                                        
  299. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  300. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  301. a=fmtp:101 0-15                                                                                                                                                                                                    
  302. a=ptime:20                                                                                                                                                                                                        
  303. a=sendrecv                                                                                                                                                                                                        
  304.  
  305. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:40 sofia/default/4785155959@sip.mynet.au Standard INIT
  306. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:48 (sofia/default/4785155959@sip.mynet.au) State Change CS_INIT -> CS_ROUTING
  307. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:624 (sofia/default/4785155959@sip.mynet.au) State INIT going to sleep
  308. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_ROUTING (Cur 2 Tot 151011)
  309. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4785155959@sip.mynet.au) State ROUTING
  310. 2024-10-23 12:31:52.703275 98.60% [DEBUG] mod_sofia.c:158 sofia/default/4785155959@sip.mynet.au SOFIA ROUTING
  311. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_ivr_originate.c:67 (sofia/default/4785155959@sip.mynet.au) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  312. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/4785155959@sip.mynet.au) State ROUTING going to sleep
  313. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 151011)
  314. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4785155959@sip.mynet.au) State CONSUME_MEDIA
  315. 2024-10-23 12:31:52.703275 98.60% [DEBUG] switch_core_state_machine.c:659 (sofia/default/4785155959@sip.mynet.au) State CONSUME_MEDIA going to sleep
  316. 2024-10-23 12:31:52.703275 98.60% [DEBUG] sofia.c:7493 Channel sofia/default/4785155959@sip.mynet.au entering state [calling][0]
  317. 2024-10-23 12:31:52.823304 98.53% [DEBUG] sofia.c:7493 Channel sofia/default/4785155959@sip.mynet.au entering state [proceeding][180]
  318. 2024-10-23 12:31:52.823304 98.53% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/4785155959@sip.mynet.au!
  319. 2024-10-23 12:31:52.823304 98.53% [DEBUG] switch_channel.c:3513 (sofia/default/4785155959@sip.mynet.au) Callstate Change DOWN -> RINGING
  320. 2024-10-23 12:31:52.823304 98.53% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/61881643972@sip.mynet.au!
  321. 2024-10-23 12:31:52.823304 98.53% [DEBUG] sofia.c:7493 Channel sofia/default/61881643972@sip.mynet.au entering state [early][180]
  322. 2024-10-23 12:31:52.823304 98.53% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/61881643972@sip.mynet.au!
  323. 2024-10-23 12:32:12.023276 98.07% [DEBUG] sofia.c:7493 Channel sofia/default/61881643972@sip.mynet.au entering state [terminated][487]
  324. 2024-10-23 12:32:12.023276 98.07% [NOTICE] sofia.c:8735 Hangup sofia/default/61881643972@sip.mynet.au [CS_EXECUTE] [ORIGINATOR_CANCEL]
  325. 2024-10-23 12:32:12.043282 98.07% [NOTICE] switch_ivr_originate.c:3816 Hangup sofia/default/4785155959@sip.mynet.au [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  326. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_ivr_originate.c:4041 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  327. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_HANGUP (Cur 2 Tot 151011)
  328. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/4785155959@sip.mynet.au) Callstate Change RINGING -> HANGUP
  329. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4785155959@sip.mynet.au) State HANGUP
  330. 2024-10-23 12:32:12.043282 98.07% [DEBUG] mod_sofia.c:463 sofia/default/4785155959@sip.mynet.au Overriding SIP cause 487 with 487 from the other leg
  331. 2024-10-23 12:32:12.043282 98.07% [DEBUG] mod_sofia.c:469 Channel sofia/default/4785155959@sip.mynet.au hanging up, cause: ORIGINATOR_CANCEL
  332. 2024-10-23 12:32:12.043282 98.07% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: ORIGINATOR_CANCEL
  333. 2024-10-23 12:32:12.043282 98.07% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/4785155959@sip.mynet.au
  334. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_session.c:2979 sofia/default/61881643972@sip.mynet.au skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  335. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/61881643972@sip.mynet.au) State EXECUTE going to sleep
  336. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_HANGUP (Cur 2 Tot 151011)
  337. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/4785155959@sip.mynet.au Standard HANGUP, cause: ORIGINATOR_CANCEL
  338. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/4785155959@sip.mynet.au) State HANGUP going to sleep
  339. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/4785155959@sip.mynet.au) State Change CS_HANGUP -> CS_REPORTING
  340. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_REPORTING (Cur 2 Tot 151011)
  341. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/61881643972@sip.mynet.au) Callstate Change RINGING -> HANGUP
  342. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4785155959@sip.mynet.au) State REPORTING
  343. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61881643972@sip.mynet.au) State HANGUP
  344. 2024-10-23 12:32:12.043282 98.07% [DEBUG] mod_sofia.c:469 Channel sofia/default/61881643972@sip.mynet.au hanging up, cause: ORIGINATOR_CANCEL
  345. 2024-10-23 12:32:12.043282 98.07% [INFO] mod_json_cdr.c:272 Process [75897bb3-23df-433b-87a1-e6ec15b3c3f7.cdr.json]
  346. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/61881643972@sip.mynet.au Standard HANGUP, cause: ORIGINATOR_CANCEL
  347. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/61881643972@sip.mynet.au) State HANGUP going to sleep
  348. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/61881643972@sip.mynet.au) State Change CS_HANGUP -> CS_REPORTING
  349. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_REPORTING (Cur 2 Tot 151011)
  350. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61881643972@sip.mynet.au) State REPORTING
  351. 2024-10-23 12:32:12.043282 98.07% [INFO] mod_json_cdr.c:272 Process [a0170d8c-35cf-4b2c-9929-a4f4fbfe31e0.cdr.json]
  352. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/4785155959@sip.mynet.au Standard REPORTING, cause: ORIGINATOR_CANCEL
  353. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/4785155959@sip.mynet.au) State REPORTING going to sleep
  354. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/4785155959@sip.mynet.au) State Change CS_REPORTING -> CS_DESTROY
  355. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_session.c:1744 Session 151011 (sofia/default/4785155959@sip.mynet.au) Locked, Waiting on external entities
  356. 2024-10-23 12:32:12.043282 98.07% [NOTICE] switch_core_session.c:1762 Session 151011 (sofia/default/4785155959@sip.mynet.au) Ended
  357. 2024-10-23 12:32:12.043282 98.07% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/4785155959@sip.mynet.au [CS_DESTROY]
  358. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/4785155959@sip.mynet.au) Running State Change CS_DESTROY (Cur 1 Tot 151011)
  359. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4785155959@sip.mynet.au) State DESTROY
  360. 2024-10-23 12:32:12.043282 98.07% [DEBUG] mod_sofia.c:380 sofia/default/4785155959@sip.mynet.au SOFIA DESTROY
  361. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/4785155959@sip.mynet.au Standard DESTROY
  362. 2024-10-23 12:32:12.043282 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/4785155959@sip.mynet.au) State DESTROY going to sleep
  363. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/61881643972@sip.mynet.au Standard REPORTING, cause: ORIGINATOR_CANCEL
  364. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/61881643972@sip.mynet.au) State REPORTING going to sleep
  365. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/61881643972@sip.mynet.au) State Change CS_REPORTING -> CS_DESTROY
  366. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_session.c:1744 Session 151010 (sofia/default/61881643972@sip.mynet.au) Locked, Waiting on external entities
  367. 2024-10-23 12:32:12.083294 98.07% [NOTICE] switch_core_session.c:1762 Session 151010 (sofia/default/61881643972@sip.mynet.au) Ended
  368. 2024-10-23 12:32:12.083294 98.07% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/61881643972@sip.mynet.au [CS_DESTROY]
  369. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/61881643972@sip.mynet.au) Running State Change CS_DESTROY (Cur 0 Tot 151011)
  370. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61881643972@sip.mynet.au) State DESTROY
  371. 2024-10-23 12:32:12.083294 98.07% [DEBUG] mod_sofia.c:380 sofia/default/61881643972@sip.mynet.au SOFIA DESTROY
  372. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/61881643972@sip.mynet.au Standard DESTROY
  373. 2024-10-23 12:32:12.083294 98.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/61881643972@sip.mynet.au) State DESTROY going to sleep
  374.