Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - larkshun

Pages: [1]
1
i want to record calls
i  like this
.*1006$={
   .*=enqueue chan.masquerade;id=${id};message=chan.record;call=wave/record//var/records/inbound_${called}_${caller}${timestamp}.slin;peer=/var/records/outbound_${called}_${caller}${timestamp}.slin
   .*=sip/sip:1006@10.206.50.23:51663
}


i call 1006 but error msg like:
2017-07-20_14:52:44.177529 <cdrbuild:INFO> Got message 'call.route' for untracked id 'sip/5'
2017-07-20_14:52:44.177529 <INFO> Routing call to '1006' in context 'default' via 'sip/sip:1006@10.206.50.23:51663' in 0 usec
2017-07-20_14:52:44.193129 <WARN> Creating '/var/records/inbound_1006_1000.slin': error 3: No such process
Start call sip/5 '1000' -> '1006' coming from 10.206.50.22:34993 with context of
Start call sip/6 '1000' -> '1006' coming from 10.206.50.23:51663 with context of
2017-07-20_14:52:48.354003 <NOTE> Choosing started 'audio' format 'speex/16000' [007D4198]
2017-07-20_14:52:48.364003 <INFO> DataTranslator::attachChain [00784710] '(null)' -> [00787F70] 'speex/16000' not possible
2017-07-20_14:52:48.364003 <INFO> DataTranslator::attachChain [00784710] '(null)' -> [007FD5F0] 'slin' not possible
2017-07-20_14:52:48.364003 <INFO> DataTranslator::attachChain [00784878] 'speex/16000' -> [007880C0] '(null)' not possible
2017-07-20_14:52:48.554009 >>> DataTranslator::detachChain(00784710,00787F70)
2017-07-20_14:52:48.554009 <<< DataTranslator::detachChain
2017-07-20_14:52:48.554009 >>> DataTranslator::detachChain(00784710,007FD5F0)
2017-07-20_14:52:48.554009 <<< DataTranslator::detachChain
2017-07-20_14:52:48.554009 <speexcodec:ALL> SpeexCodec::SpeexCodec("speex/16000","slin/16000",decoding,1) [007FD7D0]
2017-07-20_14:52:48.555009 <ALL> Created DataTranslator 007CB8D0 for 'speex/16000' -> 'slin' by factory 007815A0 (len=2)
2017-07-20_14:52:48.555009 >>> DataTranslator::detachChain(00784878,007880C0)
2017-07-20_14:52:48.555009 <<< DataTranslator::detachChain
2017-07-20_14:52:48.555009 <NOTE> Choosing started 'audio' format 'speex/16000' [007D4050]
2017-07-20_14:53:06.193267 <mysqldb:WARN> Account 'yatetest' has 0 initialized connections out of a pool of 1
Answer call sip/5, '1000' -> '1006', duration of ring 18.819's, with context of
2017-07-20_14:53:07.903290 >>> DataTranslator::detachChain(00784710,00787F70)
2017-07-20_14:53:07.903290 <<< DataTranslator::detachChain
2017-07-20_14:53:07.904290 >>> DataTranslator::detachChain(00784878,007880C0)
2017-07-20_14:53:07.904290 <<< DataTranslator::detachChain
2017-07-20_14:53:07.904290 >>> DataTranslator::detachChain(00784710,007FD5F0)
2017-07-20_14:53:07.904290   >>> DataTranslator::detachChain(00784710,007CB8D0)
2017-07-20_14:53:07.904290     >>> DataTranslator::detachChain(00784710,007FD7D0)
2017-07-20_14:53:07.904290     <<< DataTranslator::detachChain
2017-07-20_14:53:07.904290     <ALL> SpeexCodec::~SpeexCodec() [007FD7D0]
2017-07-20_14:53:07.904290   <<< DataTranslator::detachChain
2017-07-20_14:53:07.904290 <<< DataTranslator::detachChain
2017-07-20_14:53:07.905290 <ALL> Cleaning up RTP 00787F00 [007DA958]
2017-07-20_14:53:07.908290 <ALL> Cleaning up RTP 00787FE0 [007DA850]
an no .slin file create

Pages: [1]