<div>hi list,</div>
<div> i need some help here...</div>
<div> </div>
<div>i have the following setup</div>
<div> </div>
<div>1. openser running on port 5060 - succesfully registering endpoints. all good.</div>
<div>2 asterisk 1.2 running sip on port 5070 on the same machine.</div>
<div>3. asterisk 1.09 running sip on port 5070 a different machine.</div>
<div> </div>
<div>i have 2 routes in my openser.cfg:</div>
<div>1:</div>
<div> if (uri =~ "sip:011973[0-9]{8}@*")<br> {<br> log(1, "Forwarding to Asterisk\n");<br> rewritehostport("asterisk1IP:5070");
<br> route(1);<br> return;<br> }</div>
<div> </div>
<div>2:</div>
<div> if (uri =~ "sip:1[0-9]{10}@*")<br> {<br> log(1, "Forwarding to Asterisk\n");<br> rewritehostport("asterisk2IP:5070");
<br> route(1);<br> return;<br> }<br> </div>
<div>route 2 works fine (to asterisk 1.09).</div>
<div>sip.conf on asterisk 1.09 looks like this:</div>
<div> </div>
<div>; SIP Configuration for Asterisk<br>;<br>[general]<br>port=5070 ; Port to bind to<br>bindport=5070<br>disallow=all ; Disallow all codecs<br>allow=ulaw<br>allow=alaw<br>allow=ilbc
<br>allow=gsm<br>dtmfmode=rfc2833<br>relaxdtmf=yes<br>tos=lowdelay</div>
<div>context=myContext<br>canreinvite=no<br>host=dynamic<br>insecure=port,invite<br>nat=yes<br>qualify=1000</div>
<div>autocreatepeer=yes<br> </div>
<div>for the life of me, i cannot get SER to talk to asterisk1 (with 1.2 release). the same sip.conf doesn't work at all - asterisk completely ignores the requests (even at most verbose) - I've tried everything. if anyone has any ideas i'd be very grateful. I need to have SER talk to asterisk without defining a
sip.conf entry for every entry.</div>
<div> </div>
<div>really, i'm tearing my hair out - please help.</div>
<div> </div>
<div>-yair</div>
<div><br> </div>