Author Topic: SIP Registration Error  (Read 3694 times)

John

  • Newbie
  • *
  • Posts: 14
    • View Profile
SIP Registration Error
« on: March 21, 2019, 09:48:34 AM »
Hello there,

i have a working yate / yatebts configuration in nipc mode.
the version is: Yate 6.1.1 devel1 r6325
I can call and send message inside network.
Now i'd like to make call outside the network and possibly have incoming connection.

If I setup a connection with SIP provider and with a VOIP software it's work like sharm,
but when i try to use my yate i got this error:

Code: [Select]
<sip:WARN> SIP line 'outbound' logon timeout

my accfile is:
Code: [Select]
[outbound]
enabled=yes
protocol=sip
number=6xxxxx
username=6xxxxx
authname=6xxxxx
password=kxxxxxxxxxxx
registrar=sip.zadarma.com
domain=sip.zadarma.com
interval=120

my regexroute.conf
Code: [Select]
^.*$=line/\0;line=outbound

debug message: debug sip level 10
Code: [Select]
2019-03-21_16:22:16.511155 <sip:INFO> 'udp:0.0.0.0:5060' sending 'REGISTER sip:sip.zadarma.com' 0x7f30bc01d800 to 185.45.152.174:5060 [0x55f52e2b5f60]
------
REGISTER sip:sip.zadarma.com SIP/2.0
Contact: <sip:6xxxxxxxx@192.168.100.4:5060>
Expires: 120
To: <sip:6xxxxxxxx@sip.zadarma.com>
Call-ID: 1604500942@sip.zadarma.com
Via: SIP/2.0/UDP 192.168.100.4:5060;rport;branch=z9hG4bK1517351562
From: <sip:6xxxxxx@sip.zadarma.com>;tag=1838966968
CSeq: 22 REGISTER
User-Agent: YATE/6.1.1
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0



or with second provider 'messagenet' i have the same result
accfile:
Code: [Select]
[outbound]
protocol=sip
username=1xxxxxx
server=sip.messagenet.it:5061
password=dxxxxxxxxxxx
ip_transport=UDP
enabled=yes
match_port=yes
match_user=yes

debug code : debug sip level 10
Code: [Select]
<sip:INFO> 'udp:0.0.0.0:5060' sending 'REGISTER sip:sip.messagenet.it:5061' 0x7f30bc006d80 to 212.97.59.76:5061 [0x55f52e2b5f60]
------
REGISTER sip:sip.messagenet.it:5061 SIP/2.0
Contact: <sip:5xxxxxxxx@192.168.100.4:5060>
Expires: 600
To: <sip:5xxxxxxxxx@sip.messagenet.it:5061>
Call-ID: 432445012@sip.messagenet.it:5061
Via: SIP/2.0/UDP 192.168.100.4:5060;rport;branch=z9hG4bK1091355561
From: <sip:5406096367@sip.messagenet.it:5061>;tag=1198750290
CSeq: 2 REGISTER
User-Agent: YATE/6.1.1
Max-Forwards: 70
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 0
« Last Edit: March 21, 2019, 09:54:11 AM by John »