[Asterisk-Users] Re: Delayed dial under Asterisk ?

2005-04-08 Thread Mick Hastings
Hi Robert,

I just set this up today for dialing international using a calling card 
account.

usually we call 0120 982 433
wait for voice prompt
then dial the number

i set it up so the user only has to prefix with 011 then the number like 
this:

[brastel]
exten = _011.,1,Dial(SIP/[EMAIL PROTECTED],,TM(BRASTEL^${EXTEN:3}))
exten = _011.,2,Hangup

[macro-BRASTEL]
exten = s,1,Wait(2)
exten = s,2,SendDTMF(${ARG1})

this way the user dials this: 011 61 3 9556 7787

and asterisk does this:

dials 0120 982 433
waits for connect
then waits 2 seconds
then sends 61 3 9556 7787

seems to work for me just fine.

cheers,
Mick

Robert Rozman [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi,

 I'd like to setup delayed dial under Asterisk. That means that at the 
 caller side I set up number *YY and call Asterisk PBX (XXX... is 
 number of Asterisk PBX, * means pause (2 secs), YY is internal number).

 Has anyone experience with receiving such calls ?  How should I setup 
 Asterisk dialplan for that ?

 Thanks in advance,

 regards,

 Rob.

 ___
 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


Re: [Asterisk-Users] Re: Delayed dial under Asterisk ?

2005-04-08 Thread Robert Rozman
- Original Message - 
From: Mick Hastings [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Friday, April 08, 2005 1:07 PM
Subject: [Asterisk-Users] Re: Delayed dial under Asterisk ?


Hi Robert,
I just set this up today for dialing international using a calling card 
account.

usually we call 0120 982 433
wait for voice prompt
then dial the number
i set it up so the user only has to prefix with 011 then the number like 
this:

[brastel]
exten = _011.,1,Dial(SIP/[EMAIL PROTECTED],,TM(BRASTEL^${EXTEN:3}))
exten = _011.,2,Hangup
[macro-BRASTEL]
exten = s,1,Wait(2)
exten = s,2,SendDTMF(${ARG1})
this way the user dials this: 011 61 3 9556 7787
and asterisk does this:
dials 0120 982 433
waits for connect
then waits 2 seconds
then sends 61 3 9556 7787
seems to work for me just fine.
cheers,
Mick
Thanks for useful info. I still wonder if Asterisk has any problem receiving 
delayed dial numbers (like first 8 numbers to get to Asterisk, then wait for 
2 secs and then send internal number...).

regards,
Rob. 

___
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