[Freeswitch-users] Sending SIP calls via outbound proxy

Erick Johnson erick at junctionnetworks.com
Tue Dec 9 10:06:38 PST 2008


Hi Brian,

Thanks for the reply, but I still don't think that answers my original
question.  I'm trying to get FS to act simply as a UAC in this
instance, what I want is for FS to proxy ALL outbound calls through my
proxy server at foo.com.

So when FS originates a call to alice at bar.com I want the signaling path
to be set up as:

FreeSwitch ---> proxy.foo.com ---> alice at bar.com

I found this thread: 
http://lists.freeswitch.org/pipermail/freeswitch-users/2008-November/008582.html
but I still can't seem to get FS to stop resolving domain bar.com on 
it's own, even when I set the
sip_invite_domain variable like so:
 originate 
{sip_invite_domain='proxy.foo.com'}sofia/external/alice at bar.com &echo()

That is how I ended up using the "originate 
sofia/gateway/proxy/alice at bar.com &echo()" command.
While I understand that's wrong, I don't know what the right config/cmd 
is to accomplish my task.

Any other help is much appreciated.

Thanks,

Erick


>
> First example is WRONG you don't dial via a gateway that way.  If you  
> wish to dial alice at bar.com then try sofia/internal/alice at bar.com 
> as  
> you don't require a gateway to call alice right?
>
> /b
>
> On Dec 8, 2008, at 7:14 PM, Erick Johnson wrote:
>
> > Here is the command that I'm trying to use that behaves unexpectedly:
> > originate sofia/gateway/proxy/alice at bar.com &echo()
> >
> > However this command produces the results I'm expecting:
> > originate sofia/gateway/proxy/15551234 &echo()
>

-- 
Erick Johnson

sip/email erick at junctionnetworks.com
1-800-801-3381 x7006
Software Engineer
Junction Networks





More information about the FreeSWITCH-users mailing list