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?
Thanks Kamal
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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 mailto: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
Hi Daniel Thanks for your response.
I have a message as below.
PUBLISH tel:+915346586495469 SIP/2.0 Via: To: From: Route: sip:main_proxy_ip .. .. 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.comwrote:
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.comhttp://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
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. PUBLISH tel:+915346586495469 SIP/2.0 Via: To: From: Route: sip:main_proxy_ip .. .. 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 mailto: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 <mailto: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://www.asipto.com/> http://twitter.com/#!/miconda <http://twitter.com/#%21/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