Hello,
do you have a Route header also for kamailio proxy? If yes, try to
do loose_route() and then t_relay().
If not, get the address from Route in $du and relay:
$du = $(hdr(Route){nameaddr.uri});
remove_hf("Route");
t_relay();
exit;
Cheers,
Daniel
On 10/3/12 1:46 PM, Kamal Palei wrote:
Hi Daniel
Thanks for your response.
I have a message as below.
Via:
To:
From:
..
..
This message comes from phone to Kamailio proxy.
I just need Kamailio proxy just forward this message to main
proxy without modifying tel uri present in request uri.
Can this be acheived by tel2sip() api.
Thanks
Kamal
On Wed, Oct 3, 2012 at 4:37 PM,
Daniel-Constantin Mierla
<miconda@gmail.com> wrote:
Hello,
On 10/3/12 12:36 PM, Kamal Palei wrote:
Changing the subject line
On Wed, Oct 3, 2012 at 3:54 PM,
Kamal Palei
<palei.kamal@gmail.com>
wrote:
Hi All
I am using Kamailio - 3.1.5 version.
When a message of tel URI comes to Kamailio,
Kamailio is not forwarding the message to next
proxy.
If is returning "478 Unresolved response" .
Can somebody give me some pointer how do I handle
this situation?
kamailio cannot forward when there is tel uri -- it requires
a domain part (hostname/ip) to know where to send the
requests.
See this function that should help you convert the tel uri
to sip uri:
http://kamailio.org/docs/modules/stable/modules_k/siputils.html#id2494464
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu