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 raw
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
v=0
o=huawei 1 1 IN IP4 10.10.10.100
s=-
c=IN IP4 10.10.10.100
t=0 0
m=audio 50000 RTP/AVP 8 0 18 9 97
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:18 G729/8000
a=ptime:20
a=rtpmap:9 G722/8000
a=ptime:20
a=rtpmap:97 telephone-event/8000/1
a=sendrecv
a=fmtp:97 0-15,32-36
2016/05/17 10:53:21.515342 10.10.10.200:5060 -> 10.10.10.100:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bKz4j0izm0i8jcn2pmlkm4c24cz
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
Server: sip.local
Content-Length: 0
2016/05/17 10:53:21.517879 10.10.10.200:5060 -> 10.10.10.100:5060
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bKz4j0izm0i8jcn2pmlkm4c24cz
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>;tag=9477874460dbcfddfdce8a8a24ab1a42.1303
CSeq: 1 INVITE
Proxy-Authenticate: Digest realm="10.10.10.200",
nonce="VzrPHVc6zfEYftiGlJYC9XLb4ixCZtQB", qop="auth"
Server: sip.local
Content-Length: 0
2016/05/17 10:53:21.564365 10.10.10.100:5060 -> 10.10.10.200:5060
ACK 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>;tag=9477874460dbcfddfdce8a8a24ab1a42.1303
CSeq: 1 ACK
Max-Forwards: 70
Content-Length: 0
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
v=0
o=huawei 1 2 IN IP4 10.10.10.100
s=-
c=IN IP4 10.10.10.100
t=0 0
m=audio 50000 RTP/AVP 8 0 18 9 97
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:18 G729/8000
a=ptime:20
a=rtpmap:9 G722/8000
a=ptime:20
a=rtpmap:97 telephone-event/8000/1
a=sendrecv
a=fmtp:97 0-15,32-36
2016/05/17 10:53:21.590808 10.10.10.200:5060 -> 10.10.10.100:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
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
Server: sip.local
Content-Length: 0
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>
v=0
o=huawei 1 2 IN IP4 10.10.10.200
s=-
c=IN IP4 10.10.10.200
t=0 0
m=audio 57816 RTP/AVP 8 0 18 9 97
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:18 G729/8000
a=ptime:20
a=rtpmap:9 G722/8000
a=ptime:20
a=rtpmap:97 telephone-event/8000/1
a=sendrecv
a=fmtp:97 0-15,32-36
a=nortpproxy:yes
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>
v=0
o=huawei 1 2 IN IP4 10.10.10.200
s=-
c=IN IP4 10.10.10.200
t=0 0
m=audio 57816 RTP/AVP 8 0 18 9 97
a=rtpmap:8 PCMA/8000
a=ptime:20
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtpmap:18 G729/8000
a=ptime:20
a=rtpmap:9 G722/8000
a=ptime:20
a=rtpmap:97 telephone-event/8000/1
a=sendrecv
a=fmtp:97 0-15,32-36
a=nortpproxy:yes
2016/05/17 10:53:22.990080 10.10.10.100:5060 -> 10.10.10.200:5060
SIP/2.0 100 Trying
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>
CSeq: 2 INVITE
Content-Length: 0
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
2016/05/17 10:53:22.997476 10.10.10.200:5060 -> 10.10.10.100:5060
ACK sip:123456@10.10.10.100:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0
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 ACK
Max-Forwards: 69
Content-Length: 0
2016/05/17 10:53:36.282450 10.10.10.100:5060 -> 10.10.10.200:5060
CANCEL 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 CANCEL
Max-Forwards: 70
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Session-ID: 20zlkckj1kz4ll1i1ic2pl1csk80kli1
Content-Length: 0
2016/05/17 10:53:36.283389 10.10.10.200:5060 -> 10.10.10.100:5060
SIP/2.0 200 ok -- no more pending branches
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>;tag=b79688aec473b5156b1a9f919edc0e49-0b87
CSeq: 2 CANCEL
Server: sip.local
Content-Length: 0
2016/05/17 10:53:53.040976 10.10.10.200:5060 -> 10.10.10.100:5060
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il;rport=5060
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <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
2016/05/17 10:53:53.051396 10.10.10.100:5060 -> 10.10.10.200:5060
ACK 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>;tag=m2scp1cm
CSeq: 2 ACK
Max-Forwards: 70
Content-Length: 0