Hi all,
As suggested in the title, when a number is dialed and the incoming context is used, the dialgroup is adding extensions that aren’t written in the dialplan? Really not sure where to go with this.
Dialplan shown below, output log below that. Verb 10, Debug 10.
-- Executing [XXX@incoming:1] SIPAddHeader("SIP/XXX", "Alert-Info: <Bellcore-dr1>") in new stack
-- Executing [XXX@incoming:2] Playback("SIP/XXX", "/var/lib/asterisk/sounds/custom/Intro2") in new stack
-- <SIP/XXX> Playing '/var/lib/asterisk/sounds/custom/Intro2.slin' (language 'en_GB')
> 0x7f08741b8900 -- Strict RTP switching to RTP target address XXX:12520 as source
> 0x7f08741b8900 -- Strict RTP learning complete - Locking on source address XXX:12520
-- Executing [XXX@incoming:3] Macro("SIP/XXX", "callforwarding,200") in new stack
-- Executing [s@macro-callforwarding:1] Set("SIP/XXX", "temp=") in new stack
-- Executing [s@macro-callforwarding:2] GotoIf("SIP/XXX", "?cfi:nocfi") in new stack
-- Goto (macro-callforwarding,s,7)
-- Executing [s@macro-callforwarding:7] NoOp("SIP/XXX", "No CFI found") in new stack
-- Executing [XXX@incoming:4] Macro("SIP/XXX", "callforwarding,201") in new stack
-- Executing [s@macro-callforwarding:1] Set("SIP/XXX", "temp=") in new stack
-- Executing [s@macro-callforwarding:2] GotoIf("SIP/XXX", "?cfi:nocfi") in new stack
-- Goto (macro-callforwarding,s,7)
-- Executing [s@macro-callforwarding:7] NoOp("SIP/XXX", "No CFI found") in new stack
-- Executing [XXX@incoming:5] Set("SIP/XXX", "DIALGROUP(companyDial,add)=SIP/200") in new stack
-- Executing [XXX@incoming:6] Set("SIP/XXX", "DIALGROUP(companyDial,add)=SIP/201") in new stack
-- Executing [XXX@incoming:7] Dial("SIP/XXX", "SIP/203&SIP/200&SIP/201&SIP/204,15") in new stack
== Using SIP RTP CoS mark 5
== Using SIP RTP CoS mark 5
== Using SIP RTP CoS mark 5
== Using SIP RTP CoS mark 5
-- Called SIP/203
-- Called SIP/200
-- Called SIP/201
-- Called SIP/204
-- SIP/201-00001ce8 is ringing
-- SIP/203-00001ce6 is ringing
-- SIP/200-00001ce7 is ringing
-- SIP/204-00001ce9 is ringing
Dialplan
exten => XXX,1,SIPAddHeader(Alert-Info: <Bellcore-dr1>)
exten => XXX,n,Playback(/var/lib/asterisk/sounds/custom/Intro2)
exten => XXX,n,Macro(callforwarding,200)
exten => XXX,n,Macro(callforwarding,201)
exten => XXX,n,Set(DIALGROUP(companyDial,add)=SIP/200) ; User
exten => XXX,n,Set(DIALGROUP(companyDial,add)=SIP/201) ; User
exten => XXX,n,Dial(${DIALGROUP(companyDial)},15)
exten => XXX,n,Dial(SIP/XXX@XXX,30)
exten => XXX,n,Voicemail(200, busy)
I’ve tried manually removing the entry from the database in case it was from a previous entry, but it then adds it back as shown in the output.
If anyone has any idea what could be going on here, any advise would be amazing.
Thank you in advance, and Merry Christmas