Hello,
I tried to migrate my working Asterisk system to Callweaver
(due to T38 support). I am running version 'callweaver-1.1.99.20070509'
While migrating dialplan (extension.conf) I realized, that app_monitor
is missing, so I replaced it with app_muxmon. See the relevant portion
of dial plan below:
---------- extension.conf start -----------
[internal]
exten =>
600,1,Set(CALLFILENAME=recording-${EXTEN}-${CALLERID(num)}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => 600,n,Set(CDR(userfield)=${CALLFILENAME})
exten => 600,n,MuxMon(${CALLFILENAME}.wav)
exten => 600,n,Wait(2)
exten => 600,n,Answer( )
exten => 600,n,Playback(hello-world)
exten => 600,n,Echo( )
------------------ end---------------------
In Callweaver, call recording stops too early, well before a call
is terminated. It always records about first 1 or 2 seconds to the call
and then recording finishes. Few times I managed to record about
20 seconds from more than 50 seconds test call, but it is obviously
not good enough :-)
------------------------ Callweaver console output ---------------------
-- Executing Set("SIP/john-042f",
"CALLFILENAME=recording-600-john-20070511-121610") in new stack
-- Executing Set("SIP/john-042f",
"CDR(userfield)=recording-600-john-20070511-121610") in new stack
-- Executing MuxMon("SIP/john-042f",
"recording-600-john-20070511-121610.wav") in new stack
-- Executing Wait("SIP/john-042f", "2") in new stack
== Begin Recording SIP/john-042f
-- Executing Answer("SIP/john-042f", " ") in new stack
-- Executing Playback("SIP/john-042f", "hello-world") in new stack
-- Playing 'hello-world' (language 'en')
-- Executing Echo("SIP/john-042f", " ") in new stack
== Spawn extension (internal, 600, 7) exited non-zero on 'SIP/john-042f'
== Finished Recording SIP/john-042f
------------------------------ end -----------------------------------
'Finished recording' as well as 'Spawn' statement are printed at about
the right time i.e. after hung-up, not in the middle of a call.
>From the caller point of view, it works just fine - I can hear playback
of "hello-world" and then echo as well.
Any help or pointer to a documentation (I could not find any)
will be appreciated.
Thank you very much for help.
Peter
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users