<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000066">
    Hello;<br>
        there are 2 kamailio sip communacting each other but there is a
    problem second kamailio truncate sdp messages. i posted a "rtpproxy
    truncate sdp" 1 day ago, but i think it is kamailio that truncate
    it. i closed rtpproxy and some uac functions to solve problem but
    didnt work. i couldnt find even debug mode?<u> 2 day past  to solve
      this problem</u> . is there any experinece about it?<br>
    <br>
    Thanks<br>
    <br>
    Call Flows<br>
    <br>
    UAC1 ----> Kamailio 1 ----> Kamailio 2 ---->UAC2<br>
    <br>
    <br>
    <a class="moz-txt-link-freetext" href="http://pastebin.com/B8EnzTaN">http://pastebin.com/B8EnzTaN</a><br>
    <br>
    <br>
    --modparams---<br>
    <br>
    # ----- mi_fifo params -----<br>
    modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")<br>
    <br>
    # ----- tm params -----<br>
    # auto-discard branches from previous serial forking leg<br>
    modparam("tm", "failure_reply_mode", 3)<br>
    # default retransmission timeout: 30sec<br>
    modparam("tm", "fr_timer", 30000)<br>
    # default invite retransmission timeout after 1xx: 120sec<br>
    modparam("tm", "fr_inv_timer", 120000)<br>
    <br>
    <br>
    #!ifdef WITH_UAC<br>
    #modparam("uac","restore_mode","auto")<br>
    #!endif<br>
    <br>
    <br>
    # ----- alias_db params -----<br>
    #!ifdef WITH_ALIASDB<br>
    modparam("alias_db", "db_url", DBURL)<br>
    modparam("alias_db", "use_domain", MULTIDOMAIN)<br>
    #!endif<br>
    <br>
    # ----- domain params -----<br>
    #!ifdef WITH_MULTIDOMAIN<br>
    modparam("domain", "db_url", DBURL)<br>
    # register callback to match myself condition with domains list<br>
    modparam("domain", "register_myself", 0)<br>
    #!endif<br>
    <br>
    #!ifdef WITH_NAT<br>
    # ----- rtpproxy params -----<br>
    #modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7723")<br>
    #modparam("rtpproxy", "nortpproxy_str", "a=sdpmangled:yes\r\n")<br>
    <br>
    # ----- nathelper params -----<br>
    modparam("nathelper", "natping_interval", 30)<br>
    modparam("nathelper", "ping_nated_only", 1)<br>
    modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)<br>
    modparam("nathelper", "sipping_from", <a class="moz-txt-link-rfc2396E" href="mailto:sip:pinger@kamailio.org">"sip:pinger@kamailio.org"</a>)<br>
    # params needed for NAT traversal in other modules<br>
    modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")<br>
    modparam("usrloc", "nat_bflag", FLB_NATB)<br>
    #!endif<br>
    <br>
    <br>
    #!ifdef WITH_RECORDR<br>
    # ----- rr params -----<br>
    # add value to ;lr param to cope with most of the UAs<br>
    modparam("rr", "enable_full_lr", 0)<br>
    # do not append from tag to the RR (no need for this script)<br>
    modparam("rr", "append_fromtag", 1)<br>
    modparam("rr", "enable_socket_mismatch_warning", 1)<br>
    modparam("rr", "enable_double_rr", 0)<br>
    #!endif<br>
    <br>
    <br>
    #!ifdef WITH_LCR<br>
    modparam("lcr", "db_url",DBURL)<br>
    modparam("lcr", "gw_uri_avp", "$avp(gwuri)")<br>
    modparam("lcr", "ruri_user_avp", "$avp(ruriuser)")<br>
    modparam("lcr", "tag_avp", "$avp(lcr_tag)")<br>
    modparam("lcr", "flags_avp", "$avp(flagavp)")<br>
    modparam("lcr", "lcr_id_avp", "$avp(lcridavp)")<br>
    modparam("lcr", "lcr_count", 10)<br>
    modparam("lcr", "lcr_rule_hash_size", 2048)<br>
    modparam("lcr", "lcr_gw_count", 1024)<br>
    #!endif<br>
    <br>
    #!ifdef WITH_PIKE<br>
    modparam("pike", "sampling_time_unit", 2)<br>
    modparam("pike", "reqs_density_per_unit", 100)<br>
    modparam("pike", "remove_latency", 300)<br>
    #!endif<br>
    <br>
    #!ifdef WITH_BLCKLST<br>
    modparam("userblacklist", "db_url",DBURL)<br>
    modparam("userblacklist", "match_mode", 128)<br>
    modparam("userblacklist", "use_domain", 1)<br>
    #!endif<br>
    <br>
    <br>
    #!ifdef WITH_CARR<br>
    modparam("carrierroute","config_source","db")<br>
    modparam("carrierroute","db_url",DBURL)<br>
    modparam("carrierroute","carrierroute_table","carrierroute")<br>
    modparam("carrierroute","default_tree","default")<br>
    modparam("carrierroute", "fetch_rows", 2000)<br>
    modparam("carrierroute", "subscriber_table", "subscriber")<br>
    modparam("carrierroute", "subscriber_user_col", "username")<br>
    modparam("carrierroute", "subscriber_carrier_col",
    "cr_preferred_carrier")<br>
    #!endif<br>
    <br>
    <br>
    <br>
    # ----- registrar params -----<br>
    modparam("registrar", "method_filtering", 1)<br>
    /* uncomment the next line to disable parallel forking via location
    */<br>
    # modparam("registrar", "append_branches", 0)<br>
    /* uncomment the next line not to allow more than 10 contacts per
    AOR */<br>
    #modparam("registrar", "max_contacts", 10)<br>
    # max value for expires of registrations<br>
    modparam("registrar", "max_expires", 3600)<br>
    # set it to 1 to enable GRUU<br>
    modparam("registrar", "gruu_enabled", 0)<br>
    <br>
    <br>
    # ----- usrloc params -----<br>
    /* enable DB persistency for location entries */<br>
    #!ifdef WITH_USRLOCDB<br>
    modparam("usrloc", "db_url", DBURL)<br>
    modparam("usrloc", "db_mode", 2)<br>
    modparam("usrloc", "use_domain", MULTIDOMAIN)<br>
    #!endif<br>
    <br>
    # ----- auth_db params -----<br>
    #!ifdef WITH_AUTH<br>
    modparam("auth_db", "db_url", DBURL)<br>
    modparam("auth_db", "calculate_ha1", yes)<br>
    modparam("auth_db", "password_column", "sippasswd")<br>
    modparam("auth_db", "use_domain", MULTIDOMAIN)<br>
    <br>
    # ----- permissions params -----<br>
    #!ifdef WITH_IPAUTH<br>
    modparam("permissions", "db_url", DBURL)<br>
    modparam("permissions", "db_mode", 1)<br>
    modparam("permissions", "peer_tag_avp", "$avp(i:770)")<br>
    #!endif<br>
    #!endif<br>
    <br>
    #!ifdef WITH_ANTIFLOOD<br>
    # ----- pike params -----<br>
    modparam("pike", "sampling_time_unit", 10)<br>
    modparam("pike", "reqs_density_per_unit", 1000)<br>
    modparam("pike", "remove_latency", 120)<br>
    <br>
    <br>
    <br>
    #!ifdef WITH_XMLRPC<br>
    # ----- xmlrpc params -----<br>
    modparam("xmlrpc", "route", "XMLRPC");<br>
    modparam("xmlrpc", "url_match", "^/RPC")<br>
    #!endif<br>
    <br>
    #!ifdef WITH_DEBUG<br>
    # ----- debugger params -----<br>
    modparam("debugger", "cfgtrace", 1)<br>
    #!endif<br>
    #---------------- dialog params -------------<br>
    #!ifdef WITH_DIALOG<br>
    modparam("dialog", "enable_stats", 1)<br>
    modparam("dialog", "hash_size", 4096)<br>
    modparam("dialog", "rr_param", "did")<br>
    modparam("dialog", "dlg_flag",4)<br>
    modparam("dialog", "timeout_avp", "$avp(i:10)")<br>
    modparam("dialog", "dlg_match_mode", 1)<br>
    modparam("dialog", "default_timeout", 3600)<br>
    modparam("dialog", "detect_spirals", 1)<br>
    modparam("dialog", "profiles_no_value", "inbound")<br>
    modparam("dialog", "profiles_with_value", "userid ; ; ")<br>
    modparam("dialog", "dlg_extra_hdrs", "Hint: Hell Yeah\r\n")<br>
    modparam("dialog", "send_bye", 1)<br>
    modparam("dialog", "db_url", DBURL)<br>
    modparam("dialog", "db_mode", 3)<br>
    modparam("dialog", "db_fetch_rows", 500)<br>
    #!endif<br>
    <br>
    <br>
    <br>
    ---<br>
  </body>
</html>