Pleas keep the list CC'ed to this discussion !

The LB function changes only the RURI part from INVITE - it does not change TO headers. Normally there is no reason to change it at all, as routing is done based on RURI only.

Regards,

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


On 06/11/2012 01:40 PM, dileep r wrote:
Hi Bogdan, i did use t_relay() previously and the SIP requested was routed to the destination URI . but the RURI and 'To' header did not change as the destination URI in the INVITE request. I'm i doing any thing wrong here?

Thanks
Dileep

On Mon, Jun 11, 2012 at 3:32 PM, Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>> wrote:

    The LB function does not send out the INVITE, just sets the RURI
    to a one of the destinations (from LB set) - after doing LB, you
    need to do standard relay from script (via t_relay() ).

    Regards,

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


    On 06/11/2012 12:45 PM, dileep r wrote:
    Hi Bogdan, is there any logging mechanism to check why the
    load_balance() , API not routing the INVITE request to
    destination URI.

    On Mon, Jun 11, 2012 at 3:08 PM, Bogdan-Andrei Iancu
    <[email protected] <mailto:[email protected]>> wrote:

        Hi Dileep,

        Check some working examples:

          - LB tutorial -
        http://www.opensips.org/Resources/DocsTutLoadbalancing
          - use "menuconfig" to generate a script for LB scenario -
        http://www.opensips.org/Resources/GettingStartedTut

        Regards,
        Bogdan

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


        On 06/11/2012 10:50 AM, dileep r wrote:
        HI all,
          I'm trying to set up openSips with LB module enabled. I
        have done the all the required configuration for LB. The
        load_balance() API returns success, but i'm not receiving
        the INVITE request to my destination server as configured in
        the DB. If any one has faced similar problems or know why
        this might be happening,please let me know ?


        Thanks
        Dileep


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



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

Reply via email to