<div dir="ltr"><div dir="ltr">Thanks Răzvan,</div><div>Providing socket in dispatcher worked for me.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018 at 4:13 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Then try to force_send_socket() in failure route, after running <br>
ds_select_*(). Or just provision a socket for the VM server in the database.<br>
<br>
Best regards,<br>
Răzvan<br>
<br>
On 12/13/18 12:33 PM, Ravindrakumar Bhatt wrote:<br>
> Hi,<br>
> I am not using force_send_socket() for transferring call to voicemail <br>
> server. I am using dispatcher to send call to voicemail server.if <br>
> request is from ipv4 than call will be send to ipv4 peer of vm server <br>
> else if request is from ipv6 than its sent to ipv6 peer of server.<br>
> <br>
> Thanks and Regards,<br>
> Ravindrakumar Bhatt<br>
> <br>
> On Thu, Dec 13, 2018 at 3:38 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> <br>
> <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>>> wrote:<br>
> <br>
> Hello!<br>
> <br>
> Are you using force_send_socket() in your config? If you are, make sure<br>
> you force an IPv4 address when going to voicemail.<br>
> <br>
> Best regards,<br>
> Razvan<br>
> <br>
> On 12/13/18 11:36 AM, Ravindrakumar Bhatt wrote:<br>
> > Hello,<br>
> > I am using opensips 2.2 and have enabled ipv4 and ipv6 in config.<br>
> I am<br>
> > getting 500 internal error whenever I am trying to forward call<br>
> to ipv6<br>
> > using dispatcher.<br>
> ><br>
> > Scenario(VMBUSY) : user1(ipv6)->> user2(ipv4)(486 user busy)<br>
> > ->>voicemail server(ipv6)<br>
> ><br>
> ><br>
> > Error:<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > DBG:core:_shm_resize: resize(0) called<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> DBG:core:mk_proxy:<br>
> > doing DNS lookup...<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > DBG:core:parse_headers: flags=2000<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > DBG:core:parse_headers: flags=ffffffffffffffff<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > DBG:core:clen_builder: content-length: 392 (392)<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > ERROR:core:proto_udp_send:<br>
> > sendto(sock,0x7fa40a849538,1357,0,0x7fa40a843ec8,28): Address<br>
> family not<br>
> > supported by protocol(97)<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> ERROR:tm:msg_send:<br>
> > send() for proto 1 failed<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > ERROR:tm:t_forward_nonack: sending request failed<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> ERROR:tm:w_t_relay:<br>
> > t_forward_nonack failed<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > DBG:core:parse_headers: flags=ffffffffffffffff<br>
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:<br>
> > DBG:tm:run_trans_callbacks: trans=0x7fa40a843ad0, callback type<br>
> 64, id 2<br>
> > entered<br>
> > Please provide suggestions for this.<br>
> > --<br>
> > *Thanks and Regards,<br>
> > *<br>
> > *Ravindrakumar Bhatt<br>
> > *<br>
> > Jr. Software Developer<br>
> > Ecosmob Technologies Ltd<br>
> > Ahmedabad<br>
> > Mo:*+918460692402*<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> ><br>
> <br>
> -- <br>
> Răzvan Crainea<br>
> OpenSIPS Core Developer<br>
> <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
> Meet the OpenSIPS team at the next OpenSIPS Summit:<br>
> <a href="https://www.opensips.org/events" rel="noreferrer" target="_blank">https://www.opensips.org/events</a><br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
Meet the OpenSIPS team at the next OpenSIPS Summit:<br>
<a href="https://www.opensips.org/events" rel="noreferrer" target="_blank">https://www.opensips.org/events</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><div><b>Thanks and Regards,<br></b></div><div><b>Ravindrakumar Bhatt<br></b></div><div dir="ltr"><div>Jr. Software Developer </div><div>Ecosmob Technologies Ltd</div><div>Ahmedabad</div><div>Mo:<b>+918460692402</b></div></div></div></div>
</div></div></div></div></div>