[Spce-user] Peer Registration with Unresolvable Realm

EMMANUEL AFANG afang.emmanuel at gmail.com
Sat Mar 9 18:09:09 EST 2019


Hi
I see that the /etc/hosts file is re-written from the
/etc/ngcp-config/etc/hosts
file, I was able to add the DNS entry there. Even after this, spce still
errors with the SIP 478 Unresolvable Destination

Can someone please help me?

Best Regards,

Afang Emmanuel

Mobile: +234 708 428 0332
Skype: Afang.Emmanuel



On Sat, Mar 9, 2019, 2:22 AM EMMANUEL AFANG <afang.emmanuel at gmail.com>
wrote:

> Hi Alexis
> Thanks for you swift response.
> The remote peer is correctly setup and INVITES are being sent out, as I
> supplied both an IP and a Hostname. The problem however is with REGISTER.
> It needs to use an unresolvable realm / domain. And spce uses this domain
> as the host to send REGISTER to. So I need a way to tell spce what IP the
> realm should be.
> Tried adding to /etc/hosts file, but notice that
> 1. It is readonly
> 2. File resets after every reboot
> 3. spce does not take any value added there.
>
> So in spce, where do I add dns entry (the equivalence of /etc/hosts file) ?
>
>
>
> Best Regards
>
>
>
> *Emmanuel Afang *
>
>
> Mobile +2347084280332
> Email:  *a <cuzomba at dial-mobile.com>fang.emmanuel at gmail.com
> <fang.emmanuel at gmail.com>*
>
> Skype: *a <cuzomba at dial-mobile.com>fang.emmanuel*
>
>
>
> On Sat, Mar 9, 2019 at 2:11 AM Raúl Alexis Betancor Santana <
> rabs at dimension-virtual.com> wrote:
>
>> Then you have your remote peer wrongly setup ... I suggest you reading
>> the docs and check de examples.
>>
>> Are you sure the 478 is generated by CE and not by your remote peer?
>>
>> ------------------------------
>>
>> *De: *"EMMANUEL AFANG" <afang.emmanuel at gmail.com>
>> *Para: *"Raúl Alexis Betancor Santana" <rabs at dimension-virtual.com>
>> *CC: *"spce-user" <spce-user at lists.sipwise.com>
>> *Enviados: *Sábado, 9 de Marzo 2019 1:01:15
>> *Asunto: *Re: [Spce-user] Peer Registration with Unresolvable Realm
>>
>> Hi Alexis
>> I tried removing the port, and can see from sngrep that the port is
>> removed, but still get the SIP 478 Unresolved Destination.
>>
>> Best Regards
>>
>>
>>
>> *Emmanuel Afang *
>>
>>
>> Mobile +2347084280332
>> Email:  *a <cuzomba at dial-mobile.com>fang.emmanuel at gmail.com
>> <fang.emmanuel at gmail.com>*
>>
>> Skype: *a <cuzomba at dial-mobile.com>fang.emmanuel*
>>
>>
>>
>> On Sat, Mar 9, 2019 at 12:47 AM Raúl Alexis Betancor Santana <
>> rabs at dimension-virtual.com> wrote:
>>
>>> Thats because you should not put the port on the realm string.
>>>
>>> Please check de docs to see how you setup the port on an outgoing peer.
>>>
>>> ------------------------------
>>>
>>> *De: *"EMMANUEL AFANG" <afang.emmanuel at gmail.com>
>>> *Para: *"spce-user" <spce-user at lists.sipwise.com>
>>> *Enviados: *Viernes, 8 de Marzo 2019 17:22:00
>>> *Asunto: *[Spce-user] Peer Registration with Unresolvable Realm
>>>
>>> Hi
>>> Please I need one more help.
>>> SIP Trunk Provider requires Authentication to a custom port say 5111 and
>>> supplied a Realm that is not resolvable say sipsipeee.com
>>> I setup as follows
>>>
>>> In Peer Remote Authentication
>>> *peer_auth_realm* == sipsipeee.com:5111
>>> Also set *peer_auth_user *and *peer_auth_pass* then check the
>>> *peer_auth_register*
>>>
>>> In vim /etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2
>>>
>>> domain=sipsipeee.com:5111
>>> user=userrrrr
>>> pwd=passworddddd
>>> proxy=sip:[% sip_lb_ips.0 %]:[% kamailio.lb.port %]
>>> [% IF sip_adv_ips.size -%]
>>> contact=sip:[% sip_adv_ips.0 %]:[% kamailio.lb.port %]
>>> [% ELSE -%]
>>> contact=sip:[% sip_ext_ips.0 %]:[% kamailio.lb.port %]
>>> [% END -%]
>>>
>>>
>>> From sngrep, I see that whenever spce tries to send REGISTER, it
>>> internally gets the
>>> SIP 478 Unresolvable Destination
>>>
>>> This is because the domain / realm of sipsipeee.com is unresolvable.
>>> /etc/hosts does not help.
>>>
>>> Please help!!!
>>>
>>> Best Regards
>>>
>>>
>>>
>>> *Emmanuel Afang *
>>>
>>>
>>> Mobile +2347084280332
>>> Email:  *a <cuzomba at dial-mobile.com>fang.emmanuel at gmail.com
>>> <fang.emmanuel at gmail.com>*
>>>
>>> Skype: *a <cuzomba at dial-mobile.com>fang.emmanuel*
>>>
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> https://lists.sipwise.com/listinfo/spce-user
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> https://lists.sipwise.com/listinfo/spce-user
>>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190310/1f15cffe/attachment-0001.html>


More information about the Spce-user mailing list