[OpenSIPS-Users] adding 1 alias to more than one subscriber

Toyima Dias toyimads at gmail.com
Tue May 17 15:44:03 CEST 2011


 Is it possible to add the same alias to more than one subscriber? for
example, if an incoming call to the number 14882736524 is assigned to
subscriber 1000, is it possible to assign this DID to subscriber 1001? the
idea is to create a group of ringing or something like that, is that
possible? i've tried to insert the data on phpmyadmin and also on
opensips-panel, it doesn't work:

 Error

*consulta SQL:* [image:
Editar]<http://192.168.131.129/phpmyadmin/tbl_sql.php??sql_query=INSERT+INTO+%60opensips%60.%60dbaliases%60+%28%60id%60%2C+%60alias_username%60%2C+%60alias_domain%60%2C+%60username%60%2C+%60domain%60%29+VALUES+%28NULL%2C+%27314001%27%2C+%27192.168.131.129%27%2C+%271000%27%2C+%27192.168.131.129%27%29&show_query=1&db=opensips&table=dbaliases&token=df348af6b04abdb29f30124fc85619f8>

INSERT INTO `opensips`.`dbaliases` (
`id` ,
`alias_username` ,
`alias_domain` ,
`username` ,
`domain`
)
VALUES (
NULL , '314001', '192.168.131.129', '1000', '192.168.131.129'
)

*MySQL ha dicho: *[image:
Documentación]<http://dev.mysql.com/doc/refman/5.1/en/error-messages-server.html>
#1062 - Duplicate entry '314001-192.168.131.129' for key 'alias_idx'


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110517/d6ad4f4e/attachment.htm>


More information about the Users mailing list