Well, that means your script execution does not get there....try to place more xlogs in the beginning of the script to see what's the exec path in there.

Regards,
Bogdan

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 08/16/2012 01:58 PM, Gomtesh Jain wrote:
Hi Bogdan,
I put 2 log messages before and after record_route to make sure it gets executed. But I dont's see those messages in log 1st scenario (2 route headers) while I can see both the message in log in 2nd scenario (1 route header).

Here I give INVITE messages in 1st scenario...


INVITE sip:[email protected]:5506 <http://sip:[email protected]:5506> SIP/2.0 Via: SIP/2.0/TCP 192.168.3.134:1323;rport;branch=z9hG4bKPj564512b7c47d4f1c91bf69b2616eea18
Max-Forwards: 70
From: sip:[email protected]:5506;tag=9fa0b4f78ee640dba4c6e0522c9c63a8 To: sip:[email protected]:5506 <http://sip:[email protected]:5506>
Contact: <sip:[email protected]:1321;transport=TCP;ob>
Call-ID: 8ba1014b656e4cdc968bcf4a9c92ae66
CSeq: 3514 INVITE
*Route: <sip:23.20.79.160:7060;transport=TCP;lr>
Route: <sip:208.109.191.105:8060;lr>*
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 300
Min-SE: 90
User-Agent: WebAstra
X-Info: normal;;P=;L=;S=Out;A=aa1;CI=;CS=1;PI=1;CP=1
Content-Type: application/sdp
Content-Length:   259

TCP Proxy fwds ...

INVITE sip:[email protected]:5506 <http://sip:[email protected]:5506> SIP/2.0
Via: SIP/2.0/UDP 23.20.79.160:7060;branch=z9hG4bK9618.b76ba1d3.0;i=fe
Via: SIP/2.0/TCP 192.168.3.134:1323;received=115.252.66.182;rport=1323;branch=z9hG4bKPj564512b7c47d4f1c91bf69b2616eea18
Max-Forwards: 69
From: sip:[email protected]:5506;tag=9fa0b4f78ee640dba4c6e0522c9c63a8 To: sip:[email protected]:5506 <http://sip:[email protected]:5506>
Contact: <sip:[email protected]:1323;transport=TCP;ob>
Call-ID: 8ba1014b656e4cdc968bcf4a9c92ae66
CSeq: 3514 INVITE
Route: <sip:208.109.191.105:8060;lr>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 300
Min-SE: 90
User-Agent: WebAstra
X-Info: normal;;P=;L=;S=Out;A=aa1;CI=;CS=1;PI=1;CP=1
Content-Type: application/sdp
Content-Length:   25


Thanx,
Gomtesh


On Thu, Aug 16, 2012 at 4:05 PM, Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>> wrote:

    You say you do record_route(), but no RR header is added to the
    request ? this is a bit hard to believe ....are you sure your
    script ends to the RR function ?

    Regards,

    Bogdan-Andrei Iancu
    OpenSIPS Founder and Developer
    http://www.opensips-solutions.com


    On 08/16/2012 01:23 PM, Gomtesh Jain wrote:
    Hi Bogdan,
       I am doing ...

     if (!method=="REGISTER")
            {
                xlog("L_NOTICE", "Before Add Record Route TCP
    OPENSIPS \n");
                record_route();
                xlog("L_NOTICE", "Add Record Route TCP OPENSIPS \n");
             }

    in my config .


    But in 1st scenario it does not add record route .So UA1 tries to
    send ACK directly to "Other proxy". Which is wrong.


     While it adds record route in 2nd scenario and all signalling
    works fine.


    Thanx,
    Gomtesh




    On Thu, Aug 16, 2012 at 3:43 PM, Bogdan-Andrei Iancu
    <[email protected] <mailto:[email protected]>> wrote:

        Hi Gomtesh,


        On 08/14/2012 04:10 PM, Gomtesh Jain wrote:

            Hi,

              I am running opensips 1.6 as TCP proxy. I am facing
            problem when I use multiple proxy in my N/w.

              UA1------> TCP proxy(opensips 1.6)------->Other
            Proxy--------> UA2

            UA1 adds 2 Route headers in INVITE.
            In this scenario TCP proxy does not add Record Route in
            INVITE.

        How comes ?? don;t you do record_route() on the opensips ??





            UA1------> TCP proxy(opensips 1.6)------------> UA2

            UA1 add only 1 Route header.
            In this scenario It works fine with the same conf.

        What "fine" means ? It means opensips adds on route  ? or ?

        Regards,
        Bogdan



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to