Hello everyone, when placing an external outbound call via mod_sofia I am seeing the callee's number and name being updated as soon as the called party picks up the call: 2017-12-08 10:19:24.933767 [INFO] sofia.c:1279 sofia/external/040xxx Update Callee ID to "Outbound Call" <40xxx> This seems to override what has been previously set as sip_callee_id_name (e.g., using <action application="set" data="sip_callee_id_name=${db(select/cid/${2})}"/>). There are two problems that I'd like to solve: 1. When sip_callee_id_name was previously set (e.g., via DB lookup) I'd like to keep that value (or repeat the lookup) so that the callee's name remains intact. 2. Certain destinations incorrectly strip the loeading zero from the callee's number, which I'd like to avoid displaying as is. Is there any way to influence what is displayed as name and number, i.e. keep the previously set sip_callee_id_name and apply some kind of normalization to the reported number to cope with the missing leading zero? Thanks, Thilo
Hello again, On Fri, Dec 8, 2017 at 1:08 PM Thilo-Alexander Ginkel <thilo@ginkel.com> wrote:
when placing an external outbound call via mod_sofia I am seeing the callee's number and name being updated as soon as the called party picks up the call:
2017-12-08 10:19:24.933767 [INFO] sofia.c:1279 sofia/external/040xxx Update Callee ID to "Outbound Call" <40xxx>
I did some further debugging. The callee id is provided by the called party (or the infrastructure inbetween) through a P-Asserted-Identity header. Is there a way to run this information through mod_translate before (or while) it is processed by sofia_update_callee_id? Thanks, Thilo
participants (1)
-
Thilo-Alexander Ginkel