[Asterisk-Users] Route call based on CallerID

2005-11-04 Thread Chris Mason (Lists)
I need to send calls to a choice of DIDs based on the CallerID. I 
thought of some kind of lookup table but I would think this would 
require an AGI, is that correct or is there an easy way to do this?


--
Chris Mason


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Route call based on CallerID

2005-11-04 Thread BJ Weschke
 If you're not using realtime to do your dial plan, why not just do

 exten = did/callerid,priority,Goto(specialroutefordidwhencid,ext,n)

 ?

On 11/4/05, Chris Mason (Lists) [EMAIL PROTECTED] wrote:
 I need to send calls to a choice of DIDs based on the CallerID. I
 thought of some kind of lookup table but I would think this would
 require an AGI, is that correct or is there an easy way to do this?

 --
 Chris Mason


 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Route call based on CallerID

2005-11-04 Thread Chris Mason (Lists)

BJ Weschke wrote:


If you're not using realtime to do your dial plan, why not just do

exten = did/callerid,priority,Goto(specialroutefordidwhencid,ext,n)

?
 

I'm not sure I understand. Let's say the CallerID = 497 and I want 
that to dial 222-222-, but if it is 497 I want it to go to 
222-222-2223

How would I write that?

--
Chris Mason
NetConcepts
(264) 497-5670 Fax: (264) 497-8463
Int:  (305) 704-7249 Fax: (815)301-9759 
Cell: 264-235-5670
Yahoo IM: [EMAIL PROTECTED] 


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Route call based on CallerID

2005-11-04 Thread BJ Weschke
exten = s/497,1,Dial(SIP/[EMAIL PROTECTED])
exten = s/497,1,Dial(SIP/[EMAIL PROTECTED])
exten = s,1,Dial(SIP/[EMAIL PROTECTED])
exten = s,2,Hangup


On 11/4/05, Chris Mason (Lists) [EMAIL PROTECTED] wrote:
 BJ Weschke wrote:

  If you're not using realtime to do your dial plan, why not just do
 
  exten = did/callerid,priority,Goto(specialroutefordidwhencid,ext,n)
 
  ?
 
 
 I'm not sure I understand. Let's say the CallerID = 497 and I want
 that to dial 222-222-, but if it is 497 I want it to go to
 222-222-2223
 How would I write that?

 --
 Chris Mason
 NetConcepts
 (264) 497-5670 Fax: (264) 497-8463
 Int:  (305) 704-7249 Fax: (815)301-9759
 Cell: 264-235-5670
 Yahoo IM: [EMAIL PROTECTED]

 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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