vidiu mentioned.
>
> Regards,
>
> --
> Vlad Patrascu
> OpenSIPS Core Developerhttp://www.opensips-solutions.com
>
> On 28.02.2022 10:50, Mark Farmer wrote:
>
> Thanks Ovidiu, that is great information.
>
> I am using wolfssl as that seems to be the way to go these day
e is to perform a lookup for each request received
> over a tls connection using the ip.resolve transformation and enable
> dbs_cache to help a little bit. It's messy but it works.
>
> -ovidiu
>
> On Fri, Feb 25, 2022 at 6:51 AM Mark Farmer wrote:
> >
> > Thank
Also thanks to Ovidiu for the helpful suggestion. I will remember that one
:)
Mark.
On Fri, 25 Feb 2022 at 11:50, Mark Farmer wrote:
> Thanks Bogdan
>
> It's no secret really, I was just speaking generically.
> They are the MS Direct Routing domains, EG sip.pstnhub.micro
s.org/Training/Bootcamp
>
> On 2/22/22 12:31 PM, Mark Farmer wrote:
>
> Hi Bogdan
>
> The GW's have 2 CNAME records which I have no control over. DR has entries
> like subdomain.example.com:5061
> I suspect the issue arises when the CNAMES swap around resulting in a
> mism
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
> OpenSIPS eBootcamp
> https://www.opensips.org/Training/Bootcamp
>
> On 2/18/22 6:04 PM, Mark Farmer wrote:
>
> Hi everyone
>
> I am using is_from_gw() to mat
Hi everyone
I am using is_from_gw() to match against a group of gateways specified by
DNS names which resolve to multiple IP addresses but it seems to be failing
to match.
Is this supported functionality or do I need to do something else in this
case?
Thanks and regards
Mark.
___
Not sure how I missed it but I see now that the call-id, totag & fromtag
can be passed as flags.
I guess that is the right way to handle it?
On Tue, 11 Jan 2022 at 10:26, Mark Farmer wrote:
> Hi all. Can anyone tell me if I am on the right track here please?
>
> I am trying to us
; > Users@lists.opensips.org <mailto:Users@lists.opensips.org>
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> >
> > --
> > Regards,
> >
> > David Vill
__
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Mark Farmer
farm...@gmail.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
> OpenSIPS eBootcamp 2021
> https://opensips.org/training/OpenSIPS_eBootcamp_2021/
>
> On 11/25/21 2:52 PM, Mark Farmer wrote:
>
> Hi everyone
>
> I have 2 interfaces (udp:inter
Hi everyone
I have 2 interfaces (udp:internal & a natted tls:external as
xxx.xxx.xxx.xxx) and using drouting() to send sip OPTIONS to endpoints via
both.
I have been using the 'probing_from' parameter but I would like to change
the from URI depending on which interface the OPTIONS request will be
) when changing to OpenSSL, it would
>> appear more likely that it's in proto_tls or tls_mgm.
>>
>> --Greg
>> On 2021-11-11 17:06, Mark Farmer wrote:
>>
>> Confirmed here too, 3.2.2 is running fine.
>>
>> There does seem to be a bug report about thi
ensips/issues
> Nov 11 15:46:35 msteams /usr/sbin/opensips[5044]: CRITICAL:core:io_watch_add:
> [TCP_main] check failed after successful fd add
> (fd=244,type=19,data=0x7f4b4e1c8240,flags=2) already=0
>
>
> I didn't have these issues with OpenSIPS 3.1, however, am not sure
ps/issues
> Nov 11 15:46:35 msteams /usr/sbin/opensips[5044]: CRITICAL:core:io_watch_add:
> [TCP_main] check failed after successful fd add
> (fd=244,type=19,data=0x7f4b4e1c8240,flags=2) already=0
>
>
> I didn't have these issues with OpenSIPS 3.1, however, am not sure
#012It seems you have hit a programming
> bug.#012Please help us make OpenSIPS better by reporting it at
> https://github.com/OpenSIPS/opensips/issues
> Nov 11 15:46:35 msteams /usr/sbin/opensips[5044]: CRITICAL:core:io_watch_add:
> [TCP_main] check failed a
gt;
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> >
> > --
> > Regards,
> >
> > David Villasmil
> > email: david.villasmil.w...@gmail.com
> > <mailto:david.villasmil.w...@gmail.com>
> > phone: +34669448337
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Mark Farmer
farm...@gmail.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Use the -o option to set the DB host :)
Perfect thanks!
On Fri, 1 Oct 2021 at 14:52, Liviu Chircu wrote:
> On 01.10.2021 16:01, Mark Farmer wrote:
> >
> > I will need to upgrade some OpenSIPS 3.0 servers to 3.2 where the
> > database for the ACC module is located on a di
Hi everyone
I will need to upgrade some OpenSIPS 3.0 servers to 3.2 where the database
for the ACC module is located on a different server to the rest of the
OpenSIPS database.
Is there a way to specify the different location when upgrading the ACC
tables?
Does anyone else have to deal with this
Looks like the same issue exists in the tarball.
The directory modules/tls_wolfssl/lib/wolfssl/ is empty.
HTH
Mark.
On Tue, 24 Aug 2021 at 16:18, Mark Farmer wrote:
> Hi everyone
>
> I am using the 3.2.2 tarball rather than cloning the Git repo and make
> menuconfig to compil
gt;>>>
> >>>> Any hint?
> >>>>
> >>>> Regards
> >>>>
> >>>
> >>> ___
> >>> Users mailing list
> >>> Users@lists.opensips.org
> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>>
> >>> ___
> >>> Users mailing list
> >>> Users@lists.opensips.org
> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Mark Farmer
farm...@gmail.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
engine. Does it make sense?
>
> Em qua., 11 de ago. de 2021 às 09:07, Johan De Clercq
> escreveu:
>
>> wouldn't it be better to do first your manip and then pass it to
>> rtpengine ?
>>
>> Op wo 11 aug. 2021 om 12:39 schreef Mark Farmer :
>>
>>&g
Hi everyone
I am using rtpengine_offer() and storing the SDP in a variable which I then
modify using the reg_exp transformation to delete a line.
rtpengine_offer($var(PSTN_TPTY),,$var(SDPbody));
$var(SDPbody) = $(var(SDPbody){re.subst,/a=silenceSupp:off\ -\ -\ -\
-\r\n//g});
How do I then push t
Hi everyone
I am using drouting() which is working well but I am finding the prefix
matching a little limited. It would be really useful to be able to match
mid-range prefixes. For example, in Asterisk you can do do things like:
_+44123456789[2,3]
Which only matches prefixes ending 2 or 3.
Or:
_
pensips-cli@lbsip-rtpe-test):
>
> (opensips-cli@lbsip-rtpe-test): database migrate
>
> 2.4_to_3.0 3.0_to_3.1 3.1_to_3.2
>
>
>
> @Liviu Chircu : it would be nice to start
> incrementing the version numbers, no?
>
>
>
> Regards
>
>
>
> *De : *Users
repo.
On Mon, 26 Jul 2021 at 12:29, Liviu Chircu wrote:
> On 26.07.2021 14:25, Mark Farmer wrote:
> > I have opensips 3.2 and opensips-cli nightly from the apt repo on
> > Ubuntu 20.04
> >
> > When I try to run opensips-cli -x database migrate 3.1_to_3.2 opensips
Hi everyone
I have opensips 3.2 and opensips-cli nightly from the apt repo on Ubuntu
20.04
When I try to run opensips-cli -x database migrate 3.1_to_3.2 opensips
opensips-32 I get this:
ERROR: unsupported migration flavour: 3.1_to_3.2
I have made sure I have the latest available from cli-nightl
ight work:
> if (is_present_hf("Record-Route"))
> xlog("Found a Record-Route header. Not going to fix Contact\n");
> else {
> if (nat_uac_test(65)) {
> fix_nated_contact();
> xlog("Fixing Con
Hi everyone, I have OpenSIPS 3.1.2
Is it possible to create a script variable with a name based on the content
of a header?
For example, create a variable who's name is the content of the Call-ID
header:
$var($ci) = $ci;
Many thanks
Mark.
___
Users ma
;
I doubt this is a bug, more likely something I'm doing wrong. Does anyone
have any ideas please?
Many thanks!
Mark.
On Tue, 8 Jun 2021 at 16:56, Mark Farmer wrote:
> Thanks for the reply John!
>
> Checking things over, the tags look fine.
>
> According to the logs the ACK
users
>>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _
g uses To-tag and From-tag.
>
> Another idea - topology hiding puts a unique hash code into the Contact
> header. Is that getting altered by a downstream server?
>
> Compare the "200 OK" elements with the equivalent ACK elements. Hope this
> helps.
>
> John Quick
&
Hi all!
I'm seeing a really weird issue where topology_hiding_match() fails to
match because of an incorrect Call-ID header but in a trace the header
looks correct.
I did think that it might be because of a missing fix_nated_contact() when
if (has_totag) is true so I added that but no change.
Is
Perfect! Many thanks :)
Mark.
On Wed, 10 Mar 2021 at 12:58, Marcin Groszek wrote:
> Yes, rule_attrs will populate with C flag.
> On 3/10/2021 5:37 AM, Mark Farmer wrote:
>
> Hi everyone
>
> If I call:
> (do_routing(3, "C",,$var(rule_attrs))
>
> Will the ru
Hi everyone
If I call:
(do_routing(3, "C",,$var(rule_attrs))
Will the rule_attrs pvar be populated when the C flag is set? The doc
mentions that the GW is not set and the RURI is not altered which is what I
want but I would like to have the attributes loaded at that point.
Many thanks
Mark.
> Hi Mark,
>
>
>
> For me correct syntax will be :
>
> avp_db_query("SELECT customer FROM customer_sbcs WHERE sbc1 =
> $avp(sbc)", "$avp(custID)", 1);
>
>
>
> Regards
>
>
>
>
>
> *De : *Users au nom de Mark Farmer <
>
Hello everyone.
I am trying to do a database lookup using avp_db_query() and getting an
error in my log:
ERROR:core:get_cmd_fixups: Variable in param [2] is not a string
ERROR:core:do_action: Failed to get fixups for command
It seems the query is erroring as $rc is always -1
CUSTOM_LOG: DB Que
Mark.
On Thu, 12 Mar 2020 at 13:02, Mark Farmer wrote:
> I think I answered my own question :)
>
> Adding a sip_trace() into local_route seems to do the trick :)
>
> Mark.
>
>
> On Thu, 12 Mar 2020 at 12:31, Mark Farmer wrote:
>
>> Hi everyone
>>
>&
e
> buffer, before the changes are applied. The diff (removed or appended
> headers) is being applied right before the message goes to wires.
> So actually your header should be there.
>
> On Wed, Jan 13, 2021 at 5:30 PM Mark Farmer wrote:
>
>> Hi everyone
>>
>>
Hi everyone
I have append_hf in my local_route to add the contact header in for MS
Teams but the OPTIONS message does not contain the contact header:
OPTIONS sip:sip.pstnhub.microsoft.com:5061 SIP/2.0
Via: SIP/2.0/TLS xxx.xxx.xxx.xxx:5061;branch=z9hG4bK4e45.15b9f883.0
To: sip:sip.pstnhub.microsof
Hi everyone
Reading the docs for socket and advertised_address it says that a socket
can accept AS and advertised_address can accept either a
or a string.
My question is, can I use a string in an AS for socket?
Something like socket=tls:10.148.52.107:5061 as sbc.example.com:5061
The reason for
Thanks Donat, good tip :)
Turned out to be a missing equals sign
if $avp(dtmf_compat)= "0" {
if $avp(dtmf_compat) == "0" {
Silly me, took me ages to spot that!
Thanks again for the tip!
Mark.
___
Users mailing list
Users@lists.opensips.org
http://li
ot;) {
CUSTOM_LOG: Audio stream is 101
But if ($avp(audio_stream) == "101") still doesn't match :(
What am I doing wrong here?
Thanks
Mark.
On Wed, 25 Nov 2020 at 16:09, Mark Farmer wrote:
> Thanks for the reply!
>
> I've changed my regex to
>
> if ($avp(audi
each header has a \r\n in the end too, also I'm
> not sure you need \ before =
>
> On Wed, Nov 25, 2020 at 4:26 PM Mark Farmer wrote:
>
>> Hi everyone
>>
>> I am trying to detect a string using sdp.line,m and a regex pattern but
>> it is failing to match
Hi everyone
I am trying to detect a string using sdp.line,m and a regex pattern but it
is failing to match.
I am trying to match the 101 at the end of the m=audio line:
m=audio 25224 RTP/AVP 8 18 101
This is my code:
if (is_method("INVITE") && has_body_part("application/sdp")) {
Hi everyone
I added the apt repo for opensips-cli on Ubuntu Focal as per:
https://apt.opensips.org/packages.php?v=cli
apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubunt
specify rtpmap: 101
C. Something else?
Am I on the right track at all here?
Mark.
On Tue, 17 Nov 2020 at 11:57, Mark Farmer wrote:
> Hi everyone
>
> I am getting some INVITE's that are requesting a=rtpmap:100
> telephone-event/8000 and some other codecs too which is breaking DT
te:
> Hi Mark,
>
> Can you post the actual errors that you get in the OpenSIPS logs, if that
> is the case?
>
> Regards,
>
> --
> Vlad Patrascu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 16.11.2020 11:04, Mark Farmer wrote:
>
> Good morni
Hi everyone
I am getting some INVITE's that are requesting a=rtpmap:100
telephone-event/8000 and some other codecs too which is breaking DTMF.
What I really need to do is to force a=rtpmap:101 telephone-event/8000 in
the replies.
Can anyone tell me how to do this please? I've been looking at the
91:19-20: Parameter
>> not found in module - can't set
>> Nov 13 14:36:50 [175314] #modparam("tls_mgm", "require_cert", "[dom4]1")
>> Nov 13 14:36:50 [175314]
>> Nov 13 14:36:50 [175314] modparam("tls_mgm","verify_
5314] modparam("tls_mgm","verify_cert", "1")
> Nov 13 14:36:50 [175314] ^~
> Nov 13 14:36:50 [175314] modparam("tls_mgm","require_cert", "1")
> Nov 13 14:36:50 [175314] modparam("tls_mgm","tls_method", "TLSv1_2")
> Nov
Hi everyone
OpenSIPS 3.1.0
I am following the OpenSIPS as Teams SBC guide and have added the TLS
config:
modparam("tls_mgm","verify_cert", "1")
modparam("tls_mgm","require_cert", "1")
modparam("tls_mgm","tls_method", "TLSv1_2")
modparam("tls_mgm","certificate", "/usr/local/etc/opensips/tls/myCer
Hi everyone
I am looking for a way to manage routes etc in drouting without using
opensips-cp.
I was hoping to find a MI function to add/remove routes but there only
seems to be dr_number_routing which just returns an existing route.
Has anyone done this somehow? Interacting with the database dir
ark,
>
> Please follow the instructions from the opensips website:
> https://www.opensips.org/Documentation/TroubleShooting-Crash
>
> Regards,
> Ovidiu Sas
>
> On Tue, Oct 27, 2020 at 12:33 Mark Farmer wrote:
>
>> Hi everyone
>>
>> I am trying to setup TLS
Hi everyone
I am trying to setup TLS to talk to MS Teams but I am getting a segfault
when I try to start OpenSIPS.
CRITICAL:core:sig_usr: segfault in attendant (starter) process!
The server is Ubuntu 20.04.1
OpenSIPS 3.1.0
>From the log:
INFO:tls_mgm:mod_init: initializing TLS management
DBG:c
Excellent! Thank you :)
On Mon, 26 Oct 2020 at 17:46, Nick Altmann wrote:
> Hi.
>
> The repo must appear this week, in next few days.
>
> --
> Nick
>
> пн, 26 окт. 2020 г. в 18:17, Mark Farmer :
>
>> Hi, just wondering if there will be an apt repo for the new
Hi, just wondering if there will be an apt repo for the new Ubuntu Focal
Fossa (20.04 LTS)?
If so, is there an ETA for availability yet?
Many thanks and regards
Mark.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mail
f
> > one would find a way of making this work, it would be a lot more
> > complicated than simply coding it in the script. Therefore I don't see
> > this being coded any time soon.
> >
> > Best regards,
> >
> > Răzvan Crainea
> > OpenSIPS Cor
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 7/17/20 4:39 PM, Mark Farmer wrote:
> > Hi everyone
> >
> > I have been asked to look into getting Nagios to monitor active calls on
> > specific Dynamic Routing gateway
Hi everyone
I have been asked to look into getting Nagios to monitor active calls on
specific Dynamic Routing gateways.
Looking at the drouting() docs I don't see any exported statistics.
Is there a way to do this please?
Many thanks
Mark.
___
Users ma
Thanks :)
On Tue, 23 Jun 2020 at 16:09, Liviu Chircu wrote:
> On 23.06.2020 18:06, Mark Farmer wrote:
> > Is it possible to specify a different port?
>
> Yes
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu |
Hi everyone
I need to connect the acc module to a different DB which uses haproxy on
port 3308.
I've checked the documentation for acc but there's no mention of database
ports.
Is it possible to specify a different port?
For example:
modparam("acc", "db_url", "mysql://username:passw...@xxx.xxx.
That got it Liviu :)
Thank you!
Mark.
On Fri, 12 Jun 2020 at 13:37, Liviu Chircu wrote:
> On 12.06.2020 15:28, Mark Farmer wrote:
> > locate opensipscli
> >
> /usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO
>
> OK, so let's clear the
Jun 2020 at 13:15, Liviu Chircu wrote:
> On 12.06.2020 15:10, Mark Farmer wrote:
> > root@sbc-pstn-els-1:/usr/local/src/opensips-cli# opensips-cli
> > Traceback (most recent call last):
> > File "/usr/local/bin/opensips-cli", line 4, in
> > __import__(
nit__.py", line
658, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
1429, in run_script
.format(**locals()),
pkg_resources.ResolutionE
Hmm... Doesn't seem to exist in OpenSIPS.
How do others do this kind of thing?
On Thu, 11 Jun 2020 at 11:58, David Villasmil <
david.villasmil.w...@gmail.com> wrote:
> You’re going to need to use sqlops for that, I think.
>
> On Thu, 11 Jun 2020 at 11:39, Mark Farmer wr
:32, Johan De Clercq wrote:
> If I am not wrong, you can specify the accounting table and db in the
> module params.
> Hence make a copy of the table, insert in a new db, add your extra column
> and adapt the module parameters.
>
> wkr,
>
> Op do 11 jun. 2020 om 12:18 schreef M
Hi everyone
I have a couple of extra fields in my acc database table which is added by
acc_extra. This causes issues when upgrading.
I would prefer to have that data stored in a different database/table.
Is there a nice way to do that?
OpenSIPS 3.0 in this case.
Many thanks
Mark.
___
relay();
> exit;
> } else {
> xlog("CUSTOM_LOG: cannot match request to a dialog \n");
> send_reply(404,"Not found");
> exit;
> }
> }
>
>
> Thanks & Regards
> *Diptesh Patel*
> Software
can share SIP packets.
>
> Thanks & Regards
> *Diptesh Patel*
> Software Developer
> Ecosmob Technologies Ltd,
> Ahmedabad
> Mo:*+919898962659*
>
>
> On Fri, Jun 5, 2020 at 5:00 PM Mark Farmer wrote:
>
>> Hi everyone
>>
>> I've upgraded
Hi everyone
I've upgraded an OpenSIPS box to 3.1 and am now seeing an issue with ACK's
trying to route to an incorrect IP - in this case our own advertised IP.
I think I'm right in saying that PRACK's & ACK's are treated equally and
should route in the same manner? However, PRACK's are routing co
Hi everyone
I'm seeing some odd issues with routing ACK's and looking through the logs
I see this:
DBG:core:solve_module_dependencies: module drouting depends on module
qrouting, but it was not loaded!
Checking the docs for drouting() and migration docs I found mention of this
dependency.
Is t
Hi everyone
I've been reading the blog on this subject:
https://blog.opensips.org/2019/04/04/no-downtime-for-opensips-3-0-restarts/
But when I enable the enable_restart_persistency parameter OpenSIPS fails
to start. With log level 4 I get:
DBG:core:init_mod: initializing module drouting
INFO:dr
Yes, I realise I might be getting a little ahead of myself :)
I think my question really should be 'can I upgrade the DB direct from 2.4
to 3.1 format?'
Mark.
On Mon, 18 May 2020 at 15:48, Giovanni Maruzzelli wrote:
> On Mon, May 18, 2020 at 4:19 PM Mark Farmer wrote:
>
>
Hi everyone
Just wondering if there's a 'supported' upgrade process to jump from 2.4 to
3.1?
Or will I need to do it in 2 steps (2.4 to 3.0 & 3.0 to 3.1)?
Many thanks
Mark.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bi
Hi everyone
Firstly I apologise for asking at all and I have read this:
https://blog.opensips.org/2020/03/25/opensips-3-1-interim-update/
However, over the next couple of months I will be building a new production
platform using OpenSIPS and I would much prefer to use 3.1 than 3.0 or 2.4
Given
st)
>
> Regardsm
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
> https://www.opensips.org/events/Summit-2020Amsterdam/
>
> On 4/7/20 6:56 PM, Mark Farmer wrote:
>
t(PBX_TPTY)) {
$acc_extra(Call_Flow) = "Internal";
$acc_extra(customer_id) = $var(rule_attrs);
...
And all works nicely :)
Thanks for the help!
Mark.
On Fri, 17 Apr 2020 at 14:08, Mark Farmer wrote:
> Thats what I thought :)
>
> This is getting quite o
erations. Most probably your issue is in other place, in regards to the
> acc logic.
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
>
> On 4/17/20 1:40 PM, Mark Farmer wrote:
>
> Thanks Bogdan, that
an-Andrei Iancu
wrote:
> Hey Mark,
>
> It is not nice, but you can do:
>
> $var(tmp) = $rU;
> $rU = $fU
> do_routing();
> $rU = $var(tmp);
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
>
&g
ps://www.opensips-solutions.com
>
> On 4/16/20 6:14 PM, Mark Farmer wrote:
>
> Hi everyone
>
> I am looking for a way to compare $fU in INVITE to the matching drouting()
> prefix of another group and retrieve the rule_attrs from that rule.
>
> At the moment I am thinking
Hi everyone
I am looking for a way to compare $fU in INVITE to the matching drouting()
prefix of another group and retrieve the rule_attrs from that rule.
At the moment I am thinking I'll have to run a custom DB query so I have 2
questions:
1. Is there a better way to do this?
2. If not, what is
Hi Liviu
That sounds good to me. Do you need me to do anything in order to get this
implemented?
Mark.
On Wed, 8 Apr 2020 at 11:49, Liviu Chircu wrote:
> On 08.04.2020 12:49, Mark Farmer wrote:
> > Is it possible for these/all modules to inherit db_default_url or is
> > the
Hi everyone
I have noticed that some modules do not inherit db_default_url.
In my case:
dialplan.so
permissions.so
rtpengine.so
I also noticed that the documentation for permissions.so actually says that
this is the case but dialplan & rtpengine do not.
Is it possible for these/all modules to i
;
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
> https://www.opensips.org/events/Summit-2020Amsterdam/
>
> On 4/7/20 6:56 PM, Mark Farmer wrote:
>
> I was thinking something like:
>
> modparam(&
//www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
> https://www.opensips.org/events/Summit-2020Amsterdam/
>
> On 4/7/20 2:10 PM, Mark Farmer wrote:
>
> Hi Bogdan
>
> The root of my issue is that I need 2 variables containing the IP's of my
> 2 interfaces (m
t exposed or somewhere in a
> module (it’s not in proto_udp)
>
> I will research a little to try and find it..
>
> On Mon, 6 Apr 2020 at 14:04, Mark Farmer wrote:
>
> Thanks David. But I see no reference to the same variable in OpenSIPS.
>
> https://www.opensips.org/Documenta
riables#rai_-_received_advertised_ip_address
>
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
>
>
> On Mon, Apr 6, 2020 at 12:08 PM Mark Farmer wrote:
>
>> Many thanks for the reply.
>>
>> $Ri is certainly
e the request has
> been received
>
> *$Rp* - reference to the port where the message was received
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinf
Hi everyone
Is there a way to access within the script the listen or 'listen as' IP
addresses that are set in Global Parameters? I've been looking at the core
variables but I can't see how it could be done.
I'd like to reference them without setting a custom variable.
I am using OpenSIPS 2.4.7
I fixed it! :)
Sadly it was again my own mistake! I had written in-iface as in-face and
out-face as out-face.
I think I need an eye test!.
Thanks
Mark.
On Wed, 25 Mar 2020 at 12:33, Mark Farmer wrote:
> Now that I've corrected my silly xlog() lines I've got it partia
nce.
Nearly there, any idea why I have the IP issue?
On Wed, 25 Mar 2020 at 11:06, Mark Farmer wrote:
> Hi Bogdan, thanks for the reply.
>
> That was what I ended up trying to do, hence the other question about
> deleting a line from a pvar but that's another thread.
>
&
> What you have to do is to tell rtpengine_offer() to provide the new body
> into a variable (rather then changing the msg), so you can change the value
> of the variable and push it into the msg afterwards.
>
> PS: why do you do record_route_set() + record_route() in the same time ???
Hi everyone
I am trying to remove a line from the SDP resulting from rtpengine_offer()
but it's not working for me. Can anyone tell me what I am doing wrong
please?
if (is_from_gw("2")) {
remove_hf("Contact","g");
insert_hf("Contact: \r\n");
xlog("C
Hi everyone
I am saving the SDP into a pvar using the sdp_pvar parameter in
rtpengine_offer().
How do I now delete a line from the pvar before pushing the SDP into the
message?
The line in question is:
a=setup:actpass
Many thanks!
Mark.
___
Users mail
In case it helps someone else, i got it working by removing the Contact
header & reconstructing it:
if (is_from_gw("2")) {
remove_hf("Contact","g");
insert_hf("Contact: \r\n");
}
Mark.
On Mon, 16 Mar 2020 at
ot;);
}
}
...
Mark.
On Mon, 16 Mar 2020 at 13:04, Ben Newlin wrote:
> Have you tried using set_advertised_address **after** engaging
> topology_hiding? We do this and it works fine for us.
>
>
>
> Ben Newlin
>
>
>
> *From: *Users
Hi everyone
I am looking for a way to control the hostname part of the contact header.
Reading the documentation I think set_advertised_address() is what I need
but if I call set_advertised_address("FQDN") followed by
topology_hiding("UC") the contact header is incorrect.
If I set 'listen=tls:XXX
I think I answered my own question :)
Adding a sip_trace() into local_route seems to do the trick :)
Mark.
On Thu, 12 Mar 2020 at 12:31, Mark Farmer wrote:
> Hi everyone
>
> I am using the drouting module to make SIP/TLS connections and I need to
> be able to capture the outg
Hi everyone
I am using the drouting module to make SIP/TLS connections and I need to be
able to capture the outgoing OPTIONS requests generated by drouting.
I am thinking sip_trace("hep_dst", "d"); but where would I need to do that?
Is there a better way?
OpenSIPS 2.4
Many thanks!
Mark.
__
ncrypted packets on 127.0.0.1:50667 via
> ngrep/tcpdump/...
>
> Maybe this helps you a little.
>
> Fabian
>
>
> [1] https://opensips.org/html/docs/modules/2.4.x/siptrace
>
>
> - Ursprüngliche Mail -
> Von: "Mark Farmer"
> An: "OpenSIPS users mailling list&
1 - 100 of 204 matches
Mail list logo