Hi Pavel,

 

your route SIPOUT seems to be the problem. After the route RELAY successfully send the invite to the sip-provider you do not exit the routing. The invite is processed after this in route LOCATION where the t_newtran() throws the error.

 

This should help:

 

route[SIPOUT] {

  if (!uri==myself) {

    append_hf("P-hint: outgoing call\r\n");

    route(RELAY);

    exit;

  }

}

 

Kind regards,

 

Timo

 

 

Von: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Im Auftrag von Pavel Klochan
Gesendet: Mittwoch, 29. Februar 2012 21:53
An: sr-users@lists.sip-router.org
Betreff: [SR-Users] Kamailio error code 500 (6/SL)

 

Hi.

I'm a newbie to Kamailio (so do not judge strictly). I have experience only with Asterisk and now I'm trying to configure Kamailio. With default config all is working as expected, but I'm trying to configure it from zero with minimal functions, but using parts from default config (those parts that I figured out).

With my present config local calls are working great, but I can't make outbound calls.

I've attached config file, sip-trace and debug log.

I think there is a route loop somewhere but I can't figure out where.

I would be grateful if you pointed out to me where exactly my mistake or just point me in the right direction =)

 

Thanks in advance