[first time user beg for help]... Trying my first FreeSwitch installation, I faced two problems : 1.) My host has two IP addresses. SoftPhone (Ekiga) running on the same host successfully registered with a first IP, but refuse to register with the second. Also, registration to 127.0.0.1 failing. How can I instruct FreeSWITCH to use BOTH addresses for registration. 2.) Somehow dialing test numbers (9196, 9199,etc) don't work properly.. FreeSWITCh reports: 2010-08-10 13:17:08.577884 [INFO] mod_dialplan_xml.c:418 Processing 1000->9196 in context default 2010-08-10 13:17:08.619705 [NOTICE] switch_ivr.c:1447 Transfer sofia/internal/1000@10.0.2.15 to enum[9196@default] 2010-08-10 13:17:09.703867 [INFO] switch_core_state_machine.c:142 No Route, Aborting 2010-08-10 13:17:09.703867 [NOTICE] switch_core_state_machine.c:143 Hangup sofia/internal/1000@10.0.2.15 [CS_ROUTING] [NO_ROUTE_DESTINATION] Any help is deeply appreciated! Regards Stas
Stas, I guess we didn't scare you away from FS when you were at ClueCon! :P I'm not sure about your first question, but your second question seems to indicate that you have an older dialplan. You can test it out by dialing "9996" instead of "9196" or "9999" instead of "9664". If the 99xx extensions work then you have an older dialplan, in which case you should save any modifications that you've made and then delete conf/dialplan/default.xml. Then run "make samples" in your fs src directory to get the most recent default.xml dialplan file. -MC On Tue, Aug 10, 2010 at 1:24 PM, Stas Khirman <stas@khirman.com> wrote:
[first time user beg for help]…..
Trying my first FreeSwitch installation, I faced two problems :
1.) My host has two IP addresses. SoftPhone (Ekiga) running on the same host successfully registered with a first IP, but refuse to register with the second. Also, registration to 127.0.0.1 failing… How can I instruct FreeSWITCH to use BOTH addresses for registration…
2.) Somehow dialing test numbers (9196, 9199,etc) don’t work properly.. FreeSWITCh reports:
2010-08-10 13:17:08.577884 [INFO] mod_dialplan_xml.c:418 Processing 1000->9196 in context default
2010-08-10 13:17:08.619705 [NOTICE] switch_ivr.c:1447 Transfer sofia/internal/1000@10.0.2.15 to enum[9196@default]
2010-08-10 13:17:09.703867 [INFO] switch_core_state_machine.c:142 No Route, Aborting
2010-08-10 13:17:09.703867 [NOTICE] switch_core_state_machine.c:143 Hangup sofia/internal/1000@10.0.2.15 [CS_ROUTING] [NO_ROUTE_DESTINATION]
Any help is deeply appreciated!
Regards
Stas
_______________________________________________ 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
Michael, Yes, you absolutely right - 999x are working. BTW, I took my code from http://files.freeswitch.org/freeswitch-1.0.6.tar.gz - i was sure that it is a latest version.Maybe it make sense to repackage it to remove confusion. On the first question - it seems that in multi interface configuration FreeSWITCH is explicitly bind() to the first interface only . Is any configuration parameters to specify what interfaces to bind / Regards Stas From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, August 10, 2010 3:17 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] First installation help Stas, I guess we didn't scare you away from FS when you were at ClueCon! :P I'm not sure about your first question, but your second question seems to indicate that you have an older dialplan. You can test it out by dialing "9996" instead of "9196" or "9999" instead of "9664". If the 99xx extensions work then you have an older dialplan, in which case you should save any modifications that you've made and then delete conf/dialplan/default.xml. Then run "make samples" in your fs src directory to get the most recent default.xml dialplan file. -MC On Tue, Aug 10, 2010 at 1:24 PM, Stas Khirman <stas@khirman.com> wrote: [first time user beg for help]... Trying my first FreeSwitch installation, I faced two problems : 1.) My host has two IP addresses. SoftPhone (Ekiga) running on the same host successfully registered with a first IP, but refuse to register with the second. Also, registration to 127.0.0.1 failing. How can I instruct FreeSWITCH to use BOTH addresses for registration. 2.) Somehow dialing test numbers (9196, 9199,etc) don't work properly.. FreeSWITCh reports: 2010-08-10 13:17:08.577884 [INFO] mod_dialplan_xml.c:418 Processing 1000->9196 in context default 2010-08-10 13:17:08.619705 [NOTICE] switch_ivr.c:1447 Transfer sofia/internal/1000@10.0.2.15 to enum[9196@default] 2010-08-10 13:17:09.703867 [INFO] switch_core_state_machine.c:142 No Route, Aborting 2010-08-10 13:17:09.703867 [NOTICE] switch_core_state_machine.c:143 Hangup sofia/internal/1000@10.0.2.15 [CS_ROUTING] [NO_ROUTE_DESTINATION] Any help is deeply appreciated! Regards Stas _______________________________________________ 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 Tue, Aug 10, 2010 at 3:50 PM, Stas Khirman <stas@khirman.com> wrote:
Michael,
Yes, you absolutely right – 999x are working… BTW, I took my code from http://files.freeswitch.org/freeswitch-1.0.6.tar.gz - i was sure that it is a latest version…Maybe it make sense to repackage it to remove confusion…
1.0.6 is the latest tarball but you can use the git repo to get the latest and greatest code which is recommended for initial installs. http://wiki.freeswitch.org/wiki/Installation_Guide#Obtaining_the_Source_Code
On the first question – it seems that in multi interface configuration FreeSWITCH is explicitly bind() to the first interface only . Is any configuration parameters to specify what interfaces to bind /
Look for conf/sip_profiles/internal.xml and external.xml These files control your SIP profiles, which are just SIP UAs Look for these lines: <param name="rtp-ip" value="$${local_ip_v4}"/> <param name="sip-ip" value="$${local_ip_v4}"/> You can specify an IP address there. Each SIP profile can bind to a particular IP address and port. The port param is like this: <param name="sip-port" value="$${external_sip_port}"/> Also, look in conf/vars.xml to see where many of these variables are defined. Last item: go buy our FreeSWITCH book! We've fallen to #3 on Packt's top books list so we need a boost! :P Thanks, MC
participants (2)
-
Michael Collins
-
Stas Khirman