[SR-Users] define-check for dlg_var doesn't work

Sven Knoblich sven.knoblich at 1und1.de
Thu Mar 15 16:53:07 CET 2012


sip-router:master

Hi all,
i want to use the define-check also for dlg_var. But after testing a bit 
it seems to me, that define does not work with dlg_var's. I am always 
getting a true. Did i miss something?

     # $dlg_var(test) is not defined

     if( defined $dlg_var(test))
     {
         xlog("L_Notice","dlg_var $dlg_var(test) is defined\n");
     }

I hope anybody can help me to clarify this.

Thanks in advance,
Sven



More information about the sr-users mailing list