Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is my kamailio.cfg:
- kamailio1:/etc/kamailio# more kamailio.cfg
- ####### Global Parameters #########
- #debug=3
- #log_stderror=no
- #fork=yes
- /* for debugging */
- debug=4
- log_stderror=yes
- fork=no
- children=9
- log_facility=LOG_LOCAL0
- disable_tcp=yes
- auto_aliases=no
- listen=udp:10.10.12.53:5060
- #check_via=no
- dns=off
- rev_dns=off
- ####### Modules Section ########
- mpath="/usr/local/lib/kamailio/modules/"
- /* uncomment next line for MySQL DB support */
- loadmodule "db_mysql.so"
- loadmodule "mi_fifo.so"
- loadmodule "sl.so"
- loadmodule "tm.so"
- loadmodule "rr.so"
- loadmodule "pv.so"
- loadmodule "maxfwd.so"
- loadmodule "db_text.so"
- loadmodule "alias_db.so"
- loadmodule "siputils.so"
- loadmodule "permissions.so"
- loadmodule "textops.so"
- loadmodule "uri_db.so"
- loadmodule "xlog.so"
- loadmodule "carrierroute.so"
- # ----------------- setting module-specific parameters ---------------
- # ----- tm params -----
- modparam("tm", "fr_timer", 2)
- modparam("tm", "fr_inv_timer_next", 3)
- # ----- mi_fifo params -----
- modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
- # ----- rr params -----
- modparam("rr", "enable_full_lr", 1)
- modparam("rr", "append_fromtag", 0)
- # ----- alias_db params -----
- modparam("alias_db", "db_url", "mysql://openserro:openserro@localhost/openser")
- modparam("alias_db", "domain_prefix", "sip.")
- # ----- permissions params -----
- modparam("permissions", "db_url", "mysql://openserro:openserro@localhost/openser")
- modparam("permissions", "db_mode", 0)
- # ----- carrierroute params -----
- modparam("carrierroute", "config_source", "db")
- modparam("carrierroute", "use_domain", 0)
- modparam("carrierroute", "db_url", "mysql://openserro:openserro@localhost/openser")
- ####### Routing Logic ########
- # main request routing logic
- route {
- if (!mf_process_maxfwd_header("10")) {
- sl_send_reply("483","Too Many Hops");
- exit;
- }
- if ($rU==NULL) {
- # request with no Username in RURI
- sl_send_reply("484","Address Incomplete");
- exit;
- }
- if (msg:len >= 2048 ) {
- sl_send_reply("513", "Message too big");
- exit;
- };
- if (!allow_trusted()) {
- sl_send_reply("403", "Forbidden");
- exit;
- };
- if (is_method("CANCEL")) {
- if (t_check_trans())
- t_relay();
- exit;
- }
- t_check_trans();
- route(2);
- }
- route[1] {
- if (is_method("INVITE")) {
- t_on_failure("2");
- }
- if (!t_relay()) {
- sl_reply_error();
- }
- exit;
- }
- route[2] {
- if(!cr_route("1", "1", "$rU", "$rU", "call_id")){
- sl_send_reply("403", "Not allowed");
- } else {
- t_on_failure("2");
- t_relay();
- }
- }
- failure_route[2] {
- if (t_check_status("408|5[0-9][0-9]")) {
- if(!cr_route("1", "2", "$rU", "$rU", "call_id")){
- t_reply("403", "Not allowed");
- } else {
- t_relay();
- }
- }
- }
- Here is the debug from kamailio:
- May 27 09:06:59 [25597] DBG:core:parse_msg: SIP Request:
- May 27 09:06:59 [25597] DBG:core:parse_msg: method: <INVITE>
- May 27 09:06:59 [25597] DBG:core:parse_msg: uri: <sip:[email protected]:5060>
- May 27 09:06:59 [25597] DBG:core:parse_msg: version: <SIP/2.0>
- May 27 09:06:59 [25597] DBG:core:parse_headers: flags=2
- May 27 09:06:59 [25597] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-27930-1-0>; state=16
- May 27 09:06:59 [25597] DBG:core:parse_via: end of header reached, state=5
- May 27 09:06:59 [25597] DBG:core:parse_headers: via found, flags=2
- May 27 09:06:59 [25597] DBG:core:parse_headers: this is the first via
- May 27 09:06:59 [25597] DBG:core:receive_msg: After parse_msg...
- May 27 09:06:59 [25597] DBG:core:receive_msg: preparing to run routing scripts...
- May 27 09:06:59 [25597] DBG:core:parse_headers: flags=100
- May 27 09:06:59 [25597] DBG:core:parse_to: end of header reached, state=10
- May 27 09:06:59 [25597] DBG:core:parse_to: display={sut}, ruri={sip:[email protected]:5060}
- May 27 09:06:59 [25597] DBG:core:get_hdr_field: <To> [33]; uri=[sip:[email protected]:5060]
- May 27 09:06:59 [25597] DBG:core:get_hdr_field: to body [sut <sip:[email protected]:5060>
- ]
- May 27 09:06:59 [25597] DBG:core:get_hdr_field: cseq <CSeq>: <1> <INVITE>
- May 27 09:06:59 [25597] DBG:maxfwd:is_maxfwd_present: value = 70
- May 27 09:06:59 [25597] DBG:core:db_new_result: allocate 28 bytes for result set at 0x816cba8
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: 3 columns returned from the query
- May 27 09:06:59 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result names at 0x816cbe8
- May 27 09:06:59 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result types at 0x816cbd0
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at 0x816a7d0
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a7d0)[0]=[proto]
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[1] at 0x816a810
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a810)[1]=[from_pattern]
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[2] at 0x816a760
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a760)[2]=[tag]
- May 27 09:06:59 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
- May 27 09:06:59 [25597] DBG:core:db_allocate_rows: allocate 8 bytes for rows at 0x816cc00
- May 27 09:06:59 [25597] DBG:core:db_allocate_row: allocate 60 bytes for row values at 0x816cd18
- May 27 09:06:59 [25597] DBG:core:db_str2val: converting STRING [udp]
- 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
- May 27 09:06:59 [25597] DBG:core:parse_to: end of header reached, state=29
- May 27 09:06:59 [25597] DBG:core:parse_to: display={sipp}, ruri={sip:[email protected]:5061}
- May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing 3 columns
- May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x816a7d0
- May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing RES_NAMES[1] at 0x816a810
- May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing RES_NAMES[2] at 0x816a760
- May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing result names at 0x816cbe8
- May 27 09:06:59 [25597] DBG:core:db_free_columns: freeing result types at 0x816cbd0
- May 27 09:06:59 [25597] DBG:core:db_free_rows: freeing 1 rows
- May 27 09:06:59 [25597] DBG:core:db_free_row: freeing row values at 0x816cd18
- May 27 09:06:59 [25597] DBG:core:db_free_rows: freeing rows at 0x816cc00
- May 27 09:06:59 [25597] DBG:core:db_free_result: freeing result set at 0x816cba8
- May 27 09:06:59 [25597] DBG:core:parse_headers: flags=78
- May 27 09:06:59 [25597] DBG:tm:t_lookup_request: start searching: hash=29616, isACK=0
- May 27 09:06:59 [25597] DBG:tm:matching_3261: RFC3261 transaction matching failed
- May 27 09:06:59 [25597] DBG:tm:t_lookup_request: no transaction found
- 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
- May 27 09:06:59 [25597] INFO:carrierroute:cr_do_route: uri 3465 was rewritten to sip:[email protected], carrier 1, domain 1
- May 27 09:06:59 [25597] DBG:tm:t_newtran: transaction on entrance=(nil)
- May 27 09:06:59 [25597] DBG:core:parse_headers: flags=ffffffffffffffff
- May 27 09:06:59 [25597] DBG:core:get_hdr_field: content_length=133
- May 27 09:06:59 [25597] DBG:core:get_hdr_field: found end of header
- May 27 09:06:59 [25597] DBG:core:parse_headers: flags=78
- May 27 09:06:59 [25597] DBG:tm:t_lookup_request: start searching: hash=29616, isACK=0
- May 27 09:06:59 [25597] DBG:tm:matching_3261: RFC3261 transaction matching failed
- May 27 09:06:59 [25597] DBG:tm:t_lookup_request: no transaction found
- May 27 09:06:59 [25597] DBG:core:parse_headers: flags=ffffffffffffffff
- May 27 09:06:59 [25597] DBG:core:check_via_address: params 10.10.14.97, 10.10.14.97, 0
- May 27 09:06:59 [25597] DBG:core:_shm_resize: resize(0) called
- 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
- May 27 09:06:59 [25597] DBG:tm:_reply_light: finished
- May 27 09:06:59 [25597] DBG:core:mk_proxy: doing DNS lookup...
- May 27 09:06:59 [25597] DBG:core:check_via_address: params 10.10.14.97, 10.10.14.97, 0
- May 27 09:06:59 [25597] DBG:tm:set_timer: relative timeout is 500000
- May 27 09:06:59 [25597] DBG:tm:insert_timer_unsafe: [4]: 0xb5c188f4 (65900000)
- May 27 09:06:59 [25597] DBG:tm:set_timer: relative timeout is 2
- May 27 09:06:59 [25597] DBG:tm:insert_timer_unsafe: [0]: 0xb5c18910 (67)
- May 27 09:06:59 [25597] DBG:tm:t_relay_to: new transaction fwd'ed
- May 27 09:06:59 [25597] DBG:tm:t_unref: UNREF_UNSAFE: after is 0
- May 27 09:06:59 [25597] DBG:core:destroy_avp_list: destroying list (nil)
- May 27 09:06:59 [25597] DBG:core:receive_msg: cleaning up
- May 27 09:06:59 [25598] DBG:tm:utimer_routine: timer routine:4,tl=0xb5c188f4 next=(nil), timeout=65900000
- May 27 09:06:59 [25598] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb5c187a8, INVITE si ... )
- May 27 09:06:59 [25598] DBG:tm:set_timer: relative timeout is 1000000
- May 27 09:06:59 [25598] DBG:tm:insert_timer_unsafe: [5]: 0xb5c188f4 (66900000)
- May 27 09:06:59 [25598] DBG:tm:retransmission_handler: retransmission_handler : done
- May 27 09:07:00 [25598] DBG:tm:utimer_routine: timer routine:5,tl=0xb5c188f4 next=(nil), timeout=66900000
- May 27 09:07:00 [25598] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb5c187a8, INVITE si ... )
- May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 2000000
- May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [6]: 0xb5c188f4 (68900000)
- May 27 09:07:00 [25598] DBG:tm:retransmission_handler: retransmission_handler : done
- May 27 09:07:00 [25598] DBG:tm:timer_routine: timer routine:0,tl=0xb5c18910 next=(nil), timeout=67
- May 27 09:07:00 [25598] DBG:tm:final_response_handler: stop retr. and send CANCEL (0xb5c187a8)
- May 27 09:07:00 [25598] DBG:tm:t_should_relay_response: T_code=100, new_code=408
- May 27 09:07:00 [25598] DBG:tm:t_pick_branch: picked branch 0, code 408
- May 27 09:07:00 [25598] DBG:tm:is_3263_failure: dns-failover test: branch=0, last_recv=408, flags=1
- May 27 09:07:00 [25598] DBG:tm:t_should_relay_response: trying DNS-based failover
- May 27 09:07:00 [25598] DBG:tm:t_check_status: checked status is <408>
- May 27 09:07:00 [25598] INFO:carrierroute:rewrite_uri_recursor: URI or prefix tree nodes empty, empty rule list
- May 27 09:07:00 [25598] INFO:carrierroute:cr_do_route: rewrite_uri_recursor doesn't complete, uri 65, carrier 1, domain 2
- May 27 09:07:00 [25598] DBG:tm:w_t_reply: t_reply_unsafe called from w_t_reply
- May 27 09:07:00 [25598] DBG:core:parse_headers: flags=ffffffffffffffff
- May 27 09:07:00 [25598] DBG:core:check_via_address: params 10.10.14.97, 10.10.14.97, 0
- May 27 09:07:00 [25598] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
- May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 500000
- May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [4]: 0xb5c18870 (67500000)
- May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 2
- May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [0]: 0xb5c1888c (69)
- 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
- May 27 09:07:00 [25598] DBG:tm:_reply_light: finished
- May 27 09:07:00 [25598] DBG:tm:relay_reply: branch=0, save=0, relay=-1
- May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 500000
- May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [4]: 0xb5c18870 (67500000)
- May 27 09:07:00 [25598] DBG:tm:set_timer: relative timeout is 2
- May 27 09:07:00 [25598] DBG:tm:insert_timer_unsafe: [0]: 0xb5c1888c (69)
- May 27 09:07:00 [25598] DBG:tm:final_response_handler: done
- May 27 09:07:00 [25597] DBG:core:parse_msg: SIP Request:
- May 27 09:07:00 [25597] DBG:core:parse_msg: method: <ACK>
- May 27 09:07:00 [25597] DBG:core:parse_msg: uri: <sip:[email protected]:5060>
- May 27 09:07:00 [25597] DBG:core:parse_msg: version: <SIP/2.0>
- May 27 09:07:00 [25597] DBG:core:parse_headers: flags=2
- May 27 09:07:00 [25597] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK-27930-1-0>; state=16
- May 27 09:07:00 [25597] DBG:core:parse_via: end of header reached, state=5
- May 27 09:07:00 [25597] DBG:core:parse_headers: via found, flags=2
- May 27 09:07:00 [25597] DBG:core:parse_headers: this is the first via
- May 27 09:07:00 [25597] DBG:core:receive_msg: After parse_msg...
- May 27 09:07:00 [25597] DBG:core:receive_msg: preparing to run routing scripts...
- May 27 09:07:00 [25597] DBG:sl:sl_filter_ACK: to late to be a local ACK!
- May 27 09:07:00 [25597] DBG:core:parse_headers: flags=100
- May 27 09:07:00 [25597] DBG:core:parse_to_param: tag=d742863c3e8d4b6ecb472330edcd405a-8162
- May 27 09:07:00 [25597] DBG:core:parse_to: end of header reached, state=29
- May 27 09:07:00 [25597] DBG:core:parse_to: display={sut}, ruri={sip:[email protected]:5060}
- May 27 09:07:00 [25597] DBG:core:get_hdr_field: <To> [75]; uri=[sip:[email protected]:5060]
- May 27 09:07:00 [25597] DBG:core:get_hdr_field: to body [sut <sip:[email protected]:5060>]
- May 27 09:07:00 [25597] DBG:core:get_hdr_field: cseq <CSeq>: <1> <ACK>
- May 27 09:07:00 [25597] DBG:maxfwd:is_maxfwd_present: value = 70
- May 27 09:07:00 [25597] DBG:core:db_new_result: allocate 28 bytes for result set at 0x816cba8
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: 3 columns returned from the query
- May 27 09:07:00 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result names at 0x816cbd0
- May 27 09:07:00 [25597] DBG:core:db_allocate_columns: allocate 12 bytes for result types at 0x816cbe8
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at 0x816a760
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a760)[0]=[proto]
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[1] at 0x816a810
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816a810)[1]=[from_pattern]
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[2] at 0x816cc00
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x816cc00)[2]=[tag]
- May 27 09:07:00 [25597] DBG:db_mysql:db_mysql_get_columns: use DB_STRING result type
- May 27 09:07:00 [25597] DBG:core:db_allocate_rows: allocate 8 bytes for rows at 0x816a7d0
- May 27 09:07:00 [25597] DBG:core:db_allocate_row: allocate 60 bytes for row values at 0x816cd18
- May 27 09:07:00 [25597] DBG:core:db_str2val: converting STRING [udp]
- 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
- May 27 09:07:00 [25597] DBG:core:parse_to: end of header reached, state=29
- May 27 09:07:00 [25597] DBG:core:parse_to: display={sipp}, ruri={sip:[email protected]:5061}
- May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing 3 columns
- May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing RES_NAMES[0] at 0x816a760
- May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing RES_NAMES[1] at 0x816a810
- May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing RES_NAMES[2] at 0x816cc00
- May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing result names at 0x816cbd0
- May 27 09:07:00 [25597] DBG:core:db_free_columns: freeing result types at 0x816cbe8
- May 27 09:07:00 [25597] DBG:core:db_free_rows: freeing 1 rows
- May 27 09:07:00 [25597] DBG:core:db_free_row: freeing row values at 0x816cd18
- May 27 09:07:00 [25597] DBG:core:db_free_rows: freeing rows at 0x816a7d0
- May 27 09:07:00 [25597] DBG:core:db_free_result: freeing result set at 0x816cba8
- May 27 09:07:00 [25597] DBG:core:parse_headers: flags=78
- May 27 09:07:00 [25597] DBG:tm:t_lookup_request: start searching: hash=29616, isACK=1
- May 27 09:07:00 [25597] DBG:tm:matching_3261: RFC3261 transaction matched, tid=-27930-1-0
- May 27 09:07:00 [25597] DBG:tm:t_lookup_request: REF_UNSAFE: after is 1
- May 27 09:07:00 [25597] DBG:tm:t_lookup_request: transaction found (T=0xb5c187a8)
- 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
- May 27 09:07:00 [25597] INFO:carrierroute:cr_do_route: uri 3465 was rewritten to sip:[email protected], carrier 1, domain 1
- May 27 09:07:00 [25597] DBG:tm:cleanup_uac_timers: RETR/FR timers reset
- May 27 09:07:00 [25597] DBG:tm:insert_timer_unsafe: [2]: 0xb5c187f0 (72)
- May 27 09:07:00 [25597] DBG:tm:t_unref: UNREF_UNSAFE: after is 0
- May 27 09:07:00 [25597] DBG:core:destroy_avp_list: destroying list (nil)
- May 27 09:07:00 [25597] DBG:core:receive_msg: cleaning up
- May 27 09:07:01 [25598] DBG:tm:utimer_routine: timer routine:4,tl=0xb5c18870 next=(nil), timeout=67500000
- May 27 09:07:02 [25598] DBG:tm:utimer_routine: timer routine:6,tl=0xb5c188f4 next=(nil), timeout=68900000
- May 27 09:07:02 [25598] DBG:tm:timer_routine: timer routine:0,tl=0xb5c1888c next=(nil), timeout=69
- May 27 09:07:05 [25598] DBG:tm:timer_routine: timer routine:2,tl=0xb5c187f0 next=(nil), timeout=72
- May 27 09:07:05 [25598] DBG:tm:wait_handler: removing 0xb5c187a8 from table
- May 27 09:07:05 [25598] DBG:tm:delete_cell: delete transaction 0xb5c187a8
- May 27 09:07:05 [25598] DBG:tm:wait_handler: done
- Here is the error that sipp received:
- 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
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27930-1-0
- From: sipp <sip:[email protected]:5061>;tag=27930SIPpTag001
- To: sut <sip:[email protected]:5060>;tag=d742863c3e8d4b6ecb472330edcd405a-8162
- Call-ID: [email protected]
- CSeq: 1 INVITE
- Server: Kamailio (1.5.4-notls (i386/linux))
- Content-Length: 0
- ngrep trace:
- kamailio1:~# ngrep -W byline -d any port 5060
- interface: any
- filter: (ip or ip6) and ( port 5060 )
- #
- U 10.10.14.97:5061 -> 10.10.12.53:5060
- INVITE sip:[email protected]:5060 SIP/2.0.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>.
- Call-ID: [email protected].
- CSeq: 1 INVITE.
- Contact: sip:[email protected]:5061.
- Max-Forwards: 70.
- Subject: Performance Test.
- Content-Type: application/sdp.
- Content-Length: 133.
- .
- v=0.
- o=user1 53655765 2353687637 IN IP4 10.10.14.97.
- s=-.
- c=IN IP4 10.10.14.97.
- t=0 0.
- m=audio 6000 RTP/AVP 0.
- a=rtpmap:0 PCMU/8000.
- #
- U 10.10.12.53:5060 -> 10.10.14.97:5061
- SIP/2.0 100 Giving a try.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>.
- Call-ID: [email protected].
- CSeq: 1 INVITE.
- Server: Kamailio (1.5.4-notls (i386/linux)).
- Content-Length: 0.
- .
- #
- U 10.10.12.53:5060 -> 10.10.14.103:5060
- INVITE sip:[email protected] SIP/2.0.
- Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.0.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>.
- Call-ID: [email protected].
- CSeq: 1 INVITE.
- Contact: sip:[email protected]:5061.
- Max-Forwards: 69.
- Subject: Performance Test.
- Content-Type: application/sdp.
- Content-Length: 133.
- .
- v=0.
- o=user1 53655765 2353687637 IN IP4 10.10.14.97.
- s=-.
- c=IN IP4 10.10.14.97.
- t=0 0.
- m=audio 6000 RTP/AVP 0.
- a=rtpmap:0 PCMU/8000.
- #
- U 10.10.14.103:5060 -> 10.10.12.53:5060
- SIP/2.0 100 Trying.
- Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.0;received=10.10.12.53.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>.
- Call-ID: [email protected].
- CSeq: 1 INVITE.
- User-Agent: Asterisk PBX.
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
- Supported: replaces.
- Contact: <sip:[email protected]>.
- Content-Length: 0.
- .
- #
- U 10.10.14.103:5060 -> 10.10.12.53:5060
- SIP/2.0 200 OK.
- Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.0;received=10.10.12.53.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 1 INVITE.
- User-Agent: Asterisk PBX.
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
- Supported: replaces.
- Contact: <sip:[email protected]>.
- Content-Type: application/sdp.
- Content-Length: 184.
- .
- v=0.
- o=root 13757 13757 IN IP4 10.10.14.103.
- s=session.
- c=IN IP4 10.10.14.103.
- t=0 0.
- m=audio 21118 RTP/AVP 0.
- a=rtpmap:0 PCMU/8000.
- a=silenceSupp:off - - - -.
- a=ptime:20.
- a=sendrecv.
- #
- U 10.10.12.53:5060 -> 10.10.14.97:5061
- SIP/2.0 200 OK.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-0.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 1 INVITE.
- User-Agent: Asterisk PBX.
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
- Supported: replaces.
- Contact: <sip:[email protected]>.
- Content-Type: application/sdp.
- Content-Length: 184.
- .
- v=0.
- o=root 13757 13757 IN IP4 10.10.14.103.
- s=session.
- c=IN IP4 10.10.14.103.
- t=0 0.
- m=audio 21118 RTP/AVP 0.
- a=rtpmap:0 PCMU/8000.
- a=silenceSupp:off - - - -.
- a=ptime:20.
- a=sendrecv.
- #
- U 10.10.14.97:5061 -> 10.10.12.53:5060
- ACK sip:[email protected]:5060 SIP/2.0.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-5.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 1 ACK.
- Contact: sip:[email protected]:5061.
- Max-Forwards: 70.
- Subject: Performance Test.
- Content-Length: 0.
- .
- #
- U 10.10.12.53:5060 -> 10.10.14.103:5060
- ACK sip:[email protected] SIP/2.0.
- Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK6aec.e20e7685.2.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-5.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 1 ACK.
- Contact: sip:[email protected]:5061.
- Max-Forwards: 69.
- Subject: Performance Test.
- Content-Length: 0.
- .
- #
- U 10.10.14.97:5061 -> 10.10.12.53:5060
- BYE sip:[email protected]:5060 SIP/2.0.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 2 BYE.
- Contact: sip:[email protected]:5061.
- Max-Forwards: 70.
- Subject: Performance Test.
- Content-Length: 0.
- .
- #
- U 10.10.12.53:5060 -> 10.10.14.103:5060
- BYE sip:[email protected] SIP/2.0.
- Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK3aec.7541ba62.0.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 2 BYE.
- Contact: sip:[email protected]:5061.
- Max-Forwards: 69.
- Subject: Performance Test.
- Content-Length: 0.
- .
- #
- U 10.10.14.103:5060 -> 10.10.12.53:5060
- SIP/2.0 200 OK.
- Via: SIP/2.0/UDP 10.10.12.53;branch=z9hG4bK3aec.7541ba62.0;received=10.10.12.53.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 2 BYE.
- User-Agent: Asterisk PBX.
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
- Supported: replaces.
- Contact: <sip:[email protected]>.
- Content-Length: 0.
- .
- #
- U 10.10.12.53:5060 -> 10.10.14.97:5061
- SIP/2.0 200 OK.
- Via: SIP/2.0/UDP 10.10.14.97:5061;branch=z9hG4bK-27947-1-7.
- From: sipp <sip:[email protected]:5061>;tag=27947SIPpTag001.
- To: sut <sip:[email protected]:5060>;tag=as48ee5cd1.
- Call-ID: [email protected].
- CSeq: 2 BYE.
- User-Agent: Asterisk PBX.
- Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
- Supported: replaces.
- Contact: <sip:[email protected]>.
- Content-Length: 0.
- .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement