Svar: Re: Setting up a FreeSwitch system on a pfSensefirewall???
Hi Peter Ok, I got the net changed in acl.conf.xml. I then tried setting console_loglevel, but I don't see any output on the console, it could very well be because it's a FreeBSD, and has very limited console. But after a restart it registers! So for some reason it needed a nudge there, very interesting. So now I have a local extension registered, and a provider registered, now I just need them to communicate. As I understand it, that's the dialplan I have to look at. I only have one provider hooked up, so a dial should be simple, right? It as Order 001 Condition ^0(.\d+)$ action bridge As I understand it, it should react on the 0 (for outside dialing) and then strip it And the action bridges the call to the outside. But I guess I'm missing something, because I just get a 'temporarily unavailable' shown in the xlite.
06-12-2009 kl. 15:14 skrev Peter P GMX <Prometheus001@gmx.net> i meddelelsen <4B1BBC52.3050106@gmx.net>:
Concerning,
Which I'm kinda confused about, I don't have any 192.168 net here?? I think, this is a default entry in the acl.conf.xml. Please check the entries there. But normally this shouldn't stop freeswitch from working and handling requests.
Can you set the console_log_level to "debug" in vars.xml and post you console output when the phone tries to register? You may also grep the network traffic on port 5060 (e.g. ngrep -d any port 5060 -W byline) on your machine, to see what's wrong. Best regards Peter mailinglist schrieb:
Hi Adam
Excellent first steps! Thankyou for the hint. Now I hope somebody can tell me what I'm doing wrong next...
I've gotten it to register to the testprovider here (musimi.dk), but I get an error when I create an account for testing with the X-Lite phone.
It displays 403 forbidden in the display.
I've created an account on FreeSwitch
extension 1001 password 1001 mailbox 1001 voicemail password 1001 account code 1001 Effective Caller ID Name Fribert Effective Caller ID Number 4692xxxx (the Musimi number) Voicemail Mail To <my address> Voicemail Attach File true User Context default Call Group <> Enabled true Extension Description Test number
In the X-Lite Display Name Fribert User name 1001 Password 1001 Autorization user name 1001 Domain LAN-IP-OF-pfSense
Check in Register with domain and receive incoming calls Check in domain.
That's about it.
Looking on the status page, I can see these lines in the log: 2009-12-06 09:55:50.310829 [NOTICE] switch_core.c:1064 Adding 192.168.42.0/24 (deny) to list lan 2009-12-06 09:55:50.310842 [NOTICE] switch_core.c:1064 Adding 192.168.42.42/32 (allow) to list lan 2009-12-06 09:55:50.311256 [DEBUG] mod_event_socket.c:2291 Socket up listening on 0.0.0.0:8021 2009-12-06 09:55:50.311256 [DEBUG] mod_event_socket.c:2291 Socket up listening on 0.0.0.0:8021
Which I'm kinda confused about, I don't have any 192.168 net here??? But as it also primarily forbids it, except .42 to allow, I'm wondering if it could be something internal?
Best regards
05-12-2009 kl. 18:52 skrev "Adam Ford" <lists@redbonez.net> i meddelelsen <0E0013F55E224674A1361329CF7A85F0@redbonez>:
I used the pfSense FreeSWITCH for awhile, as it is the only GUI FreeSWITCH I have found with a stable release. It was very easy to use, I would recommend it if you just want a quick base system with standard features. Though, I ended up switching to a compiled version of FreeSWITCH in order to make the customizations I needed for my office.
http://doc.pfsense.org/index.php/FreeSWITCH
-AF
------------------------------------------------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *mailinglist *Sent:* Saturday, December 05, 2009 2:47 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Setting up a FreeSwitch system on a pfSensefirewall???
Has anybody done this?
I'm completely at a loss, having tinkered very little with Asterisk, and giving up on that, I wonder if there's any help to be found on FreeSwitch?
Anybody that can give pointers to a good step-by-step instruction?
I want to have it handle my two sip-phones (siemens dect ip and spa 901), and handle a sip account at my provider.
Of course transferring calls between the two, as well as group calls would be a nice benefit.
------------------------------------------------------------------------
_______________________________________________ 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
Just got the freeswitch started from the command line, and got a bit of logging out I started with the 'multi homed' write up mentioned above (http://wiki.freeswitch.org/wiki/Multi_home_tutorial), as I of course have several nic's on it as it's a firewall. The reason I wanted to use the pfSense firewall, is because I'll get rid of the NAT'in imposed by having it on a local machine. My main reason for setting something up at the first place was to get some of my very limited external IP's back. I've changed the conf/sip_profiles/internal.xml to reflect my LAN addresses My lan is 10.11.12.x My wan is 87.61.18.196 If I start it, it shows a lot on the screen, a line in red is scrolled right out of there, and the buffer isn't large enough to go back 2009-12-06 19:35:42.928556 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 3 0ms 2009-12-06 19:35:42.928564 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 4 0ms 2009-12-06 19:35:42.928573 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 5 0ms 2009-12-06 19:35:42.928583 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 6 0ms 2009-12-06 19:35:42.928592 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 7 0ms 2009-12-06 19:35:42.928600 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 8 0ms 2009-12-06 19:35:42.928609 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 9 0ms 2009-12-06 19:35:42.928619 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 1 00ms 2009-12-06 19:35:42.928628 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 1 10ms 2009-12-06 19:35:42.928636 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G729' (G.729) 8000hz 1 20ms 2009-12-06 19:35:42.928922 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_amr] 2009-12-06 19:35:42.928937 [NOTICE] switch_loadable_module.c:182 Adding Codec 'AMR' (AMR) 8000hz 20ms 2009-12-06 19:35:42.930956 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_ilbc] 2009-12-06 19:35:42.930999 [NOTICE] switch_loadable_module.c:182 Adding Codec 'iLBC' (iLBC) 8000hz 30 ms 2009-12-06 19:35:42.931014 [NOTICE] switch_loadable_module.c:182 Adding Codec 'iLBC' (iLBC) 8000hz 20 ms 2009-12-06 19:35:42.938433 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_speex] 2009-12-06 19:35:42.938466 [NOTICE] switch_loadable_module.c:182 Adding Codec 'SPEEX' (Speex) 32000hz 20ms 2009-12-06 19:35:42.938908 [NOTICE] switch_loadable_module.c:182 Adding Codec 'SPEEX' (Speex) 16000hz 20ms 2009-12-06 19:35:42.938931 [NOTICE] switch_loadable_module.c:182 Adding Codec 'SPEEX' (Speex) 8000hz 20ms 2009-12-06 19:35:42.939735 [INFO] mod_siren.c:141 Audio coding: ITU-T Rec. G.722.1, licensed from Pol ycom(R) 2009-12-06 19:35:42.939766 [INFO] mod_siren.c:142 Audio coding: ITU-T Rec. G.722.1 Annex C, licensed from Polycom(R) 2009-12-06 19:35:42.939794 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_siren] 2009-12-06 19:35:42.939810 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G7221' (Polycom(R) G72 2.1/G722.1C) 32000hz 20ms 2009-12-06 19:35:42.939824 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G7221' (Polycom(R) G72 2.1/G722.1C) 32000hz 40ms 2009-12-06 19:35:42.939834 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G7221' (Polycom(R) G72 2.1/G722.1C) 32000hz 60ms 2009-12-06 19:35:42.939843 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G7221' (Polycom(R) G72 2.1/G722.1C) 16000hz 20ms 2009-12-06 19:35:42.939853 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G7221' (Polycom(R) G72 2.1/G722.1C) 16000hz 40ms 2009-12-06 19:35:42.939862 [NOTICE] switch_loadable_module.c:182 Adding Codec 'G7221' (Polycom(R) G72 2.1/G722.1C) 16000hz 60ms 2009-12-06 19:35:42.950262 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_celt] 2009-12-06 19:35:42.950297 [NOTICE] switch_loadable_module.c:182 Adding Codec 'CELT' (CELT ultra-low delay) 48000hz 10ms 2009-12-06 19:35:42.950311 [NOTICE] switch_loadable_module.c:182 Adding Codec 'CELT' (CELT ultra-low delay) 48000hz 8ms 2009-12-06 19:35:42.950322 [NOTICE] switch_loadable_module.c:182 Adding Codec 'CELT' (CELT ultra-low delay) 48000hz 6ms 2009-12-06 19:35:42.950333 [NOTICE] switch_loadable_module.c:182 Adding Codec 'CELT' (CELT ultra-low delay) 48000hz 4ms 2009-12-06 19:35:42.950342 [NOTICE] switch_loadable_module.c:182 Adding Codec 'CELT' (CELT ultra-low delay) 48000hz 2ms 2009-12-06 19:35:42.950351 [NOTICE] switch_loadable_module.c:182 Adding Codec 'CELT' (CELT ultra-low delay) 32000hz 10ms 2009-12-06 19:35:42.950804 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_h26x] 2009-12-06 19:35:42.950822 [NOTICE] switch_loadable_module.c:182 Adding Codec 'H264' (H.264 Video (pa ssthru)) 90000hz 0ms 2009-12-06 19:35:42.950912 [NOTICE] switch_loadable_module.c:182 Adding Codec 'H263' (H.263 Video (pa ssthru)) 90000hz 0ms 2009-12-06 19:35:42.950991 [NOTICE] switch_loadable_module.c:182 Adding Codec 'H263-1998' (H.263+ Vid eo (passthru)) 90000hz 0ms 2009-12-06 19:35:42.951072 [NOTICE] switch_loadable_module.c:182 Adding Codec 'H263-2000' (H.263++ Vi deo (passthru)) 90000hz 0ms 2009-12-06 19:35:42.951189 [NOTICE] switch_loadable_module.c:182 Adding Codec 'H261' (H.261 Video (pa ssthru)) 90000hz 0ms 2009-12-06 19:35:42.966090 [INFO] mod_sndfile.c:330 LibSndFile Version : libsndfile-1.0.19 Supported Formats ================================================================================ AIFF (Apple/SGI) (extension "aiff") AU (Sun/NeXT) (extension "au") AVR (Audio Visual Research) (extension "avr") CAF (Apple Core Audio File) (extension "caf") HTK (HMM Tool Kit) (extension "htk") IFF (Amiga IFF/SVX8/SV16) (extension "iff") MAT4 (GNU Octave 2.0 / Matlab 4.2) (extension "mat") MAT5 (GNU Octave 2.1 / Matlab 5.0) (extension "mat") PAF (Ensoniq PARIS) (extension "paf") PVF (Portable Voice Format) (extension "pvf") RAW (header-less) (extension "raw") SD2 (Sound Designer II) (extension "sd2") SDS (Midi Sample Dump Standard) (extension "sds") SF (Berkeley/IRCAM/CARL) (extension "sf") VOC (Creative Labs) (extension "voc") W64 (SoundFoundry WAVE 64) (extension "w64") WAV (Microsoft) (extension "wav") WAV (NIST Sphere) (extension "wav") WAVEX (Microsoft) (extension "wav") WVE (Psion Series 3) (extension "wve") XI (FastTracker 2) (extension "xi") ================================================================================ 2009-12-06 19:35:42.966344 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_sndfile] 2009-12-06 19:35:42.966358 [NOTICE] switch_loadable_module.c:294 Adding File Format 'aiff' 2009-12-06 19:35:42.966500 [NOTICE] switch_loadable_module.c:294 Adding File Format 'au' 2009-12-06 19:35:42.966594 [NOTICE] switch_loadable_module.c:294 Adding File Format 'avr' 2009-12-06 19:35:42.966672 [NOTICE] switch_loadable_module.c:294 Adding File Format 'caf' 2009-12-06 19:35:42.966747 [NOTICE] switch_loadable_module.c:294 Adding File Format 'htk' 2009-12-06 19:35:42.966820 [NOTICE] switch_loadable_module.c:294 Adding File Format 'iff' 2009-12-06 19:35:42.966894 [NOTICE] switch_loadable_module.c:294 Adding File Format 'mat' 2009-12-06 19:35:42.966998 [NOTICE] switch_loadable_module.c:294 Adding File Format 'paf' 2009-12-06 19:35:42.967074 [NOTICE] switch_loadable_module.c:294 Adding File Format 'pvf' 2009-12-06 19:35:42.967148 [NOTICE] switch_loadable_module.c:294 Adding File Format 'raw' 2009-12-06 19:35:42.968115 [NOTICE] switch_loadable_module.c:294 Adding File Format 'sd2' 2009-12-06 19:35:42.968226 [NOTICE] switch_loadable_module.c:294 Adding File Format 'sds' 2009-12-06 19:35:42.968304 [NOTICE] switch_loadable_module.c:294 Adding File Format 'sf' 2009-12-06 19:35:42.968379 [NOTICE] switch_loadable_module.c:294 Adding File Format 'voc' 2009-12-06 19:35:42.968453 [NOTICE] switch_loadable_module.c:294 Adding File Format 'w64' 2009-12-06 19:35:42.968527 [NOTICE] switch_loadable_module.c:294 Adding File Format 'wav' 2009-12-06 19:35:42.968601 [NOTICE] switch_loadable_module.c:294 Adding File Format 'wve' 2009-12-06 19:35:42.968677 [NOTICE] switch_loadable_module.c:294 Adding File Format 'xi' 2009-12-06 19:35:42.968751 [NOTICE] switch_loadable_module.c:294 Adding File Format 'r8' 2009-12-06 19:35:42.968825 [NOTICE] switch_loadable_module.c:294 Adding File Format 'r16' 2009-12-06 19:35:42.968899 [NOTICE] switch_loadable_module.c:294 Adding File Format 'r24' 2009-12-06 19:35:42.968973 [NOTICE] switch_loadable_module.c:294 Adding File Format 'r32' 2009-12-06 19:35:42.969047 [NOTICE] switch_loadable_module.c:294 Adding File Format 'gsm' 2009-12-06 19:35:42.969121 [NOTICE] switch_loadable_module.c:294 Adding File Format 'ul' 2009-12-06 19:35:42.969196 [NOTICE] switch_loadable_module.c:294 Adding File Format 'al' 2009-12-06 19:35:42.969271 [NOTICE] switch_loadable_module.c:294 Adding File Format 'adpcm' 2009-12-06 19:35:42.969751 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_native_fil e] 2009-12-06 19:35:42.969772 [NOTICE] switch_loadable_module.c:294 Adding File Format 'H263' 2009-12-06 19:35:42.969886 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G7221' 2009-12-06 19:35:42.969969 [NOTICE] switch_loadable_module.c:294 Adding File Format 'AMR' 2009-12-06 19:35:42.970045 [NOTICE] switch_loadable_module.c:294 Adding File Format 'H263-1998' 2009-12-06 19:35:42.970122 [NOTICE] switch_loadable_module.c:294 Adding File Format 'SPEEX' 2009-12-06 19:35:42.970197 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G729' 2009-12-06 19:35:42.970274 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G723' 2009-12-06 19:35:42.970352 [NOTICE] switch_loadable_module.c:294 Adding File Format 'LPC' 2009-12-06 19:35:42.970427 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G726-16' 2009-12-06 19:35:42.970502 [NOTICE] switch_loadable_module.c:294 Adding File Format 'H261' 2009-12-06 19:35:42.970577 [NOTICE] switch_loadable_module.c:294 Adding File Format 'AAL2-G726-16' 2009-12-06 19:35:42.970653 [NOTICE] switch_loadable_module.c:294 Adding File Format 'PCMA' 2009-12-06 19:35:42.970729 [NOTICE] switch_loadable_module.c:294 Adding File Format 'DVI4' 2009-12-06 19:35:42.970804 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G726-24' 2009-12-06 19:35:42.970880 [NOTICE] switch_loadable_module.c:294 Adding File Format 'PCMU' 2009-12-06 19:35:42.970956 [NOTICE] switch_loadable_module.c:294 Adding File Format 'L16' 2009-12-06 19:35:42.971031 [NOTICE] switch_loadable_module.c:294 Adding File Format 'iLBC' 2009-12-06 19:35:42.971106 [NOTICE] switch_loadable_module.c:294 Adding File Format 'PROXY' 2009-12-06 19:35:42.971217 [NOTICE] switch_loadable_module.c:294 Adding File Format 'PROXY-VID' 2009-12-06 19:35:42.971294 [NOTICE] switch_loadable_module.c:294 Adding File Format 'AAL2-G726-24' 2009-12-06 19:35:42.971369 [NOTICE] switch_loadable_module.c:294 Adding File Format 'AAL2-G726-32' 2009-12-06 19:35:42.971463 [NOTICE] switch_loadable_module.c:294 Adding File Format 'H263-2000' 2009-12-06 19:35:42.971540 [NOTICE] switch_loadable_module.c:294 Adding File Format 'H264' 2009-12-06 19:35:42.971616 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G726-32' 2009-12-06 19:35:42.971691 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G722' 2009-12-06 19:35:42.971767 [NOTICE] switch_loadable_module.c:294 Adding File Format 'CELT' 2009-12-06 19:35:42.971843 [NOTICE] switch_loadable_module.c:294 Adding File Format 'AAL2-G726-40' 2009-12-06 19:35:42.971918 [NOTICE] switch_loadable_module.c:294 Adding File Format 'G726-40' 2009-12-06 19:35:42.971993 [NOTICE] switch_loadable_module.c:294 Adding File Format 'GSM' 2009-12-06 19:35:42.973983 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_local_stre am] 2009-12-06 19:35:42.974028 [NOTICE] switch_loadable_module.c:270 Adding API Function 'stop_local_stre am' 2009-12-06 19:35:42.975627 [CONSOLE] mod_local_stream.c:142 Can't open directory: /usr/local/freeswit ch/sounds/music/16000 2009-12-06 19:35:42.975972 [CONSOLE] mod_local_stream.c:142 Can't open directory: /usr/local/freeswit ch/sounds/music/32000 2009-12-06 19:35:42.976108 [NOTICE] switch_loadable_module.c:270 Adding API Function 'start_local_str eam' 2009-12-06 19:35:42.976214 [NOTICE] switch_loadable_module.c:270 Adding API Function 'show_local_stre am' 2009-12-06 19:35:42.976297 [NOTICE] switch_loadable_module.c:294 Adding File Format 'local_stream' 2009-12-06 19:35:42.976779 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_tone_strea m] 2009-12-06 19:35:42.976799 [NOTICE] switch_loadable_module.c:294 Adding File Format 'tone_stream' 2009-12-06 19:35:42.976892 [NOTICE] switch_loadable_module.c:294 Adding File Format 'silence_stream' 2009-12-06 19:35:43.96229 [CONSOLE] mod_spidermonkey.c:947 Successfully Loaded [/usr/local/freeswitch /mod/mod_spidermonkey_teletone.so] 2009-12-06 19:35:43.96554 [CONSOLE] mod_spidermonkey.c:947 Successfully Loaded [/usr/local/freeswitch /mod/mod_spidermonkey_core_db.so] 2009-12-06 19:35:43.96828 [CONSOLE] mod_spidermonkey.c:947 Successfully Loaded [/usr/local/freeswitch /mod/mod_spidermonkey_socket.so] 2009-12-06 19:35:43.102288 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_spidermonk ey] 2009-12-06 19:35:43.102327 [NOTICE] switch_loadable_module.c:248 Adding Application 'javascript' 2009-12-06 19:35:43.102515 [NOTICE] switch_loadable_module.c:270 Adding API Function 'jsrun' 2009-12-06 19:35:43.102601 [NOTICE] switch_loadable_module.c:270 Adding API Function 'jsapi' 2009-12-06 19:35:43.110060 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_lua] 2009-12-06 19:35:43.110079 [NOTICE] switch_loadable_module.c:248 Adding Application 'lua' 2009-12-06 19:35:43.110252 [NOTICE] switch_loadable_module.c:270 Adding API Function 'luarun' 2009-12-06 19:35:43.110338 [NOTICE] switch_loadable_module.c:270 Adding API Function 'lua' 2009-12-06 19:35:43.110761 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_say_en] 2009-12-06 19:35:43.110780 [NOTICE] switch_loadable_module.c:395 Adding Say interface 'en' 2009-12-06 19:35:43.110881 [CONSOLE] switch_loadable_module.c:120 Starting runtime thread for CORE_SO FTTIMER_MODULE 2009-12-06 19:35:43.111049 [CONSOLE] switch_loadable_module.c:120 Starting runtime thread for mod_eve nt_socket 2009-12-06 19:35:43.111255 [NOTICE] switch_core.c:898 Created ip list rfc1918.auto default (deny) 2009-12-06 19:35:43.111279 [NOTICE] switch_core.c:906 Created ip list nat.auto default (deny) 2009-12-06 19:35:43.111293 [NOTICE] switch_core.c:914 Created ip list loopback.auto default (deny) 2009-12-06 19:35:43.111348 [NOTICE] switch_core.c:920 Created ip list localnet.auto default (deny) 2009-12-06 19:35:43.111361 [NOTICE] switch_core.c:923 Adding 87.61.18.196/255.255.255.248 (allow) to list localnet.auto 2009-12-06 19:35:43.111380 [CONSOLE] switch_core.c:961 Created ip list lan default (allow) 2009-12-06 19:35:43.111395 [NOTICE] switch_core.c:1064 Adding 10.11.12.0/24 (deny) to list lan 2009-12-06 19:35:43.111422 [NOTICE] switch_core.c:1064 Adding 10.11.12.25/32 (allow) to list lan 2009-12-06 19:35:43.111432 [CONSOLE] switch_core.c:961 Created ip list domains default (deny) 2009-12-06 19:35:43.111477 [WARNING] switch_core.c:990 Cannot locate domain 87.61.18.196 2009-12-06 19:35:43.111986 [CONSOLE] switch_core.c:1465 FreeSWITCH Version 1.0.trunk (13784) Started. Crash Protection [Disabled] Max Sessions[1000] Session Rate[30] SQL [Enabled] freeswitch@firewall.fribert.dk> If I then inquire about the internal status I get: freeswitch@firewall.fribert.dk> sofia status profile internal API CALL [sofia(status profile internal)] output: ================================================================================================= Name internal Domain Name N/A DBName sofia_reg_internal Pres Hosts Dialplan XML Context public Challenge Realm auto_from RTP-IP 10.11.12.25 Ext-RTP-IP 10.11.12.25 SIP-IP 10.11.12.25 Ext-SIP-IP 10.11.12.25 URL sip:mod_sofia@10.11.12.25:5060 BIND-URL sip:mod_sofia@10.11.12.25:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 0 FAILED-CALLS-IN 0 CALLS-OUT 0 FAILED-CALLS-OUT 0 Registrations: ================================================================================================= ================================================================================================= If I do a external status it shows: freeswitch@firewall.fribert.dk> sofia status profile external API CALL [sofia(status profile external)] output: ================================================================================================= Name external Domain Name N/A DBName sofia_reg_external Pres Hosts Dialplan XML Context public Challenge Realm auto_to RTP-IP 87.61.18.196 Ext-RTP-IP 87.61.18.196 SIP-IP 87.61.18.196 Ext-SIP-IP 87.61.18.196 URL sip:mod_sofia@87.61.18.196:5080 BIND-URL sip:mod_sofia@87.61.18.196:5080 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 0 FAILED-CALLS-IN 0 CALLS-OUT 0 FAILED-CALLS-OUT 0 Registrations: ================================================================================================= ================================================================================================= As far as I can see, everything looks ok, except for the 2009-12-06 19:35:43.111477 [WARNING] switch_core.c:990 Cannot locate domain 87.61.18.196 I'm wondering WHY it wants a domain on the external IP??? I then started the SIP softphone, and got: 2009-12-06 19:36:23.588241 [WARNING] sofia_reg.c:1755 Can't find user [1001@87.61.18.196] You must define a domain called '87.61.18.196' in your directory and add a user with the id="1001" at tribute and you must configure your device to use the proper domain in it's authentication credentials. 2009-12-06 19:36:27.988290 [WARNING] sofia_reg.c:1755 Can't find user [1001@87.61.18.196] You must define a domain called '87.61.18.196' in your directory and add a user with the id="1001" at tribute and you must configure your device to use the proper domain in it's authentication credentials. I've set up the phone to use a domain 10.11.12.25 But I guess, something is screwy with the 'domain' definition as it shows above. So now I'm halted. P.S. I'm full of aw, of the quick and qualified help I've gotten so far, with good pointers to where to start. Thankyou all for your input! This is a brand new line of work for me, so I'm completely at a loss, which is quite fun when I'm used to be the server expert :-D
Registrations: ================================================================================================= ================================================================================================= As far as I can see, everything looks ok, except for the 2009-12-06 19:35:43.111477 [WARNING] switch_core.c:990 Cannot locate domain 87.61.18.196 I'm wondering WHY it wants a domain on the external IP??? I then started the SIP softphone, and got: 2009-12-06 19:36:23.588241 [WARNING] sofia_reg.c:1755 Can't find user [1001@87.61.18.196] You must define a domain called '87.61.18.196' in your directory and add a user with the id="1001" at tribute and you must configure your device to use the proper domain in it's authentication credentials.
Yea, it looks like your server is taking the domain of the wan nic. I don't begin to claim I know all there is to know about this (still lurking while I learn as well...) but I got a lab'ed up pfSense box to work only after I edited vars.xml and set: <X-PRE-PROCESS cmd="set" data="domain=10.0.0.1"/> Where 10.0.0.1 was the ip my internal.xml bound to. I assumed it had something to do with nat and clients in the lan accessing the wan ip.
Hi Joseph Ahh, yes, that got rid of that error :-) Now on to the next one. So now it's connecting, both at my provider, and my softphone. Now I have to figure out why it tells me 'Call failed: not found' when I try to call out of the system... But I think that's a task for tomorrow when I'm more awake :-D Thanks! Fribert
06-12-2009 kl. 22:01 skrev "Joseph L. Casale" <JCasale@activenetwerx.com> i meddelelsen <ABF9510930E1374BA4B4C61A01104FBDEC36AF@Monterossa.activenetwerx.local>:
Registrations: ================================================================================================= ================================================================================================= As far as I can see, everything looks ok, except for the 2009-12-06 19:35:43.111477 [WARNING] switch_core.c:990 Cannot locate domain 87.61.18.196 I'm wondering WHY it wants a domain on the external IP???
I then started the SIP softphone, and got:
2009-12-06 19:36:23.588241 [WARNING] sofia_reg.c:1755 Can't find user [1001@87.61.18.196] You must define a domain called '87.61.18.196' in your directory and add a user with the id="1001" at tribute and you must configure your device to use the proper domain in it's authentication credentials.
Yea, it looks like your server is taking the domain of the wan nic. I don't begin to claim I know all there is to know about this (still lurking while I learn as well...) but I got a lab'ed up pfSense box to work only after I edited vars.xml and set: <X-PRE-PROCESS cmd="set" data="domain=10.0.0.1"/> Where 10.0.0.1 was the ip my internal.xml bound to. I assumed it had something to do with nat and clients in the lan accessing the wan 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
participants (2)
-
Joseph L. Casale
-
mailinglist