Here is an example of the sip_additional.conf from a FreePBX setup I did for a client. Phones default extension is 201, the rest are 'hidden' extension used for ring groups that enable the alternate 'extension' on the phone to use a separate ringtone.
[201] type=friend secret=25f234 record_out=Always record_in=Always qualify=yes port=5060 nat=yes [EMAIL PROTECTED] host=dynamic dtmfmode=rfc2833 dial=SIP/201 context=from-internal canreinvite=no callerid=device <201> [1201] type=friend secret=2fd2435 record_out=Adhoc record_in=Adhoc qualify=yes port=5060 nat=yes host=dynamic dtmfmode=rfc2833 dial=SIP/1201 context=from-internal canreinvite=no callerid=device <1201> [2201] type=friend secret=3kd903k record_out=Adhoc record_in=Adhoc qualify=yes port=5060 nat=yes host=dynamic dtmfmode=rfc2833 dial=SIP/2201 context=from-internal canreinvite=no callerid=device <2201> This is of course based on a 1.2 asterisk, not a 1.4 asterisk build like asterisk-gui. Trevor > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-gui- > [EMAIL PROTECTED] On Behalf Of Brandon Kruse > Sent: Tuesday, April 01, 2008 1:33 PM > To: Asterisk GUI project discussion > Cc: '[email protected]' > Subject: Re: [asterisk-gui] Config line for multiple registrations. > > Pastebin a simple config example of how you do this in sip.conf. > > > -bk > > > ----- Original Message ----- > From: "Trevor Benson" <[EMAIL PROTECTED]> > To: [email protected] > Sent: Tuesday, April 1, 2008 7:37:19 AM GMT -08:00 Tijuana / Baja > California > Subject: Re: [asterisk-gui] Config line for multiple registrations. > > Sounds like a good idea to me. We generally have hidden extension > numbers on multiple line phones so we can customize ringtones for > different queue's or ring groups. Unfortunately when we just tried > this yesterday we notice the system wouldn't let the first extension > dial, because the registry had the last entry from the phone as viable, > even though sip show peers showed the IP registered to both extensions. > The phone could dial fine from the last registered extension, but the > rest error in chan_sip about the registry <X> showing the last > extension that would have registered on the phone. > > Trevor > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:asterisk-gui- > > [EMAIL PROTECTED] On Behalf Of Olaf Marcos > > Sent: Monday, March 31, 2008 6:50 AM > > To: '[email protected]' > > Subject: [asterisk-gui] Config line for multiple registrations. > > > > Would be possible to include an option in Users section (users.conf) > to > > let multiple registrations from the same ip and from multiple ips? > > I've done adding "type=friend" with the same config as users.conf but > > in sip.conf. I've tried to put the line in users.conf but it isn't > > parsed (strange?). > > > > Thanks and regards, > > > > > > -- > > Olaf Marcos > > [EMAIL PROTECTED] > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > > signature database 2806 (20080118) __________ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-gui mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-gui > > > -- > ****************************** > Brandon Kruse > Software Technician > Digium, Inc. > 150 West Park Loop, Suite 100 > Huntsville, AL 35806 > Phone: +1-256-428-6115 > 877.546.8963 > 877.linux.me! > www.digium.com > www.asterisk.org > ****************************** > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-gui mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-gui _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-gui mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-gui
