непонятки с res_config_pgsql
Все здравствуйте.
Решил пиограться с realtime конфигами.
Asterisk 1.6.0-beta8
PostgreSQL 8.1
iax настроен статически (iax.conf)
в sip.conf нет ни одного пира
extconfig.conf:
sipusers => pgsql,asterisk,sip_buddies
sippeers => pgsql,asterisk,sip_buddies
схема: входящий по iax должен попадать на sip-peer из базы.
exten => _20Z,1,Dial(SIP/mp124/${EXTEN})
Попадает, но:
-- Accepting AUTHENTICATED call from 10.12.0.1:
> requested format = alaw,
> requested prefs = (alaw|g729),
> actual format = g729,
> host prefs = (g729),
> priority = mine
-- Executing [203@from_ip:1] Dial("IAX2/edge-12329", "SIP/mp124/203") in new stack
== Using SIP RTP CoS mark 5
[May 5 10:17:32] WARNING[3138]: res_config_pgsql.c:195 realtime_pgsql: PostgreSQL RealTime: Could not find any rows in table sip_buddies.
[May 5 10:17:32] WARNING[3138]: res_config_pgsql.c:195 realtime_pgsql: PostgreSQL RealTime: Could not find any rows in table sip_buddies.
[May 5 10:17:32] WARNING[3138]: res_config_pgsql.c:195 realtime_pgsql: PostgreSQL RealTime: Could not find any rows in table sip_buddies.
-- Called mp124/203
[May 5 10:17:32] WARNING[3138]: res_config_pgsql.c:195 realtime_pgsql: PostgreSQL RealTime: Could not find any rows in table sip_buddies.
[May 5 10:17:32] WARNING[3138]: res_config_pgsql.c:195 realtime_pgsql: PostgreSQL RealTime: Could not find any rows in table sip_buddies.
[May 5 10:17:32] WARNING[3138]: res_config_pgsql.c:195 realtime_pgsql: PostgreSQL RealTime: Could not find any rows in table sip_buddies.
-- SIP/mp124-08390c20 is ringing
подскажите пожалуйста, как это отдебажить?
каких rows ему не хватает?
|