Thank you Jon. It worked.
On Tue, Dec 11, 2018 at 5:42 PM Jon Abrams wrote:
> I do something like this to pull the rn field from the response:
>
> if(t_check_status("302")) {
> $var(contact) = $(hdr(Contact));
> $avp(lrn_called) = $(var(contact){nameaddr.uri}{param.value,rn});
> }
>
> On
Hello,
I am using opensips 2.2 and have enabled ipv4 and ipv6 in config. I am
getting 500 internal error whenever I am trying to forward call to ipv6
using dispatcher.
Scenario(VMBUSY) : user1(ipv6)->> user2(ipv4)(486 user busy) ->>voicemail
server(ipv6)
Error:
Dec 13 10:17:08 195 /usr/local/sbi
Hello!
Are you using force_send_socket() in your config? If you are, make sure
you force an IPv4 address when going to voicemail.
Best regards,
Razvan
On 12/13/18 11:36 AM, Ravindrakumar Bhatt wrote:
Hello,
I am using opensips 2.2 and have enabled ipv4 and ipv6 in config. I am
getting 500 i
Hi,
I am not using force_send_socket() for transferring call to voicemail
server. I am using dispatcher to send call to voicemail server.if request
is from ipv4 than call will be send to ipv4 peer of vm server else if
request is from ipv6 than its sent to ipv6 peer of server.
Thanks and Regards,
R
Then try to force_send_socket() in failure route, after running
ds_select_*(). Or just provision a socket for the VM server in the database.
Best regards,
Răzvan
On 12/13/18 12:33 PM, Ravindrakumar Bhatt wrote:
Hi,
I am not using force_send_socket() for transferring call to voicemail
server.
Reply to myself, perhaps it can help someone
# if we receive a call with "tel:" in To header we remove it
$var(str) = 'tel:';
$var(tu) = $tu;
if ($(var(tu){s.index, $var(str)}) >=0)
{
$var(reg) = "/tel://g";
$var(newtu) =
Thanks Răzvan,
Providing socket in dispatcher worked for me.
On Thu, Dec 13, 2018 at 4:13 PM Răzvan Crainea wrote:
> Then try to force_send_socket() in failure route, after running
> ds_select_*(). Or just provision a socket for the VM server in the
> database.
>
> Best regards,
> Răzvan
>
> On
Hi, all.
OpenSIPS 2.4.3 this script:
$var(ip_1_s) = "[2001:6c8:5e00:1::249]";
$var(ip_1_b) = $(var(ip_1_s){ip.pton}); # Save binary IP to variable
$var(ip_1) = $(var(ip_1_s){ip.pton}{ip.ntop}); # Save string from binary IP
to variable
$var(ip_2_s) = "[2001:6c8:5e00:1::250]";
$var(ip_2_b) = $(var(
Aatif Shaikh
[image: Attachments]5:27 PM (5 minutes ago)
to users
Dear Team,
we need to used Opensips as B2BUA. With the help of *registrant* we are
able to register with Gateway and now we want the below call scenario to
achieve with B2BUA.
1) Any user(Not register with Opensip) from another IPP
Hi Alexey,
Nice catch! All four tests should produce DIFFERENT. We have to look
closer and figure out what is happening there... a quick assumption
could be that there are some \0 NULL bytes in the binary-stored
addresses which may not work very well with the script string comparison
implem
Thanks, Liviu.
I created issue https://github.com/OpenSIPS/opensips/issues/1568
--
Sent from:
http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.o
Alain,
The URI module also contains a tel2sip conversion function you may wish to use.
It properly handles converting parameters from tel: to sip: format, which I
don’t believe your solution does.
https://opensips.org/html/docs/modules/2.4.x/uri.html#func_tel2sip
Ben Newlin
From: Users on be
Thanks Ben,
i see this function of uri module, but as I understand it convert only « tel »
format on RURI and not on To (or From) header.
Regards
De : Users au nom de Ben Newlin
Répondre à : OpenSIPS users mailling list
Date : jeudi 13 décembre 2018 à 14:04
À : OpenSIPS users maill
Alain,
Yes, I see now that is the case. My apologies for missing that.
Ben Newlin
From: Users on behalf of Alain Bieuzent
Reply-To: OpenSIPS users mailling list
Date: Thursday, December 13, 2018 at 8:10 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] convert from tel: to s
no worries, we are here to exchange
Alain
De : Users au nom de Ben Newlin
Répondre à : OpenSIPS users mailling list
Date : jeudi 13 décembre 2018 à 14:42
À : OpenSIPS users mailling list
Objet : Re: [OpenSIPS-Users] convert from tel: to sip: on To header
Alain,
Yes, I see now t
You already know the story – one more year, one more evolution cycle,
one more OpenSIPS major release. Even more, a new OpenSIPS direction is
about to start. So let me introduce you to the upcoming OpenSIPS 3.0 .
For the upcoming OpenSIPS 3.0 release (and 3.x family) the main focus is
on the *
Dear Team,
we need to used Opensips as B2BUA. With the help of *registrant* we are
able to register with Gateway and now we want the below call scenario to
achieve with B2BUA.
1) Any user(Not register with Opensip) from another IPPBX (Asterisk) make a
call to Opensips.
2) We authenticate this user
Hello,
I think there is a mistake on the OPTIONS module documentation (2.4)
core parameter method i think no longer exist:
if (is_myself("$rd")) {
if ((method==OPTIONS) && (! $ru=~"sip:.*[@]+.*")) {
options_reply();
}
}
now is:
if (is_myself("$rd")) {
-- Forwarded message -
From: Aatif Shaikh
Date: Mon, Dec 10, 2018 at 5:22 PM
Subject: OpenSIPS 407 authentication
To:
Dear Team,
we need to used Opensips as B2BUA. With the help of *registrant* we are
able to register with Gateway and now we want the below call scenario to
achi
19 matches
Mail list logo