[OpenSIPS-Users] carrierroute problem

TCB tawandac at gmail.com
Tue Oct 7 13:53:42 CEST 2008


I'm trying carrierroute with opensips-1.4.2 and i keep getting the following
error from
the opensipsctl command
siproxy02 ~ # opensipsctl cr addcarrier 0 "" 0 15.10.15.10


pgsql_query: /usr/bin/psql  -A -q -t -P fieldsep='    ' -h localhost -U
opensips opensips -c 'insert into carrierroute                 ( carrier,
                scan_prefix,                 domain,                 prob,
        strip,                 rewrite_host,                 rewrite_prefix,
    rewrite_suffix,                 description,                 flags,
    mask )                 VALUES (0, '', '0', 1, 0,                 '
15.10.15.10', '', '', '',                 , );'
ERROR:  syntax error at or near ","
LINE 1: ...S (0, '', '0', 1, 0,     '15.10.15.10', '', '', '',     , );
                                                                   ^
ERROR: cr - SQL Error

Please help

-- 
TC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081007/b243a87d/attachment.htm 


More information about the Users mailing list