[Kamailio-Users] Unable to lookup host in c= line,

Tincho ylm sadzas at gmail.com
Wed Sep 23 17:58:08 CEST 2009


Hi all!

I'm trying to make a realtime environment openser-asterisk. At this
moment, everything is working fine but I have problems with VM
feature.
What I'm doing is:

A call B
If B is busy and returns 486
Openser send this to Asterisk.

failure_route[1] {
	if(!t_was_cancelled()) {
		if (t_check_status("487|486")) {
			rewritehostport("200.xx.xx.xx:5060");
			append_branch();
			xlog("L_INFO","---> To Voicemail...\n");
			setflag(10);
			route(1);
			exit;
		}
		if (isbflagset(6) || isflagset(5)) {
			unforce_rtp_proxy();
		}
	}
}

Asterisk cant handle it because this error:

chan_sip.c:5121 process_sdp: Unable to lookup host in c= line, 'IN IP4
200.xx.xx.xx200.xx.xx.xx'
chan_sip.c:5121 process_sdp: Unable to lookup host in c= line, 'IN IP4
200.xx.xx.xx200.xx.xx.xx'
chan_sip.c:5121 process_sdp: Unable to lookup host in c= line, 'IN IP4
200.xx.xx.xx200.xx.xx.xx'

I'm using:
Kamailio 1.4.4
Rtpproxy
Asterisk 1.4.22

Is it a rtpproxy issue? it can fix it?

If I make a ethereal capture, I can see in the MESSAGE BODY this:

connection inrfomation (c): IN IP4 200.xx.xx.xx200.xx.xx.xx

What can I do?

thanks in advance.



More information about the Users mailing list