Hello,
On 12/20/09 1:58 PM, Klaus Darilion wrote:
Daniel-Constantin Mierla wrote:
Hello,
I reworked a bit the patch for req_uri storage in dialog structure and applied the rest. All happened for kamailio 3.0, changes therefore are in GIT: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git
Would be great if you can test. Documentation is not yet updated, there is a new parameter to specify what to use to populate the ruri column, here is something that you can use for your case (where you need original uri):
modparam("dialog", "ruri_pvar", "$avp(s:uri)")
route { ... $abp(s:uri) = $ou; ... }
Klaus, when you have time, please have a second look over the changes in dialoginfo module.
Hi Daniel!
RURI patch looks good. Regarding "contact" patch: It looks like the dlg-info struct only stores the from_contact, but not the to_contact. Thus, "target" will be not set except for provisional responses (case DLGCB_EARLY). Why?
I saw that the to_contact is taken from the reply (iirc), maybe Santiago has more insights since they wrote the patch.
Cheers, Daniel