hello, thank you for your answer, but I added transport=transport-udp and I get this one:
un 24 11:16:51] WARNING[1395]: res_pjsip_outbound_registration.c:1049 handle_registration_response: Fatal response ‘404’ received from ‘sip:trunk-soto@192.168.1.93:5070’ on registration attempt to ‘sip:trunk-dextre@192.168.1.13’, stopping outbound registration
hello, I’am changing the options with password without password some time I get type of error but never register the trunk? maybe I hope you share your configuration between two host. thank you
hello, david551, let me tell you, this is just a test, I have created two virtual machines and I want to know how to make a trunk between two machines, because when I look for a configuration , I find they use mytrunk for everthing en when I go to create with other names the trunk doesn’t work, and is for that reazon I want to learn how. thank you.
If these configurations are on different machines, pointing at each other, you shouldn’t be using registration at all. Registration is to tell the peer your address.
Also, I believe you will need a matching auth= on the other side.
The fact that this was two machine configurations, not one, was important, but missing, information.
something similar like a configuration sip.conf or not but like this doesn’t create the trunk each other, there is not comunication. maybe can you show your trunk’s configuration?
You have a mixed of options that do not belong to the identify section, also if SIP peer have an static IP you can avoid registration section, try the following example