thank you i have one question waht is 3009 is the called

Regards

2011/3/2 Danny Nicholas <da...@debsinc.com>

>   ------------------------------
>
> *From:* asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *On Behalf Of *salaheddine
> elharit
> *Sent:* Wednesday, March 02, 2011 11:40 AM
>
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [asterisk-users] records inbound and outbound calls
>
>
>
> <snip>
>
> I copied the test context into my dialplan and ran it.
> /var/spool/asterisk/monitor/test.wav was created with the audio of my call
> (including the ringing).
>
> How I did it
>
> exten => 3009,1,Answer()
>
> exten => 3009,2,MixMonitor(test.wav|av(0)V(0))
>
> exten => 3009,3,Dial(SIP/144)
>
> exten => 3009,4,Hangup()
>
>
>
> How I would suggest you do it
>
> exten => 100,1,Answer()
>
> exten => 100,2,MixMonitor(test_${UNIQUEID}.wav|av(0)V(0))
>
> exten => 100,3,Dial(SIP/222)
>
> exten => 100,4,Hangup()
>
>
>
> This way, you get a new file for each call instead of overwriting
> /v/s/a/m/test.wav each time.
>
>
>
>
>
> --
> _____________________________________________________________________
> -- 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

Reply via email to