Hi,>From what I can see in the documentation the title of the section insip.conf is the username that the user logs in as. Is there a way of seperating the names so that you can login with a normal username, but call them with SIP/extension. Like so: [904] authuser=john secret=password etc... Dial(SIP/904) calls whoever logged on as john. Any ideas? -- Martijn van Oosterhout Ecomtel Pty Ltd
> Dial(SIP/904) calls whoever logged on as john.You could define a variable in extensions.conf. Nabeel
Nabeel, Could you expand on your comments, or provide a link / paste in a sample extensions.conf to show how this would be set up? David On Apr 4, 2005 12:57 AM, Nabeel Jafferali <nabeel@jafferali.net> wrote:> > Dial(SIP/904) calls whoever logged on as john. > > You could define a variable in extensions.conf. > > Nabeel > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
> Could you expand on your comments, or provide a link / paste > in a sample extensions.conf to show how this would be set up?I just realized this is not exactly what you want, but let's try it anyways: [global] 200 => SIP/john 201 => SIP/mary [somecontext] exten => 200,1,Dial(${200}) exten => 201,1,Dial(${201}) I haven't tried it, but if your intention is to have a dialplan which allows 2XX calling, you might try this. I can't say whether it will work or not: exten => _2XX,1,Dial(${${EXTEN}}) Let me know if it works, Nabeel