[Aaug] Configuing one * to be an ext from another

Christopher Fowler cfowler at outpostsentinel.com
Wed Feb 14 08:47:03 EST 2007


I've got my PBX working well.  Few tweaks to iron out but I can do that
over time.  I will install it tomorrow in the rack at the data center.

I'm now installing asterisk onto another server.  This server has no
zaptel hardware.  Here is what I want to do

1.  On the main PBX create an extension called 1001.  When
    a user dials 1001 it will call the 2nd asterisk box

2.  The second asterisk box will answer that call as the [incoming]
    context and the IVR will be executed.

At this point the 2nd asterisk box is a server that I plan on fully
automating the IVR via the AGI.  It will dial no one.  He will only
receive SIP calls from the main PBX.

Here are my questions:

1.  On the main PBX to I simply create and extension for that server 
    just like I did for the soft-phones and ATAs

sip.conf:
[1001]
type=friend
secret=1001
qualify=no                     ; Qualify peer is no more than 2000 ms
away
nat=no                         ; This phone is not natted
host=dynamic                    ; This device registers with us
canreinvite=no                  ; Asterisk by default tries to redirect
context=internal 


2.  What do I configure in sip.conf on the server?
I'm thinking:
[1001]
type=peer
secret=1001
qualify=no                     ; Qualify peer is no more than 2000 ms
away
nat=no                         ; This phone is not natted
host=dynamic                    ; This device registers with us
canreinvite=no                  ; Asterisk by default tries to redirect
context=incoming

Am I on the right track?





More information about the Aaug mailing list