rafaelsnsa at gmail.com Guest
|
Posted: Thu Jul 23, 2015 7:41 pm Post subject: [asterisk-users] Update of dialed number on sip phones |
|
|
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.
(rafaelsnsa@gmail.com)Rafael S. SaraivaPorto Alegre - RS | Mobile: (51) 8174-7956[/url] [url=https://plus.google.com/u/0/+RafaelSaraivaRS] |
|