Hello All!
I have Asterisk 1.6.2.9, and tryed to use template. But when I am creating template and then creating 2 templates inherited from 1th one, peers created from different templates has one context. Even if I am create peer without template peer has context defined in template.
Here my config:
[temp](!)
type=friend
host=dynamic
nat=yes
canreinvite=no
disallow=all
allow=g729,gsm,ilbc
videosupport=no
dtmfmode=rfc2833
[temp_pc](!,temp)
context=work-in
[temp_fc](!,temp)
context=work-out
[ext1](temp_pc)
regexten=001
callerid="1001" <1001>
secret=tErcs3zIT0cK
[ext2](temp_fc)
regexten=002
callerid="1002" <1002>
secret=tErcs3zIT0cK
in both cases sip show peer ( ext1 and ext2) has same context work-in.
any comments, advises ?