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