[Kamailio-Users] scope of AVPs (AVP defined when execution of script starts)

Juha Heinanen jh at tutpro.com
Sat Aug 29 11:18:19 CEST 2009


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




More information about the sr-users mailing list