Advertisement
Guest User

sip call trace

a guest
May 27th, 2010
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.83 KB | None | 0 0
  1. Here is my kamailio.cfg:
  2.  
  3. kamailio1:/etc/kamailio# more kamailio.cfg
  4. ####### Global Parameters #########
  5.  
  6. #debug=3
  7. #log_stderror=no
  8. #fork=yes
  9.  
  10. /* for debugging */
  11. debug=4
  12. log_stderror=yes
  13. fork=no
  14.  
  15. children=9
  16. log_facility=LOG_LOCAL0
  17. disable_tcp=yes
  18. auto_aliases=no
  19. listen=udp:10.10.12.53:5060
  20. #check_via=no
  21. dns=off
  22. rev_dns=off
  23.  
  24. ####### Modules Section ########
  25.  
  26. mpath="/usr/local/lib/kamailio/modules/"
  27.  
  28. /* uncomment next line for MySQL DB support */
  29. loadmodule "db_mysql.so"
  30. loadmodule "mi_fifo.so"
  31. loadmodule "sl.so"
  32. loadmodule "tm.so"
  33. loadmodule "rr.so"
  34. loadmodule "pv.so"
  35. loadmodule "maxfwd.so"
  36. loadmodule "db_text.so"
  37. loadmodule "alias_db.so"
  38. loadmodule "siputils.so"
  39. loadmodule "permissions.so"
  40. loadmodule "textops.so"
  41. loadmodule "uri_db.so"
  42. loadmodule "xlog.so"
  43. loadmodule "carrierroute.so"
  44. # ----------------- setting module-specific parameters ---------------
  45.  
  46. # ----- tm params -----
  47. modparam("tm", "fr_timer", 2)
  48. modparam("tm", "fr_inv_timer_next", 3)
  49.  
  50. # ----- mi_fifo params -----
  51. modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
  52.  
  53. # ----- rr params -----
  54. modparam("rr", "enable_full_lr", 1)
  55. modparam("rr", "append_fromtag", 0)
  56.  
  57. # ----- alias_db params -----
  58. modparam("alias_db", "db_url", "mysql://openserro:openserro@localhost/openser")
  59. modparam("alias_db", "domain_prefix", "sip.")
  60.  
  61. # ----- permissions params -----
  62. modparam("permissions", "db_url", "mysql://openserro:openserro@localhost/openser")
  63. modparam("permissions", "db_mode", 0)
  64.  
  65. # ----- carrierroute params -----
  66. modparam("carrierroute", "config_source", "db")
  67. modparam("carrierroute", "use_domain", 0)
  68. modparam("carrierroute", "db_url", "mysql://openserro:openserro@localhost/openser")
  69.  
  70. ####### Routing Logic ########
  71.  
  72.  
  73. # main request routing logic
  74.  
  75. route {
  76.  
  77.  
  78. if (!mf_process_maxfwd_header("10")) {
  79. sl_send_reply("483","Too Many Hops");
  80. exit;
  81. }
  82.  
  83. if ($rU==NULL) {
  84. # request with no Username in RURI
  85. sl_send_reply("484","Address Incomplete");
  86. exit;
  87. }
  88.  
  89. if (msg:len >= 2048 ) {
  90. sl_send_reply("513", "Message too big");
  91. exit;
  92. };
  93.  
  94. if (!allow_trusted()) {
  95. sl_send_reply("403", "Forbidden");
  96. exit;
  97. };
  98.  
  99. if (is_method("CANCEL")) {
  100. if (t_check_trans())
  101. t_relay();
  102. exit;
  103. }
  104.  
  105. t_check_trans();
  106.  
  107. route(2);
  108. }
  109.  
  110.  
  111. route[1] {
  112.  
  113. if (is_method("INVITE")) {
  114. t_on_failure("2");
  115. }
  116.  
  117. if (!t_relay()) {
  118. sl_reply_error();
  119. }
  120. exit;
  121. }
  122.  
  123. route[2] {
  124. if(!cr_route("1", "1", "$rU", "$rU", "call_id")){
  125. sl_send_reply("403", "Not allowed");
  126. } else {
  127. t_on_failure("2");
  128. t_relay();
  129. }
  130. }
  131.  
  132. failure_route[2] {
  133. if (t_check_status("408|5[0-9][0-9]")) {
  134. if(!cr_route("1", "2", "$rU", "$rU", "call_id")){
  135. t_reply("403", "Not allowed");
  136. } else {
  137. t_relay();
  138. }
  139. }
  140. }
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. Here is the debug from kamailio:
  150.  
  151. May 27 09:06:59 [25597] DBG:core:parse_msg: SIP Request:
  152. May 27 09:06:59 [25597] DBG:core:parse_msg: method: <INVITE>
  153. May 27 09:06:59 [25597] DBG:core:parse_msg: uri: <sip:[email protected]:5060>
  154. May 27 09:06:59 [25597] DBG:core:parse_msg: version: <SIP/2.0>
  155. May 27 09:06:59 [25597] DBG:core:parse_headers: flags=2
  156. May 27 09:06:59 [25597] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-27930-1-0>; state=16
  157. May 27 09:06:59 [25597] DBG:core:parse_via: end of header reached, state=5
  158. May 27 09:06:59 [25597] DBG:core:parse_headers: via found, flags=2
  159. May 27 09:06:59 [25597] DBG:core:parse_headers: this is the first via
  160. May 27 09:06:59 [25597] DBG:core:receive_msg: After parse_msg...
  161. May 27 09:06:59 [25597] DBG:core:receive_msg: preparing to run routing scripts...
  162. May 27 09:06:59 [25597] DBG:core:parse_headers: flags=100
  163. May 27 09:06:59 [25597] DBG:core:parse_to: end of header reached, state=10
  164. May 27 09:06:59 [25597] DBG:core:parse_to: display={sut}, ruri={sip:[email protected]:5060}
  165. May 27 09:06:59 [25597] DBG:core:get_hdr_field: <To> [33]; uri=[sip:[email protected]:5060]
  166. May 27 09:06:59 [25597] DBG:core:get_hdr_field: to body [sut <sip:[email protected]:5060>
  167. ]
  168. May 27 09:06:59 [25597] DBG:core:get_hdr_field: cseq <CSeq>: <1> <INVITE>
  169. May 27 09:06:59 [25597] DBG:maxfwd:is_maxfwd_present: value = 70
  170. May 27 09:06:59 [25597] DBG:core:db_new_result: allocate 28 bytes for result set at 0x816cba8
  171. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: 3 columns returned from the query
  172. May 27 09:06:59 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result names at 0x816cbe8
  173. May 27 09:06:59 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result types at 0x816cbd0
  174. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at 0x816a7d0
  175. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a7d0)[0]=[proto]
  176. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  177. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[1] at 0x816a810
  178. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a810)[1]=[from_pattern]
  179. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  180. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[2] at 0x816a760
  181. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a760)[2]=[tag]
  182. May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  183. May 27 09:06:59 [25597] DBG:core:db_allocate_rows: allocate 8 bytes for rows at 0x816cc00
  184. May 27 09:06:59 [25597] DBG:core:db_allocate_row: allocate 60 bytes for row values at 0x816cd18
  185. May 27 09:06:59 [25597] DBG:core:db_str2val: converting STRING [udp]
  186. May 27 09:06:59 [25597] DBG:core:db_str2val: converting NULL valueMay 27 09:06:59 [25597] DBG:core:db_str2val: converting NULL valueMay 27 09:06:59 [25597] DBG:core:parse_to_param: tag=27930SIPpTag001
  187. May 27 09:06:59 [25597] DBG:core:parse_to: end of header reached, state=29
  188. May 27 09:06:59 [25597] DBG:core:parse_to: display={sipp}, ruri={sip:[email protected]:5061}
  189. May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing 3 columns
  190. May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x816a7d0
  191. May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing RES_NAMES[1] at 0x816a810
  192. May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing RES_NAMES[2] at 0x816a760
  193. May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing result names at 0x816cbe8
  194. May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing result types at 0x816cbd0
  195. May 27 09:06:59 [25597] DBG:core:db_free_rows: freeing 1 rows
  196. May 27 09:06:59 [25597] DBG:core:db_free_row: freeing row values at 0x816cd18
  197. May 27 09:06:59 [25597] DBG:core:db_free_rows: freeing rows at 0x816cc00
  198. May 27 09:06:59 [25597] DBG:core:db_free_result: freeing result set at 0x816cba8
  199. May 27 09:06:59 [25597] DBG:core:parse_headers: flags=78
  200. May 27 09:06:59 [25597] DBG:tm:t_lookup_request: start searching: hash=29616, isACK=0
  201. May 27 09:06:59 [25597] DBG:tm:matching_3261: RFC3261 transaction matching failed
  202. May 27 09:06:59 [25597] DBG:tm:t_lookup_request: no transaction found
  203. May 27 09:06:59 [25597] DBG:carrierroute:rewrite_on_rule: searching for matching routing rulesMay 27 09:06:59 [25597] DBG:carrierroute:hash_func: hash: 1576147095 % 1000 = 95
  204. May 27 09:06:59 [25597] INFO:carrierroute:cr_do_route: uri 3465 was rewritten to sip:[email protected], carrier 1, domain 1
  205. May 27 09:06:59 [25597] DBG:tm:t_newtran: transaction on entrance=(nil)
  206. May 27 09:06:59 [25597] DBG:core:parse_headers: flags=ffffffffffffffff
  207. May 27 09:06:59 [25597] DBG:core:get_hdr_field: content_length=133
  208. May 27 09:06:59 [25597] DBG:core:get_hdr_field: found end of header
  209. May 27 09:06:59 [25597] DBG:core:parse_headers: flags=78
  210. May 27 09:06:59 [25597] DBG:tm:t_lookup_request: start searching: hash=29616, isACK=0
  211. May 27 09:06:59 [25597] DBG:tm:matching_3261: RFC3261 transaction matching failed
  212. May 27 09:06:59 [25597] DBG:tm:t_lookup_request: no transaction found
  213. May 27 09:06:59 [25597] DBG:core:parse_headers: flags=ffffffffffffffff
  214. May 27 09:06:59 [25597] DBG:core:check_via_address: params 10.10.14.97, 10.10.14.97, 0
  215. May 27 09:06:59 [25597] DBG:core:_shm_resize: resize(0) called
  216. May 27 09:06:59 [25597] DBG:tm:_reply_light: reply sent out. buf=0x8163d18: SIP/2.0 1..., shmem=0xb5c0f870: SIP/2.0 1
  217. May 27 09:06:59 [25597] DBG:tm:_reply_light: finished
  218. May 27 09:06:59 [25597] DBG:core:mk_proxy: doing DNS lookup...
  219. May 27 09:06:59 [25597] DBG:core:check_via_address: params 10.10.14.97, 10.10.14.97, 0
  220. May 27 09:06:59 [25597] DBG:tm:set_timer: relative timeout is 500000
  221. May 27 09:06:59 [25597] DBG:tm:insert_timer_unsafe: [4]: 0xb5c188f4 (65900000)
  222. May 27 09:06:59 [25597] DBG:tm:set_timer: relative timeout is 2
  223. May 27 09:06:59 [25597] DBG:tm:insert_timer_unsafe: [0]: 0xb5c18910 (67)
  224. May 27 09:06:59 [25597] DBG:tm:t_relay_to: new transaction fwd'ed
  225. May 27 09:06:59 [25597] DBG:tm:t_unref: UNREF_UNSAFE: after is 0
  226. May 27 09:06:59 [25597] DBG:core:destroy_avp_list: destroying list (nil)
  227. May 27 09:06:59 [25597] DBG:core:receive_msg: cleaning up
  228. May 27 09:06:59 [25598] DBG:tm:utimer_routine: timer routine:4,tl=0xb5c188f4 next=(nil), timeout=65900000
  229. May 27 09:06:59 [25598] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb5c187a8, INVITE si ... )
  230. May 27 09:06:59 [25598] DBG:tm:set_timer: relative timeout is 1000000
  231. May 27 09:06:59 [25598] DBG:tm:insert_timer_unsafe: [5]: 0xb5c188f4 (66900000)
  232. May 27 09:06:59 [25598] DBG:tm:retransmission_handler: retransmission_handler : done
  233. May 27 09:07:00 [25598] DBG:tm:utimer_routine: timer routine:5,tl=0xb5c188f4 next=(nil), timeout=66900000
  234. May 27 09:07:00 [25598] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb5c187a8, INVITE si ... )
  235. May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 2000000
  236. May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [6]: 0xb5c188f4 (68900000)
  237. May 27 09:07:00 [25598] DBG:tm:retransmission_handler: retransmission_handler : done
  238. May 27 09:07:00 [25598] DBG:tm:timer_routine: timer routine:0,tl=0xb5c18910 next=(nil), timeout=67
  239. May 27 09:07:00 [25598] DBG:tm:final_response_handler: stop retr. and send CANCEL (0xb5c187a8)
  240. May 27 09:07:00 [25598] DBG:tm:t_should_relay_response: T_code=100, new_code=408
  241. May 27 09:07:00 [25598] DBG:tm:t_pick_branch: picked branch 0, code 408
  242. May 27 09:07:00 [25598] DBG:tm:is_3263_failure: dns-failover test: branch=0, last_recv=408, flags=1
  243. May 27 09:07:00 [25598] DBG:tm:t_should_relay_response: trying DNS-based failover
  244. May 27 09:07:00 [25598] DBG:tm:t_check_status: checked status is <408>
  245. May 27 09:07:00 [25598] INFO:carrierroute:rewrite_uri_recursor: URI or prefix tree nodes empty, empty rule list
  246. May 27 09:07:00 [25598] INFO:carrierroute:cr_do_route: rewrite_uri_recursor doesn't complete, uri 65, carrier 1, domain 2
  247. May 27 09:07:00 [25598] DBG:tm:w_t_reply: t_reply_unsafe called from w_t_reply
  248. May 27 09:07:00 [25598] DBG:core:parse_headers: flags=ffffffffffffffff
  249. May 27 09:07:00 [25598] DBG:core:check_via_address: params 10.10.14.97, 10.10.14.97, 0
  250. May 27 09:07:00 [25598] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
  251. May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 500000
  252. May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [4]: 0xb5c18870 (67500000)
  253. May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 2
  254. May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [0]: 0xb5c1888c (69)
  255. May 27 09:07:00 [25598] DBG:tm:_reply_light: reply sent out. buf=0x816f7c8: SIP/2.0 4..., shmem=0xb5c16620: SIP/2.0 4
  256. May 27 09:07:00 [25598] DBG:tm:_reply_light: finished
  257. May 27 09:07:00 [25598] DBG:tm:relay_reply: branch=0, save=0, relay=-1
  258. May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 500000
  259. May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [4]: 0xb5c18870 (67500000)
  260. May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 2
  261. May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [0]: 0xb5c1888c (69)
  262. May 27 09:07:00 [25598] DBG:tm:final_response_handler: done
  263. May 27 09:07:00 [25597] DBG:core:parse_msg: SIP Request:
  264. May 27 09:07:00 [25597] DBG:core:parse_msg: method: <ACK>
  265. May 27 09:07:00 [25597] DBG:core:parse_msg: uri: <sip:[email protected]:5060>
  266. May 27 09:07:00 [25597] DBG:core:parse_msg: version: <SIP/2.0>
  267. May 27 09:07:00 [25597] DBG:core:parse_headers: flags=2
  268. May 27 09:07:00 [25597] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-27930-1-0>; state=16
  269. May 27 09:07:00 [25597] DBG:core:parse_via: end of header reached, state=5
  270. May 27 09:07:00 [25597] DBG:core:parse_headers: via found, flags=2
  271. May 27 09:07:00 [25597] DBG:core:parse_headers: this is the first via
  272. May 27 09:07:00 [25597] DBG:core:receive_msg: After parse_msg...
  273. May 27 09:07:00 [25597] DBG:core:receive_msg: preparing to run routing scripts...
  274. May 27 09:07:00 [25597] DBG:sl:sl_filter_ACK: to late to be a local ACK!
  275. May 27 09:07:00 [25597] DBG:core:parse_headers: flags=100
  276. May 27 09:07:00 [25597] DBG:core:parse_to_param: tag=d742863c3e8d4b6ecb472330edcd405a-8162
  277. May 27 09:07:00 [25597] DBG:core:parse_to: end of header reached, state=29
  278. May 27 09:07:00 [25597] DBG:core:parse_to: display={sut}, ruri={sip:[email protected]:5060}
  279. May 27 09:07:00 [25597] DBG:core:get_hdr_field: <To> [75]; uri=[sip:[email protected]:5060]
  280. May 27 09:07:00 [25597] DBG:core:get_hdr_field: to body [sut <sip:[email protected]:5060>]
  281. May 27 09:07:00 [25597] DBG:core:get_hdr_field: cseq <CSeq>: <1> <ACK>
  282. May 27 09:07:00 [25597] DBG:maxfwd:is_maxfwd_present: value = 70
  283. May 27 09:07:00 [25597] DBG:core:db_new_result: allocate 28 bytes for result set at 0x816cba8
  284. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: 3 columns returned from the query
  285. May 27 09:07:00 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result names at 0x816cbd0
  286. May 27 09:07:00 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result types at 0x816cbe8
  287. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at 0x816a760
  288. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a760)[0]=[proto]
  289. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  290. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[1] at 0x816a810
  291. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a810)[1]=[from_pattern]
  292. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  293. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[2] at 0x816cc00
  294. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816cc00)[2]=[tag]
  295. May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
  296. May 27 09:07:00 [25597] DBG:core:db_allocate_rows: allocate 8 bytes for rows at 0x816a7d0
  297. May 27 09:07:00 [25597] DBG:core:db_allocate_row: allocate 60 bytes for row values at 0x816cd18
  298. May 27 09:07:00 [25597] DBG:core:db_str2val: converting STRING [udp]
  299. May 27 09:07:00 [25597] DBG:core:db_str2val: converting NULL valueMay 27 09:07:00 [25597] DBG:core:db_str2val: converting NULL valueMay 27 09:07:00 [25597] DBG:core:parse_to_param: tag=1
  300. May 27 09:07:00 [25597] DBG:core:parse_to: end of header reached, state=29
  301. May 27 09:07:00 [25597] DBG:core:parse_to: display={sipp}, ruri={sip:[email protected]:5061}
  302. May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing 3 columns
  303. May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x816a760
  304. May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing RES_NAMES[1] at 0x816a810
  305. May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing RES_NAMES[2] at 0x816cc00
  306. May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing result names at 0x816cbd0
  307. May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing result types at 0x816cbe8
  308. May 27 09:07:00 [25597] DBG:core:db_free_rows: freeing 1 rows
  309. May 27 09:07:00 [25597] DBG:core:db_free_row: freeing row values at 0x816cd18
  310. May 27 09:07:00 [25597] DBG:core:db_free_rows: freeing rows at 0x816a7d0
  311. May 27 09:07:00 [25597] DBG:core:db_free_result: freeing result set at 0x816cba8
  312. May 27 09:07:00 [25597] DBG:core:parse_headers: flags=78
  313. May 27 09:07:00 [25597] DBG:tm:t_lookup_request: start searching: hash=29616, isACK=1
  314. May 27 09:07:00 [25597] DBG:tm:matching_3261: RFC3261 transaction matched, tid=-27930-1-0
  315. May 27 09:07:00 [25597] DBG:tm:t_lookup_request: REF_UNSAFE: after is 1
  316. May 27 09:07:00 [25597] DBG:tm:t_lookup_request: transaction found (T=0xb5c187a8)
  317. May 27 09:07:00 [25597] DBG:carrierroute:rewrite_on_rule: searching for matching routing rulesMay 27 09:07:00 [25597] DBG:carrierroute:hash_func: hash: 1576147095 % 1000 = 95
  318. May 27 09:07:00 [25597] INFO:carrierroute:cr_do_route: uri 3465 was rewritten to sip:[email protected], carrier 1, domain 1
  319. May 27 09:07:00 [25597] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
  320. May 27 09:07:00 [25597] DBG:tm:insert_timer_unsafe: [2]: 0xb5c187f0 (72)
  321. May 27 09:07:00 [25597] DBG:tm:t_unref: UNREF_UNSAFE: after is 0
  322. May 27 09:07:00 [25597] DBG:core:destroy_avp_list: destroying list (nil)
  323. May 27 09:07:00 [25597] DBG:core:receive_msg: cleaning up
  324. May 27 09:07:01 [25598] DBG:tm:utimer_routine: timer routine:4,tl=0xb5c18870 next=(nil), timeout=67500000
  325. May 27 09:07:02 [25598] DBG:tm:utimer_routine: timer routine:6,tl=0xb5c188f4 next=(nil), timeout=68900000
  326. May 27 09:07:02 [25598] DBG:tm:timer_routine: timer routine:0,tl=0xb5c1888c next=(nil), timeout=69
  327. May 27 09:07:05 [25598] DBG:tm:timer_routine: timer routine:2,tl=0xb5c187f0 next=(nil), timeout=72
  328. May 27 09:07:05 [25598] DBG:tm:wait_handler: removing 0xb5c187a8 from table
  329. May 27 09:07:05 [25598] DBG:tm:delete_cell: delete transaction 0xb5c187a8
  330. May 27 09:07:05 [25598] DBG:tm:wait_handler: done
  331.  
  332.  
  333.  
  334. Here is the error that sipp received:
  335.  
  336. 2010-05-27 09:07:00: Aborting call on unexpected message for Call-ID '[email protected]': while expecting '100' response, received 'SIP/2.0 403 Not allowed
  337. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27930-1-0
  338. From: sipp <sip:[email protected]:5061>;tag=27930SIPpTag001
  339. To: sut <sip:[email protected]:5060>;tag=d742863c3e8d4b6ecb472330edcd405a-8162
  340. CSeq: 1 INVITE
  341. Server: Kamailio (1.5.4-notls (i386/linux))
  342. Content-Length: 0
  343.  
  344.  
  345.  
  346. ngrep trace:
  347.  
  348. kamailio1:~# ngrep -W byline -d any port 5060
  349. interface: any
  350. filter: (ip or ip6) and ( port 5060 )
  351. #
  352. U 10.10.14.97:5061 -> 10.10.12.53:5060
  353. INVITE sip:[email protected]:5060 SIP/2.0.
  354. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
  355. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  356. To: sut <sip:[email protected]:5060>.
  357. CSeq: 1 INVITE.
  358. Contact: sip:[email protected]:5061.
  359. Max-Forwards: 70.
  360. Subject: Performance Test.
  361. Content-Type: application/sdp.
  362. Content-Length: 133.
  363. .
  364. v=0.
  365. o=user1 53655765 2353687637 IN IP4 10.10.14.97.
  366. s=-.
  367. c=IN IP4 10.10.14.97.
  368. t=0 0.
  369. m=audio 6000 RTP/AVP 0.
  370. a=rtpmap:0 PCMU/8000.
  371.  
  372. #
  373. U 10.10.12.53:5060 -> 10.10.14.97:5061
  374. SIP/2.0 100 Giving a try.
  375. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
  376. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  377. To: sut <sip:[email protected]:5060>.
  378. CSeq: 1 INVITE.
  379. Server: Kamailio (1.5.4-notls (i386/linux)).
  380. Content-Length: 0.
  381. .
  382.  
  383. #
  384. U 10.10.12.53:5060 -> 10.10.14.103:5060
  385. INVITE sip:[email protected] SIP/2.0.
  386. Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.0.
  387. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
  388. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  389. To: sut <sip:[email protected]:5060>.
  390. CSeq: 1 INVITE.
  391. Contact: sip:[email protected]:5061.
  392. Max-Forwards: 69.
  393. Subject: Performance Test.
  394. Content-Type: application/sdp.
  395. Content-Length: 133.
  396. .
  397. v=0.
  398. o=user1 53655765 2353687637 IN IP4 10.10.14.97.
  399. s=-.
  400. c=IN IP4 10.10.14.97.
  401. t=0 0.
  402. m=audio 6000 RTP/AVP 0.
  403. a=rtpmap:0 PCMU/8000.
  404.  
  405. #
  406. U 10.10.14.103:5060 -> 10.10.12.53:5060
  407. SIP/2.0 100 Trying.
  408. Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.0;received=10.10.12.53.
  409. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
  410. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  411. To: sut <sip:[email protected]:5060>.
  412. CSeq: 1 INVITE.
  413. User-Agent: Asterisk PBX.
  414. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
  415. Supported: replaces.
  416. Contact: <sip:[email protected]>.
  417. Content-Length: 0.
  418. .
  419.  
  420. #
  421. U 10.10.14.103:5060 -> 10.10.12.53:5060
  422. SIP/2.0 200 OK.
  423. Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.0;received=10.10.12.53.
  424. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
  425. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  426. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  427. CSeq: 1 INVITE.
  428. User-Agent: Asterisk PBX.
  429. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
  430. Supported: replaces.
  431. Contact: <sip:[email protected]>.
  432. Content-Type: application/sdp.
  433. Content-Length: 184.
  434. .
  435. v=0.
  436. o=root 13757 13757 IN IP4 10.10.14.103.
  437. s=session.
  438. c=IN IP4 10.10.14.103.
  439. t=0 0.
  440. m=audio 21118 RTP/AVP 0.
  441. a=rtpmap:0 PCMU/8000.
  442. a=silenceSupp:off - - - -.
  443. a=ptime:20.
  444. a=sendrecv.
  445.  
  446. #
  447. U 10.10.12.53:5060 -> 10.10.14.97:5061
  448. SIP/2.0 200 OK.
  449. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
  450. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  451. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  452. CSeq: 1 INVITE.
  453. User-Agent: Asterisk PBX.
  454. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
  455. Supported: replaces.
  456. Contact: <sip:[email protected]>.
  457. Content-Type: application/sdp.
  458. Content-Length: 184.
  459. .
  460. v=0.
  461. o=root 13757 13757 IN IP4 10.10.14.103.
  462. s=session.
  463. c=IN IP4 10.10.14.103.
  464. t=0 0.
  465. m=audio 21118 RTP/AVP 0.
  466. a=rtpmap:0 PCMU/8000.
  467. a=silenceSupp:off - - - -.
  468. a=ptime:20.
  469. a=sendrecv.
  470.  
  471. #
  472. U 10.10.14.97:5061 -> 10.10.12.53:5060
  473. ACK sip:[email protected]:5060 SIP/2.0.
  474. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-5.
  475. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  476. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  477. CSeq: 1 ACK.
  478. Contact: sip:[email protected]:5061.
  479. Max-Forwards: 70.
  480. Subject: Performance Test.
  481. Content-Length: 0.
  482. .
  483.  
  484. #
  485. U 10.10.12.53:5060 -> 10.10.14.103:5060
  486. ACK sip:[email protected] SIP/2.0.
  487. Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.2.
  488. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-5.
  489. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  490. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  491. CSeq: 1 ACK.
  492. Contact: sip:[email protected]:5061.
  493. Max-Forwards: 69.
  494. Subject: Performance Test.
  495. Content-Length: 0.
  496. .
  497.  
  498. #
  499. U 10.10.14.97:5061 -> 10.10.12.53:5060
  500. BYE sip:[email protected]:5060 SIP/2.0.
  501. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
  502. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  503. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  504. CSeq: 2 BYE.
  505. Contact: sip:[email protected]:5061.
  506. Max-Forwards: 70.
  507. Subject: Performance Test.
  508. Content-Length: 0.
  509. .
  510.  
  511. #
  512. U 10.10.12.53:5060 -> 10.10.14.103:5060
  513. BYE sip:[email protected] SIP/2.0.
  514. Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK3aec.7541ba62.0.
  515. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
  516. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  517. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  518. CSeq: 2 BYE.
  519. Contact: sip:[email protected]:5061.
  520. Max-Forwards: 69.
  521. Subject: Performance Test.
  522. Content-Length: 0.
  523. .
  524.  
  525. #
  526. U 10.10.14.103:5060 -> 10.10.12.53:5060
  527. SIP/2.0 200 OK.
  528. Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK3aec.7541ba62.0;received=10.10.12.53.
  529. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
  530. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  531. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  532. CSeq: 2 BYE.
  533. User-Agent: Asterisk PBX.
  534. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
  535. Supported: replaces.
  536. Contact: <sip:[email protected]>.
  537. Content-Length: 0.
  538. .
  539.  
  540. #
  541. U 10.10.12.53:5060 -> 10.10.14.97:5061
  542. SIP/2.0 200 OK.
  543. Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
  544. From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
  545. To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
  546. CSeq: 2 BYE.
  547. User-Agent: Asterisk PBX.
  548. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
  549. Supported: replaces.
  550. Contact: <sip:[email protected]>.
  551. Content-Length: 0.
  552. .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement