[Serusers] More random avpops questions....
Daniel-Constantin Mierla
daniel at voice-system.ro
Sun Sep 25 14:39:07 CEST 2005
On 09/24/05 20:00, Daniel-Constantin Mierla wrote:
>
>
> On 09/23/05 15:50, sip wrote:
>
>> On examination of the source for the avpops module, I see that the
>> debugging
>> code isn't actually IN there. Am I missing something? All debug
>> information
>> is printed by a command/define called DBG... it appears numerous
>> times in the
>> code (some places commented out, some places incorrectly uses (some
>> typos in
>> the usage)), but the define or command that it's calling doesn't
>> actually
>> exist, so no debugging info is printed. avp_print() uses this, so it
>> doesn't
>> actually do anything.
>>
>> So again... anyone got an idea on how to get debugging info from
>> avpops?
>>
> you didn't look in the appropriate file, see debug.h, there is
> declared the DBG() macro.
errata: the fine name is 'dprint.h'
Daniel
>
> Daniel
>
>> N.
>>
>>
>> On Fri, 23 Sep 2005 09:01:24 +0200, Greger V. Teigre wrote
>>
>>
>>>> Okay... I think with Steve's help, I've been getting somewhere
>>>> with my avpops
>>>> stuff, but I have a couple of questions.
>>>>
>>>> 1) What is the format of the $from and $to headers as far as avpops is
>>>> concerned? How can I find that out?
>>>>
>>>
>>> username at domain.com
>>> $from/username=username
>>> $from/domain=domain.com
>>>
>>>
>>>
>>>> 2) How does avp_print() work (i.e. to where does it print) ? Is
>>>> there any way
>>>> I can get intermediate values of things so I can see just what it
>>>> is my little
>>>> scripts are doing?
>>>>
>>>
>>> To the log. I believe you need to increase the debugging level to
>>> get the output. g-)
>>>
>>>
>>>
>>>> N.
>>>>
>>>> _______________________________________________
>>>> Serusers mailing list
>>>> serusers at lists.iptel.org
>>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list