Hi Clara,

My extensions.conf is fairly convoluted so I would rather not just post a bit out of it as the explanation would take this pretty far off topic.

That said, I don't see any glaringly obvious issues with the extract you provided...

When debugging something like that, I'd be tempted to make the context for calls from my provider something like:

[fromvoipprovider]
exten => s,1,NoOp(Number dialed was ${EXTEN})

And see from the log what I am getting from my provider.

Regards,
Tod

On Dec 22, 2008, at 4:41 PM, Clara Chan wrote:

Sorry, to add one other comment, DNIS should be activated already as I can get this to work on a Linksys 9000 by xxxx:201;yyyy:202;zzzz: 203.


From: Clara Chan
Sent: Tuesday, 23 December 2008 11:40 AM
To: 'AstLinux Users Mailing List'
Subject: RE: [Astlinux-users] Direct In Dial

Tod,

From your description, that is what I am after.

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

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)

but this does not appear to be working.

Any suggestions??

From: Tod Fitch [mailto:t...@fitchdesign.com]
Sent: Tuesday, 23 December 2008 11:33 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Direct In Dial

On Dec 22, 2008, at 2:20 PM, Clara Chan wrote:

Hi all,

Has anybody here been able to configure multiple “Direct In Dial” in Astlinux for a single account??

Cheers,
Clara
I don't think I understand what you are looking for. If you mean multiple "direct inward dialing" from a single SIP account at a ITSP, it is possible. I have one account with my provider but have three numbers and have Asterisk on my AstLinux box sending those three numbers off to three different phones.

To make this work you need several things:

1. Your provider to send the number dialed when it sets up the call my provider calls it "DNIS" and there is a check box on their web page to enable it on a per number basis. Your provider may have different names or ways to set that up. 2. You need the SIP context for your account to send the call to an "extension" that can handle the number string
3. You need your extensions.conf setup to handle the "dialed" number.

Tod


------------------------------------------------------------------------------
_______________________________________________
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 .

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
_______________________________________________
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.

Reply via email to