Dear all,

I fixed the issue  by myself.
I have edited chan_sip.c file to avoid sdp version gettng increment.
I think this is a bug of asterisk. According to RFCs it should increment it
only it there is change on SDP message body. chan_sip.c alway increase it by
one at every SDP message. I have edited the below part

 /* Set RTP Session ID and version */
 if (!p->sessionid) {
  p->sessionid = getpid();
  p->sessionversion = p->sessionid;
 } else
  p->sessionversion*++*;

As......

 /* Set RTP Session ID and version */
 if (!p->sessionid) {
  p->sessionid = getpid();
  p->sessionversion = p->sessionid;
 } else
  p->sessionversion;

I have removed ++. I am not good programmer. But asterisk lover.
I dont know this is the best solution. However I can receive calls from Acme
packet.

And other important thing to tell is THIS IS NOT A CODEC ISSUE.

thanks everybody

kind Rgds
Daminda
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to