[Serusers] enum parse problem

Toni Barata toni-r-barata at ptinovacao.pt
Fri Mar 4 11:46:52 CET 2005


Hi juha,

Take a look in the ethereal sniffing for both cases (see attach):
Thanks for helping us.

Best regards,
toni

-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On Behalf Of Juha Heinanen
Sent: quinta-feira, 3 de Março de 2005 19:29
To: Toni Barata
Cc: serusers at lists.iptel.org
Subject: [Serusers] enum parse problem

Toni Barata writes:

 > Why enum module is not capable of parsing a response to a naptr query
 > if this response don´t have any Authority and Additional RRs?

this has nothing to do with naptr query.  if there is a problem with
those authority or additional rrs, it applies to any query.  are you
sure that in both case (with and without a and aa rrs), rdata containing
naptr record looks exactly the same?  the format is this:

*  0123456789012345
 * +----------------+
 * |      order     |
 * |----------------|
 * |   preference   |
 * |----------------|
 * ~     flags      ~
 * |   (string)     |
 * |----------------|
 * ~    services    ~
 * |   (string)     |
 * |----------------|
 * ~    regexp      ~
 * |   (string)     |
 * |----------------|
 * ~  replacement   ~
   |    (name)      |
 * +----------------+

i didn't see order/preference in your response or then ethereal is not
able to decode rdata properly.

-- juha

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enum-response-with-authRRs.out
Type: application/octet-stream
Size: 1023 bytes
Desc: enum-response-with-authRRs.out
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050304/e6272cc7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enum-response-without-authRRs.out
Type: application/octet-stream
Size: 618 bytes
Desc: enum-response-without-authRRs.out
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050304/e6272cc7/attachment-0001.obj>


More information about the sr-users mailing list