cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

190
Views
0
Helpful
0
Replies
Highlighted
Beginner

Changing calling number Normalization Script

I have following issue:

From my SIp trunk comes invite with no user part in from hedear (trunk from Conductor to CUCM 10.5):

From: "Konferance"; <sip:10.10.10.10>: tag:1983274829

What I need to do to add user part in user part for particular number for example 8888, to forward it according to customer rquirments.I have used normalization script which I attached to SIP trunk to Conductor. I tried many methods all of them caused that no outcoing SIP invite comes to destination.




Call flow TMS-Conducror-CUCM-SIP phone




After applying my script no incoming SIP Invite comes to SIP phone. Without modification Invite comes with unknow number (due to user part of From Header isnt present). I need to add user part on From Header.




I have tried many method without success for example:

M = {}

 
function M.inbound_INVITE(msg)

 
    msg:applyNumberMask("From", "888")

 
end

 
return M




or




M = {}

 
function M.inbound_INVITE(msg)

 
    msg:setRequestUri("sip:888@10.10.10.10")

 
end

 
return M




Please advise it is really important for me.















Everyone's tags (4)