[Users] Using uac_replace_from to munge username between ser and Asterisk?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jan 30 19:08:14 CET 2006

Hi Barry,

I've seen some time ago a similar post - a suggested solution was to 
enable multidomain support into Asterisk in order to avoid user overlapping.


Barry Flanagan wrote:

> Hi,
> I am trying to get a multi-domain setup working between OpenSER and 
> Asterisk (PSTN gateway and Voicemail).
> It appears that I need to munge the username before it goes to 
> Asterisk so that it includes the domain element, otherwise there is 
> clashing in the username namespace on Asterisk.
> It looks like I should be able to use uac_replace_from to change the 
> From URI from user at domain.com to user_domain at domain.com so that then I 
> can set up the users in Asterisk as [user_domain]
> Does this sound sane, and could someone tell me how I can accomplish 
> this in OpenSER? I have tried a few things but they all end up as bad 
> headers.
> Thanks in advance.

More information about the Users mailing list