[asterisk-users] Multiple registrations to the same asterisk server

Marco Mouta marco.mouta at gmail.com
Tue Aug 15 16:02:28 MST 2006


Hi ,
Please post here your extensions.conf in your central server only with that
i can figured out or at least try to help u.

Best regards,
Marco Mouta

On 8/15/06, Juan Luis Moyano <juanmoyano at southecon.com.ar> wrote:
>
> Hi All, I have the following scenario: A central Asterisk server where
> all the ATAs register themselves. This server runs Asterisk 1.2.5 and
> ATAs are SPA-2002. So far everything is OK. Now I have another location
> where I want to connect 4 analog phones. I thought setting up 2 SPA-2002
> but as I already have a TDM400P card and I want to use it, I had
> configured asterisk 1.0.7 on the second machine. So far I can place
> calls from the second server to any extension on the central server. But
> I cant get an ATA on the central server to reach an extension on the
> second server. Please help me solve this situation. Thanks in advance.
>
> Juan Luis Moyano
>
> The configs are as follows:
>
> Central Server
> --------------
> -sip.conf
>
> [40019]
> username=USER1
> callerid=40019
> type=friend
> host=dynamic
> secret=XXXXXXXX
> mailbox=40019
> accountcode=USER1
>
> [40028]
> username=USER2
> callerid=40028
> type=friend
> host=dynamic
> secret=XXXXXXXX
> mailbox=40028
> accountcode=USER2
>
> [40000]
> username=USER3
> callerid=40000
> type=friend
> host=dynamic
> secret=XXXXXXXX
> mailbox=40000
> accountcode=USER3
>
> [40023]
> username=USER4
> callerid=40023
> type=friend
> host=dynamic
> secret=XXXXXXXX
> mailbox=40023
> accountcode=USER4
>
>
>
> Second Server
> -------------
>
> -sip.conf
>
> register => 40019:XXXXXXXX at 10.32.1.16/40019
> register => 40028:XXXXXXXX at 10.32.1.16/40028
> register => 40000:XXXXXXXX at 10.32.1.16/40000
> register => 40023:XXXXXXXX at 10.32.1.16/40023
>
> [40019]
> type=friend
> secret=XXXXXXXX
> username=40019
> host=10.32.1.16
> insecure=very
>
> [40000]
> type=friend
> secret=XXXXXXXX
> username=40000
> host=10.32.1.16
> insecure=very
>
> [40028]
> type=friend
> secret=XXXXXXXX
> username=40028
> host=10.32.1.16
> insecure=very
>
> [40023]
> type=friend
> secret=XXXXXXXX
> username=40023
> host=10.32.1.16
> insecure=very
>
>
> -extensions.conf
>
> [globals]
>
> USER1=Zap/2
> USER2=Zap/3
> USER3=Zap/4
> USER4=Zap/5
>
> [extensions]
> exten => 40019,1,Dial(${USER1})
> exten => 40023,1,Dial(${USER2})
> exten => 40028,1,Dial(${USER3})
> exten => 40000,1,Dial(${USER4})
>
> [outbound]
> exten => _.,1,Dial(SIP/${EXTEN}@${CALLERIDNUM})
> _______________________________________________
> --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
>



-- 
Com os melhores cumprimentos,

Marco Mouta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060815/70e403c9/attachment.htm


More information about the asterisk-users mailing list