[asterisk-dev] [svn-commits] bweschke: trunk r151327 - /trunk/channels/chan_sip.c

BJ Weschke bweschke at gmail.com
Tue Oct 21 07:50:55 CDT 2008


Johansson Olle E wrote:
> This is wrong. The error is elsewhere in the code where Kevin and I  
> started to work last week.
>
> /O
> 21 okt 2008 kl. 13.02 skrev SVN commits to the Digium repositories:
>
>   
>> Author: bweschke
>> Date: Tue Oct 21 06:02:08 2008
>> New Revision: 151327
>>
>> URL: http://svn.digium.com/view/asterisk?view=rev&rev=151327
>> Log:
>> Fix configuration parsing so type=friend still identifies "friend"  
>> as a peer even though it is now a legacy configuration verb.
>>
>> (closes issue #13705)
>> reported by: blitzrage
>> patched by: bweschke
>>
>>
>> Modified:
>>    trunk/channels/chan_sip.c
>>
>> Modified: trunk/channels/chan_sip.c
>> URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=151327&r1=151326&r2=151327
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> ======================================================================
>> --- trunk/channels/chan_sip.c (original)
>> +++ trunk/channels/chan_sip.c Tue Oct 21 06:02:08 2008
>> @@ -22723,7 +22723,7 @@
>> 			if (!strcasecmp(utype, "user")) {
>> 				is_peer = 1;
>> 			} else if (!strcasecmp(utype, "friend")) {
>> -				is_peer = 1;
>> +				is_peer = 2;
>> 			} else if (!strcasecmp(utype, "peer"))
>> 				is_peer = 2;
>> 			else {
>>
>>     

  Ok. I give. Where?  What needs to be done to fix this the way that you want it fixed?



--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/






More information about the asterisk-dev mailing list