Extensions.conf and aaln ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@MTA${CALLERID(num):7}.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

 

tung.lam@xxxxxxxxxxxxx

 

 

 

 

 

 

 

 

 

 

 

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux