[OpenSIPS-Users] HEP Address Hostname error
Ben Newlin
Ben.Newlin at genesys.com
Mon Mar 26 16:02:31 EDT 2018
Hi,
While upgrading from 1.11 to 2.3, we have run into an issue with the parsing of the hep_id parameter in the proto_hep module.
In 1.11, we used the duplicate_uri setting in the siptrace module like so:
modparam("siptrace", "duplicate_uri", "sip:homer-hep.test.com:5656")
In 2.3, we converted this into the appropriate module config for proto_hep:
modparam("proto_hep", "hep_id", "[hid]homer-hep.test.com:5656;transport=udp;version=2")
However, this results in OpenSIPS complaining about receiving the wrong address:
Mar 26 19:59:58 [332] CRITICAL:core:mk_proxy: could not resolve hostname: "homer"
Mar 26 19:59:58 [332] ERROR:proto_hep:send_hep_message: bad hep host name!
Mar 26 19:59:58 [332] ERROR:siptrace:send_trace_proto_duplicate: failed to forward message to destination!
Mar 26 19:59:58 [332] ERROR:siptrace:save_siptrace: Failed to duplicate with hep to <homer:5656>
It appears the proto_hep module parameter parsing doesn’t allow for dashes/hyphens in the address portion, so it ends up with only a small part of the actual hostname of our Homer server.
Thanks,
Ben Newlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180326/e06bd97d/attachment.html>
More information about the Users
mailing list