Define a context within your extensions.conf and sip.conf files with logic
defining what to do with the incoming (from SER) call. I did not
register my
endpoints in sip.conf. Instead I let the context statement in sip.conf
determine
how extensions.conf handles the call. In my case Asterisk is only used as
a voicemail server so this works.
-Steve
Ahmed Boreau wrote:
Hi,
I need help. I'm actually trying to set up ser+asterisk which are
actually working separately.
By now, I want to let asterisk receiving ser calls.
I add these commands into ser.cfg
if(method=="INVITE"){
if (uri=~"^sip:1[0-9]{10}@*") {
log(1,"Forwarding to Asterisk\n");
rewritehostport("10.0.0.13: 5061");
t_relay();
break;
}
}
What could I need to do into sip.conf at * side.
Thanks in advance
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
ISC Network Engineering
The University of Pennsylvania
3401 Walnut Street, Suite 221A
Philadelphia, PA 19104
voice: 215-573-8396
215-746-7903
fax: 215-898-9348
sip:blairs@net.isc.upenn.edu (8 rings for vm)