[asterisk-dev] SIP Autopeer templates [was Re: The fate of 16033]

Kirill 'Big K' Katsnelson kkm at adaptiveai.com
Tue Feb 23 05:25:14 CST 2010


On 100222 2227, Olle E. Johansson wrote:
> 22 feb 2010 kl. 23.44 skrev Kirill 'Big K' Katsnelson:
> 
>> On 100217 2352, Olle E. Johansson wrote:
>>>> Does not look like it has been used much at all? What I am missing somewhat there is kind of a peer "template" that would be applied to an autocreated peer -- you can configure a manual one in a [section] of sip.conf, but little can be configured in an automatic one.
>>>>
>>> Funhy you should say that. In my chan_sip2 code over five years ago, there was a template system for autocreatepeer as well as for realtime. Maybe we should bring that template code alive again.
>> I have seen chan_sip2 in general and the template feature in particular mentioned in the tracker, but could never figure out what happened to that code.
> Most of it got merged after Mark and I agreed on things. But not all. This is one part that was never merged.
>>>> Do you think such a feature could be of any interest to the community of users? I have not taken a decision to implement it yet, but I'll put that on the "pro" side of the balance.
>>> I think it's needed both for autocreatepeers and for realtime. I often get questions if the templates we have in text based configs is available for realtime, but it is not. We do need something for that.
>>> If I remember correctly, I had something like
>>> [template_autocreatepeer]
>>> type=template
>>> [mysweetrealtimeclass5]
>>> type=template
>>> These where excluded from all matching and counting of objects, but used when creating the peers. I think the implementation would be much more simple now.
>> Sounds sweet. So does that exist anywhere?
> Well, chan_sip2 is still around in the bug tracker somewhere deeply hidden. I also have it on my hard disk drive. 

Thanks, I'll look it up. I think I seen it. But the bottom line is that 
the feature is dead now.

 > As always, if I get funding I can update this code.

Oh, can you believe how much good stuff I can hack up if I get the 
funding...

  -kkm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5506 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20100223/0d786959/attachment-0001.bin 


More information about the asterisk-dev mailing list