<div dir="ltr">I have many endpoints and each endpoint has some parameter in common so i wonder is there any way to config one for all endpoints? Like in my example I have two endpoints and I repeat the same thing,<div><br></div><div>
<p class=""><span class="">[100]</span></p>
<p class=""><span class="">type=endpoint</span></p>
<p class=""><span class="">aors=100</span></p>
<p class=""><span class="">auth=100-auth</span></p>
<p class=""><span class="">allow=ulaw,alaw,gsm,g726</span></p>
<p class=""><span class="">context=from-internal</span></p>
<p class=""><span class="">callerid=device <100></span></p>
<p class=""><span class="">dtmf_mode=rfc4733</span></p>
<p class=""><span class="">use_avpf=no</span></p>
<p class=""><span class="">ice_support=no</span></p>
<p class=""><span class="">media_use_received_transport=no</span></p>
<p class=""><span class="">trust_id_inbound=yes</span></p>
<p class=""><span class="">send_pai=yes</span></p>
<p class=""><span class="">rtp_symmetric=yes</span></p>
<p class=""><span class="">rewrite_contact=yes</span></p><p class=""><span class="">message_context=astsms</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">[200]</span></p>
<p class=""><span class="">type=endpoint</span></p>
<p class=""><span class="">aors=200</span></p>
<p class=""><span class="">auth=200-auth</span></p>
<p class=""><span class="">allow=ulaw,alaw,gsm,g726</span></p>
<p class=""><span class="">context=from-internal</span></p>
<p class=""><span class="">callerid=device <200></span></p>
<p class=""><span class="">dtmf_mode=rfc4733</span></p>
<p class=""><span class="">use_avpf=no</span></p>
<p class=""><span class="">ice_support=no</span></p>
<p class=""><span class="">media_use_received_transport=no</span></p>
<p class=""><span class="">trust_id_inbound=yes</span></p>
<p class=""><span class="">send_pai=yes</span></p>
<p class=""><span class="">rtp_symmetric=yes</span></p>
<p class=""><span class="">rewrite_contact=yes</span></p><p class=""><span class="">message_context=astsms<br></span></p><p class=""><span class=""><br></span></p><p class="">how could I avoid duplicate thing like this ?</p></div></div>