If you are connecting 2 Asterisk boxes and you are setting them both up then use IAX (Intra Asterisk Exchange) instead of SIP. IAX does not pass off the packets to RTP and should fix some of the firewall problems people get. As far as credential passing I am unsure if it will help that.
So like mentioned below set up a connection in iax.conf on both ends. There is a chapter in the O'Reily Asterisk the future of telephony book that talks you through an Asterisk to Asterisk connection using IAX. Is there a specific reason you want to use SIP/RTP? Brent Imanol Pardavila wrote: > I want to establish a trunk SIP between Asterisk 1 and Asterisk 2, using > a sip account (Asterisk 1 acting as a "conventional" sip user). > Thanks > Regards > > > Danny Nicholas escribió: > >> Inter-* registry is done with iax.conf, not sip.conf. sip is for >> phones/sip-lines. >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Imanol >> Pardavila >> Sent: Thursday, January 29, 2009 10:01 AM >> To: [email protected] >> Subject: [asterisk-users] howto configure an asterisk to send credentials in >> a REGISTER message to another asterisk >> >> Hi, >> I am trying to register an asterisk (Asterisk 1) against another one >> (Asterisk 2). My problem is that the REGISTER message goes without >> credentials and the Asterisk 2 send a 401 message to the Asterisk 1. >> How can I configure Asterisk 1 to force it to send credentials? I have >> tried setting Asterisk 2's IP in the "realm" field of Asterisk's 1 >> sip.conf, but it doesn`t work. >> Any ideas? >> Thanks >> Regards >> >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> 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 -- >> >> 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 -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- Brent T. Vrieze CIM Automation Softare Engineer 507-216-0465 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
