Hello Scott,
here is my register request and following response from ClearWater IMS
--- REQUEST ---
Via: SIP/2.0/UDP 77.72.27.3:39342;branch=z9hG4bK-524287-1---01078486d9a42261
Max-Forwards: 70
Contact: <sip:6505550692@77.72.27.3:39342;rinstance=56696341ee07f349;transport=UDP>
Call-ID: v1qsG2Dy4SeDiwHFxlRNZA..
CSeq: 324 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
User-Agent: Z 3.9.32144 r32121
Authorization: Digest username="
6505550692@xxxxxxxxxxx",realm="
example.com",nonce="1b49b1a22fdb9bc8",uri="sip:
example.com;transport=UDP",response="518cfa0d9af3c915cc7132f1fb7f7268",cnonce="8ad835f735e4f6df934c9c21f9d51bf3",nc=00000143,qop=auth,algorithm=MD5,opaque="4b8f980205de7088"
Allow-Events: presence, kpml
Content-Length: 0
--- RESPONSE ---
SIP/2.0 200 OK
Service-Route: <sip:scscf.cw-aio:5054;transport=TCP;lr;orig>
Via: SIP/2.0/UDP 77.72.27.3:39342;received=10.0.2.2;branch=z9hG4bK-524287-1---01078486d9a42261
Record-Route: <sip:scscf.cw-aio:5054;transport=TCP;lr;service=scscf;billing-role=charge-orig>
Call-ID: v1qsG2Dy4SeDiwHFxlRNZA..
CSeq: 324 REGISTER
Supported: outbound
Contact: <sip:6505550692@77.72.27.3:39342;transport=UDP;rinstance=56696341ee07f349>;expires=300
Require: outbound
Path: <sip:vjYGWKcDFn@10.0.2.15:5058;transport=TCP;lr;ob>
Content-Length: 0
As you can see in the response there are both Record-Route and Service-Route headers that point to scscf.cw-aio that is an internal address of the vm that is not resolvable.
When i try to send an invite to:
6505550692@xxxxxxxxxxx using the p-scscf provided by the ClearWater VM (used for the register request as well)
Resiprocate tries to dns-resolve scscf.cw-aio failing and returns 503.
Now, my question is, why is Resiprocate trying to reach that address?
1) if it is for Record-Route header, then it could be a bug, since RFC3261 says that such header coming in a response to register should not be taken for following requests.
2) if it is for Service-Route header (RFC 3608) where it says:
This service route has the form of a Route header
field that the registering UA may use to send requests through the
service proxy selected by the registrar.
then i'd like to know how i can avoid this optional behaviour
thanks for all your help :)