Re: [Asterisk-Users] SIP registration between *'s
Here are a few outgoing gateway configs that work for me. [vocal] type=friend host=1.1.1.7 insecure=1 port=5065 accountcode=memrtr ;dtmfmode=info [cisco] type=friend host=1.1.1.3 insecure=1 canreinvite=no port=5060 dtmfmode=info accountcode=memrtr Xisco wrote: That's true if always there to connect two asterisk servers, but I'm doing some proves in order to connect one asterisk server with another SIP server. That's the matter. - Original Message - From: "Jamie Carl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 12:12 PM Subject: Re: [Asterisk-Users] SIP registration between *'s ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SIP registration between *'s
Doesn't matter it should still work. Here is a hint.. dont use passwords/secrets it will then work! bkw On Fri, 19 Sep 2003, Xisco wrote: > That's true if always there to connect two asterisk servers, but I'm doing > some proves in order to connect one asterisk server with another SIP server. > > That's the matter. > - Original Message - > From: "Jamie Carl" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 19, 2003 12:12 PM > Subject: Re: [Asterisk-Users] SIP registration between *'s > > > > Why? > > > > Use IAX2, it is s much better... > > > > J > > > > On Fri, 19 Sep 2003 11:54:23 +0200 > > "Xisco" <[EMAIL PROTECTED]> wrote: > > >Hi everybody, > > > > > >I'm trying to SIP register between two asterisk, each one > > >have a Public IP. Asterisk told me that Unathorizae > > > > > >In * one sip.conf > > > > > > register =>usuario1:pass1@ > > > > > >In * two sip.conf > > > > > > [usuario1] > > > type=friend > > > username=usuario1 > > > secret=pass1 > > > host= > > > dtmfmode=inband > > > > > >Logs in * are the followings > > > > > >In * one logs: > > > > > > Sip read: > > > > SIP/2.0 401 Unauthorized > > > Via: SIP/2.0/UDP > > >:5060;branch=z9hG4bK488fe503;received= > > > From: >;tag=as504a35d0 > > > To: >;tag=as2a0e47ce > > > Call-ID: > > >77064d8f2fdfe4746d509dc2488fe503@ > > > CSeq: 103 REGISTER > > > User-Agent: Asterisk PBX > > > Contact: > > > > Content-Length: 0 > > > > > > > > > 9 headers, 0 lines > > > 11 headers, 0 lines > > > Reliably Transmitting: > > > REGISTER sip:SIP/2.0 > > > Via: SIP/2.0/UDP > > >:5060;branch=z9hG4bK59f913b2 > > > From: >;tag=as4f879ac7 > > > To: > > > > Call-ID: > > >77064d8f2fdfe4746d509dc2488fe503@ > > > CSeq: 104 REGISTER > > > User-Agent: Asterisk PBX > > > Expires: 120 > > > Contact: > > > > Event: registration > > > Content-length: 0 > > > > > > (no NAT) to:5060 > > > Sip read: > > > > SIP/2.0 401 Unauthorized > > > Via: SIP/2.0/UDP > > >:5060;branch=z9hG4bK59f913b2;received= > > > From: >;tag=as4f879ac7 > > > To: >;tag=as13445743 > > > Call-ID: > > >77064d8f2fdfe4746d509dc2488fe503@ > > > CSeq: 104 REGISTER > > > User-Agent: Asterisk PBX > > > Contact: > > > > Content-Length: 0 > > > > > >In * two logs: > > > > > > NOTICE[81926]: File chan_sip.c, Line 4816 > > >(handle_request): Registration from > > >'>' failed for '' > > > > > > Sip read: > > > REGISTER sip:SIP/2.0 > > > Via: SIP/2.0/UDP > > >:5060;branch=z9hG4bK0f194106 > > > From: >;tag=as35957f60 > > > To: > > > > Call-ID: > > >77064d8f2fdfe4746d509dc2488fe503@ > > > CSeq: 119 REGISTER > > > User-Agent: Asterisk PBX > > > Expires: 120 > > > Contact: > > > > Event: registration > > > Content-length: 0 > > > > > > > > > 11 headers, 0 lines > > > Using latest request as basis request > > > Sending to : 5060 (NAT) > > > Transmitting (NAT): > > > SIP/2.0 401 Unauthorized > > > Via: SIP/2.0/UDP > > >:5060;branch=z9hG4bK0f194106;received= > > > From: >;tag=as35957f60 > > > To: >;tag=as1538b8a6 > > > Call-ID: > > >77064d8f2fdfe4746d509dc2488fe503@ > > > CSeq: 119 REGISTER > > > User-Agent: Asterisk PBX > > > Contact: > > > > Content-Length: 0 > > >Any idea to fix the problem Any special configuration > > >in sip.conf > > > > > >Thanks a lot. > > > > > > > Regards, > > > > Jamie Carl > > Jazz Inc. > > Email: [EMAIL PROTECTED] > > Web:www.jazz-inc.net > > Phone: +61-414-365-466 > > Jabber: [EMAIL PROTECTED] > > ___ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SIP registration between *'s
That's true if always there to connect two asterisk servers, but I'm doing some proves in order to connect one asterisk server with another SIP server. That's the matter. - Original Message - From: "Jamie Carl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 12:12 PM Subject: Re: [Asterisk-Users] SIP registration between *'s > Why? > > Use IAX2, it is s much better... > > J > > On Fri, 19 Sep 2003 11:54:23 +0200 > "Xisco" <[EMAIL PROTECTED]> wrote: > >Hi everybody, > > > >I'm trying to SIP register between two asterisk, each one > >have a Public IP. Asterisk told me that Unathorizae > > > >In * one sip.conf > > > > register =>usuario1:pass1@ > > > >In * two sip.conf > > > > [usuario1] > > type=friend > > username=usuario1 > > secret=pass1 > > host= > > dtmfmode=inband > > > >Logs in * are the followings > > > >In * one logs: > > > > Sip read: > > > SIP/2.0 401 Unauthorized > > Via: SIP/2.0/UDP > >:5060;branch=z9hG4bK488fe503;received= > > From: >;tag=as504a35d0 > > To: >;tag=as2a0e47ce > > Call-ID: > >77064d8f2fdfe4746d509dc2488fe503@ > > CSeq: 103 REGISTER > > User-Agent: Asterisk PBX > > Contact: > > > Content-Length: 0 > > > > > > 9 headers, 0 lines > > 11 headers, 0 lines > > Reliably Transmitting: > > REGISTER sip:SIP/2.0 > > Via: SIP/2.0/UDP > >:5060;branch=z9hG4bK59f913b2 > > From: >;tag=as4f879ac7 > > To: > > > Call-ID: > >77064d8f2fdfe4746d509dc2488fe503@ > > CSeq: 104 REGISTER > > User-Agent: Asterisk PBX > > Expires: 120 > > Contact: > > > Event: registration > > Content-length: 0 > > > > (no NAT) to:5060 > > Sip read: > > > SIP/2.0 401 Unauthorized > > Via: SIP/2.0/UDP > >:5060;branch=z9hG4bK59f913b2;received= > > From: >;tag=as4f879ac7 > > To: >;tag=as13445743 > > Call-ID: > >77064d8f2fdfe4746d509dc2488fe503@ > > CSeq: 104 REGISTER > > User-Agent: Asterisk PBX > > Contact: > > > Content-Length: 0 > > > >In * two logs: > > > > NOTICE[81926]: File chan_sip.c, Line 4816 > >(handle_request): Registration from > >'>' failed for '' > > > > Sip read: > > REGISTER sip:SIP/2.0 > > Via: SIP/2.0/UDP > >:5060;branch=z9hG4bK0f194106 > > From: >;tag=as35957f60 > > To: > > > Call-ID: > >77064d8f2fdfe4746d509dc2488fe503@ > > CSeq: 119 REGISTER > > User-Agent: Asterisk PBX > > Expires: 120 > > Contact: > > > Event: registration > > Content-length: 0 > > > > > > 11 headers, 0 lines > > Using latest request as basis request > > Sending to : 5060 (NAT) > > Transmitting (NAT): > > SIP/2.0 401 Unauthorized > > Via: SIP/2.0/UDP > >:5060;branch=z9hG4bK0f194106;received= > > From: >;tag=as35957f60 > > To: >;tag=as1538b8a6 > > Call-ID: > >77064d8f2fdfe4746d509dc2488fe503@ > > CSeq: 119 REGISTER > > User-Agent: Asterisk PBX > > Contact: > > > Content-Length: 0 > >Any idea to fix the problem Any special configuration > >in sip.conf > > > >Thanks a lot. > > > > Regards, > > Jamie Carl > Jazz Inc. > Email: [EMAIL PROTECTED] > Web:www.jazz-inc.net > Phone: +61-414-365-466 > Jabber: [EMAIL PROTECTED] > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] SIP registration between *'s
Why? Use IAX2, it is s much better... J On Fri, 19 Sep 2003 11:54:23 +0200 "Xisco" <[EMAIL PROTECTED]> wrote: Hi everybody, I'm trying to SIP register between two asterisk, each one have a Public IP. Asterisk told me that Unathorizae In * one sip.conf register =>usuario1:pass1@ In * two sip.conf [usuario1] type=friend username=usuario1 secret=pass1 host= dtmfmode=inband Logs in * are the followings In * one logs: Sip read: > SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP :5060;branch=z9hG4bK488fe503;received= From: >;tag=as504a35d0 To: >;tag=as2a0e47ce Call-ID: 77064d8f2fdfe4746d509dc2488fe503@ CSeq: 103 REGISTER User-Agent: Asterisk PBX Contact: > Content-Length: 0 9 headers, 0 lines 11 headers, 0 lines Reliably Transmitting: REGISTER sip:SIP/2.0 Via: SIP/2.0/UDP :5060;branch=z9hG4bK59f913b2 From: >;tag=as4f879ac7 To: > Call-ID: 77064d8f2fdfe4746d509dc2488fe503@ CSeq: 104 REGISTER User-Agent: Asterisk PBX Expires: 120 Contact: > Event: registration Content-length: 0 (no NAT) to:5060 Sip read: > SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP :5060;branch=z9hG4bK59f913b2;received= From: >;tag=as4f879ac7 To: >;tag=as13445743 Call-ID: 77064d8f2fdfe4746d509dc2488fe503@ CSeq: 104 REGISTER User-Agent: Asterisk PBX Contact: > Content-Length: 0 In * two logs: NOTICE[81926]: File chan_sip.c, Line 4816 (handle_request): Registration from '>' failed for '' Sip read: REGISTER sip:SIP/2.0 Via: SIP/2.0/UDP :5060;branch=z9hG4bK0f194106 From: >;tag=as35957f60 To: > Call-ID: 77064d8f2fdfe4746d509dc2488fe503@ CSeq: 119 REGISTER User-Agent: Asterisk PBX Expires: 120 Contact: > Event: registration Content-length: 0 11 headers, 0 lines Using latest request as basis request Sending to : 5060 (NAT) Transmitting (NAT): SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP :5060;branch=z9hG4bK0f194106;received= From: >;tag=as35957f60 To: >;tag=as1538b8a6 Call-ID: 77064d8f2fdfe4746d509dc2488fe503@ CSeq: 119 REGISTER User-Agent: Asterisk PBX Contact: > Content-Length: 0 Any idea to fix the problem Any special configuration in sip.conf Thanks a lot. Regards, Jamie Carl Jazz Inc. Email: [EMAIL PROTECTED] Web:www.jazz-inc.net Phone: +61-414-365-466 Jabber: [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users