cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
949
Views
0
Helpful
3
Replies

SIP Trunk Integration ISP

ggl277808
Level 1
Level 1

Hi there,

We have recently hired and SIP trunk with an ISP, which has some requirements to allow the flow of calls from customers.

Our scenario is WITHOUT CUBE in between:

                               SIP TRUNK
(CUCM 10.5) <===================>(ISP)

The provider requires that the ping option within the Profile SIP must be enabled, once set, the ISP indicates us that while the option Max-forward = 0 it does not work, should be set to max-forward = 1.
So, at this moment we're stuck in how to change the Max-Forwards option to 1

I have done some research and I found that using Lua scripting some parameters of the SIP header can be changed, but I have not managed to find how to change the max-forwards option to 1.

find the sip trace option image attached.

Has anyone can give me some clue?

Thanks in advance.

1 Accepted Solution

Accepted Solutions

Hi Guillermo,

In general, it is not recommended that you connect to a SIP ISP without a border element such as CUBE. Even if you bring up the Pings, you may have trouble connecting media from your phones to the ISP, which typically accept only one or two IP addresses for signalling and media.

If you want to try, you should be able to use the "modifyHeader" function to change that value:

msg:modifyHeader("Max-Forwards", "1")

View solution in original post

3 Replies 3

ggl277808
Level 1
Level 1

Any help please???!!!

Someone has an idea if it that posible to change this parameter?

Hi Guillermo,

In general, it is not recommended that you connect to a SIP ISP without a border element such as CUBE. Even if you bring up the Pings, you may have trouble connecting media from your phones to the ISP, which typically accept only one or two IP addresses for signalling and media.

If you want to try, you should be able to use the "modifyHeader" function to change that value:

msg:modifyHeader("Max-Forwards", "1")

Hi mstover,

I've solved the issue with the following function:

M={}

function M.outbound_OPTIONS(msg)

   msg:modifyHeader("Max-Forwards", 1)

end

return M

Thanks a lot

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: