Svar: Re: Multi-Homed setup, starting over - still not working
Hi Joseph Oh yes I have :-) But are you sayng that "eval ${domain}" will do more than is done when I restart the fs? I don't see that anywhere in the guide :-D I'll try it out asap! Thanks Fribse
"Joseph L. Casale" 12-01-10 18:41 >>> Hi Guys
I really would like to have this up and running, but I'm constantly running into things that doesn't work, and I have no idea where the problem is...
I've started from scratch with pfSense and Freeswitch. I've followed the Multi Home tutorial here: http://wiki.freeswitch.org/wiki/Multi_home_tutorial
I've deleted the 'lan' profile, and altered the 'internal' profile as recommended, and I've gotten to the paragraph:
APPLYING YOUR CHANGES AND CHECKING YOUR WORK
When I start up my x-lite program I get this error: 2010-01-12 16:38:54.172731 [WARNING] sofia_reg.c:1755 Can't find user [1000@83.89.x.x] You must define a domain called '83.89.x.xin your directory and add a user with the id="1000" attribute and you must configure your device to use the proper domain in it's authentication credentials. and you must configure your device to use the proper domain in it's authentication credentials.
83.89.x.x is my external IP, and not my internal IP???
Any help on this?
This is because you haven't set your domain in vars.xml. The behavior is that $${local_ip_v4} evals to your wan ip. This is the first step in that tutorial:) http://wiki.freeswitch.org/wiki/Multi_home_tutorial#INTERNAL_LAN Open vars.xml, make the line: Match your lan ip: restart fs, then goto the fs_cli and type `eval ${domain}` it should come back with "your" lan ip. _______________________________________________ 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
But are you sayng that "eval ${domain}" will do more than is done when I restart the fs? I don't see that anywhere in the guide :-D
I'll try it out asap!
What I am saying is it "evaluates" that placeholder and shows its value. You can use it to show the current value to verify it matches what you intend, which is for it to be the same as your LAN ip.
Hi Joseph Hmm, you were right, I hadn't set it there, as the guide explains me that I should set it in internal.xml. After setting it in vars.xml it authenticates as well. So I'm contiuing the quest :-) Thankyou very much for your assistance! /Fribse
13-01-2010 kl. 16:30 skrev "Joseph L. Casale" <jcasale@activenetwerx.com> i meddelelsen <CA5A491E9DEFBE4CB777DE97E21575E9079C65@prato.activenetwerx.local>:
But are you sayng that "eval ${domain}" will do more than is done when I restart the fs? I don't see that anywhere in the guide :-D
I'll try it out asap!
What I am saying is it "evaluates" that placeholder and shows its value. You can use it to show the current value to verify it matches what you intend, which is for it to be the same as your LAN ip. _______________________________________________ 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 again Ok, got a bit further, just had a success, I called out, weeheee :-D Now I want to call in, and it seems the SIP provider I'm using has multiple IP's, I'm not sure if that's the issue here? I've created the dialplan part explained in the guide, and placed it in dialplan/public as explained in IN-COMING CALLS, RINGING A GROUP <include> <extension name="Privat"> <condition field="destination_number" expression="^(4692xxxx)$"> (my phonenumber) <action application="set" data="domain_name=10.11.12.25"/> <action application="transfer" data="*8201 XML default"/> </condition> </extension> </include> I've joined the two soft phones I have to the group. When I call in I get this displayed: 2010-01-13 18:57:51.396370 [NOTICE] switch_channel.c:602 New Channel sofia/external/2680xxxx@87.54.25.116 [fedccd2a-6d00-df11-aee0-000c29b7b4cb] 2010-01-13 18:57:51.396370 [NOTICE] sofia.c:3419 Hangup sofia/external/26802233@87.54.25.116 [CS_NEW] [INCOMPATIBLE_DESTINATION] 2010-01-13 18:57:51.399569 [NOTICE] switch_core_session.c:1085 Session 19 (sofia/external/2680xxxx@87.54.25.116) Ended 2010-01-13 18:57:51.399569 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/2680xxxx@87.54.25.116 [CS_DESTROY] The 87.54.25.116 is from musimi.dk, but outgoing is handled by 87.54.25.114 (which musimi.dk translates to). 2680xxxx is my cellphones number. Hmm, help :-)
13-01-2010 kl. 18:08 skrev "mailinglist" <mailinglist@fribert.dk> i meddelelsen <4B4E0C24020000E1000003A7@mail.fribert.dk>:
Hi Joseph Hmm, you were right, I hadn't set it there, as the guide explains me that I should set it in internal.xml. After setting it in vars.xml it authenticates as well. So I'm contiuing the quest :-) Thankyou very much for your assistance! /Fribse
13-01-2010 kl. 16:30 skrev "Joseph L. Casale" <jcasale@activenetwerx.com> i meddelelsen <CA5A491E9DEFBE4CB777DE97E21575E9079C65@prato.activenetwerx.local>:
But are you sayng that "eval ${domain}" will do more than is done when I restart the fs? I don't see that anywhere in the guide :-D
I'll try it out asap!
What I am saying is it "evaluates" that placeholder and shows its value. You can use it to show the current value to verify it matches what you intend, which is for it to be the same as your LAN ip. _______________________________________________ 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
hey, I got it solved. Apparently my voip provider used a G729 Codec, which freeswitch didn't like. Of course the VOIP provider has 4, and just the one not supported in this setup is used as default :-o Now I can call in, WOW, cool :-) Small steps here...
13-01-2010 kl. 19:06 skrev "mailinglist" <mailinglist@fribert.dk> i meddelelsen <4B4E19D3020000E1000003AB@mail.fribert.dk>:
Hi again Ok, got a bit further, just had a success, I called out, weeheee :-D Now I want to call in, and it seems the SIP provider I'm using has multiple IP's, I'm not sure if that's the issue here? I've created the dialplan part explained in the guide, and placed it in dialplan/public as explained in IN-COMING CALLS, RINGING A GROUP <include> <extension name="Privat"> <condition field="destination_number" expression="^(4692xxxx)$"> (my phonenumber) <action application="set" data="domain_name=10.11.12.25"/> <action application="transfer" data="*8201 XML default"/> </condition> </extension> </include> I've joined the two soft phones I have to the group. When I call in I get this displayed: 2010-01-13 18:57:51.396370 [NOTICE] switch_channel.c:602 New Channel sofia/external/2680xxxx@87.54.25.116 [fedccd2a-6d00-df11-aee0-000c29b7b4cb] 2010-01-13 18:57:51.396370 [NOTICE] sofia.c:3419 Hangup sofia/external/26802233@87.54.25.116 [CS_NEW] [INCOMPATIBLE_DESTINATION] 2010-01-13 18:57:51.399569 [NOTICE] switch_core_session.c:1085 Session 19 (sofia/external/2680xxxx@87.54.25.116) Ended 2010-01-13 18:57:51.399569 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/2680xxxx@87.54.25.116 [CS_DESTROY] The 87.54.25.116 is from musimi.dk, but outgoing is handled by 87.54.25.114 (which musimi.dk translates to). 2680xxxx is my cellphones number. Hmm, help :-)
13-01-2010 kl. 18:08 skrev "mailinglist" <mailinglist@fribert.dk> i meddelelsen <4B4E0C24020000E1000003A7@mail.fribert.dk>:
Hi Joseph Hmm, you were right, I hadn't set it there, as the guide explains me that I should set it in internal.xml. After setting it in vars.xml it authenticates as well. So I'm contiuing the quest :-) Thankyou very much for your assistance! /Fribse
13-01-2010 kl. 16:30 skrev "Joseph L. Casale" <jcasale@activenetwerx.com> i meddelelsen <CA5A491E9DEFBE4CB777DE97E21575E9079C65@prato.activenetwerx.local>:
But are you sayng that "eval ${domain}" will do more than is done when I restart the fs? I don't see that anywhere in the guide :-D
I'll try it out asap!
What I am saying is it "evaluates" that placeholder and shows its value. You can use it to show the current value to verify it matches what you intend, which is for it to be the same as your LAN ip. _______________________________________________ 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 (2)
-
Joseph L. Casale
-
mailinglist