Mod xml_curl and managing external SIP gateways
Hello, I am using Ruby on Rails for managing endpoints(directory) and dialplans in Freeswitch. However I am wondering whether it is possble to dynamically generate external SIP gateways. I suspect this is done using the configuration bindings. When I enable this I receive the following xml_curl requests on my Ruby server when starting up Freeswitch {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_modules.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"event_socket.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"acl.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} Also during the runtime of FS can I see no more configuration requests. On the mod_curl page in FS there is a very rough example, but I do net get a real clue how to. In log/freeswitch.xml.fsxml I see that usually gateways are defined under the configuration_name="sofia.conf" But as you can see in the requests above there is no sofia.conf requested (according to the wiki there could be iax.conf|event_socket.conf|sofia.conf|...). Anybody has idea what I am doing wrongly and how to proceed? Just to mention: Directory and dialplans are working and I do receive already at least the above requests.
Nobody has an idea how to manage external SIP gateways and why I do not receive sofia.conf requests? Peter P GMX schrieb:
Hello,
I am using Ruby on Rails for managing endpoints(directory) and dialplans in Freeswitch with xml_curl.
However I am wondering whether it is possble to dynamically generate external SIP gateways. I suspect this is done using the configuration bindings. When I enable this I receive the following xml_curl requests on my Ruby server when starting up Freeswitch
{"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_modules.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"event_socket.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"acl.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"}
I would exspect having a "key_value"=>"sofia.conf", but it's not there
Also during the runtime of FS can I see no more configuration requests.
On the mod_curl page in FS there is a very rough example, but I do net get a real clue how to. In log/freeswitch.xml.fsxml I see that usually gateways are defined under the configuration_name="sofia.conf" But as you can see in the requests above there is no sofia.conf requested (according to the wiki there could be iax.conf|event_socket.conf|sofia.conf|...).
Anybody has idea what I am doing wrongly and how to proceed? Just to mention: Directory and dialplans are working with xml_curl and I do receive already at least the above requests.
If you look at the way the static config works, it's the same way. The gateways either are in the <profile> in the <gateways> section which are only considered once at startup of that profile. or they are inside <users> which are inside <domain> from the user directory if the the sofia profile is configured to parse a paticular domain. if you issue the command "sofia profile default rescan" from the cli, xml-rpc, event_socket you will then see the request for more gateways. On Tue, Sep 16, 2008 at 4:35 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
Nobody has an idea how to manage external SIP gateways and why I do not receive sofia.conf requests?
Peter P GMX schrieb:
Hello,
I am using Ruby on Rails for managing endpoints(directory) and dialplans in Freeswitch with xml_curl.
However I am wondering whether it is possble to dynamically generate external SIP gateways. I suspect this is done using the configuration bindings. When I enable this I receive the following xml_curl requests on my Ruby server when starting up Freeswitch
{"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_modules.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"event_socket.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"acl.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"}
I would exspect having a "key_value"=>"sofia.conf", but it's not there
Also during the runtime of FS can I see no more configuration requests.
On the mod_curl page in FS there is a very rough example, but I do net get a real clue how to. In log/freeswitch.xml.fsxml I see that usually gateways are defined under the configuration_name="sofia.conf" But as you can see in the requests above there is no sofia.conf requested (according to the wiki there could be iax.conf|event_socket.conf|sofia.conf|...).
Anybody has idea what I am doing wrongly and how to proceed? Just to mention: Directory and dialplans are working with xml_curl and I do receive already at least the above requests.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
This definitely works. I've set up mod_xml_curl in a number of places, managing anywhere from 10-10000 gateways... as long as you have the url correct, and you spelled configuration correctly in the xml_curl.conf, then everything should work fine. -Ray Peter P GMX wrote:
Nobody has an idea how to manage external SIP gateways and why I do not receive sofia.conf requests?
Peter P GMX schrieb:
Hello,
I am using Ruby on Rails for managing endpoints(directory) and dialplans in Freeswitch with xml_curl.
However I am wondering whether it is possble to dynamically generate external SIP gateways. I suspect this is done using the configuration bindings. When I enable this I receive the following xml_curl requests on my Ruby server when starting up Freeswitch
{"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_modules.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"event_socket.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"acl.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"post_load_switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"} {"key_name"=>"name", "action"=>"directory", "tag_name"=>"configuration", "key_value"=>"switch.conf", "controller"=>"xml_curls", "hostname"=>"freeswitch", "section"=>"configuration"}
I would exspect having a "key_value"=>"sofia.conf", but it's not there
Also during the runtime of FS can I see no more configuration requests.
On the mod_curl page in FS there is a very rough example, but I do net get a real clue how to. In log/freeswitch.xml.fsxml I see that usually gateways are defined under the configuration_name="sofia.conf" But as you can see in the requests above there is no sofia.conf requested (according to the wiki there could be iax.conf|event_socket.conf|sofia.conf|...).
Anybody has idea what I am doing wrongly and how to proceed? Just to mention: Directory and dialplans are working with xml_curl and I do receive already at least the above requests.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello, as explained everything works fine, except that I do not get any sofia.conf requests. For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result. But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/freeswitch.xml.fsxml Am I wrong with my expectation? Best regards Peter Raymond Chandler schrieb:
This definitely works. I've set up mod_xml_curl in a number of places, managing anywhere from 10-10000 gateways... as long as you have the url correct, and you spelled configuration correctly in the xml_curl.conf, then everything should work fine. -Ray
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Sep 16, 2008, at 4:02 PM, Peter P GMX wrote:
Hello,
as explained everything works fine, except that I do not get any sofia.conf requests.
For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result.
But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/freeswitch.xml.fsxml
Am I wrong with my expectation?
Best regards Peter
are you loading mod_sofia?
Hello Michael, yes, mod_sofia is loaded. I would not be able to route calls to external gateways defined under sofia.conf in the xml file if it was not loaded Best regards Peter Michael Jerris schrieb:
On Sep 16, 2008, at 4:02 PM, Peter P GMX wrote:
Hello,
as explained everything works fine, except that I do not get any sofia.conf requests.
For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result.
But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/freeswitch.xml.fsxml
Am I wrong with my expectation?
Best regards Peter
are you loading mod_sofia?
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
what i was saying is... that it definitely works and you're correct in your assumptions... notice the sofia.conf request Sep 16 15:10:30 lmdt fs_curl[3648]: [key_value] => 'post_load_modules.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'dingaling.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' Sep 16 15:10:33 lmdt fs_curl[3451]: [key_value] => 'iax.conf' Sep 16 15:56:19 lmdt fs_curl[3447]: [key_value] => 'post_load_modules.conf' Sep 16 15:56:19 lmdt fs_curl[3448]: [key_value] => 'console.conf' Sep 16 15:56:19 lmdt fs_curl[3451]: [key_value] => 'conference.conf' Sep 16 15:56:19 lmdt fs_curl[3449]: [key_value] => 'local_stream.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'xml_cdr.conf' Sep 16 15:56:20 lmdt fs_curl[3451]: [key_value] => 'voicemail.conf' Sep 16 15:56:20 lmdt fs_curl[3450]: [key_value] => 'limit.conf' Sep 16 15:56:20 lmdt fs_curl[3448]: [key_value] => 'dingaling.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'sofia.conf' Sep 16 15:56:22 lmdt fs_curl[3450]: [key_value] => 'iax.conf' -Ray Peter P GMX wrote:
Hello,
as explained everything works fine, except that I do not get any sofia.conf requests.
For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result.
But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/freeswitch.xml.fsxml
Am I wrong with my expectation?
Best regards Peter
Raymond Chandler schrieb:
This definitely works. I've set up mod_xml_curl in a number of places, managing anywhere from 10-10000 gateways... as long as you have the url correct, and you spelled configuration correctly in the xml_curl.conf, then everything should work fine. -Ray
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello Raymond, wow, what a number of requests I do not see. I have the same modules enabled except dingaling and iax but for Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' I do NOT receive any requests. How can it be that I only receive requests for just a small number of modules? Best regards Peter Raymond Chandler schrieb:
what i was saying is... that it definitely works and you're correct in your assumptions... notice the sofia.conf request
Sep 16 15:10:30 lmdt fs_curl[3648]: [key_value] => 'post_load_modules.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'dingaling.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' Sep 16 15:10:33 lmdt fs_curl[3451]: [key_value] => 'iax.conf' Sep 16 15:56:19 lmdt fs_curl[3447]: [key_value] => 'post_load_modules.conf' Sep 16 15:56:19 lmdt fs_curl[3448]: [key_value] => 'console.conf' Sep 16 15:56:19 lmdt fs_curl[3451]: [key_value] => 'conference.conf' Sep 16 15:56:19 lmdt fs_curl[3449]: [key_value] => 'local_stream.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'xml_cdr.conf' Sep 16 15:56:20 lmdt fs_curl[3451]: [key_value] => 'voicemail.conf' Sep 16 15:56:20 lmdt fs_curl[3450]: [key_value] => 'limit.conf' Sep 16 15:56:20 lmdt fs_curl[3448]: [key_value] => 'dingaling.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'sofia.conf' Sep 16 15:56:22 lmdt fs_curl[3450]: [key_value] => 'iax.conf'
-Ray
Peter P GMX wrote:
Hello,
as explained everything works fine, except that I do not get any sofia.conf requests.
For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result.
But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/freeswitch.xml.fsxml
Am I wrong with my expectation?
Best regards Peter
Raymond Chandler schrieb:
This definitely works. I've set up mod_xml_curl in a number of places, managing anywhere from 10-10000 gateways... as long as you have the url correct, and you spelled configuration correctly in the xml_curl.conf, then everything should work fine. -Ray
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Peter, Where do you load mod_xml_curl - it needs to be close to the top of modules.xml.conf and certainly before you load mod_sofia. Cheers -- Dave
Hello Raymond,
wow, what a number of requests I do not see.
I have the same modules enabled except dingaling and iax but for Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' I do NOT receive any requests.
How can it be that I only receive requests for just a small number of modules?
Best regards Peter
Raymond Chandler schrieb:
what i was saying is... that it definitely works and you're correct in your assumptions... notice the sofia.conf request
Sep 16 15:10:30 lmdt fs_curl[3648]: [key_value] => 'post_load_modules.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'dingaling.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' Sep 16 15:10:33 lmdt fs_curl[3451]: [key_value] => 'iax.conf' Sep 16 15:56:19 lmdt fs_curl[3447]: [key_value] => 'post_load_modules.conf' Sep 16 15:56:19 lmdt fs_curl[3448]: [key_value] => 'console.conf' Sep 16 15:56:19 lmdt fs_curl[3451]: [key_value] => 'conference.conf' Sep 16 15:56:19 lmdt fs_curl[3449]: [key_value] => 'local_stream.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'xml_cdr.conf' Sep 16 15:56:20 lmdt fs_curl[3451]: [key_value] => 'voicemail.conf' Sep 16 15:56:20 lmdt fs_curl[3450]: [key_value] => 'limit.conf' Sep 16 15:56:20 lmdt fs_curl[3448]: [key_value] => 'dingaling.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'sofia.conf' Sep 16 15:56:22 lmdt fs_curl[3450]: [key_value] => 'iax.conf'
-Ray
Peter P GMX wrote:
Hello,
as explained everything works fine, except that I do not get any sofia.conf requests.
For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result.
But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/ freeswitch.xml.fsxml
Am I wrong with my expectation?
Best regards Peter
Raymond Chandler schrieb:
This definitely works. I've set up mod_xml_curl in a number of places, managing anywhere from 10-10000 gateways... as long as you have the url correct, and you spelled configuration correctly in the xml_curl.conf, then everything should work fine. -Ray
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello Dave, thank you. That was the solution. I loaded xml_curl at the end of the configuration. Now I put it at the top of modules.conf and now the missing requests are there. Thanks to everybody for your help. Best regards Peter David Knell schrieb:
Hi Peter,
Where do you load mod_xml_curl - it needs to be close to the top of modules.xml.conf and certainly before you load mod_sofia.
Cheers --
Dave
Hello Raymond,
wow, what a number of requests I do not see.
I have the same modules enabled except dingaling and iax but for Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' I do NOT receive any requests.
How can it be that I only receive requests for just a small number of modules?
Best regards Peter
Raymond Chandler schrieb:
what i was saying is... that it definitely works and you're correct in your assumptions... notice the sofia.conf request
Sep 16 15:10:30 lmdt fs_curl[3648]: [key_value] => 'post_load_modules.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'console.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'conference.conf' Sep 16 15:10:31 lmdt fs_curl[3447]: [key_value] => 'local_stream.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'xml_cdr.conf' Sep 16 15:10:31 lmdt fs_curl[3449]: [key_value] => 'voicemail.conf' Sep 16 15:10:31 lmdt fs_curl[3451]: [key_value] => 'limit.conf' Sep 16 15:10:31 lmdt fs_curl[3450]: [key_value] => 'dingaling.conf' Sep 16 15:10:31 lmdt fs_curl[3448]: [key_value] => 'sofia.conf' Sep 16 15:10:33 lmdt fs_curl[3451]: [key_value] => 'iax.conf' Sep 16 15:56:19 lmdt fs_curl[3447]: [key_value] => 'post_load_modules.conf' Sep 16 15:56:19 lmdt fs_curl[3448]: [key_value] => 'console.conf' Sep 16 15:56:19 lmdt fs_curl[3451]: [key_value] => 'conference.conf' Sep 16 15:56:19 lmdt fs_curl[3449]: [key_value] => 'local_stream.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'xml_cdr.conf' Sep 16 15:56:20 lmdt fs_curl[3451]: [key_value] => 'voicemail.conf' Sep 16 15:56:20 lmdt fs_curl[3450]: [key_value] => 'limit.conf' Sep 16 15:56:20 lmdt fs_curl[3448]: [key_value] => 'dingaling.conf' Sep 16 15:56:20 lmdt fs_curl[3648]: [key_value] => 'sofia.conf' Sep 16 15:56:22 lmdt fs_curl[3450]: [key_value] => 'iax.conf'
-Ray
Peter P GMX wrote:
Hello,
as explained everything works fine, except that I do not get any sofia.conf requests.
For section"=>"configuration" I receive requests for "key_value"=>"post_load_modules.conf" "key_value"=>"event_socket.conf" "key_value"=>"acl.conf" "key_value"=>"post_load_switch.conf" "key_value"=>"switch.conf" at startup so my settings should be alright. I issued a "sofia profile external rescan" and get the same result.
But I would expect a sofia.conf request, as the gateways are defined under sofia.conf in the "external" profile in log/ freeswitch.xml.fsxml
Am I wrong with my expectation?
Best regards Peter
Raymond Chandler schrieb:
This definitely works. I've set up mod_xml_curl in a number of places, managing anywhere from 10-10000 gateways... as long as you have the url correct, and you spelled configuration correctly in the xml_curl.conf, then everything should work fine. -Ray
> _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Anthony Minessale
-
David Knell
-
Michael Jerris
-
Peter P GMX
-
Raymond Chandler