Hi Jeff, Jeff Pyle wrote: > Hello, > > Although I've never tried it, I've read that running more than one > uac_replace_from() on a transaction does bad things to it. > to be more precise, per branch - you should not call uac_replace_from() more than once per branch. > An outbound call may serially fork through multiple PSTN gateways before > finding one that accepts the call. In this case, does it make sense to do > the uac_replace_from() in a branch route if different providers need the > >From field formatted differently? > That is the intended way to do it - you can use uac_replace_from() from failure_route or branch_route in order to apply the changes only for that current branch.
Regards, Bogdan > > > - Jeff > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
