Hi Frederic, What version of pjsip do you have? In case you're not using 0.8, please update your source to 0.8. There have been several bugs regarding record-routing that have been fixed and also interop with Open IMS Core has been tested. cheers, -benny Babon Frederic wrote: > Hello all, > > I have a problem with the PRACK request, here is my scenario: > > > > - PJSIP with a ?sip:bob at open-ims.test? account configured, and > an outbound proxy set to ?sip:178.3.3.199;lr? (sip @ of the PCSCF entity > of the open ims core) > > - Open IMS Core > > - SIP AS > > > > Pjsip > send an INVITE to ?sip:as.open-ims.test? > > Open IMS Core > relay this request to SIP AS > > SIP AS > reply with 183 session in progress including a SIP header > ?Contact? equal to ?sip:172.16.2.21:5060? > > Open IMS Core > relay this response to Pjsip > > Pjsip > send a PRACK request to SIP AS : request-uri = ?sip:172.16.2.21? > (Contact header) > > SIP AS > refuse it because requests must be relayed by the ims core ! > > > > Why do the PRACK request is not sent to the PCSCF entity (configured as > outbound proxy?) ? > > > > Why PJSIP try to resolve hostname when an outbound proxy is set ? (I > have to add open-ims.test to my hosts file to send the first INVITE request) > > > > Should I have to configure my SIP AS to reply with Contact header equal > to ?sip:as.open-ims.test? ? > > > > Thanks all for your support ! > > > > Frederic.