Re: [Siproxd-users] Can't get siproxd to work
Status: Beta
Brought to you by:
tries
From: Thomas R. <tr...@gm...> - 2004-08-27 19:58:24
|
Hi Jody, this looks to me like the mask_host is not setup propery. I can't see more from that short log snipplet. How do you have configure the mask_host and masked_host? The masked_host MUST be the outbound IP of siproxd (which I doubt in your case). Regards, /Thomas On 27 Aug, Jody McIntyre wrote: > Thanks for the reply. > > On Thu, Aug 26, 2004 at 07:29:57PM +0200, Thomas Ries wrote: > >> 1) You may want to put in the correct access control mask into the >> configuration: >> >> hosts_allow_sip = 205.233.128.0/24 >> >> should *probably* be: 205.233.218.0/24 (218 instead of 128) > > You're right. I was actually looking at things this morning again and > noticed that. > >> 2) Why does phone 1000 send an INVITE to 1002@192.168.90.1 ?? >> 1002 is supposed to be registered at the asterisk server, which >> then should be called as 1002@205.233.218.10. > > I'm just dialing "1002" on the phone, which apparently sends the wrong > thing. It does ring the phone though. > >> 3) The phone 1000 must have the public side IP configured as domain >> part of it's SIP URI (can be seen in a sent INVITE request, e.g. >> at 13:03:27 of your debugfile). >> As "From" header it shows "sip:user@192.168.90.1", however this must >> contain the public (outbound) IP of siproxd "sip:user@205.233.218.5" - >> otherwise incoming calls will not work properly. >> On some phones you simply cannot configure the domain part independently >> from the registration server - if this the case you must use the >> mask_host feature of siproxd to correct the header fields properly. > > OK, the phone does actually offer this feature, but it's called "Bypass > Firewall NAT" at the bottom of the "SIP Configuration" page. > > Unfortunately the feature does not work as it should. Instead, the > From: address still ends up as sip:user@192.168.90.1 and the Contact: > becomes sip:user@205.233.218.5. Fortunately the mask_host feature does > fix the problem. > > I still can't connect back through siproxd. I tried dial by URL: > sip:1005@205.233.218.5 from extension 1002 (the phone on the internal > network is now extension 1005 not 1000). siproxd does not recognize the > URL and treats it as an attempted outgoing call, which of course does > not work. A log is attached. Any suggestions? > > Thanks, > Jody > > > >> >> >> Regards, >> /Thomas >> >> ###################################################################### >> -- GnuPG: pub 1024D/87BCDC94 2000-03-19 Thomas Ries <tr...@gm...> - Fingerprint = 13D1 19F5 77D0 4CEC 8D3F A24E 09FC C18A 87BC DC94 - Key via pgp.openpkg.org / http://www.ries.ch.vu/87BCDC94.pub VoIP: sip:174...@pr... |