oh damn, that's true.. Alex pointed it out earlierm thanks!

Also,

On sending the CANCEL to the b-leg, I need to immediately send a 480 to the
a-leg, not sure this is at all possible?

Regards,

David Villasmil
email: [email protected]
phone: +34669448337


On Wed, Feb 10, 2021 at 1:00 PM Federico Cabiddu <[email protected]>
wrote:

> Hi,
> var(s) are kind of static variables per process.
> You'd rather use an avp (which is bound to the transaction) to be able to
> use it in a reply route.
>
> Cheers,
>
> Federico
>
> On Wed, Feb 10, 2021 at 1:55 PM David Villasmil <
> [email protected]> wrote:
>
>> I eneded up adding topos, hiding everything behind seems to make them
>> happy.
>> I do have a small problem storing the current time in a var.
>>
>> When the a-leg invite comes in, i'm creating a
>> $var(invite_time) = $TV(Sn);
>> on the dispatch route, when i try to use it on the reply from the b-leg,
>> it's 0. I'm guessing the var is attached to the incoming a-leg and not the
>> outgoing b-leg?
>> If that right? If so, do i need to t_newtran() on the relay?
>>
>> thanks for your help guys.
>>
>> Regards,
>>
>> David Villasmil
>> email: [email protected]
>> phone: +34669448337
>>
>>
>> On Wed, Feb 10, 2021 at 12:14 PM Alex Balashov <[email protected]>
>> wrote:
>>
>>> Well, the vendor just can’t have everything it wants. :-) There are
>>> limits to what Kamailio can do.
>>>
>>> —
>>> Sent from mobile, with due apologies for brevity and errors.
>>>
>>> On Feb 10, 2021, at 6:35 AM, David Villasmil <
>>> [email protected]> wrote:
>>>
>>> 
>>> Ah that's it, thanks!
>>> But the vendor wants us to set the FROM header domain to our IP, i don't
>>> see this possible with tmx on the CANCEL?
>>> Regards,
>>>
>>> David Villasmil
>>> email: [email protected]
>>> phone: +34669448337
>>>
>>>
>>> On Wed, Feb 10, 2021 at 11:21 AM Daniel-Constantin Mierla <
>>> [email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> look at tmx module, it has some cancel-related functions.
>>>>
>>>> Cheers,
>>>> Daniel
>>>> On 09.02.21 18:03, David Villasmil wrote:
>>>>
>>>> Hello,
>>>>
>>>> When receiving a reply, there's a logic which if true, i must cancel
>>>> the outgoing invite (can 480 the origination). I tried using something like
>>>>
>>>> t_set_fr(10,10);
>>>>
>>>> to have kamailio cancel it immediately, but it's not happening.
>>>>
>>>> Is there a way to cancel an INVITE/transaction?
>>>>
>>>> Regards,
>>>>
>>>> David Villasmil
>>>> email: [email protected]
>>>> phone: +34669448337
>>>>
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing 
>>>> [email protected]https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>> --
>>>> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
>>>> www.linkedin.com/in/miconda
>>>> Funding: https://www.paypal.me/dcmierla
>>>>
>>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> [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
>>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> [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
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to