[Asterisk-Users] Re: Last guy to get BV working outbound

Brian G briang at net109.com
Thu Mar 17 12:30:06 MST 2005


Wow, thanks Brian!  Everything I saw said the patch was only needed on
older releases.  I've updated several times over the last week.  I
patched two systems today, one 3/11/05 and one 3/17/05 and now they both
work.  Should have posted here sooner!

Brian G.

On Thu, 2005-03-17 at 13:28, Brian Buhrow wrote:
> 	Hello.  I'm writing in response to your message to the ASterisk-users
> mailing list about having trouble getting Asterisk working with outbound
> BroadVoice calls. You need to edit chan_sip.c in the asterisk source, or
> update your version of asterisk to the latest version.  The patch itself is
> pretty straightforward if you can program in C at all, and looks like the
> following.  Note that this patch should apply to any version of chan_sip.c
> from the end of 2003 through last week. You may have to apply it by hand,
> but it should apply.
> 
> 	Then, reinstall chan_sip.so, stop and restart asterisk, and you should
> be good to go.
> -Brian
> 
> --- chan_sip.c.fcs	2003-12-13 14:54:37.000000000 -0800
> +++ chan_sip.c	2005-03-10 11:48:40.000000000 -0800
> @@ -4444,10 +4446,10 @@
>  }
>  
>  static int do_proxy_auth(struct sip_pvt *p, struct sip_request *req, char *header, char *respheader, char *msg, int init) {
> -	char digest[256];
> +	char digest[1024];
>  	p->authtries++;
>  	memset(digest,0,sizeof(digest));
> -	if (reply_digest(p,req, "Proxy-Authenticate", msg, digest, sizeof(digest) )) {
> +	if (reply_digest(p,req, header, msg, digest, sizeof(digest) )) {
>  		/* No way to authenticate */
>  		return -1;
>  	}




More information about the asterisk-users mailing list