I want to implement sip to sip call for my mobile application. I used realtime SIP in asterisk for sip to sip call but i am getting so many issues in that. Mostly i get " CHANUNAVAIL" and "500 Internal server Error" . Can anyone suggest me how to do sip to sip call without any problems. I am using realtime asterisk but facing so many problems.
Your likely having a NAT issue. I suggest doing the config in conf files first then migrating to real time. If you have some log files I will be glad to give you some suggestions.
Include in your sip.conf section [general]:
Asterisk needs these parameters to work with realtime.