Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: SJLab Softphone ulaw support Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: May 28 2006 at 10:11am | IP Logged Quote Jalal

Hi

I tried to connect to Dual Line IVR Sample with SJLab softphone (from www.sjlabs.com) but unfortunately the quality of voices is very bad. I changed the codec with following code :

SetAudioMediaFormat(hSipEngine,PhoneLine,Media_Format_uLaw8k );
SetTxIvrDataType(hIvrTransmit,AUDIO_BW_ULAW_8K);

but the problem did not solve. I also disabled all codecs but Microsoft CCITT G.711 uLaw codec in SJLab Softphone but the problem did not solve.

I also tested my changed software with LanScape's single line softphone sample (set the codec to ulaw) and it worked perfectly correct.

It seems the G.711u (ulaw) implementation of LanScape's Media Engine is different from SJLab's implementation.

Do you have any suggestion?

Here is the log for testing connection with SJLab's softphone:

************* Log Opened (May 28 18:25:45) *************
<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (0 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16



>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (0 Ms, To: 10.10.10.15:1000) >>>>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 127.0.0.1:1000;received=10.10.10.15:1000;branch=z9hG4bK0a0a0 a0f000000604479ba160000624e000000cf
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
To: <sip:10.10.10.15>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
CSeq: 1 INVITE
User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com - This is a trial version not for general deployment)
Content-Length: 0





>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (31 Ms, To: 10.10.10.15:1000) >>>>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 127.0.0.1:1000;received=10.10.10.15:1000;branch=z9hG4bK0a0a0 a0f000000604479ba160000624e000000cf
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
To: <sip:10.10.10.15>;tag=158a58e7
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
CSeq: 1 INVITE
User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com - This is a trial version not for general deployment)
Content-Length: 0





<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (500 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16



>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (547 Ms, To: 10.10.10.15:1000) >>>>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:1000;received=10.10.10.15:1000;branch=z9hG4bK0a0a0 a0f000000604479ba160000624e000000cf
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
To: <sip:10.10.10.15>;tag=158a58e7
Call-Id: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
CSeq: 1 INVITE
Contact: <sip:CTRun@10.10.10.15:5060>
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, SUBSCRIBE, NOTIFY
User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com - This is a trial version not for general deployment)
Content-Length: 159
Content-Type: application/sdp

v=0
o=LanScape 3357816983 3357816983 IN IP4 10.10.10.15
s=LanScape
c=IN IP4 10.10.10.15
t=0 0
m=audio 8000 RTP/AVP 0
a=rtpmap:0 PCMU/8000/1
a=ptime:20



<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (188 Ms, From: 10.10.10.15:1000) <<<<
ACK sip:CTRun@10.10.10.15:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba170 0007e88000000d3
Content-Length: 0
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
CSeq: 1 ACK
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>;tag=158a58e7
User-Agent: SJphone/1.60.289a (SJ Labs)




<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (812 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16



<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (2000 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16



<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (4000 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16



>>>> TxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTxTx (13157 Ms, To: 127.0.0.1:1000) >>>>
BYE sip:127.0.0.1:1000 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.15:5060
From: <sip:10.10.10.15>;tag=158a58e7
To: "unknown"<sip:127.0.0.1>;tag=36136929622706
Call-Id: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
CSeq: 361409891 BYE
Max-Forwards: 70
User-Agent: LanScape VOIP Media Engine/5.11.0205 (www.LanScapeCorp.com - This is a trial version not for general deployment)
Content-Length: 0




<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (6328 Ms, From: 10.10.10.15:1000) <<<<
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.10.15:5060
Content-Length: 0
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
CSeq: 361409891 BYE
From: <sip:10.10.10.15>;tag=158a58e7
Server: SJphone/1.60.289a (SJ Labs)
To: "unknown"<sip:127.0.0.1>;tag=36136929622706




<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (1672 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16



<<<< RxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRxRx (16000 Ms, From: 10.10.10.15:1000) <<<<
INVITE sip:10.10.10.15 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1000;rport;branch=z9hG4bK0a0a0a0f000000604479ba160 000624e000000cf
Content-Length: 213
Contact: <sip:127.0.0.1:1000>
Call-ID: 814FE37C-C450-4CF1-87D4-003956D18A01@10.10.10.15
Content-Type: application/sdp
CSeq: 1 INVITE
From: "unknown"<sip:127.0.0.1>;tag=36136929622706
Max-Forwards: 70
To: <sip:10.10.10.15>
User-Agent: SJphone/1.60.289a (SJ Labs)

v=0
o=- 3357816981 3357816981 IN IP4 127.0.0.1
s=SJphone
c=IN IP4 127.0.0.1
t=0 0
a=direction:active
m=audio 49200 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16

Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: May 30 2006 at 7:06am | IP Logged Quote support

There is no problem with the VOIP Media Engine's implementation of G711 uLaw codec. If SJPhone sound quality is no good, it must be a configuration problem with SJPhone. Try a couple of different soft phones or other IP desktop phones to see if the problem is consistent.

For example, I just called 2 other phones here in our office using a utility soft phone we use here built around the VOIP Media Engine. I called a Polycom 501 IP desk phone and a Grandstream BT102 IP phone. I used uLaw. Sounds great. Perform a little process of elimination and you will probably locate the problem. If we get time we will try to test with SJPhone.

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: May 30 2006 at 7:20am | IP Logged Quote Jalal

I was sure your uLaw Codec implementations is correct. But I though there should be another version of uLaw that is implemented by SJLab softphone.

I tested your software's uLaw codec with three other softphones and all of them worked completely correct with yours. One of them that is free is Phoner from www.phoner.de which works fully functional with LanScape's Media Engine.

It's better you test this codec with SJLab's softphone yourself. There is a free trial version of this software from www.sjlabs.com .

Thanks
Jalal Abedinejad
Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights