Displaying 1 result from an estimated 1 matches for "ast_sipreg".
Did you mean:
ast_sipregs
2013 Feb 11
0
Possible Security issue with Kamailio - Asterisk Realtime integration
...76.67' AND port = '5060' AND
callbackextension = '014373500'
OK, the above are fine. Asterisk looks for a user, and a callback exten.
SELECT * FROM ast_sipusers WHERE host = '10.5.76.67' AND port = '5060'
Now Asterisk looks for a peer. Still OK.
SELECT * FROM ast_sipregs WHERE ipaddr = '10.5.76.67' AND port = '5060'
Here Asterisk is checking sipregs for ANY entry with the IP and Port of
Kamailio. In this case it finds the first such user, 485833
SELECT * FROM ast_sipusers WHERE name = '485833'
Now Asterisk treats this call as if it was c...