peter,
do you think you would have time in near future to re-instate double
record-routing also when outbound is in use?
since the fix is not trivial, i'm afraid to try it myself.
-- juha
peter,
rr/save.c has:
381 int use_ob = rr_obb.use_outbound ? rr_obb.use_outbound(_m) : 0;
382 int sips;
383
384 user.len = 0;
385
386 if (add_username) {
387 /* check if there is a custom user set */
388 if (get_custom_user(_m, &user) < 0) {
389 if (get_username(_m, &user) < 0) {
390 LM_ERR("failed to extract username\n");
391 return -1;
392 }
393 }
394 } else if (use_ob == 1) {
395 if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
396 LM_ERR("encoding outbound flow-token\n");
397 return -1;
398 }
399 } else if (use_ob == 2) {
400 if (copy_flow_token(&user, _m) != 0) {
401 LM_ERR("copying outbound flow-token\n");
402 return -1;
403 }
404 }
i have not found that use_outbound would ever return value 2. is "} else
if (use_ob == 2) {" part something that can be removed?
-- juha
Hello,
Kamailio SIP Server v4.0.1 stable release is out.
This is a maintenance release of the latest stable branch, 4.0, that
includes fixes since release of v4.0.0. There is no change to database
schema or configuration language structure that you have to do on
installations of v4.0.0. Deployments running previous v4.x.x versions
are strongly recommended to be upgraded to v4.0.1.
For more details about version 4.0.1 (including links and hints to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2013/04/kamailio-v4-0-1-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda