Thanks Kevin - I realized afterwards that the NNNN was a bad example.
It should be a specific number, I was just masking it. I have 20 DIDs, some I want to send to a menu, most directly to an extension. I've tried: exten=>9492711234,1, Macro(druiexten,3711,SIP/3711) and: exten=>_9492711234,1, Macro(druiexten,3711,SIP/3711) Thanks On 8/11/06, Kevin Smith <[EMAIL PROTECTED]> wrote:
If I am following you right, for extension matching you need to have a "_" in front of the number. So your example should be like this: exten => _949927NNNN,1,Goto(mainmenu,s,1) Also I don't know if you did this on purpose or not but N will only match for numbers 2-9, if you want 0-9 you will want to use an X. Otherwise without the "_" in front of the number it will not extension pattern match. There are other pattern matching characters too, but you can read them here: http://www.voip-info.org/wiki/index.php?page=Asterisk+Dialplan+Patterns Kevin Mr. Jones wrote: > I'm trying to get inbound DIDs working via SIP. > > I have 20 DIDs coming in via a single SIP profile in sip.conf. > > I was hoping to have these matched in extensions.conf, so I have setup > lines like this: > > exten=>949271NNNN,1, Goto(mainmenu,s,1) > > Unfortunately these aren't getting matched and I'm getting this error: > > Looking for s in druid-default (domain 949271NNNN) > SIP/2.0 404 Not Found > > Any hints or tips? > > TIA > _______________________________________________ > --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 _______________________________________________ --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
_______________________________________________ --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
