On 2010/04/09 13:26, Alexey Suslikov wrote:
> On Fri, Apr 9, 2010 at 12:49, Stuart Henderson <[email protected]> wrote:
> > On 2010/04/09 12:32, Alexey Suslikov wrote:
> >> There is a problem in setup with outbound proxy (maybe related to
> >> https://issues.asterisk.org/view.php?id=15827).
> >
> > please try this diff from the bug you found:
> >
> > (also at http://junkpile.org/asterisk-1.6.2.6p0.diff)
> 
> Looks like it doesn't fix the problem.

bleurgh, i see it, this diff will fix it. bug# 17157.

Index: patches/patch-channels_chan_sip_c
===================================================================
RCS file: patches/patch-channels_chan_sip_c
diff -N patches/patch-channels_chan_sip_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-channels_chan_sip_c   9 Apr 2010 10:56:50 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- channels/chan_sip.c.orig   Wed Mar  3 00:19:57 2010
++++ channels/chan_sip.c        Fri Apr  9 11:56:12 2010
+@@ -3329,6 +3329,7 @@ static struct sip_proxy *proxy_allocate(char *name, ch
+       proxy->force = force;
+       ast_copy_string(proxy->name, name, sizeof(proxy->name));
+       proxy->ip.sin_port = htons(port_str2int(port, STANDARD_SIP_PORT));
++      proxy->ip.sin_family = AF_INET;
+       proxy_update(proxy);
+       return proxy;
+ }

Reply via email to