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,

[100]

type=endpoint

aors=100

auth=100-auth

allow=ulaw,alaw,gsm,g726

context=from-internal

callerid=device <100>

dtmf_mode=rfc4733

use_avpf=no

ice_support=no

media_use_received_transport=no

trust_id_inbound=yes

send_pai=yes

rtp_symmetric=yes

rewrite_contact=yes

message_context=astsms


[200]

type=endpoint

aors=200

auth=200-auth

allow=ulaw,alaw,gsm,g726

context=from-internal

callerid=device <200>

dtmf_mode=rfc4733

use_avpf=no

ice_support=no

media_use_received_transport=no

trust_id_inbound=yes

send_pai=yes

rtp_symmetric=yes

rewrite_contact=yes

message_context=astsms


how could I avoid duplicate thing like this ?
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to