if (uri == "sip:[EMAIL PROTECTED]")
{
log(1, "Forwarding to Voicemail\n");
rewritehostport("myIP:5070");
route(1);
break;
}
and in SIP.conf (this is what i have after some hours of trying, but it doesnt seem to be helping):
bindaddr=myIP
bindport=5070
disallow=all ; Disallow all codecs
allow=ulaw
allow=alaw
allow=ilbc
allow=gsm
dtmfmode=rfc2833
autocreatepeer=yes
insecure=port,invite
[SER]
type=friend
host=myIP
fromdomain=myDomain
context=mycontext
canreinvite=no
insecure=very
if anyone can help i'd me most grateful. I originally thought it would be as simple as changing "port" to "bindport" in sip.conf. Oh, how wrong i was.
thanks,
yair
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users