Ok, thanks for the help. I'll try and let you know what I'll get. Thanks again, Nikolay.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Georgiewskiy Yuriy Sent: Wednesday, September 01, 2010 3:10 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] mod_h323: call deferred due to unsuccessfull dns lookup
On 2010-09-01 13:46 +0400, Nikolay Kondratyev wrote 'FreeSWITCH Users Help':
NK>Hi all, NK>i found the following problem with mod_h323: NK>When i make outgoing call via h323, there is a 10 seconds delay before the call is sent out, via h323. NK>I believe it happens because fs tries to resolve _h323cs._tcp.172.23.14.2 srv record. NK>Here is a fragment of a log file: NK> NK>2010-09-01 12:02:17.144778 [DEBUG] mod_h323.cpp:1564 NK>======>create_outgoing_channel DST NUMBER = 5840@172.23.14.2 NK>2010-09-01 12:02:17.144778 [DEBUG] mod_h323.cpp:1532 NK>======>FSH323EndPoint::FSMakeCall DST NUMBER = 5840@172.23.14.2 NK>[FSH323EndPoint] NK>2010-09-01 12:02:17.144778 [DEBUG] mod_h323.cpp:1544 ----> Using NK>172.23.22.49 for outbound call NK>2010-09-01 12:02:17.144778 [DEBUG] pdns.cxx:498 SRV Lookup 172.23.14.2 service _h323cs._tcp. NK>2010-09-01 12:02:27.402216 [DEBUG] pdns.cxx:471 SRV Lookup Fail no NK>domain h323:5840@172.23.14.2 NK>2010-09-01 12:02:27.402216 [DEBUG] h323ep.cxx:2353 DNS SRV Cannot NK>resolve remote party 5840@172.23.14.2 NK>2010-09-01 12:02:27.402216 [DEBUG] h323ep.cxx:2141 Making call to: NK>5840@172.23.14.2 NK> NK>And i can also see this looking into the network trace with wireshark. NK>So one can see a 10 seconds delay due to failed dns lookup. NK> NK>I use FS 1.0.6. My h323.conf and dialplan are just like those NK>described in the wiki http://wiki.freeswitch.org/wiki/Mod_h323 NK> NK>As far as i understand, if ip address (not name) is specified, srv lookup should not be performed. Is it correct? NK>What could be done to make FS not to lookup this srv record (when ip address, not name, is specified)? NK> NK>Thanks in advance, NK>Nikolay.
I think this is library issue, as tempollary solution try rebuild libpt with --disable-resolver option then rebuild h323plus and mod_h323.
C уважением With Best Regards Георгиевский Юрий. Georgiewskiy Yuriy +7 4872 711666 +7 4872 711666 факс +7 4872 711143 fax +7 4872 711143 Компания ООО "Ай Ти Сервис" IT Service Ltd http://nkoort.ru http://nkoort.ru JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru YG129-RIPE YG129-RIPE