[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-31 Thread Fred Posner via sr-users
> On May 31, 2024, at 8:35 AM, Alex Balashov via sr-users > wrote: > > >> On May 31, 2024, at 8:09 AM, Benoît Panizzon via sr-users >> wrote: >> >> This would also solve another problem. We have some CPE with limited >> memory which struggle with a long record-route list. > > Indeed, and t

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-31 Thread Alex Balashov via sr-users
> On May 31, 2024, at 8:09 AM, Benoît Panizzon via sr-users > wrote: > > This would also solve another problem. We have some CPE with limited > memory which struggle with a long record-route list. Indeed, and this is why I recommended it. It would solve a larger class of problems, above and b

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-31 Thread Benoît Panizzon via sr-users
Hi > > > > > > >data="[sip_h_X-PGPX=${uuid}]sofia/internal/$1@${sendto}"/> application="hangup"/> > > I was not aware it was that simple. Thank you for the education! Indeed. I was considering asterisk as I tend to use what I know. But with Asterisk I would have to add quit

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-31 Thread Alex Balashov via sr-users
Fred, This is beautiful: I was not aware it was that simple. Thank you for the education! -- Alex > On May 30, 2024, at 6:24 PM, Fred Posner via sr-users > wrote: > > >> On May 30, 2024, at 5:49 PM, Alex Balashov via sr-users >> wrote: >> >> Benoit, >> >>> Snip

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Alex Balashov via sr-users
Benoit, > On May 30, 2024, at 4:05 PM, Benoît Panizzon wrote: > > *sigh* yes I guess you may ask. Somehow I think we do 'normal' VSP > business, but it looks like we seem to have a complicated set-up. I think the first part of that sentence, about normal VSP business, is a powerful intuition,

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Benoît Panizzon via sr-users
Hi Alex > Curious: why is this necessary? Is there a possibility there is an > unnecessary complicating assumption at the root of your setup? > > Maybe not, but I have to wonder. *sigh* yes I guess you may ask. Somehow I think we do 'normal' VSP business, but it looks like we seem to have a comp

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Alex Balashov via sr-users
> On May 30, 2024, at 3:23 PM, Benoît Panizzon wrote: > > > Unfortunately, life sometimes is not that simple, like when you have to > find a way to process spiralling calls with rtpengine. Curious: why is this necessary? Is there a possibility there is an unnecessary complicating assumption a

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Benoît Panizzon via sr-users
Hi Alex > You can use $T_inv(...) to access attributes of the original INVITE > transaction, to which the CANCEL pertains: > > https://www.kamailio.org/wikidocs/cookbooks/5.8.x/pseudovariables/#t_invpv Thank you, I'll check that out. > However, you may instead consider the attractive simplicity

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-30 Thread Alex Balashov via sr-users
Hello Benoit, You can use $T_inv(...) to access attributes of the original INVITE transaction, to which the CANCEL pertains: https://www.kamailio.org/wikidocs/cookbooks/5.8.x/pseudovariables/#t_invpv However, you may instead consider the attractive simplicity of just calling rtpengine_delete()