Author |
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: May 14 2007 at 10:59am | IP Logged
|
|
|
Hi,
We have following configuration. A Planet hardphone supporting G.729 connects to a Media Engine Softphone which has selected all available codecs but the most priority codec is G.729. The connection is done through a 3CX Proxy which does not support G.729. The connection is done sucessfully as expected with G.729 codec. But during the call Planet hardphone tries to Hold the line. As Hold will be done through the Proxy, Proxy sends a SIP invite message to Media Engine Softphone requesting sendonly for Hold. In this invite message G.729 is not selected because the 3CX does not support this codec and this is true.
Unfortunately Media Engine softphone accepts the invite message with a SIP OK message noting G.729 codec is selected!!! As this codec is not supported with 3CX it starts playing Hold music with PCM codec. Then the music is not heard correctly at our softphone side.
I think you should dynamically change your selected codec when new invite messages is received and this is a bug.
See the log:
Code:
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#1, 0 Ms, To: 10.10.10.10:5060) >>>>
REGISTER sip:svr3 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.14:5060;rport;branch=z9hG4bK019eba51
From: <sip:103@svr3>;tag=19ec5a1
To: <sip:103@svr3>
Call-Id: dfb2a0c3-a87d-4de4-bb3c-7b95be662886-00000468@10.10.10.14
CSeq: 10411051 REGISTER
Expires: 3600
Max-Forwards: 70
Contact: <sip:103@10.10.10.14:5060>;user=phone
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 0
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#1, 0 Ms, From: 10.10.10.10:5060) <<<<
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.10.10.14:5060;rport=5060;branch=z9hG4bK019eba51
Proxy-Authenticate: Digest nonce="12823630481:53720af269737a35de545c50b1ecad30",algorit hm=MD5,realm="3CXPhoneSystem"
To: <sip:103@svr3>;tag=143d7a58
From: <sip:103@svr3>;tag=19ec5a1
Call-ID: dfb2a0c3-a87d-4de4-bb3c-7b95be662886-00000468@10.10.10.14
CSeq: 10411051 REGISTER
User-Agent: 3CXPhoneSystem
Content-Length: 0
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#2, 110 Ms, To: 10.10.10.10:5060) >>>>
REGISTER sip:svr3 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.14:5060;rport;branch=z9hG4bK019ec27a
From: <sip:103@svr3>;tag=19ed3cc
To: <sip:103@svr3>
Call-Id: dfb2a0c3-a87d-4de4-bb3c-7b95be662886-00000468@10.10.10.14
CSeq: 10411052 REGISTER
Proxy-Authorization: Digest algorithm=md5,nonce="12823630481:53720af269737a35de545c50b1e cad30",realm="3CXPhoneSystem",response="c860da86a163d8ed570e 8a294e542067",uri="sip:svr3",username="103"
Expires: 3600
Max-Forwards: 70
Contact: <sip:103@10.10.10.14:5060>;user=phone
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 0
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#2, 109 Ms, From: 10.10.10.10:5060) <<<<
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.14:5060;rport=5060;branch=z9hG4bK019ec27a
Contact: <sip:103@10.10.10.14:5060>;expires=3600
To: <sip:103@svr3>;tag=910f955e
From: <sip:103@svr3>;tag=19ed3cc
Call-ID: dfb2a0c3-a87d-4de4-bb3c-7b95be662886-00000468@10.10.10.14
CSeq: 10411052 REGISTER
User-Agent: 3CXPhoneSystem
Content-Length: 0
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#3, 19531 Ms, From: 10.10.10.10:5060) <<<<
INVITE sip:103@10.10.10.14:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK-d87543-51659b4ee1109d66-1--d 87543-;rport
Max-Forwards: 70
Contact: <sip:100@10.10.10.10:5060>
To: "103"<sip:103@10.10.10.14:5060>
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
Content-Type: application/sdp
Content-Length: 299
v=0
o=3cxPS 12823630501294 12823630501296 IN IP4 10.10.10.10
s=3cxPS Audio call
c=IN IP4 10.10.10.198
t=0 0
m=audio 10002 RTP/AVP 4 0 8 18 98
a=rtpmap:4 G723/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
a=ptime:30
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#3, 19656 Ms, To: 10.10.10.10:5060) >>>>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.10.10.10:5060;received=10.10.10.10;rport=5060;branch=z9hG 4bK-d87543-51659b4ee1109d66-1--d87543-
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
To: "103"<sip:103@10.10.10.14:5060>
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 1 INVITE
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 0
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#4, 0 Ms, To: 10.10.10.10:5060) >>>>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.10.10.10:5060;received=10.10.10.10;rport=5060;branch=z9hG 4bK-d87543-51659b4ee1109d66-1--d87543-
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
To: "103"<sip:103@10.10.10.14:5060>;tag=19f247b
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 1 INVITE
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 0
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#5, 1766 Ms, To: 10.10.10.10:5060) >>>>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;received=10.10.10.10;rport=5060;branch=z9hG 4bK-d87543-51659b4ee1109d66-1--d87543-
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
To: "103" <sip:103@10.10.10.14>;tag=19f247b
Call-Id: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 1 INVITE
Contact: <sip:103@10.10.10.14:5060>
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, SUBSCRIBE, NOTIFY
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 173
Content-Type: application/sdp
v=0
o=LanScape 3388145831 3388145831 IN IP4 10.10.10.14
s=LanScape
c=IN IP4 10.10.10.14
t=0 0
m=audio 8838 RTP/AVP 18
a=rtpmap:18 G729/8000/1
a=sendrecv
a=ptime:20
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#4, 1891 Ms, From: 10.10.10.10:5060) <<<<
ACK sip:103@10.10.10.14:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK-d87543-5b24514af10f5b6f-1--d 87543-;rport
Max-Forwards: 70
Contact: <sip:100@10.10.10.10:5060>
To: "103"<sip:103@10.10.10.14>;tag=19f247b
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 1 ACK
Content-Length: 0
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#5, 4813 Ms, From: 10.10.10.10:5060) <<<<
INVITE sip:103@10.10.10.14:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK-d87543-5058c67ff4531b0f-1--d 87543-;rport
Max-Forwards: 70
Contact: <sip:100@10.10.10.10:5060>
To: "103"<sip:103@10.10.10.14>;tag=19f247b
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
Content-Type: application/sdp
Content-Length: 254
v=0
o=3cxPS 12823630501294 12823630501297 IN IP4 10.10.10.10
s=3cxPS Audio call
c=IN IP4 10.10.10.10
t=0 0
m=audio 7092 RTP/AVP 0 8 3 98
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:98 telephone-event/8000
a=sendonly
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#6, 4922 Ms, To: 10.10.10.10:5060) >>>>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.10:5060;rport;received=10.10.10.10;branch=z9hG4bK-d 87543-5058c67ff4531b0f-1--d87543-
From: "100" <sip:100@10.10.10.10>;tag=87691854
To: "103" <sip:103@10.10.10.14>;tag=19f247b
Call-Id: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 2 INVITE
Contact: <sip:103@10.10.10.14:5060>
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, SUBSCRIBE, NOTIFY
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 173
Content-Type: application/sdp
v=0
o=LanScape 3388145831 3388145831 IN IP4 10.10.10.14
s=LanScape
c=IN IP4 10.10.10.14
t=0 0
m=audio 8838 RTP/AVP 18
a=rtpmap:18 G729/8000/1
a=recvonly
a=ptime:20
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#6, 109 Ms, From: 10.10.10.10:5060) <<<<
ACK sip:103@10.10.10.14:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK-d87543-dd556e0ad9272c6d-1--d 87543-;rport
Max-Forwards: 70
Contact: <sip:100@10.10.10.10:5060>
To: "103"<sip:103@10.10.10.14>;tag=19f247b
From: "100"<sip:100@10.10.10.10:5060>;tag=87691854
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 2 ACK
Content-Length: 0
>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (#7, 7531 Ms, To: 10.10.10.10:5060) >>>>
BYE sip:100@10.10.10.10 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.14:5060;rport;branch=z9hG4bK019f7b57
From: "103"<sip:103@10.10.10.14:5060>;tag=19f247b
To: "100"<sip:100@10.10.10.10:5060>;tag=87691854
Call-Id: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 2 BYE
Max-Forwards: 70
User-Agent: LanScape VOIP Media Engine/5.12.3.29 (www.LanScapeCorp.com)
Content-Length: 0
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (#7, 7531 Ms, From: 10.10.10.10:5060) <<<<
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.14:5060;rport=5060;branch=z9hG4bK019f7b57
Contact: <sip:100@10.10.10.10:5060>
To: "100"<sip:100@10.10.10.10:5060>;tag=87691854
From: "103"<sip:103@10.10.10.14:5060>;tag=19f247b
Call-ID: NTQxZTg2Yzc2NmNlNmY4ZjNhOWJlYzFmY2MxOWMxYWI.
CSeq: 2 BYE
Content-Length: 0
|
|
|
Regards,
Jalal
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: May 15 2007 at 9:01am | IP Logged
|
|
|
Hi Jalal,
You're killing us :)
No really, the information you are posting helps very much. Every nuance, every behavior and every inter-op issue you have posted has been logged for our developers. We thank you for your effort.
We agree in general that codec re-negotiation should be supported. Consider it added to the list.
Support
|
Back to Top |
|
|
|
|