Linux – Elastix and extensions.conf

asterisklinuxvoip

My VOIP provider required me to add this into /etc/asterisk/extensions.conf:

exten => h,1,Hangup
exten => _00X.,1, Answer
exten => _00X.,n, Set(CALLERID(num)=96354205144239) ;
exten => _00X.,n, Dial(SIP/${EXTEN}@Trunk_Name)
exten => _00X.,n, Hangup

Could you please explain what is this syntax mean and what can it do .?

Also how to add this syntax using Elastix GUI instead of adding it manually into extenisons.conf.

Best Answer

It looks like they are trying to have you set your outgoing Caller ID string to that sequence of digits (which you should probably obscure). It should be sufficient to set your outgoing Caller ID for the outgoing SIP trunk to that value.