Hey all

I have started using the uac module to be able to mirror username
changes on both legs of a call.

But now I found an issue:

Assume this situation:

Call IC => Customer
IC is e164, Customer wants 'local' numbers.

IC From: +41991234567 => Customer From: 0991234567

uac_replace_from("sip:" + $avp(from_local) + "@" + $(fu{uri.host}));

Customer is absent, after timeout in failure_route call is dispatched to
Voicemail Server, which is configured for e164 numbers:

uac_replace_from("sip:" + $avp(from_e164) + "@" + $(fu{uri.host}));

But then uac complains:

replace_uri(): Already called uac_replace for this dialog

Why isn't just the most from version kept and used?

-- 
Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to