Nhadie
Can you copy and paste your sip.conf settings for those two servers?? i think 
there is a problem with your settings.. 
regards
Tarek Sawah
 

 

> Date: Tue, 26 Aug 2008 09:00:52 +0800> From: [EMAIL PROTECTED]> To: 
> [email protected]> Subject: Re: [asterisk-users] sip peering 
> between 2 asterisk> > Hi Tariq,> > Tnx for your reply. Tried adding the 
> deny/permit but still gave me the > same result.> I still have these error,> 
> > handle_response_invite: Failed to authenticate on INVITE> > regards,> 
> nhadie> > Tariq .. wrote:> > im not sure this will help but i did the same 
> settings you mentioned and > > added my lines and it worked..> > you need 
> some sort of authentication between the Asterisk boxes.. and > > the easiest 
> way to do it is to do it like this> > > > [asterisk-2]> > type=peer> > host 
> 10.20.30.2 *** i will assume that you have the "=" sign after the > > host> > 
> context=from-remote-asterisk> > insecure=port,invite> > deny=0.0.0.0/0.0.0.0> 
> > permit=10.20.30.2/0.0.0.0> > > > and do the same on the other server and 
> you are done.. test it and let > > me know how did it go ...> > salam> > 
> Tarek Sawah> > > > > > > > > > <http://www.tareksawah.com/>> > > > > > 
> ------------------------------------------------------------------------> > > 
> Date: Mon, 25 Aug 2008 21:06:51 +0800> > > From: [EMAIL PROTECTED]> > > To: 
> [email protected]> > > Subject: [asterisk-users] sip peering 
> between 2 asterisk> > >> > > Hi,> > >> > > I have 2 asterisk on 2 separate 
> location:> > >> > > sip.conf of asterisk-1> > >> > > [asterisk-2]> > > 
> type=peer> > > host 10.20.30.2> > > context=from-remote-asterisk> > > 
> insecure=port,invite> > >> > > sip.conf of asterisk-2> > >> > > [asterisk-1]> 
> > > type=peer> > > host 10.20.30.1> > > context=from-remote-asterisk> > > 
> insecure=port,invite> > >> > > extensions.conf on asterisk-1> > >> > > 
> [from-remote-asterisk]> > > exten => _1XXXXX,1,Dial(SIP/${EXTEN})> > > exten 
> => _1XXXXX,n,Hangup> > >> > > extensions.conf on asterisk-2> > >> > > 
> [from-remote-asterisk]> > > exten => _1XXXXX,1,Dial(SIP/${EXTEN})> > > exten 
> => _1XXXXX,n,Hangup> > >> > >> > > when i am registered on asterisk-1 i 
> called an extension on asterisk-2,> > > this is what happens;> > >> > > ip 
> phone --INVITE--> asterisk-1> > > asterisk-1 --407 Proxy Authentication 
> Required--> ip phone> > > ip phone --ACK--> asterisk-1> > > ip phone 
> --INVITE--> asterisk-1> > > asterisk-1 --Trying--> ip phone> > >> > > since 
> the extension is on asterisk-2, asterisk -1 will will send invite> > > to 
> asterisk-2> > >> > > asterisk-1 --INVIITE--> asterisk-2> > > asterisk-2 --407 
> Proxy Authentication Required--> asterisk-1> > > asterisk-1 --ACK--> 
> asterisk-2> > > asterisk-1 --Forbidden--> ip phone (this part i don't get, 
> after sending> > > ACK to asterisk-2 it suddenly send Forbidden to IP phone)> 
> > >> > > it seems like, asterisk-2 still trying to authenticate the IP phone 
> even> > > though it was already authenticated on asterisk-1.> > >> > > on 
> asterisk-1 this is a NOTICE on the console:> > >> > > [Aug 25 21:00:30] -- 
> Called [EMAIL PROTECTED]> > > [Aug 25 21:00:30] NOTICE[840]: chan_sip.c:12322 
> handle_response_invite:> > > Failed to authenticate on INVITE> > >> > > what 
> could i be doing wrong? having insecure=port,invite i think should> > > not 
> authenticate calls from the other asterisk anymore, at least that's> > > how 
> i understand it.> > >> > > regards,> > > nhadie> > >> > >> > >> > >> > > 
> _______________________________________________> > > -- Bandwidth and 
> Colocation Provided by http://www.api-digital.com --> > >> > > AstriCon 2008 
> - September 22 - 25 Phoenix, Arizona> > > Register Now: 
> http://www.astricon.net> > >> > > asterisk-users mailing list> > > To 
> UNSUBSCRIBE or update options visit:> > > 
> http://lists.digium.com/mailman/listinfo/asterisk-users> > > > 
> ------------------------------------------------------------------------> > 
> Be the filmmaker you always wanted to be—learn how to burn a DVD with > > 
> Windows®. Make your smash hit > > 
> <http://clk.atdmt.com/MRT/go/108588797/direct/01/>> > > > > > 
> ------------------------------------------------------------------------> > > 
> > _______________________________________________> > -- Bandwidth and 
> Colocation Provided by http://www.api-digital.com --> > > > AstriCon 2008 - 
> September 22 - 25 Phoenix, Arizona> > Register Now: http://www.astricon.net> 
> > > > asterisk-users mailing list> > To UNSUBSCRIBE or update options visit:> 
> > http://lists.digium.com/mailman/listinfo/asterisk-users> > 
> _______________________________________________> -- Bandwidth and Colocation 
> Provided by http://www.api-digital.com --> > AstriCon 2008 - September 22 - 
> 25 Phoenix, Arizona> Register Now: http://www.astricon.net> > asterisk-users 
> mailing list> To UNSUBSCRIBE or update options visit:> 
> http://lists.digium.com/mailman/listinfo/asterisk-users
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger.  Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to