<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>im not sure this will help but i did the same settings you mentioned and added my lines and it worked.. <BR>
you need some sort of authentication between the Asterisk boxes.. and the easiest way to do it is to do it like this<BR>
<BR>
[asterisk-2]<BR>type=peer<BR>host 10.20.30.2 *** i will assume that you have the "=" sign after the host <BR>context=from-remote-asterisk<BR>insecure=port,invite<BR>deny=0.0.0.0/0.0.0.0<BR>
permit=10.20.30.2/0.0.0.0<BR>
<BR>
and do the same on the other server and you are done.. test it and let me know how did it go ...<BR>
salam<BR>
Tarek Sawah<BR><BR><BR>
<DIV>
<P align=center> </P><A href="http://www.tareksawah.com/"></A></DIV><BR><BR>
<HR id=stopSpelling>
> Date: Mon, 25 Aug 2008 21:06:51 +0800<BR>> From: nhadie@tbgi.net.ph<BR>> To: asterisk-users@lists.digium.com<BR>> Subject: [asterisk-users] sip peering between 2 asterisk<BR>> <BR>> Hi,<BR>> <BR>> I have 2 asterisk on 2 separate location:<BR>> <BR>> sip.conf of asterisk-1<BR>> <BR>> [asterisk-2]<BR>> type=peer<BR>> host 10.20.30.2<BR>> context=from-remote-asterisk<BR>> insecure=port,invite<BR>> <BR>> sip.conf of asterisk-2<BR>> <BR>> [asterisk-1]<BR>> type=peer<BR>> host 10.20.30.1<BR>> context=from-remote-asterisk<BR>> insecure=port,invite<BR>> <BR>> extensions.conf on asterisk-1<BR>> <BR>> [from-remote-asterisk]<BR>> exten => _1XXXXX,1,Dial(SIP/${EXTEN})<BR>> exten => _1XXXXX,n,Hangup<BR>> <BR>> extensions.conf on asterisk-2<BR>> <BR>> [from-remote-asterisk]<BR>> exten => _1XXXXX,1,Dial(SIP/${EXTEN})<BR>> exten => _1XXXXX,n,Hangup<BR>> <BR>> <BR>> when i am registered on asterisk-1 i called an extension on asterisk-2, <BR>> this is what happens;<BR>> <BR>> ip phone --INVITE--> asterisk-1<BR>> asterisk-1 --407 Proxy Authentication Required--> ip phone<BR>> ip phone --ACK--> asterisk-1<BR>> ip phone --INVITE--> asterisk-1<BR>> asterisk-1 --Trying--> ip phone<BR>> <BR>> since the extension is on asterisk-2, asterisk -1 will will send invite <BR>> to asterisk-2<BR>> <BR>> asterisk-1 --INVIITE--> asterisk-2<BR>> asterisk-2 --407 Proxy Authentication Required--> asterisk-1<BR>> asterisk-1 --ACK--> asterisk-2<BR>> asterisk-1 --Forbidden--> ip phone (this part i don't get, after sending <BR>> ACK to asterisk-2 it suddenly send Forbidden to IP phone)<BR>> <BR>> it seems like, asterisk-2 still trying to authenticate the IP phone even <BR>> though it was already authenticated on asterisk-1.<BR>> <BR>> on asterisk-1 this is a NOTICE on the console:<BR>> <BR>> [Aug 25 21:00:30] -- Called 100200@asterisk-2<BR>> [Aug 25 21:00:30] NOTICE[840]: chan_sip.c:12322 handle_response_invite: <BR>> Failed to authenticate on INVITE<BR>> <BR>> what could i be doing wrong? having insecure=port,invite i think should <BR>> not authenticate calls from the other asterisk anymore, at least that's <BR>> how i understand it.<BR>> <BR>> regards,<BR>> nhadie<BR>> <BR>> <BR>> <BR>> <BR>> _______________________________________________<BR>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>> <BR>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<BR>> Register Now: http://www.astricon.net<BR>> <BR>> asterisk-users mailing list<BR>> To UNSUBSCRIBE or update options visit:<BR>> http://lists.digium.com/mailman/listinfo/asterisk-users<BR><br /><hr />Be the filmmaker you always wanted to be—learn how to burn a DVD with Windows®. <a href='http://clk.atdmt.com/MRT/go/108588797/direct/01/' target='_new'>Make your smash hit</a></body>
</html>