Hi Ricardo, this does not work, uac_replace_from is known to misbehave if called twice in a transaction. You could try to add another branch, but please don't take my words too serious - I need some more coffee today ;-)
Best regards, Thomas Gelf Ricardo Martins schrieb: > Hi guys I think I found a bug on uac_replace_from(uri) function. > > When I use it a second time at the same transaction (into the failure > route) in order to send the call with a proper "From" to a backup > provider, the function is not replacing the "From" information as > expected but it is adding a second uri string just after the first. Like > that: > > Original from: > From: "grupo1" <sip:gru...@homedomain>;tag=qtfgz. > > After the first use of uac_replace_from(uri) function: > From: "grupo1" <sip:userna...@domainproviderone>;tag=qtfgz. > > Truncating after the second use: > From: "grupo1" > <sip:userna...@domainprovideronesip:userna...@domainprovidertwo>;tag=qtfgz. > > > Do anybody used this function as that? > > Regards, Ricardo. _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
