[Freeswitch-users] Influencing "Update Callee ID" behavior

Thilo-Alexander Ginkel thilo at ginkel.com
Fri Dec 8 12:08:39 UTC 2017


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



More information about the FreeSWITCH-users mailing list