Hi Simon,
I am trying to debug this ENUM/SRV error after your last patch.
Execution reaches the PTRACE error on line 1276 in Neighbor.cxx.
if (!nb->SetProfile(domain,addr)) {
PTRACE(4, "Routing\tERROR setting SRV neighbor
profile " << domain << " at " << addr);
return false;
}
The SetProfile returns false and I am trying to figure out what is going wrong.
Here is the debug info inside SetProfile:
Neighbors::Neighbor::SetProfile (this=0x8681970, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at Neighbor.cxx:265
265 return false;
(gdb) print this
$5 = (class Neighbors::Neighbor * const) 0x8681970
(gdb) print name
$6 = (const PString &) @0x37ffa90: {<PCharArray> = {<PBaseArray<char>> =
{<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr.PObject = 0x4f0488},
reference = 0x867d360}, elementSize = 1, theArray = 0x867d678
"@auth.gr",
allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No
data fields>}
(gdb) print addr
$7 = (const H323TransportAddress &) @0x37ff960: {<PString> = {<PCharArray> =
{<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {
_vptr.PObject = 0xffc548}, reference = 0x8681cb0}, elementSize =
1, theArray = 0x867d748 "ip$155.207.1.32:1719",
allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No
data fields>}, <No data fields>}
Any ideas?
Thanks,
Dimitris
Dimitris Daskopoulos wrote:
>
> Simon Horne wrote:
>> Dimitris
>>
>> Told you it was bleeding edge...
>
> Having told me about it, I had to try it out...
>
>> The policy sequence seems to be functioning correctly.
>>
>> ENUM resolves the SRV record
>> SRV resolves the RAS IP and port of the gatekeeper.
>> However the IP address of the gatekeeper is not being passed to the
>> neighbor object to send the LRQ to.
>>
>> Looks like a conversion error.
>> I have checked in a fix to hopefully resolve that issue.
>>
>> Simon
>>
> I just recompiled the latest cvs and now I get "ERROR setting SRV
> neighbor profile":
>
> 2006/11/28 00:13:49.788 5 Routing.h(169) ROUTING Checking
> policy ENUM for the request ARQ 2
> 2006/11/28 00:13:49.903 4 Routing.cxx(1201) ENUM
> converted remote party 302310998490 to [EMAIL PROTECTED]
> 2006/11/28 00:13:49.903 5 Routing.h(169) ROUTING Checking
> policy SRV for the request ARQ 2
> 2006/11/28 00:13:49.924 4 Neighbor.cxx(1271) Routing DNS SRV
> LRQ converted remote party [EMAIL PROTECTED] to 155.207.1.32:1719
> 2006/11/28 00:13:49.945 4 Neighbor.cxx(1277) Routing ERROR
> setting SRV neighbor profile @auth.gr at ip$155.207.1.32:1719
> 2006/11/28 00:13:49.945 5 Routing.h(169) ROUTING Checking
> policy DNS for the request ARQ 2
> 2006/11/28 00:13:49.959 5 Routing.h(175) ROUTING Policy
> DNS applied to the request ARQ 2
>
> Thanks for the follow up.
> Regards.
> Dimitris
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________________
>
> Posting: mailto:[email protected]
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
--
Δημήτρης Δασκόπουλος
Υπεύθυνος Υπηρεσιών Δικτύου
Κέντρο Λειτουργίας Δικτύου
ΑΠΘ
τηλ: +302310998490
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________________
Posting: mailto:[email protected]
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/