Greg - Cirelle Enterprises
2004-Dec-22 15:34 UTC
[Asterisk-Users] register_verify defined in 2 files?
I know I'm getting tired of looking at code, but why is the function register_verify defined in 2 different files? chan_iax2.c line 3860 static int register_verify(int callno, struct sockaddr_in *sin, struct iax_ies *ies) chan_sip.c line 4869 /*--- register_verify: Verify registration of user */ static int register_verify(struct sip_pvt *p, struct sockaddr_in *sin, struct sip_request *req, char *uri, int ignore) Regards Greg
<sarcasim>Hmm..perhaps because SIP and IAX use different registration methods?</sarcasim> -Matthew ----- Original Message ----- From: "Greg - Cirelle Enterprises" <gcirino@cirelle.com> To: <asterisk-users@lists.digium.com> Sent: Wednesday, December 22, 2004 4:34 PM Subject: [Asterisk-Users] register_verify defined in 2 files?> I know I'm getting tired of looking at code, but > why is the function register_verify defined in 2 different > files? > > chan_iax2.c > line 3860 > static int register_verify(int callno, struct sockaddr_in *sin, struct > iax_ies *ies) > > > chan_sip.c > line 4869 > /*--- register_verify: Verify registration of user */ > static int register_verify(struct sip_pvt *p, > struct sockaddr_in *sin, struct sip_request *req, char *uri, int ignore) > > > Regards > Greg > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users