Summary:ASTERISK-15094: Outbound proxy with realtime integration not working
Reporter:Bruce McAlister (asgaroth)Labels:
Date Opened:2009-11-06 10:57:44.000-0600Date Closed:2011-06-07 14:00:24
Versions:Frequency of
Description:I am having a peculiar issue with outbound proxy support in asterisk

I have had a look through the sip.conf sample and from my
understanding as long as a sip account is defined as a friend or a
peer we should be able to set the "outboundproxy" setting for the
account to the sip proxy.

We have our sip accounts defined in a database using the realtime
engine. We have also defined the following two settings for the
outbound proxy:


The users are all defined as friends.

When I attempt an outbound call the sip trace shows that asterisk is
trying to contact the remote endpoint directly and not via the
outbound proxy.
Comments:By: Bruce McAlister (asgaroth) 2009-11-06 11:04:28.000-0600

I forgot to mention that the same symptoms apply when trying the above with the latest SVN revision.

By: Leif Madsen (lmadsen) 2009-11-06 11:39:49.000-0600

Can you revert back to something like 1.4.24 and 1.4.21 to see if the issue is a regression?

By: Bruce McAlister (asgaroth) 2009-11-06 12:32:25.000-0600

1.4.24 exhibits the same behavior. The SIP trace shows that asterisk is trying to contact the endpoint directly and not via the outboundproxy definition.

I will try 1.4.21 shortly.

By: Bruce McAlister (asgaroth) 2009-11-06 12:45:13.000-0600

The outboundproxy setting works correctly with Asterisk 1.4.21. This must be a regression in post 1.4.21 versions.

By: Leif Madsen (lmadsen) 2009-11-12 15:56:32.000-0600

I'm closing this per Russell as this is not an issue since this is not supported in 1.4. It is a 1.6.x feature that has been added.