[Spce-user] Call Forward fails

Carsten Bock carsten at ng-voice.com
Thu May 26 10:55:31 EDT 2011


Hi,

that Update breaks my authorization:

May 26 16:53:15 sip /usr/sbin/kamailio[6134]: INFO: <script>: New
request - M=REGISTER R=sip:sip.ng-voice.com
F=sip:annyrolf at sip.ng-voice.com T=sip:annyrolf at sip.ng-voice.com
IP=217.82.24.40:5060 (127.0.0.1:5060)
ID=5A0EB918AAE54B9A at 192.168.178.1
May 26 16:53:15 sip /usr/sbin/kamailio[6134]: ERROR: db_mysql
[km_dbase.c:120]: driver error on query: You have an error in your SQL
syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near ':caller_uuid) from subscriber where
username='annyrolf' AND domain='sip.ng-voice' at line 1
May 26 16:53:15 sip /usr/sbin/kamailio[6134]: ERROR: <core>
[db_query.c:101]: error while submitting query
May 26 16:53:15 sip /usr/sbin/kamailio[6134]: ERROR: auth_db
[authorize.c:99]: failed to query database

Kind regards,
Carsten

2011/5/26 Andreas Granig <agranig at sipwise.com>:
> Hi,
>
> And while checking your issue more deeply, I caught a small bug in the
> rewrite handling in case of CF when a call originates from PSTN also.
>
> Please do:
>
> apt-get update
> apt-get install ngcp-templates-ce-kamailio
> ngcpcfg apply
>
> On 05/26/2011 02:30 PM, Andreas Granig wrote:
>> You need a rewrite rule from +49 to 49 as described in the handbook.
>
> So if it's not already there, insert an Inbound Domain Rewrite Rule in
> the domain your subscriber, which does the CF, is provisioned.
>
> Before the fix above, the peer rewrite rule was used in your particular
> scenario, which was obviously wrong in case of a CF to an internal user.
>
> Andreas
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>
>



-- 
Carsten Bock
http://www.ng-voice.com
mailto:carsten at ng-voice.com

Schomburgstr. 80
22767 Hamburg
Germany

Mobile +49 179 2021244
Office +49 40 34927219
Fax +49 40 34927220




More information about the Spce-user mailing list