Hi! This is/was a known problem, which should be solved: http://trac.pjsip.org/repos/ticket/917 regards klaus Am 28.04.2010 22:53, schrieb Moshe Matitya: > We are running a modified version of the stateful_proxy sample > application that was distributed with PJSIP 0.7.0. > > We are experiencing a problem involving DNS-based terminators: An INVITE > is sent to a particular IP address, and a 100 TRYING and 183 SESSION > PROGRESS are received from that same address. However, when we send a > CANCEL, it gets sent to a different IP address. > > Example: > > A call is sent to bvxdnssrv.borderproxy.com which is initially defined > as 64.158.162.78. The INVITE is sent to 64.158.162.78, the 100 TRYING is > received from there, and the 183 SESSION PROGRESS is received from there > as well. However, when we send a CANCEL, it is to 64.156.174.78. > > 64.158.162.78 is part of the srv1 record, and 64.156.174.78 is part of > the srv2 record. > > Is the proxy performing a fresh DNS lookup in a situation when we need > to send a CANCEL before we have received a 200 OK? > > Is this a known problem? How it can be fixed? > > Also, do there exist any other scenarios in which DNS termination can > result in messages from the same call getting sent to multiple IP addresses? > > Thank you, > > Moshe Z. Matitya > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org