I am having trouble getting my asterisk server (Ver 20.5.0) to record outgoing calls for any outbound route that has a dot in the dial string - like this:
exten => _901.,1,Gosub(sub,s,1(49${EXTEN:2}))
if I specify the number of digits like this:
exten => _901XXXXXXXXX,1,Gosub(sub,s,1(49${EXTEN:2}))
it works fine.
Also works fine if I press # after dialling the number.
Not sure how to mark end of dialling in the dialplan though.
Any help would be appreciated.
I think more information about the environment is needed.
"Recording is irrelevant, here.
Using ! rather than . may help if you have explicit matches longer than the pattern match. and the whole number is provided at once.
I’m not aware of anything in Asterisk that treats # specially in dialled numbers; that sound more like the phone dialplan.
I tried ! instead of . but made no difference. I am using MixMonitor like this:
exten => s,1,MixMonitor(/xxxxxxxxx/monitor/${STRFTIME(${EPOCH},%Y%m%d-%H:%M:%S)}-${ARG1}.wav,b)
cige
November 29, 2023, 5:27pm
4
Use MixiMonitor both inbound and outbound
I do and it records all inbound without issue. It is only outbound where I use . or ! where it fails to record.
system
Closed
December 29, 2023, 5:41pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.