21 Jul
2008
21 Jul
'08
5:58 a.m.
I have a sip profile with a ext-sip-ip address that will change from time to time and I want to automatically update freeswitch. It will only change when there are no calls in progress and the sip-ip address will never change. Can I do this: Set a variable in "my_ext_ip=1.2.3.4" "vars.xml" In the sip-profile set "ext-sip-ip=$${my_ext_ip}" Whenever the ip-address changes update vars.xml and do "sofia profile profile_name reloadxml". Does vars.xml get re-read whenever mod_sofia reloads a profile, or only once at startup? How do I invoke "sofia profile ..." from a C application module? Thanks, Simon