Re: Configuration help needed for Cisco 7905

Thomas Ries <[email protected]> Sun, 14 Apr 2013 15:22:36 +0200
Newsgroups gmane.network.siproxd
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============7969140913282028623==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="----enig2KEJICJWWVTONIRQVVNQD"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2KEJICJWWVTONIRQVVNQD
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The siproxd debug log may reveal more details on why a 408 Request Timeou=
t
response is returned..

On 04/07/2013 09:54 AM, Jeremy Malcolm wrote:
> My configuration is like this one:
>=20
> http://siproxd.sourceforge.net/siproxd_guide/siproxd_guide_c7s3.html
>=20
> However my phone is different; it's a Cisco 7905.  The relevant setting=
s that the phone allows me to configure are these:
>=20
> UID	 cisco
> PWD	 mypassword
> Proxy	 my.sip.server.net
> SIPRegOn     1
> SIPRegInterval	 3600
> StaticIP    192.168.15.122
> OutBoundProxy	 192.168.15.200 [my siproxd machine]
> StaticRoute    192.168.15.1 [my dumb masquerading router, with siproxd =
set as the DMZ]
>=20
> Here is my configuration for siproxd:
>=20
> if_inbound  =3D eth0
> if_outbound =3D eth0
> host_outbound =3D name-that-resolves-to-my-external-ip.net
>=20
> It doesn't work, here is what happens:
>=20
> 15:31:35 INFO:siproxd.c:233 siproxd-0.8.1-53 i486-pc-linux-gnu starting=
 up
> 15:31:35 INFO:plugins.c:112 Plugin 'plugin_logcall' [Logs calls to sysl=
og] loaded with success, exemask=3D0x40
> 07:31:35 INFO:rtpproxy_relay.c:121 Current thread stacksize is 8192 kB
> 07:31:35 INFO:sock.c:131 bound to port 5060
> 07:31:35 INFO:siproxd.c:344 siproxd-0.8.1-53 i486-pc-linux-gnu started
> 07:31:57 INFO:plugin_logcall.c:126 Outgoing Call: cisco-pU0pTbRKGX8/[email protected]=
et -> 888123456-pU0pTbRKGX/[email protected] [Req: 888123456-pU0pTbRKGX/[email protected]]
> 07:31:57 INFO:plugin_logcall.c:126 ACK Call: cisco-pU0pTbRKGX/[email protected] ->=
 888123456-pU0pTbRKGX/[email protected] [Req: 888123456-pU0pTbRKGX/[email protected]]
>=20
> Also by using ngrep I see this:
>=20
> interface: eth0 (192.168.15.0/255.255.255.0)
> filter: (ip or ip6) and ( port 5060 )
> #
> U 192.168.15.122:5060 -> 192.168.15.200:5060
> REGISTER sip:my.sip.server.net SIP/2.0.
> Via: SIP/2.0/UDP 192.168.15.122:5060.
> From: sip:cisco-pU0pTbRKGX/[email protected];tag=3D3840067541.
> To: sip:cisco-pU0pTbRKGX/[email protected]
> Call-ID: [email protected]
> CSeq: 1 REGISTER.
> Contact: Jeremy Malcolm <sip:cisco-Q0ErXNX1RuY/[email protected]:5060;transport=3Dudp>=
;expires=3D3600.
> User-Agent: Cisco-CP7905/1.01-030807A.
> Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER.
> Content-Length: 0.
> .
>=20
> #
> U 192.168.15.200:5060 -> 192.168.15.122:5060
> SIP/2.0 408 Request Timeout.
> Via: SIP/2.0/UDP 192.168.15.122:5060.
> From: <sip:cisco-pU0pTbRKGX/[email protected]>;tag=3D3840067541.
> To: <sip:cisco-pU0pTbRKGX/[email protected]>.
> Call-ID: [email protected]
> CSeq: 1 REGISTER.
> Content-Length: 0.
> .
>=20
> #
> U 192.168.15.122:5060 -> 192.168.15.200:5060
> INVITE sip:88812346-pU0pTbRKGX/[email protected];user=3Dphone SIP/2.0.
> Via: SIP/2.0/UDP 192.168.15.122:5060.
> From: Jeremy Malcolm <sip:cisco-pU0pTbRKGX/[email protected]>;tag=3D816758886.
> To: <sip:88812346-pU0pTbRKGX/[email protected];user=3Dphone>.
> Call-ID: [email protected]
> CSeq: 1 INVITE.
> Contact: Jeremy Malcolm <sip:cisco-Q0ErXNX1RuY/[email protected]:5060;transport=3Dudp>=
=2E
> User-Agent: Cisco-CP7905/1.01-030807A.
> Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER.
> Expires: 300.
> Content-Length: 262.
> Content-Type: application/sdp.
> .
> v=3D0.
> o=3Dcisco 15826 15826 IN IP4 192.168.15.122.
> s=3DCisco 7905 SIP Call.
> c=3DIN IP4 192.168.15.122.
> t=3D0 0.
> m=3Daudio 16384 RTP/AVP 18 8 0 101.
> a=3Drtpmap:18 G729/8000/1.
> a=3Drtpmap:8 PCMA/8000/1.
> a=3Drtpmap:0 PCMU/8000/1.
> a=3Drtpmap:101 telephone-event/8000.
> a=3Dfmtp:101 0-15.
>=20
> #
> U 192.168.15.200:5060 -> 192.168.15.122:5060
> SIP/2.0 408 Request Timeout.
> Via: SIP/2.0/UDP 192.168.15.122:5060.
> From: Jeremy Malcolm <sip:cisco-pU0pTbRKGX/[email protected]>;tag=3D816758886.
> To: <sip:88812346-pU0pTbRKGX/[email protected];user=3Dphone>.
> Call-ID: [email protected]
> CSeq: 1 INVITE.
> Content-Length: 0.
> .
>=20
> #
> U 192.168.15.122:5060 -> 192.168.15.200:5060
> ACK sip:88812346-pU0pTbRKGX/[email protected];user=3Dphone SIP/2.0.
> Via: SIP/2.0/UDP 192.168.15.122:5060.
> From: Jeremy Malcolm <sip:cisco-pU0pTbRKGX/[email protected]>;tag=3D816758886.
> To: <sip:88812346-pU0pTbRKGX/[email protected];user=3Dphone>.
> Call-ID: [email protected]
> CSeq: 1 ACK.
> User-Agent: Cisco-CP7905/1.01-030807A.
> Content-Length: 0.
>=20
> Interestingly there is no sign of "name-that-resolves-to-my-external-ip=
=2Enet" above.  I have tried running a similar command on my.sip.server.n=
et (because it's my own SIP server running yate), but it never sees anyth=
ing.
>=20
> Also interestingly, I have sip softphones on the same network which wor=
k fine, even without using siproxd as the proxy.  I guess they are a bit =
smarter about NAT, and can work fine even though my router does not have =
a sip ALG built-in.
>=20
> Any help appreciated...
>=20
> PS. Public IP addresses/domains have been changed for privacy/security =
reasons.
>=20
> --
> Jeremy Malcolm PhD LLB (Hons) B Com
> Internet and Open Source lawyer, consumer advocate and geek
> host -t NAPTR 5.9.8.5.2.8.2.2.1.0.6.e164.org|awk -F! '{print $3}'
>=20
>=20
>=20
>=20
> -----------------------------------------------------------------------=
-------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire=20
> the most talented Cisco Certified professionals. Visit the=20
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Siproxd-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/siproxd-users
>=20


------enig2KEJICJWWVTONIRQVVNQD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlFqraEACgkQB2xLpFxU+GXMMwCaA0l3eWJb3s6X6Fl8umflKyV7
pCYAn2yZjNfVcXID0EqdiqAh4x8CRuXj
=jB4f
-----END PGP SIGNATURE-----

------enig2KEJICJWWVTONIRQVVNQD--


--===============7969140913282028623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
--===============7969140913282028623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Siproxd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/siproxd-users

--===============7969140913282028623==--