简体   繁体   中英

How to get the dialled number in parallel calling in asterisk

I want to set up a parallel calling dialplan in asterisk.I have searched a bit and found that we can call parallel in asterisk with the below command.

exten => _X.,1,Dial(DAHDI/g0/${NUMBER1}&DAHDI/g0/${NUMBER2})

So what i understood that asterisk server calls both number paralelly which one picks first the call is connected to that person and other hangup.

My problem in that how do i get the number which picks the call.Is there any variable to get the dialled number?

Thanks.

You can use on-answer-macro - M option of dial command to put any info into cdr.

Also you probably re-inventing queue with queue_log.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM