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.

Reply via email to