[asterisk-app-dev] Extensions.conf and aaln ID
Lam Tung
tung.lam at cordonweb.com
Wed Mar 21 01:38:16 CDT 2018
Hello,
In my extensions.conf file, I use the < system > command to execute a system command :
exten => 1234567890,n(mgcp),system(/etc/asterisk/recall.sh ${CALLERID(num)} MGCP/aaln/1 at MTA${CALLERID(num):7}.MTA<mailto:MGCP/aaln/1 at MTA$%7bCALLERID(num):7%7d.MTA> ${CALLERID(ANI)} &)
My problem is that my device has 2 phone lines (aaln/1 and aaln/2) and my command only allow to execute the command on aaln/1.
I would like my command to be executed on aaln/2 when I use the line number 2.
How can I get the aaln ID in my extensions.conf file ?
Cordialement,
Tung LAM
R&D engineer
CORDON ELECTRONICS
Phone :
+ 33 (0)2 96 85 51 76
Interne :
5176
[pub_mail]<http://www.cordonweb.com/?clickpub=mail>
tung.lam at cordonweb.com<mailto:tung.lam at cordonweb.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20180321/bd107e15/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 18931 bytes
Desc: image001.gif
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20180321/bd107e15/attachment-0001.gif>
More information about the asterisk-app-dev
mailing list