Author Topic: Sloved: Creating '/var/records/inbound_1006_1000.slin': error 3: No such process  (Read 7701 times)

larkshun

  • Newbie
  • *
  • Posts: 2
    • View Profile
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
« Last Edit: July 20, 2017, 05:07:28 AM by larkshun »

larkshun

  • Newbie
  • *
  • Posts: 2
    • View Profile

Solved

thanks to Marian

-------------------------------------------------------
Seems that wavefile uses wrong function to obtain error string
On Windows error code 3 is ERROR_PATH_NOT_FOUND (The system cannot find the path specified.)

Please post your issues on public. There is nothing private here...
-------------------------------------------------------

in win7 should config as this

-----------------------------------------------
.*1006$={
   .*=enqueue chan.masquerade;id=${id};message=chan.record;call=wave/record/inbound_${called}_${caller}${timestamp}.slin;peer=wave/record/outbound_${called}_${caller}${timestamp}.slin
   .*=sip/sip:1006@10.206.50.23:51663
}
--------------------
after call ;you will get *.slin file in dir C:\Program Files (x86)\Yate

if you want save other dirs;config as:
---------------------
.*1006$={
   .*=enqueue chan.masquerade;id=${id};message=chan.record;call=wave/record/./var/records/inbound_${called}_${caller}${timestamp}.slin;peer=wave/record/./var/records/outbound_${called}_${caller}${timestamp}.slin
   .*=sip/sip:1006@10.206.50.23:51663
}

--------------------
after call ;you will get *.slin file in dir C:\Program Files (x86)\Yate\var\records