[asterisk-users] SIP outboundproxy for asterisk

Amit Nagpal anagpal at velankani.com
Fri Apr 18 00:57:45 CDT 2008


Hi Greyman,

Thanks for your reply. I have gone through that link, but none applies
in my case, as I strictly need an outbound proxy such that it works
with target endpoints that are not registered with my OpenSER.

Most of the help available in various links suggest ->
exten => _XXXX,1,Dial(SIP/${EXTEN}@${SERADDRESS},20,r)

But this only works as long as ${EXTEN} is registered with OpenSER.

I need Asterisk to be able to call users registered with remote domains,
by relaying messages via my local OpenSER.

I am running OpenSER on the default 5060, so outboundproxyport being
ignored is not a problem for me.

Is there anything more I need to do apart from setting outboundproxy
to my local OpenSER? Because it doesn't seem to work.

Any pointers that you provide me will greatly help. Thanks in advance.

Regards,
Amit.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Grey Man
Sent: Friday, April 18, 2008 10:56 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] SIP outboundproxy for asterisk

There are lots of different ways to configure Asterisk and SER to get
them working together depending on what you want to do.

The link below is not a bad starting point.

http://www.voip-info.org/wiki-Asterisk+at+large

Asterisk has outboundproxy and outboundproxyport settings that can be
used in sip.conf but while they work to an extent there are bugs with
using them that have been around for at least two years and in fact as
fas as I can tell the outboundproxyport setting is ignored even though
it gets parsed.

Regards,

Greyman.


-----Original Message-----
From: Amit Nagpal [mailto:anagpal at velankani.com] 
Sent: Friday, April 18, 2008 9:55 AM
To: 'asterisk-users at lists.digium.com'
Subject: SIP outboundproxy for asterisk

Hi,

I have searched through the archives on this mailing list, but didn't 
find a solution to the outboundproxy problem. Can someone please help?

I wish to configure Asterisk such that all outgoing SIP requests get
relayed to an outboundproxy, instead of the actual recipient directly.

In my setup, I wish to use OpenSER as an outboundproxy that is running 
on the same box and network-interface as Asterisk itself, but listening 
on a different SIP port. 

I have tried the following, but none has worked:

1) Specify an outboundproxy in sip.conf
[general]
Outboundproxy=10.1.1.102

Asterisk still goes out to the callee directly.

2) I tried the following as well:
exten => _.,n,Dial(SIP/10.1.1.102/${EXTEN}@${SIPDOMAIN})

In this case OpenSER receives an INVITE with a RURI as ->

INVITE 10.1.1.102/user at external.com

Which obviously is not successfully parsed by OpenSER.

Can you please help me configure Asterisk to use my OpenSER as an
Outboundproxy for all outgoing call legs?

Thanks in advance,
Regards,
Amit.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list