first, you have to look if your iptables are open.
use the xlog module to print in the syslog some control messages. exemple that you can insert in route{:
xlog("L_ERR", "method <$rm>_uri <$ru>fu : $fu ,fn : $fn, si:<$si>\n");
to have a look in the syslog: tail -f /var/log/syslog
you can see if a call is coming!
in asterisk, add peer in sip.conf:
[ser1]
type=friend
host=192.168.1.100
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
canreinvite=no
qualify=yes
context=fromkamailio
insecure=invite
in the extensions.conf:
[fromkamailio]
exten => _0XX.,1,Dial(SIP/trunk/${EXTEN})
[default]
exten => _0XX.,1,Dial(SIP/ser1/${EXTEN})
have fun
