Sip trunk with registration

Hi everyone, I am new to FreePBX and i need to configure SIP trunk with registration. My service provider need to recive this:

[email protected]:Password:[email protected]:5060~3600

whatever i do in configuration i recive errors:
WARNING[120244]: res_pjsip_outbound_registration.c:1405 handle_registration_response: ‘404’ fatal response received from

WARNING[100456]: res_pjsip_outbound_registration.c:1405 handle_registration_response: ‘404’ fatal response received from

WARNING[28258]: res_pjsip_outbound_registration.c:1405 handle_registration_response: ‘404’ fatal response received from

do you have any advice what fields i need to fill to send this:
[email protected]:Password:[email protected]:5060~3600

Best regards!

What is the name of the trunk provider? Website? Any support information online?

This is an indication of what needs to be sent, but not actually what needs to be sent.

You need to tell us what you have tried. Really you need a sample of what is sent over the wire.

387736352600 could be any combination of from user, authorisation user, and the user part of the client URI for the registration. kopti.com could represent from domain and/or the domain part of the client URI. Password will be from the type=auth section. 10.80.4.26 could be from domain, the domain part of server URI, and/or the domain part of the proxy URI. 5060 is default. 3600 is probably the registration expiry.

Some providers are rumoured to require URIs like user@domain1@domain2, which are simply invalid.

1 Like

This appears to be using the configuration file format for the obsolete chan_sip driver.

register => [peer?][transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry]

I believe the first 387736352600 becomes both the from user and the user part of the client URI, the second one becomes the user from the type=auth, the domain becomes the from domain and also the domain part of the client uri, the host becomes the domain in the server URI, 5060 is the default, extension would be contact user, and expiry is the registration expiry time.

Note that they are suggesting the longest reasonable re-registration period. Deficiencies in your local environment may require smaller values.

Also, as they are asking you to register to a private address, your IP address may be known to them, and registration not needed.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.