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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers