Summary:ASTERISK-00750: [patch] copy permit/deny data
Reporter:Olle Johansson (oej)Labels:
Date Opened:2004-01-06 15:40:07.000-0600Date Closed:2011-06-07 14:05:17
Versions:Frequency of
Environment:Attachments:( 0) acl-c.diff
( 1) acl-h.diff
( 2) diff-acl-c.txt
Description:This patch adds a function that copies the permit/deny (ha) linked list from one peer to another.


Patches acl.c and include/asterisk/acl.h
Comments:By: Olle Johansson (oej) 2004-01-06 15:41:06.000-0600

Hmm my filename was acl-c.diff but it seems chopped off... :-)

By: Brian West (bkw918) 2004-01-07 00:17:41.000-0600

does this fix bug 755

By: Olle Johansson (oej) 2004-01-07 01:30:51.000-0600

No, they're separate. This is additional functionality.

By: Malcolm Davenport (mdavenport) 2004-01-08 17:39:49.000-0600

Anyone tested this?

By: Olle Johansson (oej) 2004-01-09 01:35:58.000-0600

Stay tuned. As of now, I can't test it because I can't get basic permit/deny to work. As soon as basic permit/deny works, this one will be tested. The chan_sip2 beta sip channel depends on this to work.

By: Olle Johansson (oej) 2004-01-10 17:03:25.000-0600

Uploaded new diff to reflect changes in acl.c in CVS

By: Tilghman Lesher (tilghman) 2004-01-11 03:14:30.000-0600

I'm not sure why or when you would ever call this code.

By: Olle Johansson (oej) 2004-01-11 03:33:05.000-0600

In the chan_sip2 channel I copy peers. I need code to copy permit/deny data from one peer to another. Felt it was better to have it in acl.c for other channels to use (if ever wanted) than to hack it into chan_sip

I copy peers for the new [template-*] configuration scheme.

By: Olle Johansson (oej) 2004-01-13 02:56:47.000-0600

Use the h.diff and the acl-c.txt files, not the c.diff file, to patch.

By: Olle Johansson (oej) 2004-03-21 08:46:09.000-0600

THis is moved to chan_sip2, so this separate bug is ready to be closed.