[asterisk-users] Need some dialplan help

2008-02-23 Thread Gleim, Jason
I'm hoping someone can give me a little dialplan assistance. Here is my
scenario...

I currently have an AT&T T1 connected to a Nortel Optn 11. I recently
purchased a Rhino system with a Rhino dual T1 card. What I want to do is
insert the Rhino box between the CO and the Nortel on the T1 so I can
start migrating users over to the Asterisk system in the near future.
But, in the meantime, I basically need to take all the calls that come
into the Rhino box on the first T1 (Zap/g0) just go back out on the
second T1 (Zap/g1). We have a number of DIDs that come in on that T1 and
I need them all transparently bridged for the time being.

We are running the latest Trix install on the Rhino box and I've setup
an inbound route for Zap/g0 that will dump into a custom context
(custom-nortel,s,1) Where I need the help is on the custom context part.
I'm not that strong with the Dial command and I want to make sure I get
it right because I have a very limited time to cut in the physical
insertion and I can't spend the time debugging it when it goes live.

Right now, I literally started with this:

[custom-nortel]
;This custom extension will take calls and put them on the outbound
trunk to the Nortel
exten => s,1,NoOp()
exten => s,n,Set(DIALDIGITS = ${EXTEN}) ;This should put the DID info
into DIALDIGITS
exten => s,n,Dial(Zap/1/${DIALDIGITS},,gjo) ;Dial the Nortel with
the same DID that we were called with



I know I've still got to handle voicemail and such but my main question
is if this will do what I'm looking for? Anyone done something like this
before that would have some insight?

Thanks,
Jason


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Need some dialplan help

2008-02-23 Thread Trevor Peirce
Gleim, Jason wrote:
> second T1 (Zap/g1). We have a number of DIDs that come in on that T1 and
> I need them all transparently bridged for the time being.
>   
[custom-nortel]
exten => _N.,1,Dial(Zap/g1/${EXTEN})

Anything that comes in will go right back out again.

Best regards,
Trevor Peirce

-- 
Real CNAM data for incoming Caller ID @ www.cnam.info



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Need some dialplan help for obscure user request

2007-04-16 Thread J French

I have a customer who wants their receptionist to input the users' long
distance PINs for the because they use each others pins.  I am having
trouble coming up with a way to do this because of creating a channel
between the user and receptionist, dropping the channel and its variables
and creating a new one for the actual long distance call.  Any advice is
really needed.

1. User Dials Long Distance Number pattern ---> calls receptionist's
telephone
2. User tells receptionst that he/she needs to make a long distance call
3. Receptionist inputs User's pin from her phone (User doesn't get to know
his pin)
4. Receptionist hangs up and long distance call is dialed using pin as the
account code.

Problems:
1. User Dials Long Distance Number pattern ---> calls receptionist's
telephone  --- none, that's straight forward
2. User tells receptionst that he/she needs to make a long distance call
--- none, that's straight forward 3. Receptionist inputs User's pin from her
phone (User doesn't get to know his pin)  How can I pick off receptionist's
dtmf digits in the middle of the conversation?
How can I assign those digits to salesman's account code, not receptionists?
4. Receptionist hangs up and long distance call is dialed using pin as the
account code.  I lose the channel variables at this point, how can I store
salesman's PIN number do that it is available when the actual long distance
number is dialed?
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Need some dialplan help for obscure user request

2007-04-16 Thread Matt

What's wrong with:

User calls receptionist gives her the number.
Receptionist hits XFER on her phone... punches in pin and dials the number,
then hits XFER to complete the transfer?

This could all be done outside a dial-plan... just use the phone's transfer
feature.  If you MUST have asterisk do it, then use the features.conf to
setup blind transfer.  The receptionist can just blind transfer the
extention to the external number.

On a totally seperate note, you've got some other major issues if you can't
trust your employees to keep their LD pins to themseles!

On 4/16/07, J French <[EMAIL PROTECTED]> wrote:



I have a customer who wants their receptionist to input the users' long
distance PINs for the because they use each others pins.  I am having
trouble coming up with a way to do this because of creating a channel
between the user and receptionist, dropping the channel and its variables
and creating a new one for the actual long distance call.  Any advice is
really needed.

1. User Dials Long Distance Number pattern ---> calls
receptionist's telephone
2. User tells receptionst that he/she needs to make a long distance call
3. Receptionist inputs User's pin from her phone (User doesn't get to know
his pin)
4. Receptionist hangs up and long distance call is dialed using pin as the
account code.

Problems:
1. User Dials Long Distance Number pattern ---> calls
receptionist's telephone  --- none, that's straight forward
2. User tells receptionst that he/she needs to make a long distance call
--- none, that's straight forward 3. Receptionist inputs User's pin from
her phone (User doesn't get to know his pin)  How can I pick off
receptionist's dtmf digits in the middle of the conversation?
How can I assign those digits to salesman's account code, not
receptionists?
 4. Receptionist hangs up and long distance call is dialed using pin as
the account code.  I lose the channel variables at this point, how can I
store salesman's PIN number do that it is available when the actual long
distance number is dialed?

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users