From Sloppy Bird, 5 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. +OK log level  [7]
  2. 2019-03-16 12:05:48.363338 [NOTICE] switch_channel.c:1104 New Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [d631c8bb-aabd-4b18-ae1b-a87e70201ae7]
  3. 2019-03-16 12:05:48.363338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_NEW (Cur 1 Tot 42)
  4. 2019-03-16 12:05:48.363338 [DEBUG] sofia.c:9873 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 receiving invite from 157.41.145.227:59542 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  5. 2019-03-16 12:05:48.363338 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth.
  6. 2019-03-16 12:05:48.363338 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'SIP_SHRISAI_INT' for [9437212320@103.54.24.21] from ip 157.41.145.227
  7. 2019-03-16 12:05:48.363338 [DEBUG] switch_core_state_machine.c:603 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State NEW
  8. 2019-03-16 12:05:48.363338 [DEBUG] sofia.c:2334 detaching session d631c8bb-aabd-4b18-ae1b-a87e70201ae7
  9. 2019-03-16 12:05:48.463340 [DEBUG] sofia.c:2442 Re-attaching to session d631c8bb-aabd-4b18-ae1b-a87e70201ae7
  10. 2019-03-16 12:05:48.483349 [DEBUG] sofia.c:9873 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 receiving invite from 157.41.145.227:59542 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  11. 2019-03-16 12:05:48.483349 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth.
  12. 2019-03-16 12:05:48.483349 [DEBUG] sofia.c:11168 Setting NAT mode based on via port
  13. 2019-03-16 12:05:48.483349 [DEBUG] sofia.c:7084 Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 entering state [received][100]
  14. 2019-03-16 12:05:48.483349 [DEBUG] sofia.c:7094 Remote SDP:
  15. v=0
  16. o=Z 79590465 0 IN IP4 157.41.145.227
  17. s=Z
  18. c=IN IP4 157.41.145.227
  19. t=0 0
  20. m=audio 8000 RTP/AVP 106 9 3 111 0 8 97 110 112 98 101 100 99 102
  21. a=rtpmap:106 opus/48000/2
  22. a=fmtp:106 minptime=20; cbr=1; maxaveragebitrate=40000; useinbandfec=1
  23. a=rtpmap:111 speex/16000
  24. a=rtpmap:97 iLBC/8000
  25. a=fmtp:97 mode=20
  26. a=rtpmap:110 speex/8000
  27. a=rtpmap:112 speex/32000
  28. a=rtpmap:98 telephone-event/48000
  29. a=fmtp:98 0-16
  30. a=rtpmap:101 telephone-event/8000
  31. a=fmtp:101 0-16
  32. a=rtpmap:100 telephone-event/16000
  33. a=fmtp:100 0-16
  34. a=rtpmap:99 telephone-event/32000
  35. a=fmtp:99 0-16
  36. a=rtpmap:102 G726-32/8000
  37.  
  38. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  39. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  40. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:106:48000:20:0:2]/[G729:18:8000:20:8000:1]
  41. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  42. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  43. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  44. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  45. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  46. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  47. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  48. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  49. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[G729:18:8000:20:8000:1]
  50. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  51. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  52. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  53. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  54. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  55. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  56. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  57. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  58. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  59. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  60. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[G729:18:8000:20:8000:1]
  61. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  62. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  63. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  64. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:112:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
  65. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:112:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
  66. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:112:32000:20:0:1]/[G729:18:8000:20:8000:1]
  67. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 98@48000
  68. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  69. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  70. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:102:8000:20:0:1]/[G729:18:8000:20:8000:1]
  71. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:3061 Set Codec sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  72. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_codec.c:111 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Original read codec set to PCMU:0
  73. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  74. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_media.c:4767 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Set 2833 dtmf send payload to 101 recv payload to 101
  75. 2019-03-16 12:05:48.483349 [DEBUG] sofia.c:7507 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_NEW -> CS_INIT
  76. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_INIT (Cur 1 Tot 42)
  77. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State INIT
  78. 2019-03-16 12:05:48.483349 [DEBUG] mod_sofia.c:90 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA INIT
  79. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:40 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard INIT
  80. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:48 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_INIT -> CS_ROUTING
  81. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State INIT going to sleep
  82. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_ROUTING (Cur 1 Tot 42)
  83. 2019-03-16 12:05:48.483349 [DEBUG] switch_channel.c:2249 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Callstate Change DOWN -> RINGING
  84. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State ROUTING
  85. 2019-03-16 12:05:48.483349 [DEBUG] mod_sofia.c:143 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA ROUTING
  86. 2019-03-16 12:05:48.483349 [DEBUG] switch_core_state_machine.c:236 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard ROUTING
  87. 2019-03-16 12:05:48.483349 [INFO] mod_dialplan_xml.c:637 Processing 1161198699 <1161198699>->9437212320 in context default
  88. 2019-03-16 12:05:48.503331 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fcc3005a900 Connected.
  89. 2019-03-16 12:05:48.503331 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  90. 2019-03-16 12:05:48.503331 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 9437212320
  91. 2019-03-16 12:05:48.503331 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 1161198699 / 1161198699
  92. 2019-03-16 12:05:48.503331 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as  did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9437212320" LIMIT 1
  93. 2019-03-16 12:05:48.503331 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9437212320" limit 1
  94. 2019-03-16 12:05:48.503331 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  95. 2019-03-16 12:05:48.503331 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 1161198699]
  96. 2019-03-16 12:05:48.503331 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1161198699" OR id="1161198699") AND status=0 AND deleted=0 AND (expiry >= '2019-03-16 06:35:48' OR expiry = '0000-00-00 00:00:00') limit 1
  97. 2019-03-16 12:05:48.523349 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^9437212320.*' OR blocked_patterns ='^943721232.*' OR blocked_patterns ='^94372123.*' OR blocked_patterns ='^9437212.*' OR blocked_patterns ='^943721.*' OR blocked_patterns ='^94372.*' OR blocked_patterns ='^9437.*' OR blocked_patterns ='^943.*' OR blocked_patterns ='^94.*' OR blocked_patterns ='^9.*' OR blocked_patterns ='--') AND accountid = 170 limit 1
  98. 2019-03-16 12:05:48.523349 [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 ='^9437212320.*' OR patterns ='^943721232.*' OR patterns ='^94372123.*' OR patterns ='^9437212.*' OR patterns ='^943721.*' OR patterns ='^94372.*' OR patterns ='^9437.*' OR patterns ='^943.*' OR patterns ='^94.*' OR patterns ='^9.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  99. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  100. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 170
  101. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 1161198699
  102. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 666666.66667
  103. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  104. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  105. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  106. 2019-03-16 12:05:48.523349 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  107. 2019-03-16 12:05:48.523349 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^9437212320.*' OR pattern ='^943721232.*' OR pattern ='^94372123.*' OR pattern ='^9437212.*' OR pattern ='^943721.*' OR pattern ='^94372.*' OR pattern ='^9437.*' OR pattern ='^943.*' OR pattern ='^94.*' OR pattern ='^9.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  108. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!!
  109. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  110. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  111. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^9.*
  112. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA
  113. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  114. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  115. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.15333
  116. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 60
  117. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 60
  118. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 170
  119. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  120. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 24 minutes
  121. 2019-03-16 12:05:48.523349 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TK.cid_translation,TR.init_inc,TK.status,TK.dialed_modify,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 ='^9437212320.*' OR pattern ='^943721232.*' OR pattern ='^94372123.*' OR pattern ='^9437212.*' OR pattern ='^943721.*' OR pattern ='^94372.*' OR pattern ='^9437.*' OR pattern ='^943.*' OR pattern ='^94.*' OR pattern ='^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id=1 ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  122. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  123. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  124. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^9.*
  125. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA
  126. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  127. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  128. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^9.*
  129. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  130. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  131. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1
  132. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : GW_TTL_DEL
  133. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  134. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  135. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 4
  136. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation :
  137. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  138. 2019-03-16 12:05:48.523349 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  139. 2019-03-16 12:05:48.523349 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 170 AND status=0 LIMIT 1
  140. 2019-03-16 12:05:48.523349 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts
  141. 2019-03-16 12:05:48.523349 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends
  142. 2019-03-16 12:05:48.523349 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  143. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  144. <document type="freeswitch/xml">
  145. <section name="dialplan" description="ASTPP Dialplan">
  146. <context name="default">
  147. <extension name="9437212320">
  148. <condition field="destination_number" expression="9437212320">
  149. <action application="set" data="effective_destination_number=9437212320"/>
  150. <action application="sched_hangup" data="+1440 normal_clearing"/>
  151. <action application="set" data="callstart=2019-03-16 06:35:48"/>
  152. <action application="set" data="hangup_after_bridge=true"/>
  153. <action application="set" data="continue_on_fail=!USER_BUSY"/>
  154. <action application="set" data="account_id=170"/>
  155. <action application="set" data="parent_id=0"/>
  156. <action application="set" data="entity_id=0"/>
  157. <action application="set" data="call_processed=internal"/>
  158. <action application="set" data="call_direction=outbound"/>
  159. <action application="set" data="accountname=default"/>
  160. <action application="export" data="t38_passthru=true"/>
  161. <action application="set" data="fax_enable_t38=true"/>
  162. <action application="set" data="fax_enable_t38_request=true"/>
  163. <action application="set" data="origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170"/>
  164.  
  165. <action application="set" data="original_caller_id_name=1161198699"/>
  166. <action application="set" data="original_caller_id_number=1161198699"/>
  167. <action application="set" data="effective_caller_id_name=1161198699"/>
  168. <action application="set" data="effective_caller_id_number=1161198699"/>
  169. <action application="set" data="calltype=STANDARD"/>
  170. <action application="set" data="termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4"/>
  171. <action application="set" data="trunk_id=1"/>
  172. <action application="set" data="provider_id=4"/>
  173. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320"/>
  174. </condition>
  175. </extension>
  176. </context>
  177. </section>
  178. </document>
  179. 2019-03-16 12:05:48.523349 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fcc3005a900 released.
  180. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 parsing [default->9437212320] continue=false
  181. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Regex (PASS) [9437212320] destination_number(9437212320) =~ /9437212320/ break=on-false
  182. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(effective_destination_number=9437212320)
  183. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action sched_hangup(+1440 normal_clearing)
  184. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(callstart=2019-03-16 06:35:48)
  185. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(hangup_after_bridge=true)
  186. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(continue_on_fail=!USER_BUSY)
  187. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(account_id=170)
  188. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(parent_id=0)
  189. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(entity_id=0)
  190. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(call_processed=internal)
  191. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(call_direction=outbound)
  192. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(accountname=default)
  193. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action export(t38_passthru=true)
  194. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(fax_enable_t38=true)
  195. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(fax_enable_t38_request=true)
  196. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170)
  197. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(original_caller_id_name=1161198699)
  198. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(original_caller_id_number=1161198699)
  199. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(effective_caller_id_name=1161198699)
  200. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(effective_caller_id_number=1161198699)
  201. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(calltype=STANDARD)
  202. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4)
  203. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(trunk_id=1)
  204. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(provider_id=4)
  205. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320)
  206. 2019-03-16 12:05:48.523349 [DEBUG] switch_core_state_machine.c:286 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_ROUTING -> CS_EXECUTE
  207. 2019-03-16 12:05:48.523349 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State ROUTING going to sleep
  208. 2019-03-16 12:05:48.523349 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_EXECUTE (Cur 1 Tot 42)
  209. 2019-03-16 12:05:48.523349 [DEBUG] switch_core_state_machine.c:650 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State EXECUTE
  210. 2019-03-16 12:05:48.523349 [DEBUG] mod_sofia.c:198 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA EXECUTE
  211. 2019-03-16 12:05:48.523349 [DEBUG] switch_core_state_machine.c:328 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard EXECUTE
  212. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(effective_destination_number=9437212320)
  213. 2019-03-16 12:05:48.523349 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [effective_destination_number]=[9437212320]
  214. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 sched_hangup(+1440 normal_clearing)
  215. 2019-03-16 12:05:48.523349 [DEBUG] switch_scheduler.c:249 Added task 18 switch_ivr_schedule_hangup (d631c8bb-aabd-4b18-ae1b-a87e70201ae7) to run at 1552719588
  216. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(callstart=2019-03-16 06:35:48)
  217. 2019-03-16 12:05:48.523349 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [callstart]=[2019-03-16 06:35:48]
  218. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(hangup_after_bridge=true)
  219. 2019-03-16 12:05:48.523349 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [hangup_after_bridge]=[true]
  220. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(continue_on_fail=!USER_BUSY)
  221. 2019-03-16 12:05:48.523349 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [continue_on_fail]=[!USER_BUSY]
  222. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(account_id=170)
  223. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [account_id]=[170]
  224. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(parent_id=0)
  225. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [parent_id]=[0]
  226. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(entity_id=0)
  227. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [entity_id]=[0]
  228. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(call_processed=internal)
  229. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [call_processed]=[internal]
  230. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(call_direction=outbound)
  231. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [call_direction]=[outbound]
  232. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(accountname=default)
  233. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [accountname]=[default]
  234. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 export(t38_passthru=true)
  235. 2019-03-16 12:05:48.543332 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  236. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(fax_enable_t38=true)
  237. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [fax_enable_t38]=[true]
  238. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(fax_enable_t38_request=true)
  239. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [fax_enable_t38_request]=[true]
  240. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170)
  241. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [origination_rates]=[ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170]
  242. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(original_caller_id_name=1161198699)
  243. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [original_caller_id_name]=[1161198699]
  244. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(original_caller_id_number=1161198699)
  245. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [original_caller_id_number]=[1161198699]
  246. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(effective_caller_id_name=1161198699)
  247. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [effective_caller_id_name]=[1161198699]
  248. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(effective_caller_id_number=1161198699)
  249. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [effective_caller_id_number]=[1161198699]
  250. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(calltype=STANDARD)
  251. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [calltype]=[STANDARD]
  252. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4)
  253. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [termination_rates]=[ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4]
  254. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(trunk_id=1)
  255. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [trunk_id]=[1]
  256. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(provider_id=4)
  257. 2019-03-16 12:05:48.543332 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [provider_id]=[4]
  258. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320)
  259. 2019-03-16 12:05:48.543332 [DEBUG] switch_channel.c:1250 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 EXPORTING[export_vars] [t38_passthru]=[true] to event
  260. 2019-03-16 12:05:48.543332 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  261. 2019-03-16 12:05:48.543332 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  262. 2019-03-16 12:05:48.543332 [NOTICE] switch_channel.c:1104 New Channel sofia/SIP_TTL_DEL/9437212320 [f09e66f9-f653-49a1-bc10-e224136ecad2]
  263. 2019-03-16 12:05:48.543332 [DEBUG] mod_sofia.c:4819 (sofia/SIP_TTL_DEL/9437212320) State Change CS_NEW -> CS_INIT
  264. 2019-03-16 12:05:48.543332 [DEBUG] switch_ivr_originate.c:2963 sofia/SIP_TTL_DEL/9437212320 Setting leg timeout to 30
  265. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_INIT (Cur 2 Tot 43)
  266. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_TTL_DEL/9437212320) State INIT
  267. 2019-03-16 12:05:48.543332 [DEBUG] mod_sofia.c:90 sofia/SIP_TTL_DEL/9437212320 SOFIA INIT
  268. 2019-03-16 12:05:48.543332 [DEBUG] sofia_glue.c:1264 sip:10.50.180.1 Setting proxy route to sofia/SIP_TTL_DEL/9437212320
  269. 2019-03-16 12:05:48.543332 [DEBUG] sofia_glue.c:1295 sofia/SIP_TTL_DEL/9437212320 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  270. Local SDP:
  271. v=0
  272. o=FreeSWITCH 1552698116 1552698117 IN IP4 10.50.182.26
  273. s=FreeSWITCH
  274. c=IN IP4 10.50.182.26
  275. t=0 0
  276. m=audio 20032 RTP/AVP 8 0 101
  277. a=rtpmap:8 PCMA/8000
  278. a=rtpmap:0 PCMU/8000
  279. a=rtpmap:101 telephone-event/8000
  280. a=fmtp:101 0-16
  281. a=ptime:20
  282. a=sendrecv
  283.  
  284. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:40 sofia/SIP_TTL_DEL/9437212320 Standard INIT
  285. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:48 (sofia/SIP_TTL_DEL/9437212320) State Change CS_INIT -> CS_ROUTING
  286. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_TTL_DEL/9437212320) State INIT going to sleep
  287. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_ROUTING (Cur 2 Tot 43)
  288. 2019-03-16 12:05:48.543332 [DEBUG] sofia.c:7084 Channel sofia/SIP_TTL_DEL/9437212320 entering state [calling][0]
  289. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_TTL_DEL/9437212320) State ROUTING
  290. 2019-03-16 12:05:48.543332 [DEBUG] mod_sofia.c:143 sofia/SIP_TTL_DEL/9437212320 SOFIA ROUTING
  291. 2019-03-16 12:05:48.543332 [DEBUG] switch_ivr_originate.c:67 (sofia/SIP_TTL_DEL/9437212320) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  292. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_TTL_DEL/9437212320) State ROUTING going to sleep
  293. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 43)
  294. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:662 (sofia/SIP_TTL_DEL/9437212320) State CONSUME_MEDIA
  295. 2019-03-16 12:05:48.543332 [DEBUG] switch_core_state_machine.c:662 (sofia/SIP_TTL_DEL/9437212320) State CONSUME_MEDIA going to sleep
  296. 2019-03-16 12:05:48.563340 [DEBUG] sofia.c:7084 Channel sofia/SIP_TTL_DEL/9437212320 entering state [terminated][403]
  297. 2019-03-16 12:05:48.563340 [NOTICE] sofia.c:8273 Hangup sofia/SIP_TTL_DEL/9437212320 [CS_CONSUME_MEDIA] [CALL_REJECTED]
  298. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_HANGUP (Cur 2 Tot 43)
  299. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:850 (sofia/SIP_TTL_DEL/9437212320) Callstate Change DOWN -> HANGUP
  300. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_TTL_DEL/9437212320) State HANGUP
  301. 2019-03-16 12:05:48.563340 [DEBUG] mod_sofia.c:438 Channel sofia/SIP_TTL_DEL/9437212320 hanging up, cause: CALL_REJECTED
  302. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:60 sofia/SIP_TTL_DEL/9437212320 Standard HANGUP, cause: CALL_REJECTED
  303. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_TTL_DEL/9437212320) State HANGUP going to sleep
  304. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:619 (sofia/SIP_TTL_DEL/9437212320) State Change CS_HANGUP -> CS_REPORTING
  305. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_REPORTING (Cur 2 Tot 43)
  306. 2019-03-16 12:05:48.563340 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_TTL_DEL/9437212320) State REPORTING
  307. 2019-03-16 12:05:48.563340 [INFO] mod_json_cdr.c:271 Process [f09e66f9-f653-49a1-bc10-e224136ecad2.cdr.json]
  308. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:174 sofia/SIP_TTL_DEL/9437212320 Standard REPORTING, cause: CALL_REJECTED
  309. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_TTL_DEL/9437212320) State REPORTING going to sleep
  310. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:610 (sofia/SIP_TTL_DEL/9437212320) State Change CS_REPORTING -> CS_DESTROY
  311. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_session.c:1665 Session 43 (sofia/SIP_TTL_DEL/9437212320) Locked, Waiting on external entities
  312. 2019-03-16 12:05:48.583338 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
  313. 2019-03-16 12:05:48.583338 [NOTICE] switch_core_session.c:1683 Session 43 (sofia/SIP_TTL_DEL/9437212320) Ended
  314. 2019-03-16 12:05:48.583338 [NOTICE] switch_core_session.c:1687 Close Channel sofia/SIP_TTL_DEL/9437212320 [CS_DESTROY]
  315. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:741 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_DESTROY (Cur 1 Tot 43)
  316. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_TTL_DEL/9437212320) State DESTROY
  317. 2019-03-16 12:05:48.583338 [DEBUG] mod_sofia.c:343 sofia/SIP_TTL_DEL/9437212320 SOFIA DESTROY
  318. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:181 sofia/SIP_TTL_DEL/9437212320 Standard DESTROY
  319. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_TTL_DEL/9437212320) State DESTROY going to sleep
  320. 2019-03-16 12:05:48.583338 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: CALL_REJECTED
  321. 2019-03-16 12:05:48.583338 [NOTICE] switch_channel.c:4844 Hangup sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [CS_EXECUTE] [CALL_REJECTED]
  322. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_session.c:2815 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  323. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:650 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State EXECUTE going to sleep
  324. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_HANGUP (Cur 1 Tot 43)
  325. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:850 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Callstate Change RINGING -> HANGUP
  326. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State HANGUP
  327. 2019-03-16 12:05:48.583338 [DEBUG] mod_sofia.c:432 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Overriding SIP cause 603 with 403 from the other leg
  328. 2019-03-16 12:05:48.583338 [DEBUG] mod_sofia.c:438 Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 hanging up, cause: CALL_REJECTED
  329. 2019-03-16 12:05:48.583338 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 403
  330. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:60 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard HANGUP, cause: CALL_REJECTED
  331. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State HANGUP going to sleep
  332. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:619 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_HANGUP -> CS_REPORTING
  333. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_REPORTING (Cur 1 Tot 43)
  334. 2019-03-16 12:05:48.583338 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State REPORTING
  335. 2019-03-16 12:05:48.583338 [INFO] mod_json_cdr.c:271 Process [d631c8bb-aabd-4b18-ae1b-a87e70201ae7.cdr.json]
  336. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:174 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard REPORTING, cause: CALL_REJECTED
  337. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State REPORTING going to sleep
  338. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:610 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_REPORTING -> CS_DESTROY
  339. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_session.c:1665 Session 42 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Locked, Waiting on external entities
  340. 2019-03-16 12:05:48.603340 [NOTICE] switch_core_session.c:1683 Session 42 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Ended
  341. 2019-03-16 12:05:48.603340 [NOTICE] switch_core_session.c:1687 Close Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [CS_DESTROY]
  342. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:741 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_DESTROY (Cur 0 Tot 43)
  343. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State DESTROY
  344. 2019-03-16 12:05:48.603340 [DEBUG] mod_sofia.c:343 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA DESTROY
  345. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:181 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard DESTROY
  346. 2019-03-16 12:05:48.603340 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State DESTROY going to sleep
  347. 2019-03-16 12:05:49.023338 [DEBUG] switch_scheduler.c:144 Deleting task 18 switch_ivr_schedule_hangup (d631c8bb-aabd-4b18-ae1b-a87e70201ae7)
  348. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:942 Write lock interface 'sofia' to wait for existing references.
  349. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:950 Deleting Endpoint 'sofia'
  350. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:942 Write lock interface 'rtp' to wait for existing references.
  351. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:950 Deleting Endpoint 'rtp'
  352. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1055 Deleting Application 'sofia_sla'
  353. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1057 Write lock interface 'sofia_sla' to wait for existing references.
  354. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia'
  355. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia' to wait for existing references.
  356. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_gateway_data'
  357. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_gateway_data' to wait for existing references.
  358. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_username_of'
  359. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_username_of' to wait for existing references.
  360. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_contact'
  361. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_contact' to wait for existing references.
  362. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_count_reg'
  363. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_count_reg' to wait for existing references.
  364. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_dig'
  365. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_dig' to wait for existing references.
  366. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_presence_data'
  367. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_presence_data' to wait for existing references.
  368. 2019-03-16 12:06:38.003339 [DEBUG] switch_loadable_module.c:1306 Write lock interface 'sip' to wait for existing references.
  369. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1315 Deleting Chat interface 'sip'
  370. 2019-03-16 12:06:38.003339 [NOTICE] switch_loadable_module.c:1357 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
  371. 2019-03-16 12:06:38.003339 [CONSOLE] switch_loadable_module.c:2014 Stopping: mod_sofia
  372. 2019-03-16 12:06:38.003339 [INFO] switch_time.c:1423 Timezone reloaded 1750 definitions
  373. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
  374. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
  375. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::unregister
  376. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
  377. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
  378. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::replaced
  379. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::transferor
  380. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::transferee
  381. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::error
  382. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
  383. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
  384. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
  385. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
  386. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::expire
  387. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
  388. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
  389. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
  390. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::register
  391. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
  392. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PRESENCE_IN
  393. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PRESENCE_OUT
  394. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PRESENCE_PROBE
  395. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:MESSAGE_WAITING
  396. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:ROSTER
  397. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:CONFERENCE_DATA
  398. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:TRAP
  399. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:NOTIFY
  400. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PHONE_FEATURE
  401. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:SEND_MESSAGE
  402. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:SEND_INFO
  403. 2019-03-16 12:06:38.003339 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:CUSTOM
  404. 2019-03-16 12:06:38.003339 [CONSOLE] sofia_presence.c:1663 Event Thread Ended
  405. 2019-03-16 12:06:38.563327 [NOTICE] sofia.c:3341 Waiting for worker thread
  406. 2019-03-16 12:06:38.563327 [INFO] switch_core_sqldb.c:1720 sofia:SIP_TTL_DEL Destroying SQL queue.
  407. 2019-03-16 12:06:38.583332 [NOTICE] sofia.c:3341 Waiting for worker thread
  408. 2019-03-16 12:06:38.583332 [INFO] switch_core_sqldb.c:1720 sofia:SIP_SHRISAI_INT Destroying SQL queue.
  409. 2019-03-16 12:06:38.763340 [INFO] switch_core_sqldb.c:1678 sofia:SIP_TTL_DEL Stopping SQL thread.
  410. 2019-03-16 12:06:38.763340 [DEBUG] sofia.c:3396 Write lock SIP_TTL_DEL
  411. 2019-03-16 12:06:38.763340 [NOTICE] sofia_glue.c:1883 deleted gateway GW_TTL_DEL from profile SIP_TTL_DEL
  412. 2019-03-16 12:06:38.763340 [DEBUG] sofia.c:3409 Write unlock SIP_TTL_DEL
  413. 2019-03-16 12:06:38.783334 [INFO] switch_core_sqldb.c:1678 sofia:SIP_SHRISAI_INT Stopping SQL thread.
  414. 2019-03-16 12:06:38.783334 [DEBUG] sofia.c:3396 Write lock SIP_SHRISAI_INT
  415. 2019-03-16 12:06:38.783334 [DEBUG] sofia.c:3409 Write unlock SIP_SHRISAI_INT
  416. 2019-03-16 12:06:38.783334 [WARNING] sofia.c:2224 MSG Thread Ended
  417. 2019-03-16 12:06:38.783334 [CONSOLE] switch_loadable_module.c:2034 mod_sofia unloaded.
  418. 2019-03-16 12:06:38.783334 [INFO] mod_sofia.c:5958 Starting initial message thread.
  419. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-ip [103.54.24.21]
  420. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-port [5060]
  421. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rtp-ip [103.54.24.21]
  422. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 dialplan [XML]
  423. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 user-agent-string [SIPONE]
  424. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 debug [0]
  425. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-trace [no]
  426. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 tls [false]
  427. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-reg-force-matching-username [true]
  428. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 disable-transcoding [false]
  429. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 all-reg-options-ping [false]
  430. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 unregister-on-options-fail [true]
  431. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 log-auth-failures [true]
  432. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 status [0]
  433. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-bypass-media [false]
  434. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-proxy-media [false]
  435. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 disable-transfer [true]
  436. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 enable-100rel [false]
  437. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rtp-timeout-sec [300]
  438. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 dtmf-duration [2000]
  439. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 manual-redirect [true]
  440. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 aggressive-nat-detection [true]
  441. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 enable-timer [false]
  442. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 minimum-session-expires [120]
  443. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 session-timeout-pt [1800]
  444. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 auth-calls [true]
  445. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 apply-inbound-acl [default]
  446. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-codec-prefs [PCMA,PCMU,G729]
  447. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 outbound-codec-prefs [PCMA,PCMU,G729]
  448. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-late-negotiation [false]
  449. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-capture [no]
  450. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 forward-unsolicited-mwi-notify [false]
  451. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 context [default]
  452. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rfc2833-pt [101]
  453. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rtp-timer-name [soft]
  454. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 hold-music [local_stream://moh]
  455. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 manage-presence [true]
  456. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 presence-hosts [103.54.24.21,103.54.24.21]
  457. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 presence-privacy [false]
  458. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-codec-negotiation [generous]
  459. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 auth-all-packets [false]
  460. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 ext-rtp-ip [103.54.24.21]
  461. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 ext-sip-ip [103.54.24.21]
  462. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rtp-hold-timeout-sec [1800]
  463. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 force-register-domain [103.54.24.21]
  464. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 force-subscription-domain [103.54.24.21]
  465. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 force-register-db-domain [103.54.24.21]
  466. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 challenge-realm [auto_from]
  467. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 nonce-ttl [60]
  468. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 pass-callee-id [false]
  469. 2019-03-16 12:06:38.803334 [INFO] sofia.c:5782 Setting MAX Auth Validity to 0 Attempts
  470. 2019-03-16 12:06:38.803334 [NOTICE] sofia.c:5949 Started Profile SIP_SHRISAI_INT [sofia_reg_SIP_SHRISAI_INT]
  471. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-ip [10.50.182.26]
  472. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3046 Creating agent for SIP_SHRISAI_INT
  473. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-port [5060]
  474. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rtp-ip [10.50.182.26]
  475. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 dialplan [XML]
  476. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 user-agent-string [ASTPP]
  477. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 debug [0]
  478. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 sip-trace [yes]
  479. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 tls [false]
  480. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-reg-force-matching-username [true]
  481. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 disable-transcoding [true]
  482. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 all-reg-options-ping [false]
  483. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 unregister-on-options-fail [true]
  484. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 log-auth-failures [true]
  485. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 status [0]
  486. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-bypass-media [false]
  487. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-proxy-media [false]
  488. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 disable-transfer [true]
  489. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 enable-100rel [false]
  490. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 rtp-timeout-sec [60]
  491. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 dtmf-duration [2000]
  492. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 manual-redirect [false]
  493. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 aggressive-nat-detection [false]
  494. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 enable-timer [false]
  495. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 minimum-session-expires [120]
  496. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 session-timeout-pt [1800]
  497. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 auth-calls [true]
  498. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 apply-inbound-acl [default]
  499. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-codec-prefs [PCMU,PCMA,G729]
  500. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 outbound-codec-prefs [PCMU,PCMA,G729]
  501. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:4450 inbound-late-negotiation [false]
  502. 2019-03-16 12:06:38.803334 [INFO] sofia.c:5777 Setting nonce TTL to 60 seconds
  503. 2019-03-16 12:06:38.803334 [INFO] sofia.c:5782 Setting MAX Auth Validity to 0 Attempts
  504. 2019-03-16 12:06:38.803334 [NOTICE] sofia.c:5949 Started Profile SIP_TTL_DEL [sofia_reg_SIP_TTL_DEL]
  505. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3046 Creating agent for SIP_TTL_DEL
  506. 2019-03-16 12:06:38.803334 [DEBUG] mod_sofia.c:5974 Waiting for profiles to start
  507. 2019-03-16 12:06:38.803334 [WARNING] sofia.c:2206 MSG Thread 0 Started
  508. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3164 Created agent for SIP_SHRISAI_INT
  509. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3164 Created agent for SIP_TTL_DEL
  510. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3212 Set params for SIP_SHRISAI_INT
  511. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3212 Set params for SIP_TTL_DEL
  512. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3259 Activated db for SIP_SHRISAI_INT
  513. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3259 Activated db for SIP_TTL_DEL
  514. 2019-03-16 12:06:38.803334 [INFO] switch_core_sqldb.c:1693 sofia:SIP_SHRISAI_INT Starting SQL thread.
  515. 2019-03-16 12:06:38.803334 [INFO] switch_core_sqldb.c:1693 sofia:SIP_TTL_DEL Starting SQL thread.
  516. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3297 Starting thread for SIP_SHRISAI_INT
  517. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:2946 Launching worker thread for SIP_SHRISAI_INT
  518. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:3297 Starting thread for SIP_TTL_DEL
  519. 2019-03-16 12:06:38.803334 [DEBUG] sofia.c:2946 Launching worker thread for SIP_TTL_DEL
  520. 2019-03-16 12:06:38.803334 [NOTICE] sofia_reg.c:3398 Added gateway 'GW_TTL_DEL' to profile 'SIP_TTL_DEL'
  521. 2019-03-16 12:06:39.923343 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'SIP_SHRISAI_INT' for [1161198699@103.54.24.21] from ip 157.41.145.227
  522. 2019-03-16 12:06:40.303343 [CONSOLE] switch_loadable_module.c:1540 Successfully Loaded [mod_sofia]
  523. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:162 Adding Endpoint 'sofia'
  524. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:162 Adding Endpoint 'rtp'
  525. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:292 Adding Application 'sofia_sla'
  526. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia'
  527. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_gateway_data'
  528. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_username_of'
  529. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_contact'
  530. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_count_reg'
  531. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_dig'
  532. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_presence_data'
  533. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:483 Adding Chat interface 'sip'
  534. 2019-03-16 12:06:40.303343 [NOTICE] switch_loadable_module.c:529 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
  535. 2019-03-16 12:07:10.983354 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'SIP_SHRISAI_INT' for [1161198699@103.54.24.21] from ip 157.41.145.227
  536. 2019-03-16 12:07:11.163337 [CONSOLE] sofia_presence.c:1619 Event Thread Started
  537. 2019-03-16 12:07:11.343334 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'SIP_SHRISAI_INT' for [1161198699@103.54.24.21] from ip 157.41.145.227
  538. 2019-03-16 12:07:16.983333 [NOTICE] switch_channel.c:1104 New Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [be4378bc-516f-4730-adc2-0ca382945d73]
  539. 2019-03-16 12:07:16.983333 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_NEW (Cur 1 Tot 44)
  540. 2019-03-16 12:07:16.983333 [DEBUG] sofia.c:9873 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 receiving invite from 157.41.145.227:59590 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  541. 2019-03-16 12:07:16.983333 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth.
  542. 2019-03-16 12:07:16.983333 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'SIP_SHRISAI_INT' for [9437212320@103.54.24.21] from ip 157.41.145.227
  543. 2019-03-16 12:07:16.983333 [DEBUG] switch_core_state_machine.c:603 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State NEW
  544. 2019-03-16 12:07:16.983333 [DEBUG] sofia.c:2334 detaching session be4378bc-516f-4730-adc2-0ca382945d73
  545. 2019-03-16 12:07:17.083326 [DEBUG] sofia.c:2442 Re-attaching to session be4378bc-516f-4730-adc2-0ca382945d73
  546. 2019-03-16 12:07:17.103330 [DEBUG] sofia.c:9873 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 receiving invite from 157.41.145.227:59590 version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  547. 2019-03-16 12:07:17.103330 [DEBUG] sofia.c:10044 IP 157.41.145.227 Rejected by acl "default". Falling back to Digest auth.
  548. 2019-03-16 12:07:17.103330 [DEBUG] sofia.c:11168 Setting NAT mode based on via port
  549. 2019-03-16 12:07:17.103330 [DEBUG] sofia.c:7084 Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 entering state [received][100]
  550. 2019-03-16 12:07:17.103330 [DEBUG] sofia.c:7094 Remote SDP:
  551. v=0
  552. o=Z 79679061 0 IN IP4 157.41.145.227
  553. s=Z
  554. c=IN IP4 157.41.145.227
  555. t=0 0
  556. m=audio 8000 RTP/AVP 106 9 3 111 0 8 97 110 112 98 101 100 99 102
  557. a=rtpmap:106 opus/48000/2
  558. a=fmtp:106 minptime=20; cbr=1; maxaveragebitrate=40000; useinbandfec=1
  559. a=rtpmap:111 speex/16000
  560. a=rtpmap:97 iLBC/8000
  561. a=fmtp:97 mode=20
  562. a=rtpmap:110 speex/8000
  563. a=rtpmap:112 speex/32000
  564. a=rtpmap:98 telephone-event/48000
  565. a=fmtp:98 0-16
  566. a=rtpmap:101 telephone-event/8000
  567. a=fmtp:101 0-16
  568. a=rtpmap:100 telephone-event/16000
  569. a=fmtp:100 0-16
  570. a=rtpmap:99 telephone-event/32000
  571. a=fmtp:99 0-16
  572. a=rtpmap:102 G726-32/8000
  573.  
  574. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
  575. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
  576. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [opus:106:48000:20:0:2]/[G729:18:8000:20:8000:1]
  577. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  578. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  579. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  580. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  581. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  582. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
  583. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
  584. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
  585. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:111:16000:20:0:1]/[G729:18:8000:20:8000:1]
  586. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  587. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  588. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  589. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  590. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  591. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  592. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  593. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  594. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  595. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  596. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[G729:18:8000:20:8000:1]
  597. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  598. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  599. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
  600. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:112:32000:20:0:1]/[PCMA:8:8000:20:64000:1]
  601. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:112:32000:20:0:1]/[PCMU:0:8000:20:64000:1]
  602. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:112:32000:20:0:1]/[G729:18:8000:20:8000:1]
  603. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 98@48000
  604. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:102:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  605. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:102:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  606. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G726-32:102:8000:20:0:1]/[G729:18:8000:20:8000:1]
  607. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:3061 Set Codec sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  608. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_codec.c:111 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Original read codec set to PCMU:0
  609. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  610. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_media.c:4767 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Set 2833 dtmf send payload to 101 recv payload to 101
  611. 2019-03-16 12:07:17.103330 [DEBUG] sofia.c:7507 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_NEW -> CS_INIT
  612. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_INIT (Cur 1 Tot 44)
  613. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State INIT
  614. 2019-03-16 12:07:17.103330 [DEBUG] mod_sofia.c:90 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA INIT
  615. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:40 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard INIT
  616. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:48 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_INIT -> CS_ROUTING
  617. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State INIT going to sleep
  618. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_ROUTING (Cur 1 Tot 44)
  619. 2019-03-16 12:07:17.103330 [DEBUG] switch_channel.c:2249 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Callstate Change DOWN -> RINGING
  620. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State ROUTING
  621. 2019-03-16 12:07:17.103330 [DEBUG] mod_sofia.c:143 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA ROUTING
  622. 2019-03-16 12:07:17.103330 [DEBUG] switch_core_state_machine.c:236 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard ROUTING
  623. 2019-03-16 12:07:17.103330 [INFO] mod_dialplan_xml.c:637 Processing 1161198699 <1161198699>->9437212320 in context default
  624. 2019-03-16 12:07:17.103330 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fcc7c05f3a0 Connected.
  625. 2019-03-16 12:07:17.103330 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  626. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 9437212320
  627. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 1161198699 / 1161198699
  628. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as  did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="9437212320" LIMIT 1
  629. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9437212320" limit 1
  630. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  631. 2019-03-16 12:07:17.123348 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 1161198699]
  632. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "1161198699" OR id="1161198699") AND status=0 AND deleted=0 AND (expiry >= '2019-03-16 06:37:17' OR expiry = '0000-00-00 00:00:00') limit 1
  633. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns ='^9437212320.*' OR blocked_patterns ='^943721232.*' OR blocked_patterns ='^94372123.*' OR blocked_patterns ='^9437212.*' OR blocked_patterns ='^943721.*' OR blocked_patterns ='^94372.*' OR blocked_patterns ='^9437.*' OR blocked_patterns ='^943.*' OR blocked_patterns ='^94.*' OR blocked_patterns ='^9.*' OR blocked_patterns ='--') AND accountid = 170 limit 1
  634. 2019-03-16 12:07:17.123348 [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 ='^9437212320.*' OR patterns ='^943721232.*' OR patterns ='^94372123.*' OR patterns ='^9437212.*' OR patterns ='^943721.*' OR patterns ='^94372.*' OR patterns ='^9437.*' OR patterns ='^943.*' OR patterns ='^94.*' OR patterns ='^9.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1
  635. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  636. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 170
  637. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 1161198699
  638. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 666666.66667
  639. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  640. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  641. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  642. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  643. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern ='^9437212320.*' OR pattern ='^943721232.*' OR pattern ='^94372123.*' OR pattern ='^9437212.*' OR pattern ='^943721.*' OR pattern ='^94372.*' OR pattern ='^9437.*' OR pattern ='^943.*' OR pattern ='^94.*' OR pattern ='^9.*' OR pattern ='--') AND status = 0 AND pricelist_id = 1  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1
  644. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] LIMITING CALL TO CONFIG MAX LENGTH 24!!!
  645. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  646. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  647. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^9.*
  648. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA
  649. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  650. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  651. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.15333
  652. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Initial Increment : 60
  653. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Increment : 60
  654. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 170
  655. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  656. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 24 minutes
  657. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TK.cid_translation,TR.init_inc,TK.status,TK.dialed_modify,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 ='^9437212320.*' OR pattern ='^943721232.*' OR pattern ='^94372123.*' OR pattern ='^9437212.*' OR pattern ='^943721.*' OR pattern ='^94372.*' OR pattern ='^9437.*' OR pattern ='^943.*' OR pattern ='^94.*' OR pattern ='^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id=1 ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  658. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  659. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 1
  660. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^9.*
  661. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : INDIA
  662. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  663. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  664. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^9.*
  665. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip :
  666. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend :
  667. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 1
  668. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : GW_TTL_DEL
  669. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  670. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  671. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 4
  672. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Number Translation :
  673. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  674. 2019-03-16 12:07:17.123348 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  675. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 170 AND status=0 LIMIT 1
  676. 2019-03-16 12:07:17.123348 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Starts
  677. 2019-03-16 12:07:17.123348 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLOUTBOUND] Caller ID Translation Ends
  678. 2019-03-16 12:07:17.123348 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  679. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  680. <document type="freeswitch/xml">
  681. <section name="dialplan" description="ASTPP Dialplan">
  682. <context name="default">
  683. <extension name="9437212320">
  684. <condition field="destination_number" expression="9437212320">
  685. <action application="set" data="effective_destination_number=9437212320"/>
  686. <action application="sched_hangup" data="+1440 normal_clearing"/>
  687. <action application="set" data="callstart=2019-03-16 06:37:17"/>
  688. <action application="set" data="hangup_after_bridge=true"/>
  689. <action application="set" data="continue_on_fail=!USER_BUSY"/>
  690. <action application="set" data="account_id=170"/>
  691. <action application="set" data="parent_id=0"/>
  692. <action application="set" data="entity_id=0"/>
  693. <action application="set" data="call_processed=internal"/>
  694. <action application="set" data="call_direction=outbound"/>
  695. <action application="set" data="accountname=default"/>
  696. <action application="export" data="t38_passthru=true"/>
  697. <action application="set" data="fax_enable_t38=true"/>
  698. <action application="set" data="fax_enable_t38_request=true"/>
  699. <action application="set" data="origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170"/>
  700.  
  701. <action application="set" data="original_caller_id_name=1161198699"/>
  702. <action application="set" data="original_caller_id_number=1161198699"/>
  703. <action application="set" data="effective_caller_id_name=1161198699"/>
  704. <action application="set" data="effective_caller_id_number=1161198699"/>
  705. <action application="set" data="calltype=STANDARD"/>
  706. <action application="set" data="termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4"/>
  707. <action application="set" data="trunk_id=1"/>
  708. <action application="set" data="provider_id=4"/>
  709. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320"/>
  710. </condition>
  711. </extension>
  712. </context>
  713. </section>
  714. </document>
  715. 2019-03-16 12:07:17.123348 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fcc7c05f3a0 released.
  716. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 parsing [default->9437212320] continue=false
  717. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Regex (PASS) [9437212320] destination_number(9437212320) =~ /9437212320/ break=on-false
  718. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(effective_destination_number=9437212320)
  719. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action sched_hangup(+1440 normal_clearing)
  720. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(callstart=2019-03-16 06:37:17)
  721. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(hangup_after_bridge=true)
  722. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(continue_on_fail=!USER_BUSY)
  723. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(account_id=170)
  724. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(parent_id=0)
  725. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(entity_id=0)
  726. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(call_processed=internal)
  727. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(call_direction=outbound)
  728. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(accountname=default)
  729. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action export(t38_passthru=true)
  730. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(fax_enable_t38=true)
  731. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(fax_enable_t38_request=true)
  732. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170)
  733. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(original_caller_id_name=1161198699)
  734. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(original_caller_id_number=1161198699)
  735. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(effective_caller_id_name=1161198699)
  736. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(effective_caller_id_number=1161198699)
  737. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(calltype=STANDARD)
  738. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4)
  739. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(trunk_id=1)
  740. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action set(provider_id=4)
  741. Dialplan: sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320)
  742. 2019-03-16 12:07:17.123348 [DEBUG] switch_core_state_machine.c:286 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_ROUTING -> CS_EXECUTE
  743. 2019-03-16 12:07:17.123348 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State ROUTING going to sleep
  744. 2019-03-16 12:07:17.123348 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_EXECUTE (Cur 1 Tot 44)
  745. 2019-03-16 12:07:17.123348 [DEBUG] switch_core_state_machine.c:650 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State EXECUTE
  746. 2019-03-16 12:07:17.123348 [DEBUG] mod_sofia.c:198 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA EXECUTE
  747. 2019-03-16 12:07:17.123348 [DEBUG] switch_core_state_machine.c:328 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard EXECUTE
  748. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(effective_destination_number=9437212320)
  749. 2019-03-16 12:07:17.123348 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [effective_destination_number]=[9437212320]
  750. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 sched_hangup(+1440 normal_clearing)
  751. 2019-03-16 12:07:17.123348 [DEBUG] switch_scheduler.c:249 Added task 19 switch_ivr_schedule_hangup (be4378bc-516f-4730-adc2-0ca382945d73) to run at 1552719677
  752. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(callstart=2019-03-16 06:37:17)
  753. 2019-03-16 12:07:17.123348 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [callstart]=[2019-03-16 06:37:17]
  754. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(hangup_after_bridge=true)
  755. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [hangup_after_bridge]=[true]
  756. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(continue_on_fail=!USER_BUSY)
  757. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [continue_on_fail]=[!USER_BUSY]
  758. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(account_id=170)
  759. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [account_id]=[170]
  760. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(parent_id=0)
  761. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [parent_id]=[0]
  762. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(entity_id=0)
  763. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [entity_id]=[0]
  764. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(call_processed=internal)
  765. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [call_processed]=[internal]
  766. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(call_direction=outbound)
  767. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [call_direction]=[outbound]
  768. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(accountname=default)
  769. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [accountname]=[default]
  770. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 export(t38_passthru=true)
  771. 2019-03-16 12:07:17.143324 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [t38_passthru]=[true]
  772. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(fax_enable_t38=true)
  773. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [fax_enable_t38]=[true]
  774. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(fax_enable_t38_request=true)
  775. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [fax_enable_t38_request]=[true]
  776. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(origination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170)
  777. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [origination_rates]=[ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.15333|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|ACCID:170]
  778. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(original_caller_id_name=1161198699)
  779. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [original_caller_id_name]=[1161198699]
  780. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(original_caller_id_number=1161198699)
  781. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [original_caller_id_number]=[1161198699]
  782. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(effective_caller_id_name=1161198699)
  783. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [effective_caller_id_name]=[1161198699]
  784. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(effective_caller_id_number=1161198699)
  785. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [effective_caller_id_number]=[1161198699]
  786. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(calltype=STANDARD)
  787. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [calltype]=[STANDARD]
  788. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(termination_rates=ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4)
  789. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [termination_rates]=[ID:1|CODE:^9.*|DESTINATION:INDIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.12000|INC:60|INITIALBLOCK:60|TRUNK:1|PROVIDER:4]
  790. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(trunk_id=1)
  791. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [trunk_id]=[1]
  792. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 set(provider_id=4)
  793. 2019-03-16 12:07:17.143324 [DEBUG] mod_dptools.c:1548 SET sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [provider_id]=[4]
  794. EXECUTE sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/GW_TTL_DEL/9437212320)
  795. 2019-03-16 12:07:17.143324 [DEBUG] switch_channel.c:1250 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 EXPORTING[export_vars] [t38_passthru]=[true] to event
  796. 2019-03-16 12:07:17.143324 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  797. 2019-03-16 12:07:17.143324 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  798. 2019-03-16 12:07:17.143324 [NOTICE] switch_channel.c:1104 New Channel sofia/SIP_TTL_DEL/9437212320 [f77b300a-98bc-4ab4-8839-db5f8be51277]
  799. 2019-03-16 12:07:17.143324 [DEBUG] mod_sofia.c:4819 (sofia/SIP_TTL_DEL/9437212320) State Change CS_NEW -> CS_INIT
  800. 2019-03-16 12:07:17.143324 [DEBUG] switch_ivr_originate.c:2963 sofia/SIP_TTL_DEL/9437212320 Setting leg timeout to 30
  801. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_INIT (Cur 2 Tot 45)
  802. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_TTL_DEL/9437212320) State INIT
  803. 2019-03-16 12:07:17.143324 [DEBUG] mod_sofia.c:90 sofia/SIP_TTL_DEL/9437212320 SOFIA INIT
  804. 2019-03-16 12:07:17.143324 [DEBUG] sofia_glue.c:1264 sip:10.50.180.1 Setting proxy route to sofia/SIP_TTL_DEL/9437212320
  805. 2019-03-16 12:07:17.143324 [DEBUG] sofia_glue.c:1295 sofia/SIP_TTL_DEL/9437212320 sending invite version: 1.6.19 git 7a77e0b 2017-07-13 12:01:45Z 64bit
  806. Local SDP:
  807. v=0
  808. o=FreeSWITCH 1552694475 1552694476 IN IP4 10.50.182.26
  809. s=FreeSWITCH
  810. c=IN IP4 10.50.182.26
  811. t=0 0
  812. m=audio 23762 RTP/AVP 8 0 101
  813. a=rtpmap:8 PCMA/8000
  814. a=rtpmap:0 PCMU/8000
  815. a=rtpmap:101 telephone-event/8000
  816. a=fmtp:101 0-16
  817. a=ptime:20
  818. a=sendrecv
  819.  
  820. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:40 sofia/SIP_TTL_DEL/9437212320 Standard INIT
  821. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:48 (sofia/SIP_TTL_DEL/9437212320) State Change CS_INIT -> CS_ROUTING
  822. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:627 (sofia/SIP_TTL_DEL/9437212320) State INIT going to sleep
  823. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_ROUTING (Cur 2 Tot 45)
  824. send 1013 bytes to udp/[10.50.180.1]:5060 at 12:07:17.153551:
  825.    ------------------------------------------------------------------------
  826.    INVITE sip:9437212320@10.50.180.1 SIP/2.0
  827.    Via: SIP/2.0/UDP 10.50.182.26;rport;branch=z9hG4bKHSZpSvFU5Bv8Q
  828.    Max-Forwards: 69
  829. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_TTL_DEL/9437212320) State ROUTING
  830.    From: "1161198699" <sip:1161198699@10.50.182.26>;tag=HFDZ7mQ8216Zr
  831.    To: <sip:9437212320@10.50.180.1>
  832.    Call-ID: c87db1e7-c258-1237-3988-000c2949dfdc
  833.    CSeq: 1805326 INVITE
  834. 2019-03-16 12:07:17.143324 [DEBUG] mod_sofia.c:143 sofia/SIP_TTL_DEL/9437212320 SOFIA ROUTING
  835.    Contact: <sip:gw+GW_TTL_DEL@10.50.182.26:5060;transport=udp;gw=GW_TTL_DEL>
  836.    User-Agent: ASTPP
  837.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY
  838. 2019-03-16 12:07:17.143324 [DEBUG] switch_ivr_originate.c:67 (sofia/SIP_TTL_DEL/9437212320) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  839.    Supported: path, replaces
  840.    Allow-Events: talk, hold, conference, refer
  841.    Content-Type: application/sdp
  842.    Content-Disposition: session
  843.    Content-Length: 244
  844. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:643 (sofia/SIP_TTL_DEL/9437212320) State ROUTING going to sleep
  845.    X-FS-Support: update_display,send_info
  846.    Remote-Party-ID: "1161198699" <sip:1161198699@10.50.182.26>;party=calling;screen=yes;privacy=off
  847.  
  848.    v=0
  849.    o=FreeSWITCH 1552694475 1552694476 IN IP4 10.50.182.26
  850.    s=FreeSWITCH
  851. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 45)
  852.    c=IN IP4 10.50.182.26
  853.    t=0 0
  854.    m=audio 23762 RTP/AVP 8 0 101
  855.    a=rtpmap:8 PCMA/8000
  856.    a=rtpmap:0 PCMU/8000
  857.    a=rtpmap:101 telephone-event/8000
  858.    a=fmtp:101 0-16
  859.    a=ptime:20
  860.    ------------------------------------------------------------------------
  861. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:662 (sofia/SIP_TTL_DEL/9437212320) State CONSUME_MEDIA
  862. 2019-03-16 12:07:17.143324 [DEBUG] switch_core_state_machine.c:662 (sofia/SIP_TTL_DEL/9437212320) State CONSUME_MEDIA going to sleep
  863. 2019-03-16 12:07:17.143324 [DEBUG] sofia.c:7084 Channel sofia/SIP_TTL_DEL/9437212320 entering state [calling][0]
  864. recv 281 bytes from udp/[10.50.180.1]:5060 at 12:07:17.173139:
  865.    ------------------------------------------------------------------------
  866.    SIP/2.0 100 Trying
  867.    Via: SIP/2.0/UDP 10.50.182.26;branch=z9hG4bKHSZpSvFU5Bv8Q;rport=5060
  868.    Call-ID: c87db1e7-c258-1237-3988-000c2949dfdc
  869.    From: "1161198699"<sip:1161198699@10.50.182.26>;tag=HFDZ7mQ8216Zr
  870.    To: <sip:9437212320@10.50.180.1>
  871.    CSeq: 1805326 INVITE
  872.    Content-Length: 0
  873.  
  874.    ------------------------------------------------------------------------
  875. recv 382 bytes from udp/[10.50.180.1]:5060 at 12:07:17.178045:
  876.    ------------------------------------------------------------------------
  877.    SIP/2.0 403 Forbidden
  878.    Via: SIP/2.0/UDP 10.50.182.26;branch=z9hG4bKHSZpSvFU5Bv8Q;rport=5060
  879.    Call-ID: c87db1e7-c258-1237-3988-000c2949dfdc
  880.    From: "1161198699"<sip:1161198699@10.50.182.26>;tag=HFDZ7mQ8216Zr
  881.    To: <sip:9437212320@10.50.180.1>;tag=uwmgall5
  882.    CSeq: 1805326 INVITE
  883.    Warning: 399 03079.01234.A.005.407.228.0.6.08453.00000000.1075445762 "Invalid User"
  884.    Content-Length: 0
  885.  
  886.    ------------------------------------------------------------------------
  887. send 325 bytes to udp/[10.50.180.1]:5060 at 12:07:17.178124:
  888.    ------------------------------------------------------------------------
  889.    ACK sip:9437212320@10.50.180.1 SIP/2.0
  890.    Via: SIP/2.0/UDP 10.50.182.26;rport;branch=z9hG4bKHSZpSvFU5Bv8Q
  891.    Max-Forwards: 69
  892.    From: "1161198699" <sip:1161198699@10.50.182.26>;tag=HFDZ7mQ8216Zr
  893.    To: <sip:9437212320@10.50.180.1>;tag=uwmgall5
  894.    Call-ID: c87db1e7-c258-1237-3988-000c2949dfdc
  895.    CSeq: 1805326 ACK
  896.    Content-Length: 0
  897.  
  898.    ------------------------------------------------------------------------
  899. 2019-03-16 12:07:17.163323 [DEBUG] sofia.c:7084 Channel sofia/SIP_TTL_DEL/9437212320 entering state [terminated][403]
  900. 2019-03-16 12:07:17.163323 [NOTICE] sofia.c:8273 Hangup sofia/SIP_TTL_DEL/9437212320 [CS_CONSUME_MEDIA] [CALL_REJECTED]
  901. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_HANGUP (Cur 2 Tot 45)
  902. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:850 (sofia/SIP_TTL_DEL/9437212320) Callstate Change DOWN -> HANGUP
  903. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_TTL_DEL/9437212320) State HANGUP
  904. 2019-03-16 12:07:17.163323 [DEBUG] mod_sofia.c:438 Channel sofia/SIP_TTL_DEL/9437212320 hanging up, cause: CALL_REJECTED
  905. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:60 sofia/SIP_TTL_DEL/9437212320 Standard HANGUP, cause: CALL_REJECTED
  906. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_TTL_DEL/9437212320) State HANGUP going to sleep
  907. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:619 (sofia/SIP_TTL_DEL/9437212320) State Change CS_HANGUP -> CS_REPORTING
  908. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_REPORTING (Cur 2 Tot 45)
  909. 2019-03-16 12:07:17.163323 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_TTL_DEL/9437212320) State REPORTING
  910. 2019-03-16 12:07:17.163323 [INFO] mod_json_cdr.c:271 Process [f77b300a-98bc-4ab4-8839-db5f8be51277.cdr.json]
  911. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:174 sofia/SIP_TTL_DEL/9437212320 Standard REPORTING, cause: CALL_REJECTED
  912. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_TTL_DEL/9437212320) State REPORTING going to sleep
  913. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:610 (sofia/SIP_TTL_DEL/9437212320) State Change CS_REPORTING -> CS_DESTROY
  914. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_session.c:1665 Session 45 (sofia/SIP_TTL_DEL/9437212320) Locked, Waiting on external entities
  915. 2019-03-16 12:07:17.183327 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
  916. 2019-03-16 12:07:17.183327 [NOTICE] switch_core_session.c:1683 Session 45 (sofia/SIP_TTL_DEL/9437212320) Ended
  917. 2019-03-16 12:07:17.183327 [NOTICE] switch_core_session.c:1687 Close Channel sofia/SIP_TTL_DEL/9437212320 [CS_DESTROY]
  918. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:741 (sofia/SIP_TTL_DEL/9437212320) Running State Change CS_DESTROY (Cur 1 Tot 45)
  919. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_TTL_DEL/9437212320) State DESTROY
  920. 2019-03-16 12:07:17.183327 [DEBUG] mod_sofia.c:343 sofia/SIP_TTL_DEL/9437212320 SOFIA DESTROY
  921. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:181 sofia/SIP_TTL_DEL/9437212320 Standard DESTROY
  922. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_TTL_DEL/9437212320) State DESTROY going to sleep
  923. 2019-03-16 12:07:17.183327 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: CALL_REJECTED
  924. 2019-03-16 12:07:17.183327 [NOTICE] switch_channel.c:4844 Hangup sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [CS_EXECUTE] [CALL_REJECTED]
  925. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_session.c:2815 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  926. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:650 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State EXECUTE going to sleep
  927. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_HANGUP (Cur 1 Tot 45)
  928. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:850 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Callstate Change RINGING -> HANGUP
  929. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State HANGUP
  930. 2019-03-16 12:07:17.183327 [DEBUG] mod_sofia.c:432 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Overriding SIP cause 603 with 403 from the other leg
  931. 2019-03-16 12:07:17.183327 [DEBUG] mod_sofia.c:438 Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 hanging up, cause: CALL_REJECTED
  932. 2019-03-16 12:07:17.183327 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 403
  933. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:60 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard HANGUP, cause: CALL_REJECTED
  934. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:852 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State HANGUP going to sleep
  935. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:619 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_HANGUP -> CS_REPORTING
  936. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:584 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_REPORTING (Cur 1 Tot 45)
  937. 2019-03-16 12:07:17.183327 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State REPORTING
  938. 2019-03-16 12:07:17.183327 [INFO] mod_json_cdr.c:271 Process [be4378bc-516f-4730-adc2-0ca382945d73.cdr.json]
  939. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:174 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard REPORTING, cause: CALL_REJECTED
  940. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:938 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State REPORTING going to sleep
  941. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:610 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State Change CS_REPORTING -> CS_DESTROY
  942. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_session.c:1665 Session 44 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Locked, Waiting on external entities
  943. 2019-03-16 12:07:17.203321 [NOTICE] switch_core_session.c:1683 Session 44 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Ended
  944. 2019-03-16 12:07:17.203321 [NOTICE] switch_core_session.c:1687 Close Channel sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 [CS_DESTROY]
  945. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:741 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) Running State Change CS_DESTROY (Cur 0 Tot 45)
  946. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State DESTROY
  947. 2019-03-16 12:07:17.203321 [DEBUG] mod_sofia.c:343 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 SOFIA DESTROY
  948. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:181 sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21 Standard DESTROY
  949. 2019-03-16 12:07:17.203321 [DEBUG] switch_core_state_machine.c:751 (sofia/SIP_SHRISAI_INT/1161198699@103.54.24.21) State DESTROY going to sleep
  950. 2019-03-16 12:07:17.623331 [DEBUG] switch_scheduler.c:144 Deleting task 19 switch_ivr_schedule_hangup (be4378bc-516f-4730-adc2-0ca382945d73)
  951.