Hi all, i have asterisk 1.2.17 with sip tcp support and i am trying to connect asterisk with HiPath 4000 V.3.0 using SIP. I can see the registration from the HG3540. But when i try to place a call from Asterisk to HiPath, the call fails with SIP/2.0 603 Declined. The strange thing is that the first INVITE uses tcp and the response is a 100 TRYING, the next 7 INVITE are using udp and the respose is ICMP Destination unreachable (Port unreachable). any hints? Thx in advance Xten asterisk HiPath | INVITE | | |---------->| | | TRYING | | |<----------| | | | INVITE | | |---------->| | | INVITE | | |---------->| | | INVITE | | |---------->| | | INVITE | | |---------->| | | INVITE | | |---------->| | | INVITE | | |---------->| | | INVITE | | |---------->| |603 DECINE | | |<----------| | | ACK | | |---------->| | - Registered SIP '971' at 10.4.5.1 port 5060 expires 120 proxy*CLI> sip show peer 971 * Name : 971 Secret : <Not set> MD5Secret : <Not set> Context : from_hipath Subscr.Cont. : <Not set> Language : AMA flags : Unknown CallingPres : Presentation Allowed, Not Screened Callgroup : Pickupgroup : Mailbox : VM Extension : asterisk LastMsgsSent : 32767/65535 Call limit : 0 Dynamic : Yes Callerid : "" <> Expire : 113 Insecure : no Nat : RFC3581 ACL : No CanReinvite : Yes PromiscRedir : No User=Phone : No Trust RPID : No Send RPID : No DTMFmode : rfc2833 LastMsg : 0 ToHost : Addr->IP : 10.4.5.1 Port 5060 Defaddr->IP : 0.0.0.0 Port 5060 Sock fd : 24 Transport : TCP Def. Username: 971 SIP Options : (none) Codecs : 0xc (ulaw|alaw) Codec Order : (alaw,ulaw) Status : Unmonitored Useragent : HiPath 4000 V3.0 M5T SIP-UA SAFE/v3.6.6.10 Reg. Contact : sip:971@10.4.5.1:5060;transport=tcp __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
richard Coco wrote:> Hi all, > > i have asterisk 1.2.17 with sip tcp support and i am > trying to connect asterisk with HiPath 4000 V.3.0 > using SIP. I can see the registration from the HG3540. > But when i try to place a call from Asterisk to > HiPath, the call fails with SIP/2.0 603 Declined. > The strange thing is that the first INVITE uses tcp > and the response is a 100 TRYING, the next 7 INVITE > are using udp and the respose is ICMP Destination > unreachable (Port unreachable). > > any hints? Thx in advance > > Xten asterisk HiPath > | INVITE | | > |---------->| | > | TRYING | | > |<----------| | > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > |603 DECINE | | > |<----------| | > | ACK | | > |---------->| | > > > - Registered SIP '971' at 10.4.5.1 port 5060 expires > 120 > proxy*CLI> sip show peer 971 > > * Name : 971 > Secret : <Not set> > MD5Secret : <Not set> > Context : from_hipath > Subscr.Cont. : <Not set> > Language : > AMA flags : Unknown > CallingPres : Presentation Allowed, Not Screened > Callgroup : > Pickupgroup : > Mailbox : > VM Extension : asterisk > LastMsgsSent : 32767/65535 > Call limit : 0 > Dynamic : Yes > Callerid : "" <> > Expire : 113 > Insecure : no > Nat : RFC3581 > ACL : No > CanReinvite : Yes > PromiscRedir : No > User=Phone : No > Trust RPID : No > Send RPID : No > DTMFmode : rfc2833 > LastMsg : 0 > ToHost : > Addr->IP : 10.4.5.1 Port 5060 > Defaddr->IP : 0.0.0.0 Port 5060 > Sock fd : 24 > Transport : TCP > Def. Username: 971 > SIP Options : (none) > Codecs : 0xc (ulaw|alaw) > Codec Order : (alaw,ulaw) > Status : Unmonitored > Useragent : HiPath 4000 V3.0 M5T SIP-UA > SAFE/v3.6.6.10 > Reg. Contact : sip:971@10.4.5.1:5060;transport=tcp > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >Just out of sheer curiousity, I'm wondering why you decided to use TCP as opposed to UDP. Please don't tell me its for security reasons... Just a question. -- ===================================================J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 sil . infiltrated @ net http://www.infiltrated.net The happiness of society is the end of government. John Adams -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5157 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070416/c61d03f9/smime.bin
On Mon, Apr 16, 2007 at 03:03:30AM -0700, richard Coco wrote:> > Hi all, > > i have asterisk 1.2.17 with sip tcp support and i am > trying to connect asterisk with HiPath 4000 V.3.0 > using SIP. I can see the registration from the HG3540. > But when i try to place a call from Asterisk to > HiPath, the call fails with SIP/2.0 603 Declined. > The strange thing is that the first INVITE uses tcp > and the response is a 100 TRYING, the next 7 INVITE > are using udp and the respose is ICMP Destination > unreachable (Port unreachable).Anybody listens on the UDP port? netstat -lnup | grep 5060> > any hints? Thx in advance > > Xten asterisk HiPath > | INVITE | | > |---------->| | > | TRYING | | > |<----------| | > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > | | INVITE | > | |---------->| > |603 DECINE | | > |<----------| | > | ACK | | > |---------->| | > > > - Registered SIP '971' at 10.4.5.1 port 5060 expires > 120Should that message be changed to reflect the fact that the port is TCP? (and is it for a TCP port indeed?)> proxy*CLI> sip show peer 971 > > * Name : 971 > Secret : <Not set> > MD5Secret : <Not set> > Context : from_hipath > Subscr.Cont. : <Not set> > Language : > AMA flags : Unknown > CallingPres : Presentation Allowed, Not Screened > Callgroup : > Pickupgroup : > Mailbox : > VM Extension : asterisk > LastMsgsSent : 32767/65535 > Call limit : 0 > Dynamic : Yes > Callerid : "" <> > Expire : 113 > Insecure : no > Nat : RFC3581 > ACL : No > CanReinvite : Yes > PromiscRedir : No > User=Phone : No > Trust RPID : No > Send RPID : No > DTMFmode : rfc2833 > LastMsg : 0 > ToHost : > Addr->IP : 10.4.5.1 Port 5060 > Defaddr->IP : 0.0.0.0 Port 5060 > Sock fd : 24 > Transport : TCP > Def. Username: 971 > SIP Options : (none) > Codecs : 0xc (ulaw|alaw) > Codec Order : (alaw,ulaw) > Status : Unmonitored > Useragent : HiPath 4000 V3.0 M5T SIP-UA > SAFE/v3.6.6.10 > Reg. Contact : sip:971@10.4.5.1:5060;transport=tcp-- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir