Monitor command would record only the first few miliseconds of the conversation, and not the whole call (as if a hangup would occur just after the agent answers the call) if:
- There is a queue
- Agent logs in and is available at a certain extension
- The extension where the agent is available uses Monitor() command (that doesn’t work properly)
What could be the reason for that? (please see the attached conf files - I am using Asterisk 1.2):
Queue definition:
[AbraxasQueue]
strategy=roundrobin
wrapuptime=0
timeout=20
queue-thereare=queue-thereare
music=default
queue-reporthold=queue-reporthold
maxlen=0
queue-youarenext=queue-youarenext
queue-thankyou=queue-thankyou
periodic-announce=queue-periodic-announce
queue-callswaiting=queue-callswaiting
retry=5
queue-lessthan=queue-less-than
queue-holdtime=queue-holdtime
announce-holdtime=yes
queue-seconds=queue-seconds
announce-frequency=60
queue-minutes=queue-minutes
autofill=yes
autopause=no
member => Agent/9000,0
member => ...
Extension at which the agents are available:
exten => _1000.,1,Answer()
exten => _1000.,n,Monitor(wav,${CALLERIDNUM}_${UNIQUEID}_${TIMESTAMP},mb)
exten => _1000.,n,Dial(SIP/To1000,20,tr)
exten => _1000.,n,StopMonitor()
exten => _1000.,n,HangUp()
Agents definition:
[general]
persistentagents=yes
[agents]
ackcall=no
wrapuptime=0
musiconhold => default
group=1
agent => 9000,,Abraxas Operater 0
agent => ...
Thanks for any suggestions one might have.