dns and minisip
Mikael Magnusson
mikma264 at gmail.com
Mon Jan 29 20:29:12 CET 2007
Philippe Torrelli wrote:
> Hello,
>
> Now that minisip sends SRV queries to the dns to get the ports for tcp, tls,
> and udp, I couldn't find a way to configure minisip so that it doesn't query
> the dns:
>
> I set the proxy_addr to the fqdn of my proxy, proxy_port , and proxy
> transport to what I want and <auto_detect_proxy> to no,
> register, and invite another host ...
>
> The other host sends 200 Ok to minisip, and before minisip ACK's the 200 OK
> it issues a srv request to the dns - see the attached trace, where it
> queries the DNS for _sip._udp.192.168.92.1 ( where 192.168.92.1 is the ip
> of my proxy ).
>
> Shouldn't minisip just use the proxy port I set, as previously ?
>
> It doesn't matter very much when the dns is fast to answer the dns query (
> as in this trace for example ), but if it takes time to answer ( or doesn't
> answer at all ), minisip gets flooded with '200 Ok' requests from the
> proxy, doesn't react when the other peer hangs the call ...
>
>
> Thanks in advance
>
> Philippe Torrelli
>
The problem is not caused by the proxy setting, but the Record-Route in
200 Ok. Minisip should use the numeric ip address and send the request
to the default port for the used protocol (5060 for udp) instead of
looking up SRV-records.
Record-Route: <sip:192.168.92.1;lr=on;ftag=22485>
As a workaround until it's fixed in minisip, you can add the port (5060)
to the Record-Route if possible.
Mikael
More information about the Minisip-devel
mailing list