Hi

I have a dialplan that search a phone from dialed code, i.e:

mysql table:
code:1234
dest: +555133449966

query in odbc function:
SELECT dest FROM my_table WHERE code = '${ARG1}'

dialplan:
exten => _#7XXXX,1,Set(DESTNO=${ODBC_query_dest_in_table(${EXTEN:2})})
same  => n,Dial(SIP/xxx.xxx.xxx/${DESTNO},30,tT)
same  => n,hangup

I need to update the dialed number in the screen of SIP phones, when query
search the number, the Asterisk should update the #7xxxx for the found
number. I know that this facility probably should to be supported by the
phones. I tried change the parameters like pid, rpid, but no success. In
Asterisk, is it possible? Which parameters need I change? And in the sip
phone, which facilities should it have?

Thanks in advance.



[image: Sua Foto] <[email protected]>Rafael S. SaraivaPorto Alegre - RS
| Mobile:  (51) 8174-7956
<http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>
<https://plus.google.com/u/0/+RafaelSaraivaRS>
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to