[OpenSIPS-Users] OpenSIPs generate PRACK [SOLVED]
Social Boh
social at bohboh.info
Wed Mar 20 21:03:32 UTC 2024
Right, solved
Thank you
---
I'm SoCIaL, MayBe
El 20/03/2024 a las 4:07 a. m., Ihor Olkhovskyi escribió:
> You are not increasing CSeq for subsequent PRACK.
>
> Le mar. 19 mars 2024 à 18:58, Social Boh <social at bohboh.info> a écrit :
>
> Some progress
>
> Now I can reply the first 183 with the PRACK response but when the
> provider send a 180 ringing and I reply with another PPRACK
> response the provider reply with 500 Server Internal Error
>
> Annex PCAP Capture.
>
> Any hint is really appreciate.
>
> Regards
>
> ---
> I'm SoCIaL, MayBe
>
> El 15/03/2024 a las 5:35 p. m., Social Boh escribió:
>>
>> I'm trying using directly opensips-cli via exec module to see if
>> all OK and then pass the data tu mi_script module
>>
>> I think I have a sintaxis problem with the line:
>>
>> exec("opensips-cli -x mi t_uac_dlg method=INVITE
>> ruri="sip:alice at 127.0.0.1:7050" headers="From:
>> sip:bobster at 127.0.0.1:1337\r\nTo:
>> sip:alice at 127.0.0.1:7050\r\nContact:
>> sip:bobster at 127.0.0.1:1337\r\n"")
>>
>> I don't know how use " in the line because Headers and ruri need
>> them. The result is a error:
>>
>> ERROR:core:handle_mi_request: Invalid parameters
>>
>> Any hint, please?
>>
>> Regards
>>
>> ---
>> I'm SoCIaL, MayBe
>> El 26/02/2024 a las 7:43 a. m., Bogdan-Andrei Iancu escribió:
>>> yes, you can use the b2b_logic (together with b2b_entities) for
>>> that, but it may be a too heavy tool for the purpose. Maybe you
>>> can try to generate the PRACK from OpenSIPS level by using the
>>> t_uac_dlg MI function [1] via the mi_script module [2] -
>>> basically to trigger that MI cmd from the onreply_route, when
>>> receiving the 180 reply.
>>>
>>> [1]
>>> https://opensips.org/html/docs/modules/3.4.x/tm.html#mi_t_uac_dlg
>>> [2]
>>> https://opensips.org/html/docs/modules/3.4.x/mi_script.html#afunc_mi
>>>
>>> Regards,
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>> https://www.opensips-solutions.com
>>> https://www.siphub.com
>>> On 25.02.2024 14:54, Social Boh wrote:
>>>>
>>>> I know the best way is the original caller handle and reply the
>>>> 183, but I HAVE to do this at OpenSIPs level.
>>>>
>>>> Can I use B2B_Entities and B2B_logic to do this? Is there a
>>>> scenario to use tu parse and reply the 183?
>>>>
>>>> Thank you
>>>>
>>>> ---
>>>> I'm SoCIaL, MayBe
>>>> El 16/02/2024 a las 11:31 a. m., Bogdan-Andrei Iancu escribió:
>>>>> I agree here, the 183 must be relayed back to the original
>>>>> caller (which generate the received INVITE) and let it do the
>>>>> PRACK - this confirmation must be end-2-end in the dialog.
>>>>>
>>>>> Regards,
>>>>> Bogdan-Andrei Iancu
>>>>>
>>>>> OpenSIPS Founder and Developer
>>>>> https://www.opensips-solutions.com
>>>>> https://www.siphub.com
>>>>> On 12.02.2024 11:36, Ihor Olkhovskyi wrote:
>>>>>> 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
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
> _______________________________________________
> 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/20240320/fa011520/attachment.html>
More information about the Users
mailing list