If I have an extensions.conf file as follows:
[from-internal]
exten => _NXXNXXXXXX,1,Set(CALLERID(all)=“Alan” <+13213513261>)
same => n,Dial(PJSIP/+1${EXTEN}@twilio-na-us)
same => n(end),Hangup()
I am not really sure what everything in these lines accomplishes, but would like to learn. I get that the from-internal is the context to setup the extensions and that I route it via Twilio. But the NXXNXXXXXX, from my understanding this line representes the extension number. Does this generalize the extensions, or am I supposed to replace this with my desired extension number?
The -set(CALLERID(all)=“Alan”-. I assume this is where I decide what my outbound callerid will be, and the “Alan” one being the name associated with this. Is this correct?
Thanks in advance.