This script gives you how to add a SIP header to the outgoing call leg. In the example, Source IP and Port ( incoming leg) are added to X-SOURCE-URI header in the following format:
X-SOURCE-URI: sip:" + source_ip + “:” + source_port + “;transport=udp”
Attachments
X-SOURCE-URI.zip (1 Kb) Downloaded 56 times