Re: Configuration help needed for Cisco 7905
Thomas Ries <[email protected]> Sat, 24 Aug 2013 10:49:40 +0200
| Newsgroups | gmane.network.siproxd |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8553292638165574648== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcoBNagCGCQv6gdCHuWWc2KfxQM448BL1" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HcoBNagCGCQv6gdCHuWWc2KfxQM448BL1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Jeremy, now you probabla need to capture a full debug log, including the REGISTER= sequence of teh Cisco phone and inlcude in an incoming call. I still suspect that the Cisco phone is doing something funny at registra= tion time. To further look into this, a detailed debug log of siproxd is neede= d. Best regards, /Thomas On 08/11/2013 10:39 AM, Jeremy Malcolm wrote: > I am coming back to the list with this old problem, because although I = have made some progress I still can't get my Cisco 7905 handset to work b= ehind my NAT router and siproxd, though more modern softphones are fine. >=20 > The problem that I originally reported below had to do with the Cisco n= ot being able to reach DNS - that is now fixed, and I can now make outgoi= ng calls (even without siproxd). The problem comes with incoming calls. >=20 > In order to receive incoming calls I'm registering the Cisco with sipro= xd, and the registration is showing up correctly in the siproxd_registrat= ions file: >=20 > ***:1:1376210552 > sip > cisco > 192.168.15.122 # this is the local network address of= the phone > 5060 > sip > cisco > 128.107.224.32 # this is the external IP address >=20 > sip > cisco > my.sip.server.net # this is my SIP server >=20 > When I try to dial in my other softphones will ring, but the Cisco won'= t. The siproxd log shows: >=20 > Aug 11 16:18:17 servalan siproxd[27573]: plugin_logcall.c:126 INFO:Outg= oing Call: 0000123456-pU0pTbRKGX/[email protected] -> [email protected] [Req: cis= [email protected]] > Aug 11 16:18:18 servalan siproxd[27573]: plugin_logcall.c:126 INFO:ACK = Call: 0000123456-pU0pTbRKGX/[email protected] -> [email protected] [Req: cisco@19= 2.168.15.200] >=20 > (192.168.15.200 is the machine running siproxd.) A packet dump shows t= his: >=20 > U my.sip.server.net:5060 -> 192.168.15.200:5060 > INVITE sip:[email protected]:5060 SIP/2.0. > Max-Forwards: 14. > Via: SIP/2.0/UDP my.sip.server.net:5060;rport;branch=3Dz9hG4bK141214283= 4. > From: "qirtaiba" <sip:0000123456-pU0pTbRKGX/[email protected]:5060>;tag=3D17153870= 67. > To: <sip:[email protected]:5060>. > Call-ID: 89788840-pU0pTbRKGX/[email protected] > CSeq: 143 INVITE. > User-Agent: YATE/4.1.0. > Contact: <sip:0000123456-pU0pTbRKGX/[email protected]:5060>. > Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO. > Content-Type: application/sdp. > Content-Length: 209. > . > v=3D0. > o=3Dyate 1376210100 1376210100 IN IP4 85.234.150.85. > s=3DSIP Call. > c=3DIN IP4 my.sip.server.net. > t=3D0 0. > m=3Daudio 32108 RTP/AVP 0 8 101. > a=3Drtpmap:0 PCMU/8000. > a=3Drtpmap:8 PCMA/8000. > a=3Drtpmap:101 telephone-event/8000. >=20 > # > U 192.168.15.200:5060 -> my.sip.server.net:5060 > SIP/2.0 408 Request Timeout. > Via: SIP/2.0/UDP my.sip.server.net:5060;rport;branch=3Dz9hG4bK141214283= 4. > From: "qirtaiba" <sip:0000123456-pU0pTbRKGX/[email protected]:5060>;tag=3D17153870= 67. > To: <sip:[email protected]:5060>. > Call-ID: 89788840-pU0pTbRKGX/[email protected] > CSeq: 143 INVITE. > Content-Length: 0. > . >=20 > # > U my.sip.server.net:5060 -> 192.168.15.200:5060 > ACK sip:[email protected]:5060 SIP/2.0. > Via: SIP/2.0/UDP my.sip.server.net:5060;rport;branch=3Dz9hG4bK141214283= 4. > From: "qirtaiba" <sip:0000123456-pU0pTbRKGX/[email protected]:5060>;tag=3D17153870= 67. > To: <sip:[email protected]:5060>. > Call-ID: 89788840-pU0pTbRKGX/[email protected] > CSeq: 143 ACK. > Max-Forwards: 14. > Contact: <sip:0000123456-pU0pTbRKGX/[email protected]:5060>. > User-Agent: YATE/4.1.0. > Content-Length: 0. > . >=20 > # > U 192.168.15.200:5060 -> my.sip.server.net:5060 > SIP/2.0 408 Request Timeout. > Via: SIP/2.0/UDP my.sip.server.net:5060;rport;branch=3Dz9hG4bK141214283= 4. > From: "qirtaiba" <sip:0000123456-pU0pTbRKGX/[email protected]:5060>;tag=3D17153870= 67. > To: <sip:[email protected]:5060>. > Call-ID: 89788840-pU0pTbRKGX/[email protected] > CSeq: 143 ACK. > Content-Length: 0. >=20 > Any more help would be much appreciated! >=20 > On 07/04/2013, at 3:54 PM, Jeremy Malcolm <Jeremy-emby6n1pwoBWo+R/V/U2/[email protected]> wrote:= >=20 >> My configuration is like this one: >> >> http://siproxd.sourceforge.net/siproxd_guide/siproxd_guide_c7s3.html >> >> However my phone is different; it's a Cisco 7905. The relevant settin= gs that the phone allows me to configure are these: >> >> 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] >> >> Here is my configuration for siproxd: >> >> if_inbound =3D eth0 >> if_outbound =3D eth0 >> host_outbound =3D name-that-resolves-to-my-external-ip.net >> >> It doesn't work, here is what happens: >> >> 15:31:35 INFO:siproxd.c:233 siproxd-0.8.1-53 i486-pc-linux-gnu startin= g up >> 15:31:35 INFO:plugins.c:112 Plugin 'plugin_logcall' [Logs calls to sys= log] 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-pU0pTbRKGX+qoKTmFUT/[email protected]= net -> 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]] >> >> Also by using ngrep I see this: >> >> 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. >> . >> >> # >> 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. >> . >> >> # >> 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= >. >> 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. >> >> # >> 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. >> . >> >> # >> 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. >> >> Interestingly there is no sign of "name-that-resolves-to-my-external-i= p.net" above. I have tried running a similar command on my.sip.server.ne= t (because it's my own SIP server running yate), but it never sees anythi= ng. >> >> Also interestingly, I have sip softphones on the same network which wo= rk 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. >> >> Any help appreciated... >> >> 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 > WARNING: This email has not been encrypted. You are strongly recommende= d to enable PGP or S/MIME encryption at your end. For instructions, see h= ttp://jere.my/l/8m. >=20 >=20 > -----------------------------------------------------------------------= ------- > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead.=20 > Download for free and get started troubleshooting in minutes.=20 > http://pubads.g.doubleclick.net/gampad/clk?id=3D48897031&iu=3D/4140/ost= g.clktrk > _______________________________________________ > Siproxd-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/siproxd-users >=20 --HcoBNagCGCQv6gdCHuWWc2KfxQM448BL1 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) iEYEARECAAYFAlIYc6cACgkQB2xLpFxU+GWrKQCePmeT1sGMovFp7c0lsQWElT2y 6GsAnRfv/UpFnvTgec826vqLO72bOHcl =c4lJ -----END PGP SIGNATURE----- --HcoBNagCGCQv6gdCHuWWc2KfxQM448BL1-- --===============8553292638165574648== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk --===============8553292638165574648== 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 --===============8553292638165574648==--