That IP address in the listen directive should be the *address of the OpenSIPS machine itself*, since it's going to be the address where the HEP client socket binds. The destination address is specified in the modparam( "proto_hep", "hep_id", ...).
The only scenario when both addresses are the same is when both OpenSIPS and Homer are running on the same box, which I suppose is not the case. -Max On Tue, Jun 2, 2020 at 7:07 AM Burhan Khan <[email protected]> wrote: > There is some real IP instead of 1.2.3.4. It is pingable and it's port > 9060 is accessible from opensips machine. > > On Tue, Jun 2, 2020 at 3:57 PM Maxim Sobolev <[email protected]> > wrote: > >> Well, apparently there is no 1.2.3.4 IP configured on your machine, you >> need to replace it with an actual IP address, or possibly 0.0.0.0 if a >> particular source address does not matter. >> >> -Max >> >> -Max >> >> On Tue, Jun 2, 2020 at 6:07 AM Burhan Khan <[email protected]> wrote: >> >>> Hi >>> >>> I am trying to send sip traces from opensips 3.0 to remote Homer server >>> but it is getting error. Following is my configuration >>> >>> >>> loadmodule "proto_hep.so" >>> >>> loadmodule "tracer.so" >>> >>> >>> >>> listen=hep_udp:1.2.3.4:9060 >>> >>> >>> >>> modparam("tracer", "trace_on", 1) >>> >>> modparam("proto_hep", "hep_id", "[homer] 1.2.3.4:9060;transport=udp") >>> >>> >>> modparam("tracer", "trace_id", "[tid]uri=hep:homer") >>> >>> >>> In route section >>> >>> >>> $var(trace_id) = "tid"; >>> >>> trace($var(trace_id), , "sip", ); >>> >>> Error is ::: >>> >>> *ERROR:core:udp_init_listener: bind(27, 0x7ff5729214c4, 16) on *1.2.3.4*: >>> Cannot assign requested address* >>> *ERROR:core:trans_init_all_listeners: failed to init listener [*1.2.3.4*], >>> proto hep_udp* >>> *ERROR:core:main: failed to init all SIP listeners, aborting* >>> >>> >>> >>> *Regards* >>> *Burhan Khan* >>> >>> *+46769568906* >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> >> >> -- >> Maksym Sobolyev >> Sippy Software, Inc. >> Internet Telephony (VoIP) Experts >> Tel (Canada): +1-778-783-0474 >> Tel (Toll-Free): +1-855-747-7779 >> Fax: +1-866-857-6942 >> Web: http://www.sippysoft.com >> MSN: [email protected] >> Skype: SippySoft >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > > -- > > *Regards* > *Burhan Khan* > > *+46769568906* > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: [email protected] Skype: SippySoft
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
