Turn on sip debugging, and see what your headers look like on incoming calls.
And as Tod suggested, Noop(DNIS ${DNIS} Exten ${EXTEN}) is your friend. If you need to get deeper into the weeds than that, then you can start using SIPGetHeader()... -Philip Clara Chan wrote: > Hmm.. unfortunately, it doesn't work for me. > > As previous post, I've configured the pbx as > > I have multiple "DIDs" from a single account eg xxxxx. This account has > three separate direct-in-dial numbers, yyyy, zzzz. I have registered to > that account, but any number being forwarded > > > > I have configured my extensions.conf to > > register => xxxxx:passw...@byo.engin.com.au/xxxxx > > Exten => xxxx,1,Dial(SIP/201) > exten => yyyy,1,Dial(SIP/202) > exten => zzzz,1,Dial(SIP/203) > > > > but all numbers dialled gets sent to SIP/201. > > > > Having had a further read, I understand it's possible to use > sipgetheader, and trying > > exten => xxxx,1,SIPGetHeader(Testing=To) > > exten => xxxx,n,GotoIf($["${Testing}"="yyyy"]?dial1) > > exten => xxxx,n(dial1),Dial(SIP/201) > > -----Original Message----- > From: Philip A. Prindeville [mailto:philipp_s...@redfish-solutions.com] > Sent: Tuesday, 23 December 2008 12:26 PM > To: AstLinux Users Mailing List > Subject: Re: [Astlinux-users] Direct In Dial > > Clara Chan wrote: > >> Hi all, >> >> Has anybody here been able to configure multiple "Direct In Dial" in >> Astlinux for a single account?? >> >> Cheers, >> >> Clara >> >> > > Yup. It works just like under stock Asterisk. > > -Philip > ------------------------------------------------------------------------------ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.