Greetings,
I’m having problems with my server where it is running Dialplan commands twice. Regarding the ‘300’ extension below, I am hearing the tones starting to play twice. ie they sound like they are stuttering.
I am dialing this extension from an X-Lite softphone.
Here’s the related extensions.conf:
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
[globals]
CONSOLE=SIP/phone1
IAXINFO=guest
TRUNK=Zap/g1
TRUNKMSD=1
[testing]
exten => 300,1,Playtones(info)
exten => 300,2,Wait(30)
exten => 300,3,StopPlaytones()
exten => 300,4,Goto(incoming,s,1)
; End of extensions.conf ===================
Here’s the logger output at Verbosity 7 when I run this:
-- Executing Goto("SIP/jr_at_home-f864", "incoming|300|1") in new stack
-- Executing Goto("SIP/jr_at_home-f864", "incoming|300|1") in new stack
-- Goto (incoming,300,1)
-- Goto (incoming,300,1)
-- Executing PlayTones("SIP/jr_at_home-f864", "info") in new stack
-- Executing PlayTones("SIP/jr_at_home-f864", "info") in new stack
-- Executing Wait("SIP/jr_at_home-f864", "30") in new stack
-- Executing Wait("SIP/jr_at_home-f864", "30") in new stack
== Spawn extension (incoming, 300, 2) exited non-zero on ‘SIP/jr_at_home-f864’
== Spawn extension (incoming, 300, 2) exited non-zero on ‘SIP/jr_at_home-f864’
; End of log
Any help would be appreciated; please accept my apologies if this has been posted elsewhere. If it has, could you redirect me to that thread?
Thanks,
JR