[SR-Users] Syntax issue?

Igor Potjevlesch igor.potjevlesch at gmail.com
Mon Feb 16 18:36:17 CET 2015


Thank you guys, I will try this.

I misunderstood the notion of "transaction". I was thinking that it was the whole call-flow.

 

Regards,

 

Igor.

 

De : sr-users [mailto:sr-users-bounces at lists.sip-router.org] De la part de Muhammad Shahzad
Envoyé : lundi 16 février 2015 18:27
À : Kamailio (SER) - Users Mailing List
Objet : Re: [SR-Users] Syntax issue?

 

As far as i know AVPs are transaction specific only. So they will be deleted as soon as transaction is over, i.e. 200 OK for INVITE is received for example. They will not be available in in-dialog transactions such as ACK, or BYE etc. What you need is to set dialog variable instead, see more info here,

http://kamailio.org/docs/modules/4.2.x/modules/dialog.html#idp4202736

Thank you.

 

 

On Mon, Feb 16, 2015 at 6:08 PM, Igor Potjevlesch <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com> > wrote:

Hello,

 

I'm looking for a way to track a call by using basic AVP like this:

Into a route that treats INVITE:

$avp(s:state)="call_start";

 

Then, if I test this AVP into WITHINDLG route:

if($avp(s:state)!="call_start") ; the test fails.

 

Did I miss something?

 

The goal is to update this AVP during the life of the transaction.

 

Regards,

 

Igor.

 


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org> 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150216/dd1063b2/attachment.html>


More information about the sr-users mailing list