[Freeswitch-users] mod_h323: call deferred due to unsuccessfull dns lookup
Nikolay Kondratyev
kond at nstel.ru
Wed Sep 1 02:46:28 PDT 2010
Hi all,
i found the following problem with mod_h323:
When i make outgoing call via h323, there is a 10 seconds delay before the call is sent out, via h323.
I believe it happens because fs tries to resolve _h323cs._tcp.172.23.14.2 srv record.
Here is a fragment of a log file:
2010-09-01 12:02:17.144778 [DEBUG] mod_h323.cpp:1564 ======>create_outgoing_channel DST NUMBER = 5840 at 172.23.14.2
2010-09-01 12:02:17.144778 [DEBUG] mod_h323.cpp:1532 ======>FSH323EndPoint::FSMakeCall DST NUMBER = 5840 at 172.23.14.2 [FSH323EndPoint]
2010-09-01 12:02:17.144778 [DEBUG] mod_h323.cpp:1544 ----> Using 172.23.22.49 for outbound call
2010-09-01 12:02:17.144778 [DEBUG] pdns.cxx:498 SRV Lookup 172.23.14.2 service _h323cs._tcp.
2010-09-01 12:02:27.402216 [DEBUG] pdns.cxx:471 SRV Lookup Fail no domain h323:5840 at 172.23.14.2
2010-09-01 12:02:27.402216 [DEBUG] h323ep.cxx:2353 DNS SRV Cannot resolve remote party 5840 at 172.23.14.2
2010-09-01 12:02:27.402216 [DEBUG] h323ep.cxx:2141 Making call to: 5840 at 172.23.14.2
And i can also see this looking into the network trace with wireshark.
So one can see a 10 seconds delay due to failed dns lookup.
I use FS 1.0.6. My h323.conf and dialplan are just like those described in the wiki http://wiki.freeswitch.org/wiki/Mod_h323
As far as i understand, if ip address (not name) is specified, srv lookup should not be performed. Is it correct?
What could be done to make FS not to lookup this srv record (when ip address, not name, is specified)?
Thanks in advance,
Nikolay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100901/835c8cfa/attachment.html
More information about the FreeSWITCH-users
mailing list