Hello

On 5/8/13 11:20 AM, zhengyw wrote:
Hello:
    I followed the step by step guide (
http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb) that describe the realtime integration
between Kamailio and Asterisk. I have no problem with registration but when I try a call from 106 to 107 I get the followng error :
 
1. in the asterisk console:  "
Unresolvable destination (478/SL)"
2. in the kamailio log:
   May  6 17:01:38 WH-PC /usr/sbin/kamailio[4192]: ERROR: <core> [resolve.c:1540]: ERROR: sip_hostport2su: could not resolve hostname: "(null)"
   May  6 17:01:38 WH-PC /usr/sbin/kamailio[4192]: ERROR: tm [ut.h:327]: failed to resolve "(null)"
   May  6 17:01:38 WH-PC /usr/sbin/kamailio[4192]: ERROR: tm [t_fwd.c:1530]: ERROR: t_forward_nonack: failure to add branches
   May  6 17:01:38 WH-PC /usr/sbin/kamailio[4192]: ERROR: sl [sl_funcs.c:371]: ERROR: sl_reply_error used: Unresolvable destination (478/SL)

  
Any idea about the cause of this problem?
the invite comes with a bad domain in R_URI, see your logs:

Reliably Transmitting (no NAT) to 10.11.2.47:5060:
INVITE sip:106@(null) SIP/2.0
Via: SIP/2.0/UDP 10.11.2.47:5080;branch=z9hG4bK4e44a5a4
Route: <sip:10.11.2.47;lr=on;ftag=29997>
Probably something is not properly configured in asterisk.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * http://asipto.com/u/katu *