Re: Registrations and SQLAcct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nicholas,

the parameter for the endpoint IP is %{endpoint-ip} (with a hyphen, not
with an underscore).

Regards,
Jan

Nicholas Thompson wrote:
> Hello,
> 
> I am currently experimenting with implementation of SQLAcct and have come
> across some questions.
> 
> 1.  What would cause an endpoint to register twice at the same time?  I had
> someone fire up PVX so I could watch the table populate and each time they
> started PVX, it would register twice in the database, but only show up once
> in the gatekeeper.
> 
> 2.  When a user unregister's, from the GK, the database doesn't update. I
> suspect it has something to do with my "UnregisterQuery" so I have included
> it for feedback.  How are others handling Unregister events?
> 
> When I run this query on the DB, it works fine, so I am not sure what I
> doing wrong.
> 
> UnregisterQuery= DELETE FROM reg_table WHERE endpoint_ip='%{endpoint_ip}'
> 
> 
> 
> 
> Thanks in advance.
> 
> Nick~
> 
> -- 
> "They that can give up essential liberty to obtain a little safety deserve
> neither liberty nor safety.." -Ben Franklin


-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux