[OpenSIPS-Users] OpenSIPs generate PRACK
Social Boh
social at bohboh.info
Mon Feb 12 12:12:02 UTC 2024
Hello,
the flow chart is this:
-> INVITE (to OpensiSIP)
Relay to Redirect Server
Redirect server reply with a 302 and a contact that OpenSIPs use to create
INVITE (OpenSIPs) ->
<- 183 (provider) with Require: 100rel
PRACK (from OpenSIPs)
I don't know how create this PRACK
I have:
modparam("b2b_entities", "passthru_prack", 0)
but this is not enough and I have to use (I think)
b2b_init_request("top hiding");
but this function works only on Request Route and I catch the 302 in the
failure route.
Thank you
Regards
---
I'm SoCIaL, MayBe
El 12/02/2024 a las 4:36 a. m., Ihor Olkhovskyi escribió:
> You should relay 183 to original source (ione that is sending INVITE)
> and got PRACK from there.
> That would be the most correct way of handling this
>
> Le lun. 12 févr. 2024 à 02:29, Social Boh <social at bohboh.info> a écrit :
>
> Maybe someone can help me.
>
> This is the scenario.
>
> OpenSIPs receive a INVITE and send it to a server that reply with
> a 302
> message (always)
>
> Then OpenSIPs, in the failure route, take the user part present in
> the
> 302 contact header, change the destination IP and send with t_relay
>
> The destination reply with a 183 with Require: 100rel header so
> OpenSIPs
> have to reply with a PRACK. This is my problem.
>
> I don't know which is the best way to handle this (the PRACK)
>
> Thank you
>
> Regards
>
> ---
> I'm SoCIaL, MayBe
>
> El 9/02/2024 a las 6:46 a. m., Social Boh escribió:
> > Hello list,
> >
> > can OpenSIPs generate a PRACK message to reply a 180/183 message?
> >
> > Thank you
> >
> > Regards
> >
> > ---
> > I'm SoCIaL, MayBe
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> --
> Best regards,
> Ihor (Igor)
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240212/5e598d47/attachment.html>
More information about the Users
mailing list