Benoit Panizzon
2022-May-16 08:03 UTC
[asterisk-users] Asterix 16, PJSIP outbound registration, SRV or NAPTR lookup
Hi Team I'm working on a scenario, where the registrar offers multiple instances that can handle registration: _sip._udp.reg.example.com has SRV record 0 0 5060 reg01.example.com _sip._udp.reg.example.com has SRV record 0 0 5060 reg02.example.com It looks like specifying: server_uri=sip:reg.example.com:5060 client_uri=sip:testcontact at reg.example.com:5060 in type=register does not work In 'identity' there is a option srv_lookup=yes to make asterisk look up all possible endpoints. Did I do anything wrong, or is asterisk not doing any SRV lookup for outbound traffic like registrations? Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________
Benoit Panizzon
2022-May-16 08:18 UTC
[asterisk-users] Asterix 16, PJSIP outbound registration, SRV or NAPTR lookup
Just stubled over another example which resolved my question.> server_uri=sip:reg.example.com:5060 > client_uri=sip:testcontact at reg.example.com:5060If you don't specify the port, asterisk DOES an SRV lookup. Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________