[asterisk-users] Update of dialed number on sip phones

Rafael dos Santos Saraiva rafaelsnsa at gmail.com
Thu Jul 23 19:41:20 CDT 2015


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] <rafaelsnsa at gmail.com>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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150723/050e29ca/attachment.html>


More information about the asterisk-users mailing list