Make a context called DID or something like that, and set your peer entry in sip.conf to have your provider's calls go tho this context. The incoming SIP invites will be directed to the DID [EMAIL PROTECTED] server.
Use Goto to direct the calls where you want them to end up. ie. [DID] exten => 6477226929,1,Goto(phones|5101|1) exten => 6477226930,1,Goto(ea-mainmenu|s|1) On September 11, 2006 07:30, Richard Klingler wrote: > hello > > > If I want to use asterisk to hookup to a SIP account > I just use the "register" line in sip.conf with the > extension number at the end... > > > But how about if I want to use a SIP trunk from a > provider which gives me 10 DID numbers with the same account? > > > thanx in advance > rick > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- Tim St. Pierre IP telephony specialist sip://[EMAIL PROTECTED] Toronto: 647 722 6930 Toll-Free 1 888 488 6940 [EMAIL PROTECTED]
pgp8w4fk2qtMY.pgp
Description: PGP signature
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
