I’d suggest providing further information about your setup then. For example: the console output, the configuration, whether you are registering or not, the result of “sip set debug on”.
But If I put the below settings, no calls coming and no sip set debugging on working as the sip provider says we are not able to find client machine and which is working on user based registration
sipusers => odbc,asterisk,sip_buddies
sippeers => odbc,asterisk,sip_buddies
extensions => odbc,asterisk,extensions
I am realtime dynamic so outbound registration is working fine without any issues and data is in sip_buddies table but for inbound sip registration is not working
I think you have those reversed. Inbound works fine with realtime, but outbound still requires sip.conf. If you aren’t registering outbound then you will see the behavior you see. No traffic from the SIP provider as they don’t know where you are.
Yup sorry actually I used term in a wrong way, I meant outbound call are working but not inbound call working, so Outbound registration is not working, can you please help me on this?
As I mentioned you have to put the outbound registration in sip.conf, whether that is stored in the file or using static realtime it doesn’t matter. It can not be in dynamic realtime.
For static Realtime I m using the below line means all conf of sip file will be picked from the sip_reg table but then it is not taking the port from bindport of sip.conf…am I doing something wrong here?
sip.conf => odbc,asterisk,sip_reg
Not working by putting bindport field in sip_reg table as it is again reading from sip.conf default port 5060 and I have changed the port in db sip_reg table
You’ve changed stuff around a lot and I have no idea anymore how stuff is configured. Please provide the configuration as well as table schema and contents.