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™ - Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Technical Support
Subject Topic: LME Sends -1 for PCMU codec Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: August 16 2011 at 6:09am | IP Logged Quote Jalal

Hi Randal,

We recently get a request to work with a SoftPBX which does not send SDP in first INVITE message. When LME tries to accept the call using SIP 200 OK, it sends a SDP message with -1 for PCMU (see the log). This bad behaviour will cause the call be terminated by the SoftPBX.

Code:

Content-Type: application/sdp

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



I tried to change -1 to 0 using ModifySIPMessage function. Then the call was started but this time LME tried to send RTP packets with 0x7F (= -1) in Payload Type parameter. So these RTP packets are not recognized by SoftPBX and are dropped.

I have only set Media_Format_uLaw8k with SetAudioMediaFormat function for all phone lines.

Do you have any suggestion to solve this problem?

Thanks
Jalal
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: August 16 2011 at 4:32pm | IP Logged Quote support


Yes, I can think of two separate “work arounds” for this issue that could work.

Unfortunately we can not work with each other seeing you are in Iran and we are in the USA. If only our governments could figure out a way to “get along”. Then we would be able to work peacefully with each other. It is too bad really…

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: August 17 2011 at 9:04am | IP Logged Quote Jalal

Hi,

Thanks to your documentation, I found EnableRawRtpPacketAccess to change Tx RTP packet's payload type.

Say hello to your government ;)

Hope to see Free Iran soon
Good luck
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