[asterisk-users] sip tcp support

richard Coco coco_richard at yahoo.com
Mon Apr 16 04:33:03 MST 2007



strange i have:
udp        0      0 0.0.0.0:5060               
0.0.0.0:*                               9722/asterisk


972 is the tie access code from Hiapth to Asterisk.

--- Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

> 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
> > 120
> 
> Should 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 at 10.4.5.1:5060;transport=tcp
> 
> -- 
>                Tzafrir Cohen       
> icq#16849755                   
> jabber:tzafrir at jabber.org
> +972-50-7952406          
> mailto:tzafrir.cohen at xorcom.com       
> http://www.xorcom.com 
> iax:guest at local.xorcom.com/tzafrir
> _______________________________________________
> --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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the asterisk-users mailing list