ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

Distinctive Ring feature

Open jmedinagu opened this issue 8 years ago • 4 comments

Add an Alert-Info with context calls internal(from-internal) or external(from-external, from-pstn...) or custom value ¿?, for assign different ring tones according to the type of call (in function of manufacturer phone limitations).

jmedinagu avatar Feb 15 '17 18:02 jmedinagu

Hi Jorge,

Thanks for your suggestion :)

We will study https://tools.ietf.org/html/rfc7462 first to make it usable for all RFC compliant manufacturers.

Regards,

cruzccl avatar Feb 20 '17 10:02 cruzccl

How is this feature request doing?

SniperVegeta avatar Feb 14 '22 12:02 SniperVegeta

Hi!

Currently this feature is not considered in any upcoming release. Feel free to contact our comercial support at [email protected] or submitting a pull request.

Regards!

Kaian avatar Feb 14 '22 13:02 Kaian

Caint imagine this "is not considered" while its the normal ways for ringtones

im not an programmer ... but maybe some1 can help me whit this ....

/opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/HuntGroupAction.php (Im using the Database Huntroup Discription for the word like (ALERT or INTERNAL or w/e u desire) I prefer an new word in it to set "Alert-Info" for it

$this->agi->setVariable("__ALERT_ID", $huntGroup->getDescription());

Bonus: Huntgroup names inside ur inwards DDI: Also i would like to see like in DDI an word for it... like "Display name"

$NameRewrite = $this->agi->getCallerIdName() . " / " . $huntGroup->getName();
$this->agi->setCallerIdName($NameRewrite);

and in

/opt/irontec/ivozprovider/asterisk/agi/src/Dialplan/Headers.php

$this->agi->setSIPHeader("X-Alert-Info", $this->agi->getVariable("ALERT_ID"));
$AlertInfo = $this->agi->getVariable("ALERT_ID");
$this->agi->setSIPHeader("Alert-Info", "info=".$AlertInfo);

But to contact "payed" support for this??? i would like to know more.....

Ofc your phone should support the Alert-Info Tag (I tested whit Yealink's) And this is an fast "hack" ~ ofc if we get an extra field in database like "Alert-Info" we can look if its filled in or not, to push or not... but i dont wanna "hack" database tables....

2bad u need so manny years to read : https://tools.ietf.org/html/rfc7462 ( PS - i didnot read that )

SniperVegeta avatar Feb 15 '22 15:02 SniperVegeta