[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-users
Subject:    [Kamailio-Users] scope of AVPs (AVP defined when execution
From:       jh () tutpro ! com (Juha Heinanen)
Date:       2009-08-29 9:18:19
Message-ID: 19096.62043.618002.830753 () tutpro ! com
[Download RAW message or body]

sorry, i sent this message to wrong mailing list.  it was sip-router,
not kamailio, where i observed the described behavior.

-- juha

 > i have always thought that AVPs exits per transaction.  that does not
 > seem to be the case, however, because when i put in the beginning of my
 > script
 > 
 > 	xlog("L_INFO", "Caller lcr_id $avp(CALLER_LCR_ID_AVP)\n");
 > 		
 > this gets printed to syslog:
 > 
 > Aug 29 11:34:34 localhost /usr/sbin/sip-router[10210]: INFO: Caller lcr_id 2
 > 
 > is this the indented behavior?  do i really need to delete all AVPs in
 > the beginning of the script in order to make sure that they don't have
 > any values left from processing of previous message?
 > 
 > -- juha



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic