Advertisement
Guest User

403

a guest
Jan 18th, 2013
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.77 KB | None | 0 0
  1. Client IP 77.42.241.66
  2. listen=udp:5.104.224.33:5060
  3.  
  4. route {
  5. if (!mf_process_maxfwd_header("10")) {
  6. sl_send_reply("483","Too Many Hops");
  7. exit;
  8. }
  9.  
  10. if (msg:len > max_len) {
  11. sl_send_reply("513","Message Too Big");
  12. exit;
  13. };
  14.  
  15. if(!(is_method("INVITE|ACK|CANCEL|BYE|UPDATE|OPTIONS|INFO"))) {
  16. xlog("L_INFO", ">>>>> Rejecting method '$rm' from '$fu' to '$ru' - User-Agent: $ua <<<<<\n");
  17. sl_send_reply("405","Method Not Allowed");
  18. exit;
  19. }
  20.  
  21. $avp(tmp) = $Ts ; # store the current time (at request processing)
  22. #xlog("tmp timr-----$avp(tmp)--------\n");
  23.  
  24. if (nat_uac_test("23")) {
  25. if (is_method("REGISTER")) {
  26. fix_nated_register();
  27. } else {
  28. fix_nated_contact();
  29. }
  30. setflag(5);
  31. };
  32.  
  33. force_rport();
  34.  
  35. ######################Permission granted###############################################
  36.  
  37. if (!(is_method("REGISTER") || is_from_gw())) {
  38. $avp(ip) = $si;
  39. $avp(port) = 5060;
  40. $avp(proto) = $proto;
  41.  
  42. # this meens that the Group 1 is a Permission garanted and others Permission denied.
  43. #check_address("1", related to address table group value 1
  44.  
  45. if (check_address("1","$avp(ip)","$avp(port)","$avp(proto)","$avp(10)", "") ) {
  46.  
  47. /* Get Customer ID */
  48. avp_db_query("SELECT `id` FROM `address` WHERE `context_info` ='$avp(10)' LIMIT 1", "$avp(Cusid)");
  49.  
  50. xlog("L_INFO", "##############################Debug Customer ID:$avp(Cusid)/IP:$si##############################\n");
  51. xlog("L_INFO", "--Debug Customer ID:$avp(Cusid)/IP:$si-----Call Start\n");
  52. xlog("L_INFO", "--Debug Customer ID:$avp(Cusid)/IP:$si-----Permission:OK-\n");
  53. xlog("L_INFO", "--Debug Customer ID:$avp(Cusid)/IP:$si-----Customer Prefix:$avp(10)\n");
  54.  
  55. # request comes from trunks
  56. xlog("L_WARN", "--Debug Customer ID:$avp(Cusid)/IP:$si-----Permission OK For $si\n");
  57. setflag(20);
  58.  
  59. } else {
  60.  
  61. xlog("L_WARN", "--Debug Customer IP:$si-----Permission Denied\n");
  62. send_reply("403","Forbidden");
  63. exit;
  64. }
  65. }
  66.  
  67. ###########################End of Permission granted###############################
  68.  
  69. if (has_totag()) {
  70. if ( is_method("INVITE")) {
  71. $avp(timeout2) = 10;
  72. } else if (is_method("ACK")) {
  73. $avp(timeout2) = 3600;
  74. }
  75.  
  76. # sequential request withing a dialog should
  77. # take the path determined by record-routing
  78.  
  79. if (loose_route()) {
  80. # validate the sequential request against dialog
  81. if ( $DLG_status!=NULL && !validate_dialog() ) {
  82. xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n");
  83. #exit;
  84. }
  85.  
  86. if (is_method("BYE")) {
  87. end_media_session();
  88. setflag(1); # do accounting ...
  89. setflag(3); #transaction falis
  90.  
  91. if ($dlg_val("connected")!="null" || $dlg_val("connected")!="0") {
  92. $var(connectedtime) = $dlg_val("connected");
  93. $var(ended) = $Ts -$(var(connectedtime){s.int}) ;
  94. $var(endedmillsec)=$Tsm/1000;
  95. xlog("L_INFO", "--Debug Customer ID:$avp(Cusid)/GW-IP:$si-----Ended call-Time=$Ts---Connected=$var(connectedtime)--Ended=$var(ended)--Endedms=$var(endedmillsec);\n");
  96. $var(differenceMillsec)=(($var(ended)*1000)-1000)+$var(endedmillsec);
  97. }
  98.  
  99. if ($dlg_val("customerid")
  100.  
  101.  
  102.  
  103.  
  104. Jan 18 13:30:56 [20840] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=siptrace
  105. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: token = set1
  106. Jan 18 13:30:56 [20834] DBG:core:db_do_init: connection 0x7fda4013ace0 found in pool as 0x7fda40139a68
  107. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  108. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: found set_name: set1
  109. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=usrloc
  110. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  111. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_init: token = set1
  112. Jan 18 13:30:56 [20834] DBG:db_virtual:db_virtual_use_table: USE TABLE
  113. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_init: found set_name: set1
  114. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: token = set1
  115. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  116. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: found set_name: set1
  117. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  118. Jan 18 13:30:56 [20834] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=acc
  119. Jan 18 13:30:56 [20822] DBG:core:db_do_init: connection 0x7fda4013ad08 found in pool as 0x7fda40139a68
  120. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  121. Jan 18 13:30:56 [20842] DBG:core:db_do_init: connection 0x7fda4013a8d8 found in pool as 0x7fda40139a68
  122. Jan 18 13:30:56 [20834] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  123. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_use_table: USE TABLE
  124. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_use_table: USE TABLE
  125. Jan 18 13:30:56 [20834] DBG:db_virtual:db_virtual_init: token = set1
  126. Jan 18 13:30:56 [20840] DBG:core:db_do_init: connection 0x7fda4013ab00 found in pool as 0x7fda40139a68
  127. Jan 18 13:30:56 [20822] DBG:core:init_mod_child: type=CHILD, rank=1, module=acc
  128. Jan 18 13:30:56 [20834] DBG:db_virtual:db_virtual_init: found set_name: set1
  129. Jan 18 13:30:56 [20840] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=mediaproxy
  130. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  131. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013a2d8 found in pool as 0x7fda40139a68
  132. Jan 18 13:30:56 [20842] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=siptrace
  133. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_init: token = set1
  134. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=nat_traversal
  135. Jan 18 13:30:56 [20822] DBG:db_virtual:db_virtual_init: found set_name: set1
  136. Jan 18 13:30:56 [20840] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=avpops
  137. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  138. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=registrar
  139. Jan 18 13:30:56 [20822] DBG:core:db_do_init: connection 0x7fda4013af98 found in pool as 0x7fda40139a68
  140. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: token = set1
  141. Jan 18 13:30:56 [20834] DBG:core:db_do_init: connection 0x7fda4013aee0 found in pool as 0x7fda40139a68
  142. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  143. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: found set_name: set1
  144. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=alias_db
  145. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: token = set1
  146. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  147. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: found set_name: set1
  148. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  149. Jan 18 13:30:56 [20843] DBG:db_mysql:db_mysql_connect: connection type is Localhost via UNIX socket
  150. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  151. Jan 18 13:30:56 [20843] DBG:db_mysql:db_mysql_connect: protocol version is 10
  152. Jan 18 13:30:56 [20843] DBG:db_mysql:db_mysql_connect: server version is 5.1.66-0+squeeze1
  153. Jan 18 13:30:56 [20842] DBG:core:db_do_init: connection 0x7fda4013ab00 found in pool as 0x7fda40139a68
  154. Jan 18 13:30:56 [20816] DBG:core:wait_status_code: read code 0 ? rc = 1, errno=Success
  155. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda40139988 inserted in pool as 0x7fda40139a68
  156. Jan 18 13:30:56 [20840] DBG:core:db_do_init: connection 0x7fda4013ace0 found in pool as 0x7fda40139a68
  157. Jan 18 13:30:56 [20834] DBG:core:send_status_code: send 0 ? rc = 1 , errno=Success
  158. Jan 18 13:30:56 [20816] DBG:core:wait_for_all_children: waiting for timer
  159. Jan 18 13:30:56 [20822] DBG:core:send_status_code: send 0 ? rc = 1 , errno=Success
  160. Jan 18 13:30:56 [20834] DBG:core:run_timer_process: tv = 1, 0 , m=1
  161. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013a4d8 found in pool as 0x7fda40139a68
  162. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=permissions
  163. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_use_table: USE TABLE
  164. Jan 18 13:30:56 [20842] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=mediaproxy
  165. Jan 18 13:30:56 [20816] DBG:core:wait_status_code: read code 0 ? rc = 1, errno=Success
  166. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=auth_db
  167. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=domain
  168. Jan 18 13:30:56 [20840] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=acc
  169. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  170. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=dialog
  171. Jan 18 13:30:56 [20816] DBG:core:wait_for_all_children: waiting for timer
  172. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  173. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  174. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  175. Jan 18 13:30:56 [20842] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=avpops
  176. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  177. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  178. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  179. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: token = set1
  180. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  181. Jan 18 13:30:56 [20840] DBG:db_virtual:db_virtual_init: found set_name: set1
  182. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: token = set1
  183. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: found set_name: set1
  184. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013a0d8 found in pool as 0x7fda40139a68
  185. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013a6d8 found in pool as 0x7fda40139a68
  186. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=usrloc
  187. Jan 18 13:30:56 [20840] DBG:core:db_do_init: connection 0x7fda4013aee0 found in pool as 0x7fda40139a68
  188. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=dialplan
  189. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  190. Jan 18 13:30:56 [20842] DBG:core:db_do_init: connection 0x7fda4013ace0 found in pool as 0x7fda40139a68
  191. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  192. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=drouting
  193. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  194. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_use_table: USE TABLE
  195. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  196. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  197. Jan 18 13:30:56 [20842] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=acc
  198. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  199. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  200. Jan 18 13:30:56 [20840] DBG:core:send_status_code: send 0 ? rc = 1 , errno=Success
  201. Jan 18 13:30:56 [20816] DBG:core:wait_status_code: read code 0 ? rc = 1, errno=Success
  202. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: token = set1
  203. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013a2d8 found in pool as 0x7fda40139a68
  204. Jan 18 13:30:56 [20840] DBG:core:run_timer_process: tv = 1, 0 , m=1
  205. Jan 18 13:30:56 [20842] DBG:db_virtual:db_virtual_init: found set_name: set1
  206. Jan 18 13:30:56 [20816] DBG:core:wait_for_all_children: waiting for timer
  207. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=nat_traversal
  208. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013a8d8 found in pool as 0x7fda40139a68
  209. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=registrar
  210. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_use_table: USE TABLE
  211. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=alias_db
  212. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  213. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=siptrace
  214. Jan 18 13:30:56 [20842] DBG:core:db_do_init: connection 0x7fda4013aee0 found in pool as 0x7fda40139a68
  215. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  216. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  217. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  218. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  219. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  220. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013a4d8 found in pool as 0x7fda40139a68
  221. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013ab00 found in pool as 0x7fda40139a68
  222. Jan 18 13:30:56 [20842] DBG:core:send_status_code: send 0 ? rc = 1 , errno=Success
  223. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=domain
  224. Jan 18 13:30:56 [20816] DBG:core:wait_status_code: read code 0 ? rc = 1, errno=Success
  225. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=mediaproxy
  226. Jan 18 13:30:56 [20842] DBG:core:run_timer_process: tv = 1, 0 , m=1
  227. Jan 18 13:30:56 [20816] DBG:core:wait_for_all_children: waiting for timer
  228. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=dialog
  229. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  230. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  231. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=avpops
  232. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  233. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  234. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  235. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  236. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013a6d8 found in pool as 0x7fda40139a68
  237. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=dialplan
  238. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013ace0 found in pool as 0x7fda40139a68
  239. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=drouting
  240. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  241. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_use_table: USE TABLE
  242. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  243. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  244. Jan 18 13:30:56 [20838] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=acc
  245. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  246. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: token = set1
  247. Jan 18 13:30:56 [20838] DBG:db_virtual:db_virtual_init: found set_name: set1
  248. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013a8d8 found in pool as 0x7fda40139a68
  249. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_use_table: USE TABLE
  250. Jan 18 13:30:56 [20838] DBG:core:db_do_init: connection 0x7fda4013aee0 found in pool as 0x7fda40139a68
  251. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=siptrace
  252. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  253. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  254. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  255. Jan 18 13:30:56 [20816] DBG:core:wait_status_code: read code 0 ? rc = 1, errno=Success
  256. Jan 18 13:30:56 [20838] DBG:core:send_status_code: send 0 ? rc = 1 , errno=Success
  257. Jan 18 13:30:56 [20816] DBG:core:wait_for_all_children: waiting for timer
  258. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013ab00 found in pool as 0x7fda40139a68
  259. Jan 18 13:30:56 [20838] DBG:core:run_timer_process: tv = 1, 0 , m=1
  260. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=mediaproxy
  261. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=avpops
  262. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  263. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  264. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  265. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013ace0 found in pool as 0x7fda40139a68
  266. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_use_table: USE TABLE
  267. Jan 18 13:30:56 [20843] DBG:core:init_mod_child: type=PROC_TIMER, rank=-1, module=acc
  268. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: INIT set_name, virtual://set1
  269. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: token = set1
  270. Jan 18 13:30:56 [20843] DBG:db_virtual:db_virtual_init: found set_name: set1
  271. Jan 18 13:30:56 [20843] DBG:core:db_do_init: connection 0x7fda4013aee0 found in pool as 0x7fda40139a68
  272. Jan 18 13:30:56 [20843] DBG:core:send_status_code: send 0 ? rc = 1 , errno=Success
  273. Jan 18 13:30:56 [20843] DBG:core:run_timer_process: tv = 1, 0 , m=1
  274. Jan 18 13:30:56 [20816] DBG:core:wait_status_code: read code 0 ? rc = 1, errno=Success
  275. Jan 18 13:30:56 [20816] INFO:core:daemonize: pre-daemon process exiting with 0
  276. root@CK-Switch:~# Jan 18 13:31:01 [20823] DBG:core:parse_msg: SIP Request:
  277. Jan 18 13:31:01 [20823] DBG:core:parse_msg: method: <INVITE>
  278. Jan 18 13:31:01 [20823] DBG:core:parse_msg: uri: <sip:5559613045212@5.104.224.33:5060;transport=udp>
  279. Jan 18 13:31:01 [20823] DBG:core:parse_msg: version: <SIP/2.0>
  280. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=2
  281. Jan 18 13:31:01 [20823] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-d87543-3a7e4c783d45566e-1--d87543->; state=6
  282. Jan 18 13:31:01 [20823] DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17
  283. Jan 18 13:31:01 [20823] DBG:core:parse_via: end of header reached, state=5
  284. Jan 18 13:31:01 [20823] DBG:core:parse_headers: via found, flags=2
  285. Jan 18 13:31:01 [20823] DBG:core:parse_headers: this is the first via
  286. Jan 18 13:31:01 [20823] DBG:core:receive_msg: After parse_msg...
  287. Jan 18 13:31:01 [20823] DBG:core:receive_msg: preparing to run routing scripts...
  288. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=8
  289. Jan 18 13:31:01 [20823] DBG:core:parse_to: end of header reached, state=10
  290. Jan 18 13:31:01 [20823] DBG:core:parse_to: display={"5559613045212"}, ruri={sip:5559613045212@5.104.224.33:5060}
  291. Jan 18 13:31:01 [20823] DBG:core:get_hdr_field: <To> [54]; uri=[sip:5559613045212@5.104.224.33:5060]
  292. Jan 18 13:31:01 [20823] DBG:core:get_hdr_field: to body ["5559613045212"<sip:5559613045212@5.104.224.33:5060>
  293. ]
  294. Jan 18 13:31:01 [20823] DBG:maxfwd:is_maxfwd_present: value = 70
  295. Jan 18 13:31:01 [20823] DBG:core:check_ip_address: params 77.42.241.66, 77.42.241.66, 0
  296. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=ffffffffffffffff
  297. Jan 18 13:31:01 [20823] DBG:core:get_hdr_field: cseq <CSeq>: <1> <INVITE>
  298. Jan 18 13:31:01 [20823] DBG:core:get_hdr_field: content_length=244
  299. Jan 18 13:31:01 [20823] DBG:core:get_hdr_field: found end of header
  300. Jan 18 13:31:01 [20823] DBG:permissions:check_addr_6: Looking for : <1, 77.42.241.66, udp, 5060, (null)>
  301. Jan 18 13:31:01 [20823] DBG:permissions:hash_match: no pattern to match
  302. Jan 18 13:31:01 [20823] DBG:permissions:hash_match: match found in the hash table
  303. Jan 18 13:31:01 [20823] DBG:avpops:ops_dbquery_avps: query [SELECT `id` FROM `address` WHERE `context_info` ='555' LIMIT 1]
  304. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: f call
  305. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: f call handle size = 1
  306. Jan 18 13:31:01 [20823] DBG:db_virtual:try_reconnect: try reconnect
  307. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: flags1 = 3
  308. Jan 18 13:31:01 [20823] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7fda4013bf18
  309. Jan 18 13:31:01 [20823] DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query
  310. Jan 18 13:31:01 [20823] DBG:core:db_allocate_columns: allocate 28 bytes for result columns at 0x7fda4013be68
  311. Jan 18 13:31:01 [20823] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7fda4013be70)[0]=[id]
  312. Jan 18 13:31:01 [20823] DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
  313. Jan 18 13:31:01 [20823] DBG:core:db_allocate_rows: allocate 48 bytes for result rows and values at 0x7fda4013bf60
  314. Jan 18 13:31:01 [20823] DBG:db_mysql:db_mysql_str2val: converting INT [100000012]
  315. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: curent_con = 0
  316. Jan 18 13:31:01 [20823] DBG:avpops:db_query_avp: rows [1]
  317. Jan 18 13:31:01 [20823] DBG:avpops:db_query_avp: row [0]
  318. Jan 18 13:31:01 [20823] DBG:avpops:db_close_query: close avp query
  319. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: f call
  320. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: f call handle size = 1
  321. Jan 18 13:31:01 [20823] DBG:db_virtual:try_reconnect: try reconnect
  322. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: flags1 = 3
  323. Jan 18 13:31:01 [20823] DBG:core:db_free_columns: freeing result columns at 0x7fda4013be68
  324. Jan 18 13:31:01 [20823] DBG:core:db_free_rows: freeing 1 rows
  325. Jan 18 13:31:01 [20823] DBG:core:db_free_row: freeing row values at 0x7fda4013bf70
  326. Jan 18 13:31:01 [20823] DBG:core:db_free_rows: freeing rows at 0x7fda4013bf60
  327. Jan 18 13:31:01 [20823] DBG:core:db_free_result: freeing result set at 0x7fda4013bf18
  328. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: curent_con = 0
  329. Jan 18 13:31:01 [20823] DBG:core:buf_init: initializing...
  330. ##############################Debug Customer ID:100000012/IP:77.42.241.66##############################
  331. --Debug Customer ID:100000012/IP:77.42.241.66-----Call Start
  332. --Debug Customer ID:100000012/IP:77.42.241.66-----Permission:OK-
  333. --Debug Customer ID:100000012/IP:77.42.241.66-----Customer Prefix:555
  334. --Debug Customer ID:100000012/IP:77.42.241.66-----Permission OK For 77.42.241.66
  335. Jan 18 13:31:01 [20823] DBG:uri:has_totag: no totag
  336. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=78
  337. Jan 18 13:31:01 [20823] DBG:tm:t_lookup_request: start searching: hash=27566, isACK=0
  338. Jan 18 13:31:01 [20823] DBG:tm:matching_3261: RFC3261 transaction matching failed
  339. Jan 18 13:31:01 [20823] DBG:tm:t_lookup_request: no transaction found
  340. Jan 18 13:31:01 [20823] DBG:core:parse_to_param: tag=300f161a
  341. Jan 18 13:31:01 [20823] DBG:core:parse_to: end of header reached, state=29
  342. Jan 18 13:31:01 [20823] DBG:core:parse_to: display={"CK-Switch"}, ruri={sip:999@5.104.224.33:5060}
  343. Jan 18 13:31:01 [20823] DBG:core:grep_sock_info: checking if host==us: 12==12 && [5.104.224.33] == [5.104.224.33]
  344. Jan 18 13:31:01 [20823] DBG:core:grep_sock_info: checking if port 5060 matches port 5060
  345. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=200
  346. Jan 18 13:31:01 [20823] DBG:rr:find_first_route: No Route headers found
  347. Jan 18 13:31:01 [20823] DBG:rr:loose_route: There is no Route HF
  348. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=ffffffffffffffff
  349. Jan 18 13:31:01 [20823] DBG:core:subst_run: running. r=1
  350. Jan 18 13:31:01 [20823] DBG:core:subst_str: no match
  351. Jan 18 13:31:01 [20823] DBG:avpops:ops_dbquery_avps: query [UPDATE `opensips`.`invites` set `trunkip` ='5.104.224.33' where `CALLID` = '9e24cf200560df0cNzliYjMwZTYzOWE5MjFhZjllZDYxZTk1YzcwNWNiZGQ.' ]
  352. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: f call
  353. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: f call handle size = 1
  354. Jan 18 13:31:01 [20823] DBG:db_virtual:try_reconnect: try reconnect
  355. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: flags1 = 3
  356. Jan 18 13:31:01 [20823] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7fda4013d9b0
  357. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_raw_query: curent_con = 0
  358. Jan 18 13:31:01 [20823] DBG:avpops:db_query_avp: no result after query
  359. Jan 18 13:31:01 [20823] DBG:avpops:db_close_query: close avp query
  360. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: f call
  361. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: f call handle size = 1
  362. Jan 18 13:31:01 [20823] DBG:db_virtual:try_reconnect: try reconnect
  363. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: flags1 = 3
  364. Jan 18 13:31:01 [20823] DBG:core:db_free_rows: freeing 0 rows
  365. Jan 18 13:31:01 [20823] DBG:core:db_free_result: freeing result set at 0x7fda4013d9b0
  366. Jan 18 13:31:01 [20823] DBG:db_virtual:db_virtual_free_result: curent_con = 0
  367. Jan 18 13:31:01 [20823] DBG:tm:t_newtran: transaction on entrance=(nil)
  368. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=ffffffffffffffff
  369. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=78
  370. Jan 18 13:31:01 [20823] DBG:tm:t_lookup_request: start searching: hash=27566, isACK=0
  371. Jan 18 13:31:01 [20823] DBG:tm:matching_3261: RFC3261 transaction matching failed
  372. Jan 18 13:31:01 [20823] DBG:tm:t_lookup_request: no transaction found
  373. Jan 18 13:31:01 [20823] DBG:tm:run_reqin_callbacks: trans=0x7fda3896a1d8, callback type 1, id 4 entered
  374. Jan 18 13:31:01 [20823] DBG:tm:run_reqin_callbacks: trans=0x7fda3896a1d8, callback type 1, id 3 entered
  375. Jan 18 13:31:01 [20823] DBG:tm:run_reqin_callbacks: trans=0x7fda3896a1d8, callback type 1, id 2 entered
  376. Jan 18 13:31:01 [20823] DBG:siptrace:trace_onreq_in: trace off...
  377. Jan 18 13:31:01 [20823] DBG:tm:run_reqin_callbacks: trans=0x7fda3896a1d8, callback type 1, id 1 entered
  378. Jan 18 13:31:01 [20823] DBG:tm:run_reqin_callbacks: trans=0x7fda3896a1d8, callback type 1, id 0 entered
  379. Jan 18 13:31:01 [20823] DBG:dialog:build_new_dlg: new dialog 0x7fda3896bc20 (c=9e24cf200560df0cNzliYjMwZTYzOWE5MjFhZjllZDYxZTk1YzcwNWNiZGQ.,f=sip:999@5.104.224.33:5060,t=sip:5559613045212@5.104.224.33:5060,ft=300f161a) on hash 2935
  380. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=ffffffffffffffff
  381. Jan 18 13:31:01 [20823] DBG:dialog:init_leg_info: route_set , contact sip:999@77.42.241.66:55188;transport=udp, cseq 1 and bind_addr udp:5.104.224.33:5060
  382. Jan 18 13:31:01 [20823] DBG:dialog:dlg_add_leg_info: set leg 0 for 0x7fda3896bc20: tag=<300f161a> rcseq=<0>
  383. Jan 18 13:31:01 [20823] DBG:dialog:link_dlg: ref dlg 0x7fda3896bc20 with 3 -> 3
  384. Jan 18 13:31:01 [20823] DBG:rr:add_rr_param: adding (;did=77b.809b0ca1) 0x7fda4013d448
  385. Jan 18 13:31:01 [20823] DBG:dialog:dlg_create_dialog: t hash_index = 27566, t label = 1711784804
  386. Jan 18 13:31:01 [20823] DBG:dialog:get_dlg_timeout: invalid AVP value, use default timeout
  387. Jan 18 13:31:01 [20823] DBG:core:parse_headers: flags=ffffffffffffffff
  388. Jan 18 13:31:01 [20823] DBG:core:_shm_resize: resize(0) called
  389. Jan 18 13:31:01 [20823] DBG:tm:_reply_light: reply sent out. buf=0x7fda4013db20: SIP/2.0 1..., shmem=0x7fda3896e338: SIP/2.0 1
  390. Jan 18 13:31:01 [20823] DBG:tm:_reply_light: finished
  391. --Debug Customer ID:100000012/IP:77.42.241.66-----new branch at sip:5559613045212@5.104.224.33:5060;transport=udp
  392. Jan 18 13:31:01 [20823] DBG:core:mk_proxy: doing DNS lookup...
  393. Jan 18 13:31:01 [20823] DBG:tm:set_timer: relative timeout is 500000
  394. Jan 18 13:31:01 [20823] DBG:tm:insert_timer_unsafe: [4]: 0x7fda3896a3f8 (6100000)
  395. Jan 18 13:31:01 [20823] DBG:tm:set_timer: relative timeout is 10
  396. Jan 18 13:31:01 [20823] DBG:tm:insert_timer_unsafe: [0]: 0x7fda3896a428 (15)
  397. Jan 18 13:31:01 [20823] DBG:tm:t_relay_to: new transaction fwd'ed
  398. Jan 18 13:31:01 [20823] DBG:tm:t_unref: UNREF_UNSAFE: [0x7fda3896a1d8] after is 0
  399. Jan 18 13:31:01 [20825] DBG:core:parse_msg: SIP Request:
  400. Jan 18 13:31:01 [20823] DBG:dialog:unref_dlg: unref dlg 0x7fda3896bc20 with 1 -> 2
  401. Jan 18 13:31:01 [20825] DBG:core:parse_msg: method: <INVITE>
  402. Jan 18 13:31:01 [20825] DBG:core:parse_msg: uri: <sip:5559613045212@5.104.224.33:5060;transport=udp>
  403. Jan 18 13:31:01 [20823] DBG:core:destroy_avp_list: destroying list (nil)
  404. Jan 18 13:31:01 [20825] DBG:core:parse_msg: version: <SIP/2.0>
  405. Jan 18 13:31:01 [20823] DBG:core:receive_msg: cleaning up
  406. Jan 18 13:31:01 [20825] DBG:core:parse_headers: flags=2
  407. Jan 18 13:31:01 [20825] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKeab6.463c7066.0>; state=16
  408. Jan 18 13:31:01 [20825] DBG:core:parse_via: end of header reached, state=5
  409. Jan 18 13:31:01 [20825] DBG:core:parse_headers: via found, flags=2
  410. Jan 18 13:31:01 [20825] DBG:core:parse_headers: this is the first via
  411. Jan 18 13:31:01 [20825] DBG:core:receive_msg: After parse_msg...
  412. Jan 18 13:31:01 [20825] DBG:core:receive_msg: preparing to run routing scripts...
  413. Jan 18 13:31:01 [20825] DBG:core:parse_headers: flags=8
  414. Jan 18 13:31:01 [20825] DBG:core:parse_via_param: found param type 234, <received> = <77.42.241.66>; state=6
  415. Jan 18 13:31:01 [20825] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-d87543-3a7e4c783d45566e-1--d87543->; state=6
  416. Jan 18 13:31:01 [20825] DBG:core:parse_via_param: found param type 235, <rport> = <55188>; state=16
  417. Jan 18 13:31:01 [20825] DBG:core:parse_via: end of header reached, state=5
  418. Jan 18 13:31:01 [20825] DBG:core:parse_headers: via found, flags=8
  419. Jan 18 13:31:01 [20825] DBG:core:parse_headers: parse_headers: this is the second via
  420. Jan 18 13:31:01 [20825] DBG:core:parse_to: end of header reached, state=10
  421. Jan 18 13:31:01 [20825] DBG:core:parse_to: display={"5559613045212"}, ruri={sip:5559613045212@5.104.224.33:5060}
  422. Jan 18 13:31:01 [20825] DBG:core:get_hdr_field: <To> [54]; uri=[sip:5559613045212@5.104.224.33:5060]
  423. Jan 18 13:31:01 [20825] DBG:core:get_hdr_field: to body ["5559613045212"<sip:5559613045212@5.104.224.33:5060>
  424. ]
  425. Jan 18 13:31:01 [20825] DBG:maxfwd:is_maxfwd_present: value = 69
  426. Jan 18 13:31:01 [20825] DBG:core:check_ip_address: params 5.104.224.33, 5.104.224.33, 0
  427. Jan 18 13:31:01 [20825] DBG:core:parse_headers: flags=ffffffffffffffff
  428. Jan 18 13:31:01 [20825] DBG:core:get_hdr_field: cseq <CSeq>: <1> <INVITE>
  429. Jan 18 13:31:01 [20825] DBG:core:get_hdr_field: content_length=244
  430. Jan 18 13:31:01 [20825] DBG:core:get_hdr_field: found end of header
  431. Jan 18 13:31:01 [20825] DBG:permissions:check_addr_6: Looking for : <1, 5.104.224.33, udp, 5060, (null)>
  432. Jan 18 13:31:01 [20825] DBG:permissions:hash_match: no match in the hash table
  433. Jan 18 13:31:01 [20825] DBG:permissions:match_subnet_table: subnet table is empty
  434. Jan 18 13:31:01 [20825] DBG:core:buf_init: initializing...
  435. --Debug Customer IP:5.104.224.33-----Permission Denied
  436. Jan 18 13:31:01 [20825] DBG:core:parse_headers: flags=ffffffffffffffff
  437. Jan 18 13:31:01 [20825] DBG:sl:run_sl_callbacks: callback id 1 entered
  438. Jan 18 13:31:01 [20825] DBG:siptrace:trace_sl_onreply_out: trace off...
  439. Jan 18 13:31:01 [20825] DBG:sl:run_sl_callbacks: callback id 0 entered
  440. Jan 18 13:31:01 [20825] DBG:core:destroy_avp_list: destroying list 0x7fda3896ebf0
  441. Jan 18 13:31:01 [20825] DBG:core:receive_msg: cleaning up
  442. Jan 18 13:31:01 [20824] DBG:core:parse_msg: SIP Reply (status):
  443. Jan 18 13:31:01 [20824] DBG:core:parse_msg: version: <SIP/2.0>
  444. Jan 18 13:31:01 [20824] DBG:core:parse_msg: status: <403>
  445. Jan 18 13:31:01 [20824] DBG:core:parse_msg: reason: <Forbidden>
  446. Jan 18 13:31:01 [20824] DBG:core:parse_headers: flags=2
  447. Jan 18 13:31:01 [20824] DBG:core:parse_via_param: found param type 234, <received> = <5.104.224.33>; state=6
  448. Jan 18 13:31:01 [20824] DBG:core:parse_via_param: found param type 235, <rport> = <5060>; state=6
  449. Jan 18 13:31:01 [20824] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKeab6.463c7066.0>; state=16
  450. Jan 18 13:31:01 [20824] DBG:core:parse_via: end of header reached, state=5
  451. Jan 18 13:31:01 [20824] DBG:core:parse_headers: via found, flags=2
  452. Jan 18 13:31:01 [20824] DBG:core:parse_headers: this is the first via
  453. Jan 18 13:31:01 [20824] DBG:core:receive_msg: After parse_msg...
  454. Jan 18 13:31:01 [20824] DBG:core:forward_reply: found module nat_traversal, passing reply to it
  455. Jan 18 13:31:01 [20824] DBG:core:parse_headers: flags=4
  456. Jan 18 13:31:01 [20824] DBG:core:parse_via_param: found param type 234, <received> = <77.42.241.66>; state=6
  457. Jan 18 13:31:01 [20824] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-d87543-3a7e4c783d45566e-1--d87543->; state=6
  458. Jan 18 13:31:01 [20824] DBG:core:parse_via_param: found param type 235, <rport> = <55188>; state=16
  459. Jan 18 13:31:01 [20824] DBG:core:parse_via: end of header reached, state=5
  460. Jan 18 13:31:01 [20824] DBG:core:parse_headers: via found, flags=4
  461. Jan 18 13:31:01 [20824] DBG:core:parse_headers: parse_headers: this is the second via
  462. Jan 18 13:31:01 [20824] DBG:core:forward_reply: found module tm, passing reply to it
  463. Jan 18 13:31:01 [20824] DBG:tm:t_check: start=0xffffffffffffffff
  464. Jan 18 13:31:01 [20824] DBG:core:parse_headers: flags=22
  465. Jan 18 13:31:01 [20824] DBG:core:parse_to_param: tag=e301a115facbf1bb55a21cb487f36cb6.0155
  466. Jan 18 13:31:01 [20824] DBG:core:parse_to: end of header reached, state=29
  467. Jan 18 13:31:01 [20824] DBG:core:parse_to: display={"5559613045212"}, ruri={sip:5559613045212@5.104.224.33:5060}
  468. Jan 18 13:31:01 [20824] DBG:core:get_hdr_field: <To> [96]; uri=[sip:5559613045212@5.104.224.33:5060]
  469. Jan 18 13:31:01 [20824] DBG:core:get_hdr_field: to body ["5559613045212"<sip:5559613045212@5.104.224.33:5060>]
  470. Jan 18 13:31:01 [20824] DBG:core:get_hdr_field: cseq <CSeq>: <1> <INVITE>
  471. Jan 18 13:31:01 [20824] DBG:core:parse_headers: flags=8
  472. Jan 18 13:31:01 [20824] DBG:tm:t_reply_matching: hash 27566 label 1711784804 branch 0
  473. Jan 18 13:31:01 [20824] DBG:tm:t_reply_matching: REF_UNSAFE:[0x7fda3896a1d8] after is 1
  474. Jan 18 13:31:01 [20824] DBG:tm:t_reply_matching: reply matched (T=0x7fda3896a1d8)!
  475. Jan 18 13:31:01 [20824] DBG:tm:t_check: end=0x7fda3896a1d8
  476. Jan 18 13:31:01 [20824] DBG:tm:reply_received: org. status uas=100, uac[0]=0 local=0 is_invite=1)
  477. Jan 18 13:31:01 [20824] DBG:core:parse_headers: flags=18
  478. Jan 18 13:31:01 [20824] DBG:tm:build_local: using FROM=<From: "CK-Switch"<sip:999@5.104.224.33:5060>;tag=300f161a
  479. >, TO=<To: "5559613045212"<sip:5559613045212@5.104.224.33:5060>;tag=e301a115facbf1bb55a21cb487f36cb6.0155
  480. >, CSEQ_N=<CSeq: 1>
  481. Jan 18 13:31:01 [20824] DBG:core:buf_init: initializing...
  482. --Debug Customer ID:100000012/IP:5.104.224.33-----incoming reply
  483. Jan 18 13:31:01 [20826] DBG:core:parse_msg: SIP Request:
  484. Jan 18 13:31:01 [20824] DBG:tm:t_check_status: checked status is <403>
  485. Jan 18 13:31:01 [20826] DBG:core:parse_msg: method: <ACK>
  486. Jan 18 13:31:01 [20824] DBG:tm:t_check_status: checked status is <403>
  487. Jan 18 13:31:01 [20826] DBG:core:parse_msg: uri: <sip:5559613045212@5.104.224.33:5060;transport=udp>
  488. Jan 18 13:31:01 [20824] DBG:tm:t_check_status: checked status is <403>
  489. Jan 18 13:31:01 [20826] DBG:core:parse_msg: version: <SIP/2.0>
  490. Jan 18 13:31:01 [20826] DBG:core:parse_headers: flags=2
  491. Jan 18 13:31:01 [20824] DBG:tm:t_should_relay_response: T_code=100, new_code=403
  492. Jan 18 13:31:01 [20824] DBG:tm:t_pick_branch: picked branch 0, code 403 (prio=603)
  493. Jan 18 13:31:01 [20824] DBG:tm:is_3263_failure: dns-failover test: branch=0, last_recv=403, flags=2
  494. Jan 18 13:31:01 [20826] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKeab6.463c7066.0>; state=16
  495. Jan 18 13:31:01 [20824] DBG:tm:t_check_status: checked status is <403>
  496. Jan 18 13:31:01 [20826] DBG:core:parse_via: end of header reached, state=5
  497. Jan 18 13:31:01 [20824] DBG:tm:t_check_status: checked status is <403>
  498. Jan 18 13:31:01 [20826] DBG:core:parse_headers: via found, flags=2
  499. Jan 18 13:31:01 [20826] DBG:core:parse_headers: this is the first via
  500. Jan 18 13:31:01 [20826] DBG:core:receive_msg: After parse_msg...
  501. Jan 18 13:31:01 [20826] DBG:core:receive_msg: preparing to run routing scripts...
  502. Jan 18 13:31:01 [20824] DBG:tm:t_check: start=0x7fda3896a1d8
  503. Jan 18 13:31:01 [20826] DBG:core:parse_headers: flags=8
  504. Jan 18 13:31:01 [20824] DBG:tm:t_check: transaction already found!
  505. Jan 18 13:31:01 [20824] DBG:tm:pv_get_tm_reply_code: reply code is <403>
  506. --Debug Customer ID:100000012/IP:5.104.224.33-----77.42.241.66 Reply: 403#######13
  507. ##########==========End of invite ID:100000012/IP:5.104.224.33###############
  508. Jan 18 13:31:01 [20824] DBG:avpops:ops_dbquery_avps: query [delete FROM `invites` WHERE `CALLID` ='9e24cf200560df0cNzliYjMwZTYzOWE5MjFhZjllZDYxZTk1YzcwNWNiZGQ.']
  509. Jan 18 13:31:01 [20826] DBG:core:parse_to_param: tag=e301a115facbf1bb55a21cb487f36cb6.0155
  510. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_raw_query: f call
  511. Jan 18 13:31:01 [20826] DBG:core:parse_to: end of header reached, state=29
  512. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_raw_query: f call handle size = 1
  513. Jan 18 13:31:01 [20826] DBG:core:parse_to: display={"5559613045212"}, ruri={sip:5559613045212@5.104.224.33:5060}
  514. Jan 18 13:31:01 [20824] DBG:db_virtual:try_reconnect: try reconnect
  515. Jan 18 13:31:01 [20826] DBG:core:get_hdr_field: <To> [96]; uri=[sip:5559613045212@5.104.224.33:5060]
  516. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_raw_query: flags1 = 3
  517. Jan 18 13:31:01 [20826] DBG:core:get_hdr_field: to body ["5559613045212"<sip:5559613045212@5.104.224.33:5060>]
  518. Jan 18 13:31:01 [20826] DBG:sl:sl_filter_ACK: local ACK found -> dropping it!
  519. Jan 18 13:31:01 [20826] DBG:core:destroy_avp_list: destroying list (nil)
  520. Jan 18 13:31:01 [20826] DBG:core:receive_msg: cleaning up
  521. Jan 18 13:31:01 [20824] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7fda4013cf68
  522. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_raw_query: curent_con = 0
  523. Jan 18 13:31:01 [20824] DBG:avpops:db_query_avp: no result after query
  524. Jan 18 13:31:01 [20824] DBG:avpops:db_close_query: close avp query
  525. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_free_result: f call
  526. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_free_result: f call handle size = 1
  527. Jan 18 13:31:01 [20824] DBG:db_virtual:try_reconnect: try reconnect
  528. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_free_result: flags1 = 3
  529. Jan 18 13:31:01 [20824] DBG:core:db_free_rows: freeing 0 rows
  530. Jan 18 13:31:01 [20824] DBG:core:db_free_result: freeing result set at 0x7fda4013cf68
  531. Jan 18 13:31:01 [20824] DBG:db_virtual:db_virtual_free_result: curent_con = 0
  532. Jan 18 13:31:01 [20824] DBG:core:parse_headers: flags=ffffffffffffffff
  533. Jan 18 13:31:01 [20824] DBG:tm:run_trans_callbacks: trans=0x7fda3896a1d8, callback type 64, id 0 entered
  534. Jan 18 13:31:01 [20824] DBG:dialog:next_state_dlg: dialog 0x7fda3896bc20 changed from state 1 to state 5, due event 4
  535. Jan 18 13:31:01 [20824] DBG:dialog:dlg_onreply: dialog 0x7fda3896bc20 failed (negative reply)
  536. Jan 18 13:31:01 [20824] DBG:dialog:unref_dlg: unref dlg 0x7fda3896bc20 with 1 -> 1
  537. Jan 18 13:31:01 [20824] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
  538. Jan 18 13:31:01 [20824] DBG:tm:set_timer: relative timeout is 500000
  539. Jan 18 13:31:01 [20824] DBG:tm:insert_timer_unsafe: [4]: 0x7fda3896a320 (6100000)
  540. Jan 18 13:31:01 [20824] DBG:tm:set_timer: relative timeout is 10
  541. Jan 18 13:31:01 [20824] DBG:tm:insert_timer_unsafe: [0]: 0x7fda3896a350 (15)
  542. Jan 18 13:31:01 [20824] DBG:tm:_reply_light: reply sent out. buf=0x7fda4013d008: SIP/2.0 5..., shmem=0x7fda3896e338: SIP/2.0 5
  543. Jan 18 13:31:01 [20824] DBG:tm:_reply_light: finished
  544. Jan 18 13:31:01 [20824] DBG:tm:relay_reply: branch=0, save=0, relay=-1
  545. Jan 18 13:31:01 [20824] DBG:tm:set_timer: relative timeout is 500000
  546. Jan 18 13:31:01 [20824] DBG:tm:insert_timer_unsafe: [4]: 0x7fda3896a320 (6100000)
  547. Jan 18 13:31:01 [20824] DBG:tm:set_timer: relative timeout is 10
  548. Jan 18 13:31:01 [20824] DBG:tm:insert_timer_unsafe: [0]: 0x7fda3896a350 (15)
  549. Jan 18 13:31:01 [20824] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
  550. Jan 18 13:31:01 [20824] DBG:tm:t_unref: UNREF_UNSAFE: [0x7fda3896a1d8] after is 0
  551. Jan 18 13:31:01 [20824] DBG:core:destroy_avp_list: destroying list (nil)
  552. Jan 18 13:31:01 [20824] DBG:core:receive_msg: cleaning up
  553. Jan 18 13:31:01 [20827] DBG:core:parse_msg: SIP Request:
  554. Jan 18 13:31:01 [20827] DBG:core:parse_msg: method: <ACK>
  555. Jan 18 13:31:01 [20827] DBG:core:parse_msg: uri: <sip:5559613045212@5.104.224.33:5060;transport=udp>
  556. Jan 18 13:31:01 [20827] DBG:core:parse_msg: version: <SIP/2.0>
  557. Jan 18 13:31:01 [20827] DBG:core:parse_headers: flags=2
  558. Jan 18 13:31:01 [20827] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-d87543-3a7e4c783d45566e-1--d87543->; state=6
  559. Jan 18 13:31:01 [20827] DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17
  560. Jan 18 13:31:01 [20827] DBG:core:parse_via: end of header reached, state=5
  561. Jan 18 13:31:01 [20827] DBG:core:parse_headers: via found, flags=2
  562. Jan 18 13:31:01 [20827] DBG:core:parse_headers: this is the first via
  563. Jan 18 13:31:01 [20827] DBG:core:receive_msg: After parse_msg...
  564. Jan 18 13:31:01 [20827] DBG:core:receive_msg: preparing to run routing scripts...
  565. Jan 18 13:31:01 [20827] DBG:core:parse_headers: flags=8
  566. Jan 18 13:31:01 [20827] DBG:core:parse_to_param: tag=7d34158d5bba678ff931748e2fb2d793-4d36
  567. Jan 18 13:31:01 [20827] DBG:core:parse_to: end of header reached, state=29
  568. Jan 18 13:31:01 [20827] DBG:core:parse_to: display={"5559613045212"}, ruri={sip:5559613045212@5.104.224.33:5060}
  569. Jan 18 13:31:01 [20827] DBG:core:get_hdr_field: <To> [96]; uri=[sip:5559613045212@5.104.224.33:5060]
  570. Jan 18 13:31:01 [20827] DBG:core:get_hdr_field: to body ["5559613045212"<sip:5559613045212@5.104.224.33:5060>]
  571. Jan 18 13:31:01 [20827] DBG:core:parse_headers: flags=100
  572. Jan 18 13:31:01 [20827] DBG:core:get_hdr_field: cseq <CSeq>: <1> <ACK>
  573. Jan 18 13:31:01 [20827] DBG:core:get_hdr_field: content_length=0
  574. Jan 18 13:31:01 [20827] DBG:core:get_hdr_field: found end of header
  575. Jan 18 13:31:01 [20827] DBG:maxfwd:is_maxfwd_present: max_forwards header not found!
  576. Jan 18 13:31:01 [20827] DBG:core:check_ip_address: params 77.42.241.66, 77.42.241.66, 0
  577. Jan 18 13:31:01 [20827] DBG:core:parse_headers: flags=ffffffffffffffff
  578. Jan 18 13:31:01 [20827] DBG:permissions:check_addr_6: Looking for : <1, 77.42.241.66, udp, 5060, (null)>
  579. Jan 18 13:31:01 [20827] DBG:permissions:hash_match: no pattern to match
  580. Jan 18 13:31:01 [20827] DBG:permissions:hash_match: match found in the hash table
  581. Jan 18 13:31:01 [20827] DBG:avpops:ops_dbquery_avps: query [SELECT `id` FROM `address` WHERE `context_info` ='555' LIMIT 1]
  582. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_raw_query: f call
  583. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_raw_query: f call handle size = 1
  584. Jan 18 13:31:01 [20827] DBG:db_virtual:try_reconnect: try reconnect
  585. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_raw_query: flags1 = 3
  586. Jan 18 13:31:01 [20827] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7fda4013bd80
  587. Jan 18 13:31:01 [20827] DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query
  588. Jan 18 13:31:01 [20827] DBG:core:db_allocate_columns: allocate 28 bytes for result columns at 0x7fda4013bdc8
  589. Jan 18 13:31:01 [20827] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7fda4013bdd0)[0]=[id]
  590. Jan 18 13:31:01 [20827] DBG:db_mysql:db_mysql_get_columns: use DB_INT result type
  591. Jan 18 13:31:01 [20827] DBG:core:db_allocate_rows: allocate 48 bytes for result rows and values at 0x7fda4013be00
  592. Jan 18 13:31:01 [20827] DBG:db_mysql:db_mysql_str2val: converting INT [100000012]
  593. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_raw_query: curent_con = 0
  594. Jan 18 13:31:01 [20827] DBG:avpops:db_query_avp: rows [1]
  595. Jan 18 13:31:01 [20827] DBG:avpops:db_query_avp: row [0]
  596. Jan 18 13:31:01 [20827] DBG:avpops:db_close_query: close avp query
  597. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_free_result: f call
  598. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_free_result: f call handle size = 1
  599. Jan 18 13:31:01 [20827] DBG:db_virtual:try_reconnect: try reconnect
  600. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_free_result: flags1 = 3
  601. Jan 18 13:31:01 [20827] DBG:core:db_free_columns: freeing result columns at 0x7fda4013bdc8
  602. Jan 18 13:31:01 [20827] DBG:core:db_free_rows: freeing 1 rows
  603. Jan 18 13:31:01 [20827] DBG:core:db_free_row: freeing row values at 0x7fda4013be10
  604. Jan 18 13:31:01 [20827] DBG:core:db_free_rows: freeing rows at 0x7fda4013be00
  605. Jan 18 13:31:01 [20827] DBG:core:db_free_result: freeing result set at 0x7fda4013bd80
  606. Jan 18 13:31:01 [20827] DBG:db_virtual:db_virtual_free_result: curent_con = 0
  607. Jan 18 13:31:01 [20827] DBG:core:buf_init: initializing...
  608. ##############################Debug Customer ID:100000012/IP:77.42.241.66##############################
  609. --Debug Customer ID:100000012/IP:77.42.241.66-----Call Start
  610. --Debug Customer ID:100000012/IP:77.42.241.66-----Permission:OK-
  611. --Debug Customer ID:100000012/IP:77.42.241.66-----Customer Prefix:555
  612. --Debug Customer ID:100000012/IP:77.42.241.66-----Permission OK For 77.42.241.66
  613. Jan 18 13:31:01 [20827] DBG:uri:has_totag: totag found
  614. Jan 18 13:31:01 [20827] DBG:core:parse_headers: flags=200
  615. Jan 18 13:31:01 [20827] DBG:rr:find_first_route: No Route headers found
  616. Jan 18 13:31:01 [20827] DBG:rr:loose_route: There is no Route HF
  617. Jan 18 13:31:01 [20827] DBG:core:parse_headers: flags=78
  618. Jan 18 13:31:01 [20827] DBG:tm:t_lookup_request: start searching: hash=27566, isACK=1
  619. Jan 18 13:31:01 [20827] DBG:tm:matching_3261: RFC3261 transaction matched, tid=-d87543-3a7e4c783d45566e-1--d87543-
  620. Jan 18 13:31:01 [20827] DBG:tm:t_lookup_request: REF_UNSAFE:[0x7fda3896a1d8] after is 1
  621. Jan 18 13:31:01 [20827] DBG:tm:t_lookup_request: transaction found (T=0x7fda3896a1d8)
  622. Jan 18 13:31:01 [20827] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
  623. Jan 18 13:31:01 [20827] DBG:tm:insert_timer_unsafe: [2]: 0x7fda3896a258 (15)
  624. Jan 18 13:31:01 [20827] DBG:tm:t_unref: UNREF_UNSAFE: [0x7fda3896a1d8] after is 0
  625. Jan 18 13:31:01 [20827] DBG:core:destroy_avp_list: destroying list 0x7fda3896eca0
  626. Jan 18 13:31:01 [20827] DBG:core:receive_msg: cleaning up
  627. Jan 18 13:31:02 [20832] DBG:tm:utimer_routine: timer routine:4,tl=0x7fda3896a3f8 next=0x7fda3896a320, timeout=6100000
  628. Jan 18 13:31:02 [20832] DBG:tm:utimer_routine: timer routine:4,tl=0x7fda3896a320 next=(nil), timeout=6100000
  629. Jan 18 13:31:06 [20834] DBG:db_virtual:reconnect_timer: reconnect with timer
  630. Jan 18 13:31:11 [20832] DBG:tm:timer_routine: timer routine:0,tl=0x7fda3896a428 next=0x7fda3896a350, timeout=15
  631. Jan 18 13:31:11 [20832] DBG:tm:timer_routine: timer routine:0,tl=0x7fda3896a350 next=(nil), timeout=15
  632. Jan 18 13:31:11 [20832] DBG:tm:timer_routine: timer routine:2,tl=0x7fda3896a258 next=(nil), timeout=15
  633. Jan 18 13:31:11 [20832] DBG:tm:wait_handler: removing 0x7fda3896a1d8 from table
  634. Jan 18 13:31:11 [20832] DBG:tm:delete_cell: delete transaction 0x7fda3896a1d8
  635. Jan 18 13:31:11 [20832] DBG:dialog:next_state_dlg: dialog 0x7fda3896bc20 changed from state 5 to state 5, due event 1
  636. Jan 18 13:31:11 [20832] DBG:dialog:unref_dlg: unref dlg 0x7fda3896bc20 with 1 -> 0
  637. Jan 18 13:31:11 [20832] DBG:dialog:unref_dlg: ref <=0 for dialog 0x7fda3896bc20
  638. Jan 18 13:31:11 [20832] DBG:dialog:destroy_dlg: destroing dialog 0x7fda3896bc20
  639. Jan 18 13:31:11 [20832] DBG:dialog:destroy_dlg: dlg expired or not in list - dlg 0x7fda3896bc20 [2935:448837896] with clid '9e24cf200560df0cNzliYjMwZTYzOWE5MjFhZjllZDYxZTk1YzcwNWNiZGQ.' and tags '300f161a' 'NULL'
  640. Jan 18 13:31:11 [20832] DBG:dialog:run_dlg_callbacks: dialog=0x7fda3896bc20, type=2048
  641. Jan 18 13:31:11 [20832] DBG:tm:wait_handler: done
  642. Jan 18 13:31:16 [20834] DBG:db_virtual:reconnect_timer: reconnect with timer
  643. Jan 18 13:31:26 [20834] DBG:db_virtual:reconnect_timer: reconnect with timer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement