Re: Can't get siproxd to work
Thomas Ries <[email protected]> Fri, 27 Aug 2004 21:58:10 +0200 (CEST)
| Newsgroups | gmane.network.siproxd |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] ?? >> 1002 is supposed to be registered at the asterisk server, which >> then should be called as 1002-2oA/[email protected] > > 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:[email protected]", however this must >> contain the public (outbound) IP of siproxd "sip:user-2oA/[email protected]" - >> 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:[email protected] and the Contact: > becomes sip:user-2oA/[email protected] Fortunately the mask_host feature does > fix the problem. > > I still can't connect back through siproxd. I tried dial by URL: > sip:1005-2oA/[email protected] 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 <[email protected]> - 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:17476691342-rne+wJe3e/u3Jhga2bR/9VaTQe2KTcn/@public.gmane.org
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBBL5JSCfzBioe83JQRArK0AJ96lAZCaualbIlbSqTexNtt3OrYLACfTGgN VfI9gdhWV9CYHE0w6vNWDtk= =W3Ve -----END PGP SIGNATURE-----