Menu

Wrong BYE message after uac_replace_from

GoUp
2011-12-28
2013-05-09
  • GoUp

    GoUp - 2011-12-28

    I use Open sips with follow config file:

    route {
        …..
        t_on_failure("1");
        t_on_branch("1");
        t_relay();
    }

    branch_route {
       uac_replace_from("", "$avp(fromuri)");
       uac_replace_to("", "$avp(touri)");
    }

    failure_route {
      ……..
      t_on_branch("1");
      t_relay();
    }

    When send BYE message all data from uac_replace_from append in FROM URI. Here is example:
    BYE message:
    From:  <sip:0049177123456@11.22.33.44;user=phone sip:0049177123456@11.22.33.44;user=phonee >;tag=as4042f1b6

    How to improve this problem?

     
  • Bogdan-Andrei Iancu

    Could you upload a full SIP capture of the call ? just to see how the replace data is handled.

    Also, do you use the dialog module along the uac stuff ?

    Regards,
    Bogdan

     
  • GoUp

    GoUp - 2012-01-03

    I send email with attached a OpenSIPS config file, debug log on a level 6 and a TCP dump from a OpenSIPS server.

    Best regards