[OpenSIPS-Users] Issue with ACK and rtpproxy, setID

Miha miha at softnet.si
Fri Jul 1 07:23:04 CEST 2016


Ben tnx.

make sense :)



br

miha

On 30/06/2016 15:17, Newlin, Ben wrote:
> AVPs are tied to a transaction, so the transaction must be matched before they will be available. You should use t_check_trans() to do this.
>
> However, I think this will not work for you because ACKs are their own transactions and I don’t believe they will have access to the AVPs from the INVITE transaction. If you need to store state information across multiple transactions, you will need to use the dialog module and the $dlg_val variables. These persist across the entire SIP call.
>
>
> Ben Newlin
>
> On 6/30/16, 8:06 AM, "users-bounces at lists.opensips.org on behalf of Miha" <users-bounces at lists.opensips.org on behalf of miha at softnet.si> wrote:
>
> HI
>
> I have two RTPproxies and doing spiral so that I can put them in chain.
>
> Before t_relay() I am setting avps (setID) so that I can do
> rtpproxy_answer latter if there is SDP in ACK. The issue is that avp is
> all the time null for ACK (for Initial invite avp was set).
>
> In TM module i set onreply_avp_mode to 1. Is there anything else I must
> do or do you suggest some other approche?
>
>
> tnx
>
> miha
>
>
> _______________________________________________
> 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




More information about the Users mailing list