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

Barry Flanagan barryf-lists at flanagan.ie
Mon Jan 30 18:15:41 CET 2006


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.

-- 

-Barry Flanagan




More information about the Users mailing list