[SR-Users] Does kamailio has some headers optimizing mechanism ?

Konstantin M. evilzluk at gmail.com
Mon Jul 16 20:19:22 CEST 2012


Hello,

I have a following part of code:


    if (route(Test_TO_Dialer))
    {
        append_hf("P-hint: Loose Routing. Re-INVITE Detected: Uplink -->
Originator.\r\n");
        xlog("********** loose_route(): Detected Re-INVITE from Uplink!
**********\n");

        setflag(1); # do accounting

        append_hf("P-hint: SDP was mangled\r\n");
        python_exec("ParseSDP", $mb);

        fix_nated_contact();
        setbflag(6);    # Mark as NATed

        rtpproxy_manage();
        dlg_manage();
    }

But in a logs I see:

P-hint: Loose Routing. Re-INVITE Detected: Uplink --> Originator., SDP was
mangled

but it should be like this:
P-hint: Loose Routing. Re-INVITE Detected: Uplink --> Originator.
P-hint: SDP was mangled

Does kamailio has some headers optimizing mechanism ?

# ./kamailio -V
version: kamailio 3.2.3 (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 15:37:11 Jun  9 2012 with gcc 4.4.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120716/f951a499/attachment.htm>


More information about the sr-users mailing list