Hi there.
In our network we used several ONT Huawei models. But with one model
HUAWEI-EchoLife HG8245 / V1R003C00S205 we have the following problem. When
connecting to this device in the POTS ports of the two phones. From the
first port we can not call to the second and from the second port can not
call to the first port. On the other ONT Huawei devices, there is no such
problem. Earlier we had set OpenSIP and this device did not have a problem.
The problem is likely in the configuration because it works at the default
settings.
kamailio -v
Version: kamailio 4.3.3 (x86_64/linux) f69971
/var/log/kamailio
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Callee '123456' is local - M=INVITE RURI=sip:123456@10.10.10.200 F=
sip:654321@10.10.10.200 T=sip:123456@10.10.10.200 IP=10.14.197.13
5 ID=lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Call control: dst user '123456' currently has [0/2] active calls - M=INVITE
RURI=sip:123456@10.10.10.200 F=sip:654321@10.10.10.200 T=si
p:123456@10.10.10.200 IP=10.10.10.100 ID=
lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Normalize source: sip:654321@10.10.10.200 -> sip:654321@10.10.10.200
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Request leaving server - M=INVITE
RURI=sip:123456@10.10.10.100:5060;transport=udp
F=sip:654321@10.10.10.200 T=sip:123456@178.168.4.
37 IP=10.10.10.100 ID=lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
May 17 10:53:22 kamailio /usr/local/sbin/kamailio[17873]: INFO: <script>:
Reply - S=100 D=Trying F=sip:654321@10.10.10.200 T=sip:123456@10.10.10.200
IP=10.10.10.100 ID=lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.1
4.197.135
May 17 10:53:22 kamailio /usr/local/sbin/kamailio[17861]: INFO: <script>:
Reply - S=481 D=Call/Transaction Does Not Exist F=sip:654321@10.10.10.200 T=
sip:123456@10.10.10.200 IP=10.10.10.100 ID=
lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
sngrep
2016/05/17 10:53:21.514702 10.10.10.100:5060 -> 10.10.10.200:5060
INVITE sip:123456@10.10.10.200 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bKz4j0izm0i8jcn2pmlkm4c24cz
Route: <sip:10.10.10.200:5060;transport=udp;lr>
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 1 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 70
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Session-ID: 20zlkckj1kz4ll1i1ic2pl1csk80kli1
Content-Length: 318
Content-Type: application/sdp
2016/05/17 10:53:21.590008 10.10.10.100:5060 -> 10.10.10.200:5060
INVITE sip:123456@10.10.10.200 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Route: <sip:10.10.10.200:5060;transport=udp;lr>
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 2 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Proxy-Authorization: Digest
username="654321",realm="10.10.10.200",nonce="VzrPHVc6zfEYftiGlJYC9XLb4ixCZtQB",uri="
sip:123456@10.10.10.200
",response="55e03b278f1cbdda52852004bbc8d7c9",algorithm=MD5,cnonce="0f31d
b",qop=auth,nc=00000006
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 70
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Session-ID: 20zlkckj1kz4ll1i1ic2pl1csk80kli1
Content-Length: 318
Content-Type: application/sdp
2016/05/17 10:53:21.642831 10.10.10.200:5060 -> 10.10.10.100:5060
INVITE sip:123456@10.10.10.100:5060;transport=udp SIP/2.0
Record-Route:
<sip:10.10.10.200;lr=on;ftag=pk4nzz3j;nat=yes;did=925.a5a1;vst=AAAAAAkLCwgLCnEDBHgfBg4WHwIWHQMuMzc-;vsf=AAAAAAkLAwgLAnEDBHgfBg4WHwIWHQMuMzc->
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0
Via: SIP/2.0/UDP
10.10.10.100:5060;rport=5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: "654321" <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 2 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 69
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Content-Length: 334
Content-Type: application/sdp
P-Asserted-Identity: <sip:654321@10.10.10.200>
2016/05/17 10:53:22.121872 10.10.10.200:5060 -> 10.10.10.100:5060
INVITE sip:123456@10.10.10.100:5060;transport=udp SIP/2.0
Record-Route:
<sip:10.10.10.200;lr=on;ftag=pk4nzz3j;nat=yes;did=925.a5a1;vst=AAAAAAkLCwgLCnEDBHgfBg4WHwIWHQMuMzc-;vsf=AAAAAAkLAwgLAnEDBHgfBg4WHwIWHQMuMzc->
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0
Via: SIP/2.0/UDP
10.10.10.100:5060;rport=5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: "654321" <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 2 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 69
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Content-Length: 334
Content-Type: application/sdp
P-Asserted-Identity: <sip:654321@10.10.10.200>
2016/05/17 10:53:22.996850 10.10.10.100:5060 -> 10.10.10.200:5060
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0,SIP/2.0/UDP
10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il;rport=5060
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: "654321"<sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>;tag=m2scp1cm
CSeq: 2 INVITE
Warning: 399 10.10.10.100 "SS100006F143L3557[05552] No Dialog match"
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Content-Length: 0