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

Johansson Olle E oej at edvina.net
Tue Oct 21 06:53:51 CDT 2008


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 {
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> svn-commits mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/svn-commits

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-dev mailing list