<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi All,<br>
<br>
I've got a very annoying peering that requires me to use payload
type number 96 for telephone-event. Currently in asterisk this
hard-coded to 101.<br>
<br>
I've filed a bug (which as Rusty pointed out) which should have
been a feature request to make these numbers configurable.</font><br>
<pre wrap=""><a class="moz-txt-link-freetext" href="https://issues.asterisk.org/jira/browse/ASTERISK-21382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel">https://issues.asterisk.org/jira/browse/ASTERISK-21382</a></pre>
<font face="Helvetica, Arial, sans-serif"><br>
I don't mind writing the patch, but kindly request some guidance
as to the best approach to do this. From what I can tell probably
the most appropriate place to do this would be from
add_static_payload function, but loading the config file from
there everytime seems crazy.<br>
<br>
And I don't think the "telephone-event" string is available at
that point ... so I somehow have to map the ast_format to a string
to look up in the config file (I think this is simple enough using
the ast_rtp_mime_types array.<br>
<br>
Suggestions/pointers much appreciate.<br>
<br>
</font>
<div class="moz-signature">-- <br>
Kind Regards,<br>
Jaco Kroon<br>
<img src="cid:part2.00010202.07040109@uls.co.za" usemap="#Map"
style="color:white" height="100" width="530" border="0">
<map name="Map" id="Map">
<area shape="rect" coords="441,19,460,36"
href="https://www.facebook.com/ultimatelinuxsolutions">
<area shape="rect" coords="441,39,458,57"
href="http://news.uls.co.za/">
<area shape="rect" coords="354,62,461,73"
href="http://www.uls.co.za/">
</map>
</div>
</body>
</html>