From Paltry Kangaroo, 7 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1. +OK log level  [7]
  2. 2017-08-15 18:39:30.713359 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  3. 2017-08-15 18:39:30.753432 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  4. 2017-08-15 18:39:30.873377 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952400@sip3.i-telecoms.net.au] from ip 203.217.31.102
  5. 2017-08-15 18:39:31.993357 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61393871233@sip3.i-telecoms.net.au] from ip 103.43.253.168
  6. 2017-08-15 18:39:33.593347 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952481@sip3.i-telecoms.net.au] from ip 103.43.253.172
  7. 2017-08-15 18:39:34.933372 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61280694799@sip3.i-telecoms.net.au] from ip 150.101.205.102
  8. 2017-08-15 18:39:36.573351 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61292812288@sip3.i-telecoms.net.au] from ip 103.43.253.147
  9. 2017-08-15 18:39:37.133357 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61398982746@sip3.i-telecoms.net.au] from ip 103.43.253.181
  10. 2017-08-15 18:39:50.773369 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  11. 2017-08-15 18:39:50.813367 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  12. 2017-08-15 18:40:02.793360 [NOTICE] switch_channel.c:1104 New Channel sofia/default/61755396553@sip3.i-telecoms.net.au [cee8dccf-765d-4d90-b16f-b4fb1d187ef6]
  13. 2017-08-15 18:40:02.793360 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_NEW (Cur 1 Tot 60)
  14. 2017-08-15 18:40:02.793360 [DEBUG] sofia.c:9837 sofia/default/61755396553@sip3.i-telecoms.net.au receiving invite from 45.63.27.78:5060 version: 1.6.18 git 812e3da 2017-07-07 16:35:56Z 64bit
  15. 2017-08-15 18:40:02.793360 [DEBUG] sofia.c:10008 IP 45.63.27.78 Rejected by acl "default". Falling back to Digest auth.
  16. 2017-08-15 18:40:05.613349 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [61412155380@sip3.i-telecoms.net.au] from ip 45.63.27.78
  17. 2017-08-15 18:40:05.613349 [DEBUG] switch_core_state_machine.c:603 (sofia/default/61755396553@sip3.i-telecoms.net.au) State NEW
  18. 2017-08-15 18:40:05.613349 [DEBUG] sofia.c:2334 detaching session cee8dccf-765d-4d90-b16f-b4fb1d187ef6
  19. 2017-08-15 18:40:05.613349 [DEBUG] sofia.c:2442 Re-attaching to session cee8dccf-765d-4d90-b16f-b4fb1d187ef6
  20. 2017-08-15 18:40:05.613349 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [61280694707@sip3.i-telecoms.net.au] from ip 45.63.27.78
  21. 2017-08-15 18:40:05.633369 [DEBUG] sofia.c:9837 sofia/default/61755396553@sip3.i-telecoms.net.au receiving invite from 45.63.27.78:5060 version: 1.6.18 git 812e3da 2017-07-07 16:35:56Z 64bit
  22. 2017-08-15 18:40:05.633369 [DEBUG] sofia.c:10008 IP 45.63.27.78 Rejected by acl "default". Falling back to Digest auth.
  23. 2017-08-15 18:40:05.633369 [DEBUG] sofia.c:7048 Channel sofia/default/61755396553@sip3.i-telecoms.net.au entering state [received][100]
  24. 2017-08-15 18:40:05.633369 [DEBUG] sofia.c:7058 Remote SDP:
  25. v=0
  26. o=- 1970831621 1970831621 IN IP4 45.63.27.78
  27. s=-
  28. c=IN IP4 45.63.27.78
  29. t=0 0
  30. m=audio 49724 RTP/AVP 0 8 18 101
  31. a=rtpmap:0 PCMU/8000
  32. a=rtpmap:8 PCMA/8000
  33. a=rtpmap:18 G729/8000
  34. a=fmtp:18 annexb=no
  35. a=rtpmap:101 telephone-event/8000
  36. a=fmtp:101 0-16
  37.  
  38. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  39. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  40. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  41. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  42. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  43. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  44. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  45. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  46. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  47. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  48. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  49. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  50. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  51. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:3057 Set Codec sofia/default/61755396553@sip3.i-telecoms.net.au PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  52. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_codec.c:111 sofia/default/61755396553@sip3.i-telecoms.net.au Original read codec set to PCMU:0
  53. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  54. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_media.c:4763 sofia/default/61755396553@sip3.i-telecoms.net.au Set 2833 dtmf send payload to 101 recv payload to 101
  55. 2017-08-15 18:40:05.633369 [DEBUG] sofia.c:7471 (sofia/default/61755396553@sip3.i-telecoms.net.au) State Change CS_NEW -> CS_INIT
  56. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_INIT (Cur 1 Tot 60)
  57. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61755396553@sip3.i-telecoms.net.au) State INIT
  58. 2017-08-15 18:40:05.633369 [DEBUG] mod_sofia.c:90 sofia/default/61755396553@sip3.i-telecoms.net.au SOFIA INIT
  59. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:40 sofia/default/61755396553@sip3.i-telecoms.net.au Standard INIT
  60. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:48 (sofia/default/61755396553@sip3.i-telecoms.net.au) State Change CS_INIT -> CS_ROUTING
  61. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61755396553@sip3.i-telecoms.net.au) State INIT going to sleep
  62. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_ROUTING (Cur 1 Tot 60)
  63. 2017-08-15 18:40:05.633369 [DEBUG] switch_channel.c:2249 (sofia/default/61755396553@sip3.i-telecoms.net.au) Callstate Change DOWN -> RINGING
  64. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61755396553@sip3.i-telecoms.net.au) State ROUTING
  65. 2017-08-15 18:40:05.633369 [DEBUG] mod_sofia.c:143 sofia/default/61755396553@sip3.i-telecoms.net.au SOFIA ROUTING
  66. 2017-08-15 18:40:05.633369 [DEBUG] switch_core_state_machine.c:236 sofia/default/61755396553@sip3.i-telecoms.net.au Standard ROUTING
  67. 2017-08-15 18:40:05.633369 [INFO] mod_dialplan_xml.c:637 Processing 61755396553 <61755396553>->61412155380 in context default
  68. 2017-08-15 18:40:05.653366 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f6848068fd0 Connected.
  69. 2017-08-15 18:40:05.653366 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  70. 2017-08-15 18:40:05.653366 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 61412155380
  71. 2017-08-15 18:40:05.653366 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,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 FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61412155380" LIMIT 1
  72. 2017-08-15 18:40:05.653366 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,number as accountcode,sip_devices.accountid as accountid FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND username="61412155380" limit 1
  73. 2017-08-15 18:40:05.653366 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  74. 2017-08-15 18:40:05.653366 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 69105942398]
  75. 2017-08-15 18:40:05.653366 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "69105942398" OR id="69105942398") AND status=0 AND deleted=0 AND (expiry >= '2017-08-15 08:40:06' OR expiry = '0000-00-00 00:00:00') limit 1
  76. 2017-08-15 18:40:05.673362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^61412155380.*' OR blocked_patterns ='^6141215538.*' OR blocked_patterns ='^614121553.*' OR blocked_patterns ='^61412155.*' OR blocked_patterns ='^6141215.*' OR blocked_patterns ='^614121.*' OR blocked_patterns ='^61412.*' OR blocked_patterns ='^6141.*' OR blocked_patterns ='^614.*' OR blocked_patterns ='^61.*' OR blocked_patterns ='^6.*' OR blocked_patterns ='--') AND accountid = 30 limit 1
  77. 2017-08-15 18:40:05.673362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^61412155380.*' OR patterns ='^6141215538.*' OR patterns ='^614121553.*' OR patterns ='^61412155.*' OR patterns ='^6141215.*' OR patterns ='^614121.*' OR patterns ='^61412.*' OR patterns ='^6141.*' OR patterns ='^614.*' OR patterns ='^61.*' OR patterns ='^6.*' OR patterns ='--') AND status = 0 AND pricelist_id = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  78. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  79. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 30
  80. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 69105942398
  81. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 479.2
  82. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  83. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 5
  84. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  85. 2017-08-15 18:40:05.673362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 5 AND status = 0
  86. 2017-08-15 18:40:05.673362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^61412155380.*' OR pattern ='^6141215538.*' OR pattern ='^614121553.*' OR pattern ='^61412155.*' OR pattern ='^6141215.*' OR pattern ='^614121.*' OR pattern ='^61412.*' OR pattern ='^6141.*' OR pattern ='^614.*' OR pattern ='^61.*' OR pattern ='^6.*' OR pattern ='--') AND status = 0 AND pricelist_id = 5  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  87. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  88. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 10
  89. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  90. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  91. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.18000
  92. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : 614 Australia Mobile
  93. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 30
  94. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  95. 2017-08-15 18:40:05.673362 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 0.18!!!
  96. 2017-08-15 18:40:05.673362 [NOTICE] switch_cpp.cpp:1365 [ASTPP] FINDING LIMIT FOR RESELLER: 10
  97. 2017-08-15 18:40:05.673362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "10" OR id="10") AND status=0 AND deleted=0 AND (expiry >= '2017-08-15 08:40:06' OR expiry = '0000-00-00 00:00:00') limit 1
  98. 2017-08-15 18:40:05.693362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^61412155380.*' OR blocked_patterns ='^6141215538.*' OR blocked_patterns ='^614121553.*' OR blocked_patterns ='^61412155.*' OR blocked_patterns ='^6141215.*' OR blocked_patterns ='^614121.*' OR blocked_patterns ='^61412.*' OR blocked_patterns ='^6141.*' OR blocked_patterns ='^614.*' OR blocked_patterns ='^61.*' OR blocked_patterns ='^6.*' OR blocked_patterns ='--') AND accountid = 10 limit 1
  99. 2017-08-15 18:40:05.693362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^61412155380.*' OR patterns ='^6141215538.*' OR patterns ='^614121553.*' OR patterns ='^61412155.*' OR patterns ='^6141215.*' OR patterns ='^614121.*' OR patterns ='^61412.*' OR patterns ='^6141.*' OR patterns ='^614.*' OR patterns ='^61.*' OR patterns ='^6.*' OR patterns ='--') AND status = 0 AND pricelist_id = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  100. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Reseller Information ===================
  101. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 10
  102. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 8124559517
  103. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 1821.104
  104. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  105. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 2
  106. 2017-08-15 18:40:05.693362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  107. 2017-08-15 18:40:05.693362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^61412155380.*' OR pattern ='^6141215538.*' OR pattern ='^614121553.*' OR pattern ='^61412155.*' OR pattern ='^6141215.*' OR pattern ='^614121.*' OR pattern ='^61412.*' OR pattern ='^6141.*' OR pattern ='^614.*' OR pattern ='^61.*' OR pattern ='^6.*' OR pattern ='--') AND status = 0 AND pricelist_id = 2  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  108. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  109. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 2
  110. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  111. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  112. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.19000
  113. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Aus Mobile
  114. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 10
  115. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  116. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 0.18!!!
  117. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller xml_user_rates : ID:10|CODE:^614.*|DESTINATION:614 Australia Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.18000|INC:60|INITIALBLOCK:60|RATEGROUP:5|MARKUP:0|ACCID:30||ID:2|CODE:^614.*|DESTINATION:Aus Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19000|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|ACCID:10
  118. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  119. 2017-08-15 18:40:05.693362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Generated XML:
  120. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  121. <document type="freeswitch/xml">
  122. <section name="dialplan" description="ASTPP Dialplan">
  123. <context name="default">
  124. <extension name="61412155380">
  125. <condition field="destination_number" expression="61412155380">
  126. <action application="log" data="WARNING Accountcode 69105942398. Dialed number (61412155380) , Reseller call is priced too cheap! Call being barred!!"/>
  127. <action application="set" data="error_cdr=1"/>
  128. <action application="set" data="callstart=2017-08-15 08:40:06"/>
  129. <action application="set" data="account_id=30"/>
  130. <action application="set" data="call_direction=outbound"/>
  131. <action application="set" data="sip_ignore_remote_cause=true"/>
  132. <action application="set" data="call_processed=internal"/>
  133. <action application="set" data="effective_destination_number=61412155380"/>
  134. <action application="set" data="last_bridge_hangup_cause=RESELLER_COST_CHEAP"/>
  135. <action application="hangup" data="RESELLER_COST_CHEAP"/>
  136. </condition>
  137. </extension>
  138. </context>
  139. </section>
  140. </document>
  141. 2017-08-15 18:40:05.693362 [INFO] switch_cpp.cpp:1365 [ASTPP] Reseller cost : 0.19000 User cost : 0.18000
  142. 2017-08-15 18:40:05.693362 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Reseller call price is cheaper, so we cannot allow call to process!!
  143. 2017-08-15 18:40:05.693362 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f6848068fd0 released.
  144. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au parsing [default->61412155380] continue=false
  145. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Regex (PASS) [61412155380] destination_number(61412155380) =~ /61412155380/ break=on-false
  146. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action log(WARNING Accountcode 69105942398. Dialed number (61412155380) , Reseller call is priced too cheap! Call being barred!!)
  147. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(error_cdr=1)
  148. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(callstart=2017-08-15 08:40:06)
  149. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(account_id=30)
  150. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(call_direction=outbound)
  151. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(sip_ignore_remote_cause=true)
  152. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(call_processed=internal)
  153. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(effective_destination_number=61412155380)
  154. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action set(last_bridge_hangup_cause=RESELLER_COST_CHEAP)
  155. Dialplan: sofia/default/61755396553@sip3.i-telecoms.net.au Action hangup(RESELLER_COST_CHEAP)
  156. 2017-08-15 18:40:05.693362 [DEBUG] switch_core_state_machine.c:286 (sofia/default/61755396553@sip3.i-telecoms.net.au) State Change CS_ROUTING -> CS_EXECUTE
  157. 2017-08-15 18:40:05.693362 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61755396553@sip3.i-telecoms.net.au) State ROUTING going to sleep
  158. 2017-08-15 18:40:05.693362 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_EXECUTE (Cur 1 Tot 60)
  159. 2017-08-15 18:40:05.693362 [DEBUG] switch_core_state_machine.c:650 (sofia/default/61755396553@sip3.i-telecoms.net.au) State EXECUTE
  160. 2017-08-15 18:40:05.693362 [DEBUG] mod_sofia.c:198 sofia/default/61755396553@sip3.i-telecoms.net.au SOFIA EXECUTE
  161. 2017-08-15 18:40:05.693362 [DEBUG] switch_core_state_machine.c:328 sofia/default/61755396553@sip3.i-telecoms.net.au Standard EXECUTE
  162. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au log(WARNING Accountcode 69105942398. Dialed number (61412155380) , Reseller call is priced too cheap! Call being barred!!)
  163. 2017-08-15 18:40:05.693362 [WARNING] mod_dptools.c:1742 Accountcode 69105942398. Dialed number (61412155380) , Reseller call is priced too cheap! Call being barred!!
  164. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(error_cdr=1)
  165. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [error_cdr]=[1]
  166. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(callstart=2017-08-15 08:40:06)
  167. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [callstart]=[2017-08-15 08:40:06]
  168. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(account_id=30)
  169. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [account_id]=[30]
  170. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(call_direction=outbound)
  171. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [call_direction]=[outbound]
  172. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(sip_ignore_remote_cause=true)
  173. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [sip_ignore_remote_cause]=[true]
  174. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(call_processed=internal)
  175. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [call_processed]=[internal]
  176. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(effective_destination_number=61412155380)
  177. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [effective_destination_number]=[61412155380]
  178. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au set(last_bridge_hangup_cause=RESELLER_COST_CHEAP)
  179. 2017-08-15 18:40:05.693362 [DEBUG] mod_dptools.c:1548 SET sofia/default/61755396553@sip3.i-telecoms.net.au [last_bridge_hangup_cause]=[RESELLER_COST_CHEAP]
  180. EXECUTE sofia/default/61755396553@sip3.i-telecoms.net.au hangup(RESELLER_COST_CHEAP)
  181. 2017-08-15 18:40:05.693362 [NOTICE] mod_dptools.c:1286 Hangup sofia/default/61755396553@sip3.i-telecoms.net.au [CS_EXECUTE] [NORMAL_CLEARING]
  182. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_session.c:2815 sofia/default/61755396553@sip3.i-telecoms.net.au skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  183. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:650 (sofia/default/61755396553@sip3.i-telecoms.net.au) State EXECUTE going to sleep
  184. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_HANGUP (Cur 1 Tot 60)
  185. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:850 (sofia/default/61755396553@sip3.i-telecoms.net.au) Callstate Change RINGING -> HANGUP
  186. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61755396553@sip3.i-telecoms.net.au) State HANGUP
  187. 2017-08-15 18:40:05.713354 [DEBUG] mod_sofia.c:438 Channel sofia/default/61755396553@sip3.i-telecoms.net.au hanging up, cause: NORMAL_CLEARING
  188. 2017-08-15 18:40:05.713354 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  189. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:60 sofia/default/61755396553@sip3.i-telecoms.net.au Standard HANGUP, cause: NORMAL_CLEARING
  190. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61755396553@sip3.i-telecoms.net.au) State HANGUP going to sleep
  191. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:619 (sofia/default/61755396553@sip3.i-telecoms.net.au) State Change CS_HANGUP -> CS_REPORTING
  192. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_REPORTING (Cur 1 Tot 60)
  193. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61755396553@sip3.i-telecoms.net.au) State REPORTING
  194. 2017-08-15 18:40:05.713354 [INFO] mod_json_cdr.c:271 Process [cee8dccf-765d-4d90-b16f-b4fb1d187ef6.cdr.json]
  195. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:174 sofia/default/61755396553@sip3.i-telecoms.net.au Standard REPORTING, cause: NORMAL_CLEARING
  196. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61755396553@sip3.i-telecoms.net.au) State REPORTING going to sleep
  197. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:610 (sofia/default/61755396553@sip3.i-telecoms.net.au) State Change CS_REPORTING -> CS_DESTROY
  198. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_session.c:1665 Session 60 (sofia/default/61755396553@sip3.i-telecoms.net.au) Locked, Waiting on external entities
  199. 2017-08-15 18:40:05.713354 [NOTICE] switch_core_session.c:1683 Session 60 (sofia/default/61755396553@sip3.i-telecoms.net.au) Ended
  200. 2017-08-15 18:40:05.713354 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/61755396553@sip3.i-telecoms.net.au [CS_DESTROY]
  201. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:741 (sofia/default/61755396553@sip3.i-telecoms.net.au) Running State Change CS_DESTROY (Cur 0 Tot 60)
  202. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61755396553@sip3.i-telecoms.net.au) State DESTROY
  203. 2017-08-15 18:40:05.713354 [DEBUG] mod_sofia.c:343 sofia/default/61755396553@sip3.i-telecoms.net.au SOFIA DESTROY
  204. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:181 sofia/default/61755396553@sip3.i-telecoms.net.au Standard DESTROY
  205. 2017-08-15 18:40:05.713354 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61755396553@sip3.i-telecoms.net.au) State DESTROY going to sleep
  206. 2017-08-15 18:40:05.953386 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61394288600@sip3.i-telecoms.net.au] from ip 115.70.163.59
  207. 2017-08-15 18:40:10.853371 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  208. 2017-08-15 18:40:10.893355 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  209. 2017-08-15 18:40:12.293342 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61295244890@sip3.i-telecoms.net.au] from ip 203.206.211.169
  210. 2017-08-15 18:40:29.293375 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61297972555@sip3.i-telecoms.net.au] from ip 61.69.20.114
  211. 2017-08-15 18:40:30.913342 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  212. 2017-08-15 18:40:30.953397 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [61385952420@sip3.i-telecoms.net.au] from ip 103.43.253.175
  213. 2017-08-15 18:40:31.013353 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952400@sip3.i-telecoms.net.au] from ip 203.217.31.102
  214. 2017-08-15 18:40:32.073364 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61393871233@sip3.i-telecoms.net.au] from ip 103.43.253.168
  215. 2017-08-15 18:40:33.673344 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61385952481@sip3.i-telecoms.net.au] from ip 103.43.253.172
  216. 2017-08-15 18:40:40.613365 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61398982746@sip3.i-telecoms.net.au] from ip 103.43.253.181
  217. 2017-08-15 18:40:41.593408 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61295256460@sip3.i-telecoms.net.au] from ip 210.10.201.230
  218. 2017-08-15 18:40:41.613352 [NOTICE] sofia_reg.c:448 Registering astpp
  219. 2017-08-15 18:40:43.953379 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [61247362202@108.61.251.70] from ip 210.9.28.186
  220. freeswitch@billing.ihostpbx.com.au> reloa
  221.