Re: [SR-Users] several uac_replace_from in one dialog

2015-06-10 Thread Daniel-Constantin Mierla
Hello, the changes to headers/body of sip messages are not applied immediately, see: - http://www.kamailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or In your case, you can use msg_apply_changes() before the second uac_replace_from(). A better option is to use branch_route and do

[SR-Users] several uac_replace_from in one dialog

2015-06-09 Thread Никитенко Виталий
Hi! Making calls via different trunks through kamailio for simply so uac_replace_from ("sip:regname@ipaddress"); if (! t_relay ()) {    uac_replace_from ("sip:regname2@ipaddress");    t_relay () } exit and run tcpdump i see in fisrt INVITE From: "testname" ; tag = as21aea6e0 in second INVITE Fr