Thanks Matt, that is exactly what I was looking for. <br><br><div class="gmail_quote">On Fri, Jan 18, 2013 at 5:24 PM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/18/2013 05:37 AM, Salman Zafar wrote:<br>
<br>
> No luck so far, should I consider it a bug in Asterisk 11 as I have<br>
> tried different version of Asterisk 11 as well. Carrier sends BYE with<br>
> service not implemented where as asterisk advertise udptl in SDP for<br>
> Answer. I do not want it to be advertised by Asterisk 11 in Answer() as<br>
> I am not using it(udptl, fax etc) in any case.<br>
><br>
><br>
<br>
</div>It is not a bug in Asterisk. Asterisk is following what the RFC says it<br>
MUST do. It is, however, a bug with your carrier. I would do the following:<br>
<br>
1) Contact your carrier and ask why they are rejecting the 200 OK.<br>
<br>
2) Assuming they won't change their behaviour, find out what they want<br>
in a response that declines an image media format. Without knowing what<br>
your carrier thinks the SDP should look like, any modifications you make<br>
to Asterisk will be guesses.<br>
<br>
3) When you find out what they want, modify chan_sip so that it answers<br>
back with whatever they told you they want. This will occur in<br>
chan_sip's add_sdp method - in particular, look for the portion where<br>
add_sdp adds *either* the m_modem/a_modem strings to the SDP *or* the<br>
pre-formatted decline_m_line.<br>
<br>
Matt<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Matthew Jordan<br>
Digium, Inc. | Engineering Manager<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="'times new roman', serif">Regards</font><div><font face="'times new roman', serif"><br></font><div><pre cols="72"><font face="'times new roman', serif">**************************
Muhammad Salman Zafar
***************************</font>
</pre></div></div>