great, thanks for the clarification...so simply,
rewrite("host") would trigger SRV lookup.
--- Klaus Darilion <klaus.mailinglists(a)pernau.at>
wrote:
Hi Alan!
That's the correct behaviour. Please read RFC 3263.
If the URI contains a
port, e.g. inside.acme.com:5060 there must not be an
SRV lookup. Because
the SRV lookup leads to a port, which is already
defined.
regards
klaus
On Tue, January 31, 2006 20:28, alan chiu said:
Server: Sip EXpress router (0.8.12
(i86pc/solaris))
when endpoint sends 18005551212(a)sip.acme.com, SER
(without rewriting of R-URI, looks it up with SRV
***************
386.656875 192.168.1.246 -> 10.100.0.111 SIP/SDP
Request: INVITE sip:18005551212@sip.acme.com, with
session description
386.657307 10.100.0.111 -> 192.168.1.246 SIP
Status:
100 trying -- your call is important to us
88.811658 10.100.0.111 -> 192.168.1.11 DNS
Standard
query SRV
_sip._udp.sip.acme.com
98.825208 192.168.1.11 -> 10.100.0.111 DNS
Standard
query response, No such name
98.825496 10.100.0.111 -> 192.168.1.11 DNS
Standard
query A
sip.acme.com
108.845136 192.168.1.11 -> 10.100.0.111 DNS
Standard
query response, No such name
108.845468 10.100.0.111 -> 192.168.1.11 DNS
Standard
query AAAA
sip.acme.com
118.865215 192.168.1.11 -> 10.100.0.111 DNS
Standard
query response, No such name
416.711408 10.100.0.111 -> 192.168.1.246 SIP
Status:
478 Unresolveable destination (478/TM)
407.921364 192.168.1.246 -> 10.100.0.111 SIP
Request:
ACK sip:18005551212@sip.acme.com
***********************************************************************************
*************
after rewritehostport("inside.acme.com:5060"), SER
only does an A lookup
***************
424.851557 192.168.1.246 -> 10.100.0.111 SIP/SDP
Request: INVITE sip:18005551212@nat.foo.com, with
session descripti
on
415.971953 10.100.0.111 -> 192.168.1.246 SIP
Status:
100 trying -- your call is important to us
127.006508 10.100.0.111 -> 192.168.1.11 DNS
Standard
query A
inside.foo.com
127.007557 192.168.1.11 -> 10.100.0.111 DNS
Standard
query response A 192.168.1.211
424.853464 10.100.0.111 -> 192.168.1.211 SIP/SDP
Request: INVITE
sip:18005551212@inside.foo.com:5060,
with session descriptio
n
415.973466 10.100.0.111 -> 192.168.1.211 SIP/SDP
Request: INVITE
sip:18005551212@inside.foo.com:5060,
with session descriptio
n
******************************************************************
How can I get SER to consistently do SRV lookup
after
rewriting of R-URI?
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers