[Asterisk-code-review] chan mobile: support handling of caller-id names ("cnam"). (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Thu May 17 16:23:21 CDT 2018


Richard Mudgett has uploaded a new patch set (#3) to the change originally created by B. Martin. ( https://gerrit.asterisk.org/8801 )

Change subject: chan_mobile: support handling of caller-id names ("cnam").
......................................................................

chan_mobile: support handling of caller-id names ("cnam").

Add support to handle caller-ID names ("cnam") in addition to caller-ID
numbers.  The prior code ignored the caller-ID name altogether, and
used the local name for the cell phone (e.g. "my-iphone") in its place.

Note: as of this writing, at least some Android phones don't pass cnam to
us. This can be seen by issuing "core set debug 2" in the CLI and watching
the "CLIP" record when a call comes in.  If cnam isn't in the CLIP record,
there's nothing we can do to provide one.  We'll provide a null cnam field,
so later Asterisk processes know to try other sources (e.g. cidname database,
OpenCNAM, etc.).

Reported by: Brian Martin
Tested by: Brian Martin
ASTERISK-27726

Change-Id: I89490d85fa406c36261879c50ae5e65595538ba5
---
M addons/chan_mobile.c
1 file changed, 106 insertions(+), 40 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/01/8801/3
-- 
To view, visit https://gerrit.asterisk.org/8801
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I89490d85fa406c36261879c50ae5e65595538ba5
Gerrit-Change-Number: 8801
Gerrit-PatchSet: 3
Gerrit-Owner: B. Martin <asterisk-forum at silverflash.net>
Gerrit-Reviewer: B. Martin <asterisk-forum at silverflash.net>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180517/695505cd/attachment.html>


More information about the asterisk-code-review mailing list