[asterisk-users] How to set the global setting for each pjsip endpoint
Thyda ENG
engthyda at gmail.com
Tue Sep 22 10:04:38 CDT 2015
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150922/12d54220/attachment.html>
More information about the asterisk-users
mailing list