you can try this
exten => 105,1,MixMonitor(sip_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))
exten => 105,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)
exten => 105,n,Dial(SIP/${EXTEN},,KkTt)
exten => 105,n,Hangup();
i have add this code in extension.conf and i can record the number and
extension in /var/spool/asterisk/monitor
Regards
2011/5/10 Silver Thorne <[email protected]>
> Hello Folks;
>
> I appreciate all of the help so far - thanks.
>
> Another question: I am using MixMonitor() to record calls and I would like
> to include the called number/extension in the filename:
>
> In my dialplan, I am able to save the file with the caller id in the
> filename. However, what I am a little unsure about is the incoming
> number/called number/extension - passing that information on to part of the
> filename.
>
> Does anyone follow me?
>
> Glen
>
> --
> _____________________________________________________________________
> -- 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
>
--
_____________________________________________________________________
-- 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