Currently have everything working well for the internal template.
For the external template I need to setup NAT = STUN and set the STUN server variable (some of the extensions are double NAT’ed and STUN has been the only reliable way to deal with them).
Has anyone had to deal with this as well? Can you point me towards documentation or solution?
Trying to figure out where that setting might be in the basefile editor right now - haven’t seen it though.
–
Dennis
tonyclewis
(Tony Lewis - https://bit.ly/2SbDAyc)
#2
You can add anything custom to basefile editor. No different then adding them to a config file direct.
Thank you Tony. This was as simple as grabbing the templates from the Grandstream site and looking for the PXXX values (in this case P76 and P52), and adding the Grandstream model to the list of models that support those config vars (GXP-1165 in this case).
This module has saved me hours upon hours of work. Well worth the bucks
Now if I can figure out how to get these things to reboot from FreePBX. Either that for check for new config every N seconds/minutes?
tonyclewis
(Tony Lewis - https://bit.ly/2SbDAyc)
#4
Good luck on the reboot. Grandstream is one that only reboots if it detects a config file change and only some of the time. Other times it ignores the request.
Thanks for the reply again. I did get lucky (so far)!
EDITED:
/etc/asterisk/sip_notify_custom.conf
and ADDED:
[grandstream-check-cfg]
Event=>check-sync
asterisk core reload, and now EPM & Phone Restart module both reboot the phones.
FreePBX FTW!
tonyclewis
(Tony Lewis - https://bit.ly/2SbDAyc)
#6
[grandstream-check-cfg]
Event=>check-sync
This is already defined in /etc/asterisk/sip_notify_additional.conf by EPM.
Very odd then. I had to add it for the reboot to work. I’ve just tried taking it out again and reloading - now the phones won’t reboot from the EPM or the Phone Restart module.
tonyclewis
(Tony Lewis - https://bit.ly/2SbDAyc)
#8
Do you see it defined in the /etc/asterisk/sip_notify_additional.conf file
I see that. I haven’t hand edited any other files on the system, and the behavior difference is consistent with only adding and removing that stanza from sip_notify_custom.conf.
This isn’t a production system yet - so I’m going to comment out the custom include, and see if I can narrow down which addition/order (if any) in sip_notify_additional.conf is presenting my issue.
Does the system generate config on a timer, or if I edit these files will the changes stick until doing something else in the GUI?
OSS EPM was installed by default? I don’t remember installing it specifically because I knew we wanted the commercial module instead. However, I believe I downloaded the Grandstream templates with it as a test (was waiting for your offices to open so we could walk through the portal setup and purchase). Is there a good way of scrubbing the OSS one from this system? Should I just reinstall and reupload all the CSV files I have for bulk extensions, DIDs, and EPM?