[Asterisk-Users] Bind port

Carlos Alperin calperin at senecacom.net
Mon Jul 4 16:00:38 MST 2005


Eric,

This is the Sip.conf section where you define the port. Do you want to use
more than one port as Source? 

;
; SIP Configuration for Asterisk
;
[general]
port = 5060                     ; Port to bind to
bindaddr = 69.39.69.183         ; Address to bind to
canreinvite =no
context = pstn                  ; Default for incoming calls

And this is what I get from the port #2:

SIP1-MI*CLI> sip show peer carlos2

  * Name       : carlos2
  Secret       : <Set>
  MD5Secret    : <Not set>
  Context      : pstn
  Language     :
  FromUser     :
  FromDomain   :
  Callgroup    :  (0)
  Pickupgroup  :  (0)
  Mailbox      :
  LastMsgsSent : -1
  Dynamic      : Yes
  Expire       : 340717
  Expiry       : 900
  Insecure     : No
  Nat          : Always
  ACL          : No
  CanReinvite  : No
  PromiscRedir : No
  DTMFmode     : rfc2833
  LastMsg      : 0
  ToHost       :
  Addr->IP     : xxx.xxx.xxx.xxx Port 5061 (This is my Real IP address
outside the NAT, and it receive it on 5061.
  Defaddr->IP  : 0.0.0.0 Port 5060
  Username     : carlos2
  Codecs       : GSM ULAW ALAW G.726 G.729A
  Status       : UNKNOWN
  Useragent    : Sipura/SPA2000-2.0.13(g)
  Full Contact : sip:carlos2 at 192.168.1.8:5061

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
aka ManxPower
Sent: Monday, July 04, 2005 6:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Bind port

Carlos Alperin wrote:
> Sipura boxes uses 5060 & 5061. I don't see why you cannot use something
like
> that. But anyway, that depends on how you 'll going to register them.

They use that for the SOURCE port of packets sent by the SIPura.  It 
still uses 5060 as the destination port.


-- 
Eric Wieling * BTEL Consulting * 504-210-3699 x2120
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list