Author |
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: August 16 2011 at 6:09am | IP Logged
|
|
|
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 |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: August 16 2011 at 4:32pm | IP Logged
|
|
|
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 |
|
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: August 17 2011 at 9:04am | IP Logged
|
|
|
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 |
|
|