[Freeswitch-users] Why FS rewrites From header?

Joegen E. Baclor joegen at opensipstack.org
Fri Apr 1 09:06:57 MSD 2011


On 04/01/2011 08:24 AM, Iñaki Baz Castillo wrote:
> 2011/4/1 Iñaki Baz Castillo<ibc at aliax.net>:
>> A B2BUA could handle different domains (local domains). It's common in
>> a multidomain IP environment. Doesn't FS allow it?
>> A SIP user is identified by a complete AoR (user and domain, like in
>> mail world), does FS assume that just the username part is the
>> identifier so alice at domainA.org is the same as alice at domainB.org for
>> FS?
> In my case I've a SIP proxy that manages different local domains, and
> I plan to put some FS boxes behind it to offer PBX services. But for
> that I need that FS understands that alice at domainA.org is a different
> user than alice at domainB.org, and when it routes back a call to the SIP
> proxy/registrar it must keep the original From URI (also the domain).
>
> This is:
>
>    alice at domainA.org  ---->  Proxy/Registrar ----->  FS  ---->  same
> Proxy/Registrar ---->  alice at domainB.org
>
> When alice at domainB.org receives the call, she must see
> alice at domainA.org in the From header.
>
> Does FS allow it?


This might be what you need - 
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_invite_domain





More information about the FreeSWITCH-users mailing list