[Freeswitch-dev] Sofia configuration

Simon Capper scapper at ooma.com
Mon Jul 21 01:58:56 EDT 2008


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






More information about the Freeswitch-dev mailing list