Re: [Asterisk-Users] call routing question

2005-03-09 Thread Herman Sheremetyev
Hi Cameron,
Thanks for the suggestions.  I think this is precisely what I was 
looking for, unfortunately neither of those variables appears to be set 
on my incoming calls.  This is probably because I'm doing remote call 
forwarding which is done by the phone company rather than regular call 
forwarding.  I guess I'll just have to get different numbers from my 
VOIP provider in order to route my Verizon numbers to different extensions.

Thanks again for the help,
-Herman
Cameron Beattie wrote:
Try using the special identifiers ${DNID} or ${RDNIS}. Refer to http://www.voip-info.org/tiki-index.php?page=Asterisk%20variables for more info. 

Regards
Cameron
Original message
--
Date: Tue, 08 Mar 2005 10:09:37 -0500
From: Herman Sheremetyev [EMAIL PROTECTED]
Subject: [Asterisk-Users] call routing question
To: asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi All,
I have a question about call routing. I currently have a phone number provided by Voicepulse that connects directly to my Asterisk box and another phone number provided by Verizon that I have Remote Call 

Forwarded to the Voicepulse number. What I'm wondering is if the 

information about which number is actually dialed available for me to route the 
calls to different extensions? Thanks for the help and I apologize if this has 
already been discussed.
Thanks,
-Herman



___
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
___
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


[Asterisk-Users] call routing question

2005-03-08 Thread Herman Sheremetyev
Hi All,
I have a question about call routing.  I currently have a phone number 
provided by Voicepulse that connects directly to my Asterisk box and 
another phone number provided by Verizon that I have Remote Call 
Forwarded to the Voicepulse number.   What I'm wondering is if the 
information about which number is actually dialed available for me to 
route the calls to different extensions?  Thanks for the help and I 
apologize if this has already been discussed.

Thanks,
-Herman
___
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] call routing question

2005-03-08 Thread Cameron Beattie




Try using the special identifiers ${DNID} or ${RDNIS}. Refer to http://www.voip-info.org/tiki-index.php?page=Asterisk%20variablesfor 
more info. 
Regards
Cameron
Original message
--
Date: Tue, 08 Mar 2005 10:09:37 -0500
From: Herman Sheremetyev [EMAIL PROTECTED]
Subject: [Asterisk-Users] call routing question
To: asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi All,
I have a question about call routing. I currently have a phone number 
provided by Voicepulse that connects directly to my Asterisk box and another 
phone number provided by Verizon that I have Remote Call 
Forwarded to the Voicepulse number. What I'm wondering is if the 
information about which number is actually dialed available for me to route 
the calls to different extensions? Thanks for the help and I apologize if this 
has already been discussed.
Thanks,
-Herman

___
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

[Asterisk-Users] Call routing question

2003-08-14 Thread Matthew M. Gamble
I have a quick call routing question that I'm sure is simple, but for the
life of me I can't figure out.

For example, someone dials 94162384000 asterisk trys our first call route
(our sip trunk) as per the extension rule below:

exten = _9NX,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED])

However, this call fails because 94162384000 is one of our phone lines and
our SIP gateway detects a loop and returns a SIP 503 message.  Is there a
way to have asterisk stip the '9' and try it as a local extension call as if
the user didn't dial 9?  I try this (see below) and it failed:

exten = _9NX,2,Dial(${EXTEN:1})

Thanks in advance, I'm sure it's a simple problem and I'm just missing
something...

Regards,

M. Gamble

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Call routing question

2003-08-14 Thread Wade Weppler
Hi Matt!  :)

You can use the Local channel driver:

exten = _9NXXNXX,1,Dial(Local/${EXTEN:[EMAIL PROTECTED])

Where ${CONTEXT} is set to the local context you want to use.

-wade


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Matthew M. Gamble
 Sent: Thursday, August 07, 2003 8:36 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Call routing question
 
 I have a quick call routing question that I'm sure is simple, but for the
 life of me I can't figure out.
 
 For example, someone dials 94162384000 asterisk trys our first call route
 (our sip trunk) as per the extension rule below:
 
 exten = _9NX,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED])
 
 However, this call fails because 94162384000 is one of our phone lines and
 our SIP gateway detects a loop and returns a SIP 503 message.  Is there a
 way to have asterisk stip the '9' and try it as a local extension call as
 if
 the user didn't dial 9?  I try this (see below) and it failed:
 
 exten = _9NX,2,Dial(${EXTEN:1})
 
 Thanks in advance, I'm sure it's a simple problem and I'm just missing
 something...
 
 Regards,
 
 M. Gamble
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Call routing question

2003-08-08 Thread Steven Critchfield
On Thu, 2003-08-07 at 19:55, Wade Weppler wrote:
 Hi Matt!  :)
 
 You can use the Local channel driver:
 
 exten = _9NXXNXX,1,Dial(Local/${EXTEN:[EMAIL PROTECTED])
 
 Where ${CONTEXT} is set to the local context you want to use.

What would be wrong with just a simple Goto?
exten = _9NX,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED])
exten = _9NX,2,Goto(${EXTEN:1}|1)

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:asterisk-users-
  [EMAIL PROTECTED] On Behalf Of Matthew M. Gamble
  Sent: Thursday, August 07, 2003 8:36 PM
  To: [EMAIL PROTECTED]
  Subject: [Asterisk-Users] Call routing question
  
  I have a quick call routing question that I'm sure is simple, but for the
  life of me I can't figure out.
  
  For example, someone dials 94162384000 asterisk trys our first call route
  (our sip trunk) as per the extension rule below:
  
  exten = _9NX,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED])
  
  However, this call fails because 94162384000 is one of our phone lines and
  our SIP gateway detects a loop and returns a SIP 503 message.  Is there a
  way to have asterisk stip the '9' and try it as a local extension call as
  if
  the user didn't dial 9?  I try this (see below) and it failed:
  
  exten = _9NX,2,Dial(${EXTEN:1})
  
  Thanks in advance, I'm sure it's a simple problem and I'm just missing
  something...
  
  Regards,
  
  M. Gamble
  
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users