Dear Mathew
I found that u can setup astersik for routing by
caller id, with dbase.
I have installed, asterisk , with postgresql.
it 's the view of extensions table:
didex=# select * from extensions order by id desc
limit 5;
id | context | exten | priority | app |
appdata |
description
----+---------+--------------+----------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
460 | DID | 441216182112 | 2 | hangup |
|
459 | DID | 441216182112 | 1 | Dial |
SIP/8684831@sipgate|60 | pezhman
in this mode, i dont have any problem,
but I want to route by caller id, from a system that
supports caller id,
new value in dbase is:
id | context | exten | priority | app |
appdata |
description
----+---------+--------------+----------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
460 | DID | 441216182112/871171965 | 2 |
hangup | |
459 | DID | 441216182112/871171965 | 1 |
Dial | SIP/8684831@sipgate|60 | pezhman
it does not work, by a call from 871171965.
the point is that when I test those values , they
also did'nt work
id | context | exten | priority | app |
appdata |
description
----+---------+--------------+----------+--------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
460 | DID | _4412161X2112 | 2 | hangup |
|
459 | DID | _4412161X2112 | 1 | Dial |
SIP/8684831@sipgate|60 | pezhman
please help me.
where is the problem?
is it need new field for pattern?
Best
Pezhman
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com