Dear All,
I am testing wikipbx with PostgreSQL and all works very well, but i have a questions:
1) I have few endpoints and gateways working fine, but in the Wikipbx the endpoints are offline; when yes are registered on FreeSwitch and i can receive and originate calls from it's, for example endpoint 101 are offline in Wikipbx but in FS_CLI is registered:
Call-ID: 3c267fbd83d6-u21iz1ru31i8@snom300-000413259778
User: 442.891.111.002|101#442.891.111.002|101
Contact: "101" <sip:601.531.68.002|101#601.531.68.002|101:59337;line=phtjisef;fs_nat=yes>
Agent: snom300/6.2.3
Status: Registered(AUTO-NAT)(unknown) EXP(2009-06-03 22:44:31)
Host: fs
IP: 200.86.135.106
Port: 59337
Auth-User: 101
Auth-Realm: 200.111.198.244
Any idea?
2) For every call i have 2 tuples in the database; for example:
id | account_id | uuid | caller_id_number | destination_number | chan_name | answered_time | hangup_time
-+--+--------+----+----+---+----—+----—
418 | 1 | 42020642-5052-11de-afcf-67f40bb67bf9 | 42452904 | 56968482060 | 56968482060 | 2009-06-03 11:22:01-04 | 2009-06-03 11:22:22-04
id | account_id | uuid | caller_id_number | destination_number | chan_name | answered_time | hangup_time
-+--+--------+----+----+-----+----+----—
419 | 1 | 41dfbd08-5052-11de-afcf-67f40bb67bf9 | 42452904 | 56968482060 | 521.71.802.091|40925424#521.71.802.091|40925424 | 2009-06-03 11:22:01-04 | 2009-06-03 11:22:22-04
The differece between both tuples is in column chan_name where in the tuple id = 418 is 56968482060 and the tuple id = 419 is 521.71.802.091|40925424#521.71.802.091|40925424
My questions is: for i will could sending CDR to my customers, i only get from the table wikipbx_completecall all calls where destination_number = chan_name so i not duplicate the CDR?.
3) And how i can assign every gateway with some account; example gateway 1 and gateway 2 to accountcode X; for i could do billing for every accountcode?
I hope you understand me and excuse my english.
Beste regards.
Fernando Villarroel.





