search for: realtime_update_p

Displaying 3 results from an estimated 3 matches for "realtime_update_p".

2007 Feb 11
0
realtime and save ip server in database
Hello I change this from chan_sip.conf (see ipsvr): static void realtime_update_peer(const char *peername, struct sockaddr_in *sin, const char *username, const char *fullcontact, int expirey) { char port[10]; char ipaddr[20]; char regseconds[20]; time_t nowtime; -> char ipsvr[20]; time(&nowtime); nowtime += e...
2004 Dec 14
3
Problems with app_realtime
It seems that when setting qualify = 200 or qualify = yes in the database for a sip friend/peer, RealTime does not update the registration status like it should. I also have several peers which have been offline and Asterisk still reports them as registered, even though the registration seconds are only 200. Asterisk Ver: CVS HEAD 12/1/2004 Layout of sip_buddies: mysql> describe
2009 Nov 25
0
asterisk + res_config_ldap = asterisk.core
...-1 db = "ou=users,o=domain", '\0' <repeats 237 times> table = "sip", '\0' <repeats 252 times> ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffff8923a0, reg_save_area = 0x7fffff8922b0}} #7 0x0000000809019822 in realtime_update_peer (peername=0x802859a00 "dummyuzer", sin=0x80285a330, defaultuser=0x802859bd0 "dummyuzer", fullcontact=0x0, expirey=3600, deprecated_username=0, lastms=0) at chan_sip.c:3626 port = "5060\000\000\000\000@?" ipaddr = "10.3.8.104\000\000\000\000\...