Adding X-NAP header to outgoing INVITE

This script adds the incoming NAP name to the outgoing INVITE message if the outgoing NAP name matches with the NAMNAM entered in the script. Change NAPNAME with outgoing NAP name in the script:

Code:
if call_params[ :nap ].match(/^NAPNAME(.*)/)

Attachments

Adding X-NAP header to outgoing INVITE Attachment
add_x_nap_header.zip Delete