[sr-dev] avpops error line number

Daniel-Constantin Mierla miconda at gmail.com
Thu Jul 4 18:25:01 CEST 2013


Hello,

On 7/3/13 7:39 AM, Juha Heinanen wrote:
> i didn't get any response to this on users list.  perhaps the question
> fits better to dev list:
>
> what would it take to make avpops module to print config file line
> number when error occurs?
>
> now i just get:
>
> Jun 24 14:13:43 host /usr/sbin/sip-proxy[29890]: ERROR: avpops
> [avpops_impl.c:1170]: ops_check_avp(): value types don't match
look at xlog module, iirc, one of the functions there is able to print 
its own config line.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list