<DIV>I have some simple questions and i need your help guys.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have ser server which working fine, between users.</DIV>
<DIV>I am trying to add some more features to the ser. Most important is the IVR.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I installed Asterisk and i am trying to register user in asterisk with no success.</DIV>
<DIV>Part of ser.cfg file where i am trying to redirect the call to the asterisk.</DIV>
<DIV>---------------------------------------------------------------------------------------------------------</DIV>
<DIV>if (method == "INVITE") { <BR>&nbsp;&nbsp;&nbsp; if (uri =~ "sip:1[0-9]{4}@*"){ <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log(1, "Forwarding to Asterisk\n"); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport("xx.xx.xx.xx:xxxx"); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay(); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break; <BR>&nbsp;&nbsp;&nbsp; } <BR>&nbsp;} </DIV>
<DIV>-----------------------------------------------------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>inside sip.conf i have</DIV>
<DIV>-----------------------------------------------------------------------------------------------------</DIV>
<DIV>register =&gt; sipphonenumber:password@siphostname/3333</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>error</DIV>
<DIV>---------------------------------------------------------------------------------------------------------</DIV>
<DIV>chan_sip.c:6819 handle_response: Failed to authenticate on REGISTER to '&lt;sip:sipphonenumber@siphostname&gt;;tag=as12200854'</DIV>
<DIV>&nbsp;</DIV>
<DIV>I need some help with configuring asterisk to work with ser.</DIV>
<DIV>Let's say i am calling from sip phone to number 12345 , i would like to enter into IVR system where i can configure which number to press, what kind of music to play etc.....</DIV>
<DIV>&nbsp;</DIV>
<DIV>The main goal is to create IVR system for identical phone number for SIP users.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for any help.</DIV><p>
                <hr size=1>Do you Yahoo!?<br> 
<a href="http://us.rd.yahoo.com/mail_us/taglines/mobile/*http://mobile.yahoo.com/maildemo">Take Yahoo! Mail with you!</a> Get it on your mobile phone.