Hi there.
I'm still trying to integrate Kamailio and freeswitch... where kamailio acts as a proxy and registrar ... and freeswitch provides conference calls and voicemail.
I have calls between two polycoms working and conference calls work.
But when I try to leave a voice message for a user by dialing 44+ext, the sip proxy never replies to the polycom.
I did a tcpdump and i can see the INVITE from the polycom to the sip proxy multiple times... but no response back. The phone eventually disconnects itself.
Just do a search for "route[FSDISPATCH]".
You will see how I check for the "44" prefix, and then send the call to a route called "FSVBOX".
Any suggestions would be appreciated.
route[FSVBOX] {
if(!($rU=~"^1[0-9][0-9]+$"))
return;
prefix("vb-");
route(FSRELAY);
}
# Send to FreeSWITCH
route[FSRELAY] {
$du = "sip:" + $sel(cfg_get.freeswitch.bindip) + ":"
+ $sel(cfg_get.freeswitch.bindport);
route(RELAY);
exit;
}