I would second the recommendation of using dispatcher.

On 5/23/20 11:13 PM, Joel Serrano wrote:
Hi,
Probably need more details to give a correct answer, but I would try to keep it simple, using a combination of dispatcher module + updating $ru before relaying I believe would be a way to do this.

Cheers,
Joel.

On Sat, May 23, 2020 at 14:35 christian (cx labs) <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I'm trying to set up a Kamailio server as a proxy to forward SIP
    messages between two trunks, where I manipulate only the INVITE in
    the following manner:

    incoming call:
    INVITEĀ +4969123456@server1

    outgoing call:
    round robin to
    INVITE user@4969123456-sip-server2a
    INVITE user@4969123456-sip-server2b
    INVITE user@4969123456-sip-server2c

    Can anyone point me in the right direction? Both SIP trunks are IP
    registration only. Also, I am aware how strange this is, but the
    upstream service has decided to interpret SIP in a novel way.

    Cheers,
    Chris
    _______________________________________________
    Kamailio (SER) - Users Mailing List
    [email protected] <mailto:[email protected]>
    https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to