[Devel] Re: xl_get_spec_value: error - null sp->itf for null $pi

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Feb 12 20:46:19 CET 2007


Hello,

$pi is invalid, if you look for source port it is $sp.

I introduced a check to through error if a non-existent pseudo-variable 
is used in the script.

Cheers,
Daniel


On 02/12/07 21:25, Ovidiu Sas wrote:
> Hmm ... in openser 1.2.0-pre4-tls I'm no longer able to use $pi:
>
> xl_fill_extra_spec: extra item [pi] not found
> xl_lookup_spec_name: not found PV [pi]
> ERROR:xl_parse_spec: error searching pvar "pi"
>
>
> On 2/12/07, Ovidiu Sas <sip.nslu at gmail.com> wrote:
>> Hi,
>>
>> While printing the source port ($pi) for a received message from port
>> 5060, I got the following log (debug=3):
>>
>> xl_get_spec_value: error - null sp->itf
>>
>> This log is missleading and it should be removed (the default port
>> 5060 should be filled in).
>>
>>
>> Regards,
>> Ovidiu Sas
>>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>



More information about the Devel mailing list