Hi I has 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. so for intersting I test this value too, it does not work too: id | context | exten | priority | app | appdata | description -----+---------+--------------+----------+--------+------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 460 | DID | _4412161X2112 | 2 | hangup | | 459 | DID | _4412161X2112 | 1 | Dial | SIP/8684831@sipgate|60 | pezhman where is the problem? Best Pezhman __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com