<gateway name="sip.domain.ru">
<param name="realm" value="sip.domain.ru" />
<param name="from-user" value="1234567890" />
<param name="username" value="12345...@sip.domain.ru" />
<param name="password" value="secret" />
<param name="register" value="true" />
</gateway>
REGISTER sip:sip.domain.ru;transport=udp SIP/2.0
Via: SIP/2.0/UDP 11.11.11.11:5080;rport;branch=z9hG4bKvNmB5KyQD89Up
Max-Forwards: 70
From: <sip:1234567890@sip.domain.ru>;tag=Xe3QUgeyavZ4c
To: <sip:1234567890@sip.domain.ru>
Call-ID: ea28be45-77be-4a10-a7b4-90497640154d
CSeq: 76895433 REGISTER
Contact: <sip:gw+sip.domain.ru@11.11.11.11:5080;transport=udp;gw=sip.domain.ru>
Expires: 3600
User-Agent: FreeSWITCH-mod_sofia/1.4.19+git~20150527T233637Z~ebf2df68fa~32bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 11.11.11.11:5080;received=11.11.11.11;rport=5080;branch=z9hG4bKvNmB5KyQD89Up
To: <sip:1234567890@sip.domain.ru>;tag=h7g4Esbg_db1596b20ea458d40bb093eeabcd306
From: <sip:1234567890@sip.domain.ru>;tag=Xe3QUgeyavZ4c
Call-ID: ea28be45-77be-4a10-a7b4-90497640154d
CSeq: 76895433 REGISTER
Service-Route: <sip:22.22.22.22:5060;transport=udp;lr>
WWW-Authenticate: Digest realm="sip.domain.ru",nonce="15B5E45FD2368055000000003851C424",algorithm=MD5,qop="auth"
Content-Length: 0
[ERR] sofia_reg.c:2367 sip.domain.ru Failed Registration with status Request Timeout [408]. failure #8
Создал шлюз в профиле
tport_by_addrinfo() tport(01E4BFA0): not found by name udp/22.22.22.22:5060