Page 1 of 1

Problem with a custom context

PostPosted: Wed Dec 23, 2020 4:20 am
by frank83
Hello guys, I am trying to configure some phones without logging in the web page (only ipbx), i created a custom context with a specific dial plan and a group of two phones, everything works correctly but when i get an inbound call direct to a group, the name of recording and the data in the CDR report the number of group, there is a way to set the number of who answered?
In vicidial I've configured a DID that route the call in the extension 200


[officemc]
exten => _*.,1,AGI(agi-NVA_recording.agi,NONE------N---N---Y---N)
exten => _*.,n,Goto(default,${EXTEN},1)
exten => _*.,n,Dial(SIP/${EXTEN:1}@trunk1,,tTo)
exten => _*.,n,Hangup

exten => 200,1,AGI(agi-NVA_recording.agi,NONE------Y---N---Y---N)
exten => 200,n,Dial(SIP/1004&SIP/1005,30)
exten => 200,n,Hangup()


thanks

Re: Problem with a custom context

PostPosted: Tue Jan 05, 2021 10:38 am
by williamconley
This is not Vicidial. You are attempting to reinvent a wheel.

Use Remote Agents instead. Remote agents can be used for "desk phones" with nobody logged in. They also appear on the Real Time Screen (assuming you put them in an ingroup and pass calls to them), allowing for monitoring, get recordings and reporting, and can even ring over between agents if there is no answer plus the option to ring "all phones" in a group of phones using an Ingroup. If you configure them "one user per remote agent", the reporting is even accurate.

Otherwise, you're in Asterisk territory outside the Vicidial dialplan.