[Asterisk-Dev] iax2 trunk & mysql friends

Matteo Brancaleoni mbrancaleoni at espia.it
Tue Nov 16 01:52:55 MST 2004


Hi.

I'm trying to be able to use iax2 trunking even
if the users/peers are pulled from mysql db (ie
with iaxfriends support into chan_iax2.c).

To experiment, I simply added a field into
the db (trunk) and set p->trunk=1 if the
field is == 1 , in mysql_user
and mysql_peer functions.

But seems that I can trunk only incoming calls
(ie user part), but not outgoing.

Perhaps I'm missing something, anyone has
some hint where to look, or if that thing
is feasible ?

TNX, Matteo.





More information about the asterisk-dev mailing list