[Asterisk-Users] Sip Trunking

Johann
Mon, 13 Jun 2005 09:14:06 -0000

I'm trying to setup SIP trunking between 2 asterisk servers.  Eventually
there may be up to 5 servers linked together depending on the growth
needed.  I have IAX2 trunking working, but I want both.

For simplicity, I have named the two servers, alpha and beta.  Extension
7100 is a Polycom IP600 on alpha and extension 7300 is using kphone on
beta.  Both ae using SIP.  Below are the relvenant parts of
extensions.conf and sip.conf.

;# server alpha
; extensions.conf

[staff]
extension => 7100,Dial(SIP/7100)
extension => 7300,Goto(siptrunk,7300,1)

[siptrunk]
include => siptrunk-beta

[siptrunk-beta]
exten => _73XX,1,Dial(SIP/siptrunk-peer/${EXTEN})

; in sip.conf
[siptrunk-peer]
type=peer
username=siptrunk-peer
secret=password
host=<beta's IP address>

[siptrunk-user]
type=user
username=siptrunk-user
secret=password
host=<beta's IP address>

;# server beta
; extensions.conf

[staff]
extension => 7300,Dial(SIP/7300)
extension => 7100,Goto(siptrunk,7100,1)

[siptrunk]
include => siptrunk-alpha

[siptrunk-alpha]
exten => _71XX,1,Dial(SIP/siptrunk-peer/${EXTEN})

; in sip.conf
[siptrunk-peer]
type=peer
username=siptrunk-peer
secret=password
host=<alpha's IP address>

[siptrunk-user]
type=user
username=siptrunk-user
secret=password
host=<alpha's IP address>

When dialing 7300 from alpha, I get the following:
    -- Executing Dial("SIP/7000-e924",
"SIP/siptrunk-peer/7300") in new
stack
    -- Called siptrunk-peer/7300
Jun 13 11:10:47 WARNING[18099]: chan_sip.c:694 retrans_pkt: Maximum
retries exceeded on call 45a607bc5f66cfb363f2cc565b85fa29@<alpha's IP
address> for seqno 102 (Critical Request)
  == No one is available to answer at this time

Any ideas?