[asterisk-users] sip tcp support

richard Coco coco_richard at yahoo.com
Mon Apr 16 04:20:58 MST 2007



--- "J. Oquendo" <sil at infiltrated.net> wrote:

> 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 at 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:
> >   
i have read somewhere that the HG3540 only works with
sip tcp for SIPQ.

>
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
> 
> > _______________________________________________
> --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