[cisco-voip] SIP Profile to add Calling Name

Nick csvoip at googlemail.com
Tue Nov 29 06:27:02 EST 2016


Hi Sreekanth, many thanks for this I will give Mike's SIP profile ago first
as I am more familiar with those and keep this as a last resort.
KR, Nick

On 29 November 2016 at 11:03, Sreekanth <sknth.n at gmail.com> wrote:

> You can try using this script on the CUCM.
>
> M={}
> function M.inbound_INVITE(msg)
>     local from = msg:getHeader("From")
>     local b = string.match(from, '%d+')
>     new_from = '"' .. b .. '" ' .. from
>     msg:modifyHeader("From", new_from)
> return M
> end
>
> You can also normalize the message on the CUBE as suggested by Mike.
>
> On 28 November 2016 at 15:58, Nick <csvoip at googlemail.com> wrote:
>
>> I cant see those in the trace, RPID is on at the SIP Trunk in CUCM, the
>> middx-1 is the full debug of the call
>>
>> On 27 November 2016 at 06:15, Sreekanth <sknth.n at gmail.com> wrote:
>>
>>> Based on your query it looks like you're trying to modify the From
>>> header on an INVITE coming into CUCM. Are the RPID/PAID headers also
>>> present in the message?
>>> The CUCM will first look at those headers, before going to the From
>>> header to pull the caller's information.
>>>
>>> Modify the RPID/PAID if they are there to provide this calling
>>> information.
>>> Can you post those 2 headers as well?
>>>
>>> Also, what's the middx-1 attachment?
>>>
>>> On 26 November 2016 at 14:50, Nick via cisco-voip <
>>> cisco-voip at puck.nether.net> wrote:
>>>
>>>> Hi All
>>>>
>>>> I have a situation where we have migrated from one SIP trunk to
>>>> another, when the inbound call comes in, the IP phone handset shows Unknown
>>>> Caller ID and then display the calling number below, this client has 6921
>>>> handsets throughout which will only display one line so they only see the
>>>> Unknown Caller ID on the handset.
>>>>
>>>> The Invite on the old SIP trunk show the From field with the
>>>> calling number in brackets in front of the SIP portion as below and this
>>>> works fine.
>>>>
>>>> *From:
>>>> "07918900845"<sip:07918900845 at siptrunking08a.ipmultimedia.co.uk;user=phone>;tag=SDtmhce01-87069*
>>>>
>>>>
>>>> The invite on the new SIP trunk does not display the number in front of
>>>> the From field as below
>>>>
>>>>
>>>> *From: <sip:07918900845 at 81.10X.XX.XX;user=phone>;tag=3689138628-619971*
>>>>
>>>>
>>>> What I would like to do is modify the From field in the invite so that
>>>> it displays the calling number in front of the as per the above example.
>>>>
>>>>
>>>> It appears to be an issue with Calling Name as if I receive the call on
>>>> a translation pattern on CUCM and set Calling Name Presentation to
>>>> Restricted, I don't see the Unknown Caller ID anymore, the issue with this
>>>> is that Missed calls / Received Calls lists on the phone shows Private
>>>> Number.
>>>>
>>>>
>>>> Can this be done with a inbound SIP Profile or SIP normalisation script?
>>>>
>>>>
>>>> Regards
>>>>
>>>>
>>>> Nick
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> cisco-voip mailing list
>>>> cisco-voip at puck.nether.net
>>>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20161129/94b46e43/attachment.html>


More information about the cisco-voip mailing list