VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
anagpal at velankani.com Guest
|
Posted: Thu Apr 17, 2008 11:25 pm Post subject: [asterisk-users] 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. |
|
Back to top |
|
|
greymanvoip at gmail.com Guest
|
Posted: Fri Apr 18, 2008 12:26 am Post subject: [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. |
|
Back to top |
|
|
anagpal at velankani.com Guest
|
Posted: Fri Apr 18, 2008 12:57 am Post subject: [asterisk-users] SIP outboundproxy for asterisk |
|
|
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 |
|
Back to top |
|
|
greymanvoip at gmail.com Guest
|
Posted: Fri Apr 18, 2008 1:23 am Post subject: [asterisk-users] SIP outboundproxy for asterisk |
|
|
If you search the Asterisk bug tracker with outboundproxy you'll get a
few hits. This is the latest one:
http://bugs.digium.com/view.php?id=12006
The way I use outboundproxy is via realtime and apply it to each
sipaccount. If you set the outboundproxy for each of your SIP accounts
in sip.conf then when you dial that SIP account it should be sent via
the outboundporxy address specified in sip.conf.
Regards,
Greyman. |
|
Back to top |
|
|
anagpal at velankani.com Guest
|
Posted: Fri Apr 18, 2008 2:39 am Post subject: [asterisk-users] SIP outboundproxy for asterisk |
|
|
Thanks Greyman, for the quick response.
True, I think I had read it somewhere that outboundproxy only works when you
specify it on a per-sip-account basis.
This approach works well if one has a limited set of target endpoints, but
becomes a show-stopper, if we have to generically allow any remote domain
user to be called via our local outbound. Right?
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 11:53 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] SIP outboundproxy for asterisk
If you search the Asterisk bug tracker with outboundproxy you'll get a
few hits. This is the latest one:
http://bugs.digium.com/view.php?id=12006
The way I use outboundproxy is via realtime and apply it to each
sipaccount. If you set the outboundproxy for each of your SIP accounts
in sip.conf then when you dial that SIP account it should be sent via
the outboundporxy address specified in sip.conf.
Regards,
Greyman.
_______________________________________________
-- 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 |
|
Back to top |
|
|
greymanvoip at gmail.com Guest
|
Posted: Fri Apr 18, 2008 2:53 am Post subject: [asterisk-users] SIP outboundproxy for asterisk |
|
|
Quote: | This approach works well if one has a limited set of target endpoints, but
becomes a show-stopper, if we have to generically allow any remote domain
user to be called via our local outbound. Right?
|
That's correct as far as I am aware, I have the same problem. To call
arbitrary endpoints I go direct from the Asterisk server as I've never
been able to find a way to get the calls to go through a SIP Proxy.
Regards,
Greyman. |
|
Back to top |
|
|
oej at edvina.net Guest
|
Posted: Fri Apr 18, 2008 1:45 pm Post subject: [asterisk-users] SIP outboundproxy for asterisk |
|
|
The outbound proxy support in 1.2 and 1.4 is buggy and basically
totally wrong.
That's why I have a branch in my svn repository with a rewrite of the
outbound proxy support for 1.4.
This is part of Asterisk 1.6.0 and future releases, but not of 1.4.
Enjoy!
http://svn.digium.com/view/asterisk/team/oej
/O |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|