[Asterisk-Dev] Re: [patch] Possible fix for subscribe bug.

Steve Davies davies147 at gmail.com
Mon May 16 02:12:18 MST 2005


On 5/13/05, Steve Davies <davies147 at gmail.com> wrote:
> 
[snip]
> 
> The failure was due to an inability to authenticate the SUBSCRIBE, and
> this was happening when the phone was trying to SUBSCRIBE using
> credentials from "SIP/line1", and find_peer(...) was returning
> credentials for the correct phone, but for "SIP/line2".
> 
> I have provided 2 versions of a simple patch, one against 1.0.7 and
> once against CVS-HEAD, and would appreciate comments. I have given the
> 1.0.7 version some basic testing, and have found no obvious problems.
> 
An additional patch is attached, against 1.0.7, which allows the "sip
show subscriptions" command to display the subscribed URI. The URI
string was not previously being stored.

I would appreciate feedback on these patches as I definitely qualify
an an amateur :)

Regards,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asterisk.chan_sip.107.patch2
Type: application/octet-stream
Size: 404 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20050516/c3afd060/asterisk.chan_sip.107.obj


More information about the asterisk-dev mailing list