Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] where do variables like local_ip_v4 get t


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
carole.olivier at enst.fr
Guest





PostPosted: Wed Nov 26, 2008 9:01 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

Hello,

I have just installed Freeswitch on OpenSUSE 10.3.

I was wondering where the variable indicated with $$ get their values. I get
some problems with the variables local_ip_v4 and domain which are both
initialized with the loopback address 127.0.0.1. Thereof, no registration is
possible on the ip address of the PC (192.168.1.200) since the port 5060 is
closed. Freeswitch is apparently waiting on the port 5060 of the ip address
127.0.0.1 which is open.
How does it come that the loopback address is chosen?

I try the following: add in vars.xml $${local_ip_v4}=192.168.1.200. After
this freeswitch is listening at the port 5060 of 192.168.1.200. So it seems
to work, even if it does not answer my first question (where does the
default value of local_ip_v4 come?).
Moreover, I got another problem. The registrations are now possible but I
observe that the default domain is still bound to the ip address 127.0.0.1.
So I try to add in vars.xml $${domain}=192.168.1.200, which did not work.
The domain is still bound to 127.0.0.1. Why????

I thank you in advance for your help.
Best regards,
Carole


--
View this message in context: http://www.nabble.com/where-do-variables-like-local_ip_v4-get-their-values--tp20699388p20699388.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Nov 26, 2008 9:15 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

local_ip_v4 is setup inside switch_core.c as a global variable that
can be used in the config. FreeSWITCH will try to detect the proper
address to bind to for the sip profiles in your case it can't figure
it out since you might not be connected to the internet. So you can
open up vars.xml and set it... remember the default configs are just
an example of how to use FreeSWITCH not the set in stone way you
should use FreeSWITCH. You can also open up the xml files in
sip_profiles and input the sip-ip and rtp-ip in there also.

/b

On Nov 26, 2008, at 5:48 AM, Carole O. wrote:

Quote:

Hello,

I have just installed Freeswitch on OpenSUSE 10.3.

I was wondering where the variable indicated with $$ get their
values. I get
some problems with the variables local_ip_v4 and domain which are both
initialized with the loopback address 127.0.0.1. Thereof, no
registration is
possible on the ip address of the PC (192.168.1.200) since the port
5060 is
closed. Freeswitch is apparently waiting on the port 5060 of the ip
address
127.0.0.1 which is open.
How does it come that the loopback address is chosen?

I try the following: add in vars.xml $${local_ip_v4}=192.168.1.200.
After
this freeswitch is listening at the port 5060 of 192.168.1.200. So
it seems
to work, even if it does not answer my first question (where does the
default value of local_ip_v4 come?).
Moreover, I got another problem. The registrations are now possible
but I
observe that the default domain is still bound to the ip address
127.0.0.1.
So I try to add in vars.xml $${domain}=192.168.1.200, which did not
work.
The domain is still bound to 127.0.0.1. Why????

I thank you in advance for your help.
Best regards,
Carole


_______________________________________________
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
Back to top
carole.olivier at enst.fr
Guest





PostPosted: Wed Nov 26, 2008 10:00 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

Ok thanks for your answer !!

Just in case some are interested in: I have made a mistake by telling that
putting "domain" to 192.168.1.200 does not work. It works but I did not pay
attention that domain was already assign to "local_ip_v4" so it was assigned
2 times and obviously it could not work...
I am sorry for that.

Thanks a lot,
Carole



Brian West-3 wrote:
Quote:

local_ip_v4 is setup inside switch_core.c as a global variable that
can be used in the config. FreeSWITCH will try to detect the proper
address to bind to for the sip profiles in your case it can't figure
it out since you might not be connected to the internet. So you can
open up vars.xml and set it... remember the default configs are just
an example of how to use FreeSWITCH not the set in stone way you
should use FreeSWITCH. You can also open up the xml files in
sip_profiles and input the sip-ip and rtp-ip in there also.

/b

On Nov 26, 2008, at 5:48 AM, Carole O. wrote:

Quote:

Hello,

I have just installed Freeswitch on OpenSUSE 10.3.

I was wondering where the variable indicated with $$ get their
values. I get
some problems with the variables local_ip_v4 and domain which are both
initialized with the loopback address 127.0.0.1. Thereof, no
registration is
possible on the ip address of the PC (192.168.1.200) since the port
5060 is
closed. Freeswitch is apparently waiting on the port 5060 of the ip
address
127.0.0.1 which is open.
How does it come that the loopback address is chosen?

I try the following: add in vars.xml $${local_ip_v4}=192.168.1.200.
After
this freeswitch is listening at the port 5060 of 192.168.1.200. So
it seems
to work, even if it does not answer my first question (where does the
default value of local_ip_v4 come?).
Moreover, I got another problem. The registrations are now possible
but I
observe that the default domain is still bound to the ip address
127.0.0.1.
So I try to add in vars.xml $${domain}=192.168.1.200, which did not
work.
The domain is still bound to 127.0.0.1. Why????

I thank you in advance for your help.
Best regards,
Carole


_______________________________________________
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



--
View this message in context: http://www.nabble.com/where-do-variables-like-local_ip_v4-get-their-values--tp20699388p20702424.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Nov 26, 2008 10:11 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

You can reset what local_ip_v4 is set too also if you want ...

/b

On Nov 26, 2008, at 8:53 AM, Carole O. wrote:

Quote:

Ok thanks for your answer !!

Just in case some are interested in: I have made a mistake by
telling that
putting "domain" to 192.168.1.200 does not work. It works but I did
not pay
attention that domain was already assign to "local_ip_v4" so it was
assigned
2 times and obviously it could not work...
I am sorry for that.

Thanks a lot,
Carole


_______________________________________________
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
Back to top
carole.olivier at enst.fr
Guest





PostPosted: Fri Nov 28, 2008 3:23 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

Hello,

I think I will keep first the first solution since I do not know yet how to
reset a variable.

Thank you very much for your help.
Carole



Brian West-3 wrote:
Quote:

You can reset what local_ip_v4 is set too also if you want ...

/b

On Nov 26, 2008, at 8:53 AM, Carole O. wrote:

Quote:

Ok thanks for your answer !!

Just in case some are interested in: I have made a mistake by
telling that
putting "domain" to 192.168.1.200 does not work. It works but I did
not pay
attention that domain was already assign to "local_ip_v4" so it was
assigned
2 times and obviously it could not work...
I am sorry for that.

Thanks a lot,
Carole


_______________________________________________
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



--
View this message in context: http://www.nabble.com/where-do-variables-like-local_ip_v4-get-their-values--tp20699388p20730471.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Nov 28, 2008 10:13 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

<X-PRE-PROCESS cmd="set" data="local_ip_v4=1.2.3.4"/>

/b

On Nov 28, 2008, at 2:22 AM, Carole O. wrote:

Quote:

Hello,

I think I will keep first the first solution since I do not know yet
how to
reset a variable.

Thank you very much for your help.
Carole



Brian West-3 wrote:
Quote:

You can reset what local_ip_v4 is set too also if you want ...

/b

On Nov 26, 2008, at 8:53 AM, Carole O. wrote:

Quote:

Ok thanks for your answer !!

Just in case some are interested in: I have made a mistake by
telling that
putting "domain" to 192.168.1.200 does not work. It works but I did
not pay
attention that domain was already assign to "local_ip_v4" so it was
assigned
2 times and obviously it could not work...
I am sorry for that.

Thanks a lot,
Carole


_______________________________________________
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



--
View this message in context: http://www.nabble.com/where-do-variables-like-local_ip_v4-get-their-values--tp20699388p20730471.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
carole.olivier at enst.fr
Guest





PostPosted: Fri Nov 28, 2008 10:45 am    Post subject: [Freeswitch-users] where do variables like local_ip_v4 get t Reply with quote

oh ok, I thought you meant something else. This one I got it but thanks for
keeping answering.

Carole


Brian West-3 wrote:
Quote:

<X-PRE-PROCESS cmd="set" data="local_ip_v4=1.2.3.4"/>

/b

On Nov 28, 2008, at 2:22 AM, Carole O. wrote:

Quote:

Hello,

I think I will keep first the first solution since I do not know yet
how to
reset a variable.

Thank you very much for your help.
Carole



Brian West-3 wrote:
Quote:

You can reset what local_ip_v4 is set too also if you want ...

/b

On Nov 26, 2008, at 8:53 AM, Carole O. wrote:

Quote:

Ok thanks for your answer !!

Just in case some are interested in: I have made a mistake by
telling that
putting "domain" to 192.168.1.200 does not work. It works but I did
not pay
attention that domain was already assign to "local_ip_v4" so it was
assigned
2 times and obviously it could not work...
I am sorry for that.

Thanks a lot,
Carole


_______________________________________________
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



--
View this message in context:
http://www.nabble.com/where-do-variables-like-local_ip_v4-get-their-values--tp20699388p20730471.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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



--
View this message in context: http://www.nabble.com/where-do-variables-like-local_ip_v4-get-their-values--tp20699388p20736609.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services