dtassone Posted September 28, 2018 Report Posted September 28, 2018 Is there a way to camp a call on a extension so it rings the extension when it finishes a call and how would this be accomplished? Thanks
Administrators mc_ Posted September 28, 2018 Administrators Report Posted September 28, 2018 You'll want to take a look at the 'camper' application and its attending callflow action.
Logicwrath Posted October 1, 2018 Report Posted October 1, 2018 On 9/28/2018 at 3:48 PM, dtassone said: Is there a way to camp a call on a extension so it rings the extension when it finishes a call and how would this be accomplished? Thanks Looking forward to a follow-up if you have time and get this sorted out. https://docs.2600hz.com/dev/applications/callflow/doc/camping_feature/
Uzair Mahmud Posted October 3, 2018 Report Posted October 3, 2018 We ended up making our own. First disable call waiting on all phones if you want. Our version gives camper voice guide instead of busy response. Basically we set the busy response in all device call flows to give camper voice guide and collect DTMF for triggering campon.. Once the campon is triggered our go script checks the channels every 5 seconds for presence of the busy number. If it is not busy then a quick call is triggered between the two devices. This works really well but its kinda hacky and continuously checking the channels will put a load on the server depending on how many people have activated the featurea t the same time. @mc_ I was wondering if there is a way of checking busy status of on-net or any number dialed through quickcall or some other mechanism in the api. Something like the ability to read the 486 code in the response to an unsuccessful call due to number being busy .
Administrators mc_ Posted October 3, 2018 Administrators Report Posted October 3, 2018 The CDR (or channel_destroy webhook) will have the hangup code and cause.
Uzair Mahmud Posted October 4, 2018 Report Posted October 4, 2018 yes ofcourse. Thanks @mc_ i had one last question if you can guide me. Otuside of Erlang Programming Is there a way to put an IVR and DTMF Collect on sip:486 response when dailing external calls. Where exactly would that code go.
Administrators mc_ Posted October 4, 2018 Administrators Report Posted October 4, 2018 You can configure the "children" to branch based on the SIP response code. From memory but something like: { "flow": { "module":"resources", "data":{...}, "children":{ "sip:486":{ "module":"menu"... } } } }
Recommended Posts