VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
pimenta at inatel.br Guest
|
Posted: Mon Jul 13, 2015 1:28 pm Post subject: [asterisk-users] How to dial extensions asynchronous-sequent |
|
|
Hi.
I my dialplan I have :
same = n,Dial(PJSIP/6001,10)
same = n,Dial(PJSIP/6002,30)
same = n,Hangup()
The extension 6002 will not be invited until the called party 6001 hangs up or until 10 seconds if nobody answers the call in 6001.
How to call 6001 and immediately call 6002, having 2 phones ringing at same time, but without doing something like this : same = n,Dial(PJSIP/6001&PJSIP/6002) ?
What I'm asking is if it is possible to call 6001 in an asynchronous way and then call 6002 too. Is it possible?
Any hint will be very helpful!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
govoiper at gmail.com Guest
|
Posted: Mon Jul 13, 2015 2:24 pm Post subject: [asterisk-users] How to dial extensions asynchronous-sequent |
|
|
Hi,Even you achieve that, what would be the objective? Do you want to just call the user and Hangup ? or Dial two users and connect them together ? Is this some sort of ring group implementation where users are dialled and first one to answer will get the call ??
Anyway here's one way of how I think you can do.
Have a context created to dial the individual user
[dial_user]
exten => _600X.,1,Dial(PJSIP/${EXTEN})
...
and in your code change it to.
same = n,Dial(local/6001@dial_user/n&local/6002@dial_user/n)
same = n,Hangup()
On Mon, Jul 13, 2015 at 2:28 PM, Rodrigo Pimenta Carvalho <pimenta@inatel.br (pimenta@inatel.br)> wrote:
Quote: |
Hi.
I my dialplan I have :
same = n,Dial(PJSIP/6001,10)
same = n,Dial(PJSIP/6002,30)
same = n,Hangup()
The extension 6002 will not be invited until the called party 6001 hangs up or until 10 seconds if nobody answers the call in 6001.
How to call 6001 and immediately call 6002, having 2 phones ringing at same time, but without doing something like this : same = n,Dial(PJSIP/6001&PJSIP/6002) ?
What I'm asking is if it is possible to call 6001 in an asynchronous way and then call 6002 too. Is it possible?
Any hint will be very helpful!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: [url=tel:%2B55%2035%203471%209200]+55 35 3471 9200[/url] RAMAL 979
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|