[OpenSIPS-Users] Sip traces to remote Homer Server

Maxim Sobolev sobomax at sippysoft.com
Tue Jun 2 16:41:08 EST 2020


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 <burhankhan1 at gmail.com> 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 <sobomax at sippysoft.com>
> 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 <burhankhan1 at gmail.com> 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
>>> Users at lists.opensips.org
>>> 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: sales at sippysoft.com
>> Skype: SippySoft
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> --
>
> *Regards*
> *Burhan Khan*
>
> *+46769568906*
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> 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: sales at sippysoft.com
Skype: SippySoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200602/b31ab78d/attachment-0001.html>


More information about the Users mailing list