I noticed a few suspicious conditionals pertaining to contact rewrite, along the lines of if (acc->cfg.allow_contact_rewrite != 2 However, allow_contact_rewrite is a pj_bool_t and should only ever be set to PJ_TRUE or PJ_FALSE. I expect that the intentions was to write if (acc->cfg.contact_rewrite_method != 2 I've attached a patch. Best, Tristan -- Tristan Matthews D?veloppeur de logiciels libres tristan.matthews at savoirfairelinux.com Ligne directe: 514-276-5468 poste 190 Fax : 514-276-5465 7275 Saint Urbain Bureau 200 Montr?al, QC, H2R 2Y5 -------------- next part -------------- A non-text attachment was scrubbed... Name: contact_rewrite.patch Type: text/x-patch Size: 1635 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131114/93976526/attachment-0001.patch>