<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
hi everyone!<br>
<br>
Two days ago we installed asterisk in our labs to do some testing and
try the product with a couple of ITGs. Overall, we really loved it! We
found it easy to configure and manage, and with good debugging options.<br>
<br>
There are a couple of questions I would like to ask:<br>
<br>
a) We had some authentication issues trying to register a Planet ITG
with asterisk. Apparently, asterisk ignored the username attribute on
the sip.conf entry:<br>
[10]<br>
type=friend<br>
username=foo<br>
secret=foosec<br>
host=dynamic<br>
context=sip-call<br>
<br>
The ITG was connecting as 'sip:10@&lt;ITG-IP&gt;' and its md5 was
calculated using the specified user 'foo'. However, asterisk was using
'10' to calculate the md5, and therefore authentication failed.&nbsp; We
don't know if we found a bug or we are doing something wrong ;) (the
code in question is in channels/chan_sip.c:3812, were it looks it sends
peer-&gt;name instead of peer-&gt;username, on v0.9.0).<br>
<br>
b) Is it possible to make asterisk play a file in a codec supported by
the client?? We tried to play tt_monkeys, but we got an error when
passing from GSM to g723, which is ok, but the client supported g711
also, and I suppose it could be used by asterisk. We added allow=g711 to<br>
sip.conf and it worked (however, we had an error if we used allow=all
since it tried sending<br>
in gsm, which wasn't supported by the ITG).<br>
<br>
c)&nbsp; We are getting some <br>
NOTICE: sched.c:218 sched_settime: Request to schedule in the past?!?!<br>
on the CLI, we don't know yet its cause or what it means.<br>
<br>
thanks a lot for the support!<br>
<br>
saludos! santiago.<br>
<b>netlabs</b>
<address> Palmar 2548<br>
Montevideo, Uruguay<br>
+(598 2) 707-7687 </address>
</body>
</html>