hello,<br><br>i got a strange issue ... I'm using FS as a redirect server (route server) and it does work fine ... except if the original INVITE contains a Diversion header, the same header is lost in the responding 300 or 302 message.<br>
Is this by design or its a bug ?<br><br><br>this is a part of the code in sofia where u construct redirect response message...<br><br> if (argc > 1) {<br> nua_respond(tech_pvt->nh, SIP_300_MULTIPLE_CHOICES, SIPTAG_CONTACT_STR(dest),<br>
TAG_IF(!zstr(extra_headers), SIPTAG_HEADER_STR(extra_headers)), TAG_END());<br>
} else {<br> nua_respond(tech_pvt->nh, SIP_302_MOVED_TEMPORARILY, SIPTAG_CONTACT_STR(dest),<br> TAG_IF(!zstr(extra_headers), SIPTAG_HEADER_STR(extra_headers)), TAG_END());<br>
}<br><br><br>so, why the original diversion header is missing ? ... m'I missing something ?<br><br><br>also, should the 3000/302 message always contain a diversion field saying the call is diverted ?<br>
<br><br>Thanks for your answer,<br>Tihomir.<br><br><br>