[asterisk-users] save the number of sip phone

Salaheddine Elharit salah.elharit200 at gmail.com
Thu Feb 7 09:48:04 CST 2013


Hello list


 i have asterisk 1.4 installed and i use MixMonitor to save the outbound
call like below



exten => _0614.,1,Set(CALLERID(number)=MY_CALLERID)

exten => _0614.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))

exten => _0614.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)

exten =>
_0614.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded)

exten => _0614.,n,Hangup();





using this code i can save all outbound calls begin with 0614
 in /var/spool/asterisk/monitor like this
(zap_g2_0614xxxxxx_1360219942.10291.wav)



i use 3 phones sip (222,223,224) and my question how to save the sip phone
with number like that (zap_g2_0614xxxxxx_224) for example



thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130207/232cfaf2/attachment.htm>


More information about the asterisk-users mailing list