From Prashant kumar, 2 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and real time billing enable Call Issue
  1. freeswitch@gibfibre>
  2. 2022-03-11 07:14:51.832441 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [1515028@entdemo.astppbilling.org] from ip 117.247.91.162
  3. freeswitch@gibfibre>
  4. freeswitch@gibfibre>
  5. freeswitch@gibfibre>
  6. freeswitch@gibfibre>
  7. freeswitch@gibfibre>
  8. freeswitch@gibfibre>
  9. freeswitch@gibfibre>
  10. freeswitch@gibfibre>
  11. freeswitch@gibfibre>
  12. freeswitch@gibfibre>
  13. freeswitch@gibfibre>
  14. freeswitch@gibfibre>
  15. 2022-03-11 07:14:59.832469 [NOTICE] sofia_reg.c:454 Registering SIPPDD
  16. 2022-03-11 07:14:59.832469 [ERR] sofia_reg.c:2470 SIPPDD Failed Registration with status DNS Error [503]. failure #4
  17. 2022-03-11 07:15:00.452461 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [1515028@entdemo.astppbilling.org] from ip 117.247.91.162
  18. 2022-03-11 07:15:00.832430 [WARNING] sofia_reg.c:511 SIPPDD Failed Registration [503], setting retry to 30 seconds.
  19. freeswitch@gibfibre>
  20. freeswitch@gibfibre>
  21. freeswitch@gibfibre>
  22. freeswitch@gibfibre>
  23. 2022-03-11 07:15:09.852451 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [1515028@entdemo.astppbilling.org] from ip 117.247.91.162
  24. 2022-03-11 07:15:10.912440 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [1515028@entdemo.astppbilling.org] from ip 117.247.91.162
  25. 2022-03-11 07:15:14.632440 [NOTICE] switch_channel.c:1118 New Channel sofia/default/1515028@entdemo.astppbilling.org:5077 [e69f6320-c0bd-486b-b372-5c9d2c874ac0]
  26. 2022-03-11 07:15:14.632440 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_NEW (Cur 1 Tot 15)
  27. 2022-03-11 07:15:14.632440 [DEBUG] sofia.c:10280 sofia/default/1515028@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:34188 version: 1.10.5 -release-17-25569c1631 64bit
  28. 2022-03-11 07:15:14.632440 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  29. 2022-03-11 07:15:14.632440 [DEBUG] sofia.c:2434 detaching session e69f6320-c0bd-486b-b372-5c9d2c874ac0
  30. 2022-03-11 07:15:14.632440 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [1010000@entdemo.astppbilling.org] from ip 117.247.91.162
  31. 2022-03-11 07:15:14.632440 [DEBUG] switch_core_state_machine.c:604 (sofia/default/1515028@entdemo.astppbilling.org:5077) State NEW
  32. 2022-03-11 07:15:15.012440 [DEBUG] sofia.c:2544 Re-attaching to session e69f6320-c0bd-486b-b372-5c9d2c874ac0
  33. 2022-03-11 07:15:15.012440 [DEBUG] sofia.c:10280 sofia/default/1515028@entdemo.astppbilling.org:5077 receiving invite from 117.247.91.162:34188 version: 1.10.5 -release-17-25569c1631 64bit
  34. 2022-03-11 07:15:15.012440 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  35. 2022-03-11 07:15:15.032502 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
  36. 2022-03-11 07:15:15.032502 [DEBUG] sofia.c:7326 Channel sofia/default/1515028@entdemo.astppbilling.org:5077 entering state [received][100]
  37. 2022-03-11 07:15:15.032502 [DEBUG] sofia.c:7336 Remote SDP:
  38. v=0
  39. o=- 6694235034713989997 2 IN IP4 127.0.0.1
  40. s=-
  41. t=0 0
  42. a=group:BUNDLE 0
  43. a=extmap-allow-mixed
  44. a=msid-semantic: WMS 9iw3ZgPmlbtI067q9MvIuRyIjkCv2dK1P9he
  45. m=audio 36002 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
  46. c=IN IP4 117.247.91.162
  47. a=rtpmap:111 opus/48000/2
  48. a=fmtp:111 minptime=10;useinbandfec=1
  49. a=rtpmap:103 ISAC/16000
  50. a=rtpmap:104 ISAC/32000
  51. a=rtpmap:9 G722/8000
  52. a=rtpmap:0 PCMU/8000
  53. a=rtpmap:8 PCMA/8000
  54. a=rtpmap:106 CN/32000
  55. a=rtpmap:105 CN/16000
  56. a=rtpmap:13 CN/8000
  57. a=rtpmap:110 telephone-event/48000
  58. a=rtpmap:112 telephone-event/32000
  59. a=rtpmap:113 telephone-event/16000
  60. a=rtpmap:126 telephone-event/8000
  61. a=rtcp:9 IN IP4 0.0.0.0
  62. a=candidate:2313719679 1 udp 2122260223 192.168.1.54 36002 typ host generation 0 network-id 1 network-cost 10
  63. a=candidate:2147022507 1 udp 1686052607 117.247.91.162 36002 typ srflx raddr 192.168.1.54 rport 36002 generation 0 network-id 1 network-cost 10
  64. a=candidate:3345707919 1 tcp 1518280447 192.168.1.54 9 typ host tcptype active generation 0 network-id 1 network-cost 10
  65. a=ice-ufrag:TG+4
  66. a=ice-pwd:V8eMR3QzrA/Ujyzz5+CfOabI
  67. a=ice-options:trickle
  68. a=fingerprint:sha-256 82:B0:23:AA:20:F9:5A:17:C7:D3:03:5C:B5:93:CA:C4:AC:EC:56:85:9C:DE:6B:2A:A0:BF:B9:E1:E5:44:B2:00
  69. a=setup:actpass
  70. a=mid:0
  71. a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
  72. a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
  73. a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
  74. a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
  75. a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
  76. a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
  77. a=msid:9iw3ZgPmlbtI067q9MvIuRyIjkCv2dK1P9he bb90f4d2-2435-47dc-83d1-e6855b8e4954
  78. a=rtcp-mux
  79. a=rtcp-fb:111 transport-cc
  80. a=ssrc:2843634981 cname:S/9b6HH1ZArWiCnN
  81. a=ssrc:2843634981 msid:9iw3ZgPmlbtI067q9MvIuRyIjkCv2dK1P9he bb90f4d2-2435-47dc-83d1-e6855b8e4954
  82. a=ssrc:2843634981 mslabel:9iw3ZgPmlbtI067q9MvIuRyIjkCv2dK1P9he
  83. a=ssrc:2843634981 label:bb90f4d2-2435-47dc-83d1-e6855b8e4954
  84.  
  85. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:111:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  86. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [opus:111:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  87. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[PCMA:8:8000:20:64000:1]
  88. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [ISAC:103:16000:30:32000:1]/[PCMU:0:8000:20:64000:1]
  89. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[PCMA:8:8000:20:64000:1]
  90. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [ISAC:104:32000:30:32000:1]/[PCMU:0:8000:20:64000:1]
  91. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  92. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  93. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  94. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  95. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  96. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  97. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  98. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  99. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [CN:105:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  100. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [CN:105:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  101. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [CN:13:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  102. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [CN:13:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  103. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 110@48000
  104. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/1515028@entdemo.astppbilling.org:5077 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  105. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_codec.c:111 sofia/default/1515028@entdemo.astppbilling.org:5077 Original read codec set to PCMU:0
  106. 2022-03-11 07:15:15.032502 [WARNING] switch_core_media.c:4254 NO candidate ACL defined, Defaulting to wan.auto
  107. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4284 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.1.54:36002
  108. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4284 Save audio Candidate cid: 1 proto: udp type: srflx addr: 117.247.91.162:36002
  109. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4329 Searching for rtp candidate.
  110. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4338 Choose rtp candidate, index 1, 117.247.91.162:36002
  111. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4104 sofia/default/1515028@entdemo.astppbilling.org:5077 choosing family v4
  112. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4349 Choose same candidate, index 0, for rtcp based on rtcp-mux attribute 117.247.91.162:36002
  113. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4401 setting remote audio ice addr to index 1 117.247.91.162:36002 based on candidate
  114. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:4436 Setting remote rtcp audio addr to 117.247.91.162:36002 based on candidate
  115. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 126@8000
  116. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_media.c:5911 sofia/default/1515028@entdemo.astppbilling.org:5077 Set 2833 dtmf send payload to 126 recv payload to 126
  117. 2022-03-11 07:15:15.032502 [DEBUG] sofia.c:7760 (sofia/default/1515028@entdemo.astppbilling.org:5077) State Change CS_NEW -> CS_INIT
  118. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_INIT (Cur 1 Tot 15)
  119. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:628 (sofia/default/1515028@entdemo.astppbilling.org:5077) State INIT
  120. 2022-03-11 07:15:15.032502 [DEBUG] mod_sofia.c:93 sofia/default/1515028@entdemo.astppbilling.org:5077 SOFIA INIT
  121. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:40 sofia/default/1515028@entdemo.astppbilling.org:5077 Standard INIT
  122. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:48 (sofia/default/1515028@entdemo.astppbilling.org:5077) State Change CS_INIT -> CS_ROUTING
  123. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:628 (sofia/default/1515028@entdemo.astppbilling.org:5077) State INIT going to sleep
  124. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_ROUTING (Cur 1 Tot 15)
  125. 2022-03-11 07:15:15.032502 [DEBUG] switch_channel.c:2332 (sofia/default/1515028@entdemo.astppbilling.org:5077) Callstate Change DOWN -> RINGING
  126. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:644 (sofia/default/1515028@entdemo.astppbilling.org:5077) State ROUTING
  127. 2022-03-11 07:15:15.032502 [DEBUG] mod_sofia.c:154 sofia/default/1515028@entdemo.astppbilling.org:5077 SOFIA ROUTING
  128. 2022-03-11 07:15:15.032502 [DEBUG] switch_core_state_machine.c:236 sofia/default/1515028@entdemo.astppbilling.org:5077 Standard ROUTING
  129. 2022-03-11 07:15:15.032502 [INFO] mod_dialplan_xml.c:637 Processing 1515028 <1515028>->1010000 in context default
  130. 2022-03-11 07:15:15.032502 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  131. 2022-03-11 07:15:15.032502 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  132. 2022-03-11 07:15:15.032502 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  133. 2022-03-11 07:15:15.032502 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 1010000
  134. 2022-03-11 07:15:15.032502 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1010000' limit 1
  135. 2022-03-11 07:15:15.052458 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1010000' AND status=0 limit 1
  136. 2022-03-11 07:15:15.052458 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1010000' and status=0 LIMIT 1
  137. 2022-03-11 07:15:15.052458 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  138. 2022-03-11 07:15:15.052458 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  :  / 1515028
  139. 2022-03-11 07:15:15.052458 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1010000" LIMIT 1
  140. 2022-03-11 07:15:15.052458 [DEBUG] switch_cpp.cpp:1447 [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 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="1010000"  AND domains.domain="entdemo.astppbilling.org" limit 1
  141. 2022-03-11 07:15:15.052458 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  142. 2022-03-11 07:15:15.052458 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 1111025]
  143. 2022-03-11 07:15:15.052458 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "1111025" AND deleted = 0 limit 1
  144. 2022-03-11 07:15:15.052458 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1010000.*' OR blocked_patterns = '^101000.*' OR blocked_patterns = '^10100.*' OR blocked_patterns = '^1010.*' OR blocked_patterns = '^101.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2450 limit 1
  145. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1010000" AND (accountid = 0 OR status = 1) LIMIT 1
  146. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [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 = '^1010000.*' OR patterns = '^101000.*' OR patterns = '^10100.*' OR patterns = '^1010.*' OR patterns = '^101.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2450 ORDER BY LENGTH(PKGPTR.patterns) DESC
  147. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [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 ="1010000" AND A.accountid = '2450' limit 1
  148. 2022-03-11 07:15:15.072428 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1010000
  149. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1010000" LIMIT 1
  150. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [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 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="1010000"  AND domains.domain="entdemo.astppbilling.org" limit 1
  151. 2022-03-11 07:15:15.072428 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  152. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '1010000' OR number = '101000' OR number = '10100' OR number = '1010' OR number = '101' OR number = '10' OR number = '1' OR number ='--') OR (number = '1010000*' OR number = '101000*' OR number = '10100*' OR number = '1010*' OR number = '101*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1515028' OR number = '151502' OR number = '15150' OR number = '1515' OR number = '151' OR number = '15' OR number = '1' OR number ='--') OR (number = '1515028*' OR number = '151502*' OR number = '15150*' OR number = '1515*' OR number = '151*' OR number = '15*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  153. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  154. 2022-03-11 07:15:15.072428 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1010000' OR routing_prefix = '101000' OR routing_prefix = '10100' OR routing_prefix = '1010' OR routing_prefix = '101' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  155. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  156. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 2450
  157. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 1111025
  158. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 5000
  159. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  160. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1139
  161. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  162. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  163. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1139 AND status = 0
  164. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  165. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1139 AND status = 0
  166. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1010000.*' OR pattern = '^101000.*' OR pattern = '^10100.*' OR pattern = '^1010.*' OR pattern = '^101.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1139 OR accountid=2450)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  167. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  168. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  169. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 260616
  170. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  171. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  172. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 60.00000
  173. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : India
  174. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 88
  175. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 2450
  176. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  177. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  178. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  179. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your5000 balance Accountid 2450 !!!
  180. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE ID 2450
  181. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE RATE 60.00000
  182. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE CONNECT COST 0.00000
  183. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE INITIAL INC 30
  184. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] NIBBLE INC 60
  185. 2022-03-11 07:15:15.092449 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 83.333333333333 minutes
  186. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  187. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1139 ORDER by id asc
  188. 2022-03-11 07:15:15.092449 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^1010000.*' OR pattern = '^101000.*' OR pattern = '^10100.*' OR pattern = '^1010.*' OR pattern = '^101.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (761) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  189. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  190. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2456
  191. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^10.*
  192. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : India
  193. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  194. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  195. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^10.*
  196. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  197. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  198. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 761
  199. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : IVRHybird
  200. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  201. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  202. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 2449
  203. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  204. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : IVRHybrid
  205. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  206. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2450 AND status=0 LIMIT 1
  207. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 83.333333333333
  208. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  209. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  210. 2022-03-11 07:15:15.112439 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  211. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1139 AND status = 0
  212. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 2449) AND status=0 limit 1
  213. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 761) AND status=0 limit 1
  214. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1010000" LIMIT 1
  215. 2022-03-11 07:15:15.112439 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  216. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  217. <document type="freeswitch/xml">
  218. <section name="dialplan" description="ASTPP Dialplan">
  219. <context name="default">
  220. <extension name="1010000">
  221. <condition field="destination_number" expression="1010000">
  222. <action application="set" data="effective_destination_number=1010000"/>
  223. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  224. <action application="set" data="bridge_pre_execute_bleg_data=+5000 normal_clearing"/>
  225. <action application="set" data="nibble_account=2450"/>
  226. <action application="set" data="nibble_rate=60.00000"/>
  227. <action application="set" data="nibble_minimum=0.00000"/>
  228. <action application="set" data="nibble_increment=20"/>
  229. <action application="nibblebill" data="heartbeat 20"/>
  230. <action application="set" data="callstart=2022-03-11 07:15:15"/>
  231. <action application="set" data="hangup_after_bridge=true"/>
  232. <action application="set" data="continue_on_fail=TRUE"/>
  233. <action application="set" data="account_id=2450"/>
  234. <action application="set" data="parent_id=0"/>
  235. <action application="set" data="entity_id=0"/>
  236. <action application="set" data="call_processed=internal"/>
  237. <action application="set" data="call_direction=outbound"/>
  238. <action application="set" data="accountname=default"/>
  239. <action application="set" data="filename1=astpp.pbx.lua"/>
  240. <action application="set" data="origination_rates=ID:260616|CODE:^10.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:113|COST:60.00000|INC:60|INITIALBLOCK:30|RATEGROUP:1139|MARKUP:0|CI:88|ACCID:2450"/>
  241. <action application="set" data="original_caller_id_number=1515028"/>
  242.  
  243. <action application="set" data="effective_caller_id_number=1515028"/>
  244. <action application="set" data="calltype=STANDARD"/>
  245. <action application="set" data="termination_rates=ID:2456|CODE:^10.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:761|PROVIDER:2449"/>
  246. <action application="set" data="trunk_id=761"/>
  247. <action application="set" data="provider_id=2449"/>
  248. <action application="set" data="rate_flag=0"/>
  249. <action application="set" data="force_trunk_flag=0"/>
  250. <action application="export" data="presence_data=trunk_id=761"/>
  251. <action application="set" data="intcall=0"/>
  252. <action application="export" data="presence_id=1010000"/>
  253. <action application="export" data="presence_data=x|||IVRHybrid_FIRST_CUSTOMER(1111025)|||^10.* // India // 60.00000 |||IVRHybrid // ^10.* // India // 1.00000 // trunk_id=761|||STD|||117.247.91.162"/>
  254. <action application="bridge" data="[leg_timeout=0]sofia/gateway/IVRHybird/1010000"/>
  255. </condition>
  256. </extension>
  257. </context>
  258. </section>
  259. </document>
  260. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 parsing [default->1010000] continue=false
  261. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Regex (PASS) [1010000] destination_number(1010000) =~ /1010000/ break=on-false
  262. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(effective_destination_number=1010000)
  263. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  264. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(bridge_pre_execute_bleg_data=+5000 normal_clearing)
  265. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(nibble_account=2450)
  266. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(nibble_rate=60.00000)
  267. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(nibble_minimum=0.00000)
  268. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(nibble_increment=20)
  269. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action nibblebill(heartbeat 20)
  270. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(callstart=2022-03-11 07:15:15)
  271. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(hangup_after_bridge=true)
  272. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(continue_on_fail=TRUE)
  273. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(account_id=2450)
  274. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(parent_id=0)
  275. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(entity_id=0)
  276. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(call_processed=internal)
  277. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(call_direction=outbound)
  278. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(accountname=default)
  279. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(filename1=astpp.pbx.lua)
  280. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(origination_rates=ID:260616|CODE:^10.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:113|COST:60.00000|INC:60|INITIALBLOCK:30|RATEGROUP:1139|MARKUP:0|CI:88|ACCID:2450)
  281. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(original_caller_id_number=1515028)
  282. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(effective_caller_id_number=1515028)
  283. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(calltype=STANDARD)
  284. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(termination_rates=ID:2456|CODE:^10.*|DESTINATION:India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:1.00000|INC:0|INITIALBLOCK:0|TRUNK:761|PROVIDER:2449)
  285. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(trunk_id=761)
  286. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(provider_id=2449)
  287. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(rate_flag=0)
  288. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(force_trunk_flag=0)
  289. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action export(presence_data=trunk_id=761)
  290. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action set(intcall=0)
  291. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action export(presence_id=1010000)
  292. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action export(presence_data=x|||IVRHybrid_FIRST_CUSTOMER(1111025)|||^10.* // India // 60.00000 |||IVRHybrid // ^10.* // India // 1.00000 // trunk_id=761|||STD|||117.247.91.162)
  293. Dialplan: sofia/default/1515028@entdemo.astppbilling.org:5077 Action bridge([leg_timeout=0]sofia/gateway/IVRHybird/1010000)
  294. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:287 (sofia/default/1515028@entdemo.astppbilling.org:5077) State Change CS_ROUTING -> CS_EXECUTE
  295. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:644 (sofia/default/1515028@entdemo.astppbilling.org:5077) State ROUTING going to sleep
  296. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_EXECUTE (Cur 1 Tot 15)
  297. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:651 (sofia/default/1515028@entdemo.astppbilling.org:5077) State EXECUTE
  298. 2022-03-11 07:15:15.112439 [DEBUG] mod_sofia.c:209 sofia/default/1515028@entdemo.astppbilling.org:5077 SOFIA EXECUTE
  299. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:329 sofia/default/1515028@entdemo.astppbilling.org:5077 Standard EXECUTE
  300. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(effective_destination_number=1010000)
  301. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [effective_destination_number]=[1010000]
  302. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_app=sched_hangup)
  303. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_app]=[sched_hangup]
  304. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(bridge_pre_execute_bleg_data=+5000 normal_clearing)
  305. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [bridge_pre_execute_bleg_data]=[+5000 normal_clearing]
  306. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(nibble_account=2450)
  307. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [nibble_account]=[2450]
  308. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(nibble_rate=60.00000)
  309. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [nibble_rate]=[60.00000]
  310. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(nibble_minimum=0.00000)
  311. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [nibble_minimum]=[0.00000]
  312. EXECUTE [depth=0] sofia/default/1515028@entdemo.astppbilling.org:5077 set(nibble_increment=20)
  313. 2022-03-11 07:15:15.112439 [DEBUG] mod_dptools.c:1672 SET sofia/default/1515028@entdemo.astppbilling.org:5077 [nibble_increment]=[20]
  314. 2022-03-11 07:15:15.112439 [ERR] switch_core_session.c:2697 Invalid Application nibblebill
  315. 2022-03-11 07:15:15.112439 [NOTICE] switch_core_session.c:2698 Hangup sofia/default/1515028@entdemo.astppbilling.org:5077 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
  316. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:651 (sofia/default/1515028@entdemo.astppbilling.org:5077) State EXECUTE going to sleep
  317. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_HANGUP (Cur 1 Tot 15)
  318. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:848 (sofia/default/1515028@entdemo.astppbilling.org:5077) Callstate Change RINGING -> HANGUP
  319. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1515028@entdemo.astppbilling.org:5077) State HANGUP
  320. 2022-03-11 07:15:15.112439 [DEBUG] mod_sofia.c:453 Channel sofia/default/1515028@entdemo.astppbilling.org:5077 hanging up, cause: DESTINATION_OUT_OF_ORDER
  321. 2022-03-11 07:15:15.112439 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 502
  322. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:60 sofia/default/1515028@entdemo.astppbilling.org:5077 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER
  323. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1515028@entdemo.astppbilling.org:5077) State HANGUP going to sleep
  324. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:620 (sofia/default/1515028@entdemo.astppbilling.org:5077) State Change CS_HANGUP -> CS_REPORTING
  325. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:585 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_REPORTING (Cur 1 Tot 15)
  326. 2022-03-11 07:15:15.112439 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1515028@entdemo.astppbilling.org:5077) State REPORTING
  327. 2022-03-11 07:15:15.112439 [INFO] mod_json_cdr.c:271 Process [e69f6320-c0bd-486b-b372-5c9d2c874ac0.cdr.json]
  328. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:174 sofia/default/1515028@entdemo.astppbilling.org:5077 Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER
  329. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:936 (sofia/default/1515028@entdemo.astppbilling.org:5077) State REPORTING going to sleep
  330. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:611 (sofia/default/1515028@entdemo.astppbilling.org:5077) State Change CS_REPORTING -> CS_DESTROY
  331. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_session.c:1726 Session 15 (sofia/default/1515028@entdemo.astppbilling.org:5077) Locked, Waiting on external entities
  332. 2022-03-11 07:15:15.132427 [NOTICE] switch_core_session.c:1744 Session 15 (sofia/default/1515028@entdemo.astppbilling.org:5077) Ended
  333. 2022-03-11 07:15:15.132427 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/1515028@entdemo.astppbilling.org:5077 [CS_DESTROY]
  334. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:739 (sofia/default/1515028@entdemo.astppbilling.org:5077) Running State Change CS_DESTROY (Cur 0 Tot 15)
  335. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1515028@entdemo.astppbilling.org:5077) State DESTROY
  336. 2022-03-11 07:15:15.132427 [DEBUG] mod_sofia.c:364 sofia/default/1515028@entdemo.astppbilling.org:5077 SOFIA DESTROY
  337. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:181 sofia/default/1515028@entdemo.astppbilling.org:5077 Standard DESTROY
  338. 2022-03-11 07:15:15.132427 [DEBUG] switch_core_state_machine.c:749 (sofia/default/1515028@entdemo.astppbilling.org:5077) State DESTROY going to sleep
  339. freeswitch@gibfibre>
  340. freeswitch@gibfibre>
  341. freeswitch@gibfibre>
  342.