[SR-Users] Invalid Links

2023-06-04 Thread Brandon Armstead
https://www.kamailio.org/w/kamailio-v5-7-0-release-notes/ article references math module and tls_wolfssl, 2 of the 4 modules mentioned link back to 5.6 (these two) instead of 5.7 resulting in a 404. Respective links should be as follows: math - https://www.kamailio.org/docs/modules/5.7.x/modules

[SR-Users] Re: Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST)

2022-12-29 Thread Brandon Armstead
Microsoft SIP" here. > > 2) Could it be that antisocial "Microsoft SIP" sends 400 as a way of > objecting to something in the SDP, e.g. where a non-demented SIP stack > would send "488 Not Acceptable Here" or "415 Unsupported Media Type"? > > I kn

[SR-Users] Re: Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST)

2022-12-29 Thread Brandon Armstead
-- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* Brandon Armstead > *Sent:* Thursday, December 29, 2022 7:52 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* [SR-Users] Re: Direct Routing,

[SR-Users] Re: Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST)

2022-12-29 Thread Brandon Armstead
"415 Unsupported Media Type"? > > I know you've said you tried multiple clients to rule that out, but I > wonder if the thing it's objecting to hasn't been ruled out that way. > > 3) I saw this media line in the SDP: > >m=application 41356 > &

[SR-Users] Re: Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST)

2022-12-29 Thread Brandon Armstead
ck > would send "488 Not Acceptable Here" or "415 Unsupported Media Type"? > > > > I know you've said you tried multiple clients to rule that out, but I > wonder if the thing it's objecting to hasn't been ruled out that way. > > > > 3) I

[SR-Users] Direct Routing, SIP, INVITE TO TEAMS (400 BAD REQUEST)

2022-12-29 Thread Brandon Armstead
Outbound calls from my SBC into Teams (Polycom -> SBC -> Teams) always result in a 400 BAD REQUEST. Example invite below: https://pastebin.com/F1G1Ce59 I've taken care to make sure numbers are all E.164 format in From/To/Contact. I've also taken care to make sure that FQDN is used in Contact and

[SR-Users] Diversion Header & Header management - $hdrc

2022-03-07 Thread Brandon Armstead
Thanks for your time in advance! When dealing with multiple headers in different formats, i.e. Diversion: , $hdrc(Diversion) returns 1 header instead of 2. Is this expected behavior? What is the best way to manage all scenarios of possible multiple header values? It seems currently there is

[SR-Users] Kamailio dump configuration and exit?

2020-11-06 Thread Brandon Armstead
Is there a similar hook to make kamailio dump its current configuration it is reading including ... included files, i.e. similar to nginx -T root@main:/home/brandon# nginx -h nginx version: nginx/1.14.2 Usage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives] Options: -

Re: [SR-Users] http_async_client

2020-11-02 Thread Brandon Armstead
ontinued route. A few will doubtless > exhibit quirky behaviour as the state doesn't make it across properly > from the original requet_route. I haven't been adversely impacted by > this in my extensive use of http_async_client(), however. > > On 11/2/20 8:42 PM, Brandon Ar

Re: [SR-Users] http_async_client

2020-11-02 Thread Brandon Armstead
s i.e. msg_apply_changes is not valid in the continued route. On Mon, Nov 2, 2020 at 5:36 PM Alex Balashov wrote: > Correct, this is expected behaviour. Execution will continue in > ROUTENAME instead of returning to the calling route. > > On 11/2/20 8:33 PM, Brandon Armstead wrote: &

[SR-Users] http_async_client

2020-11-02 Thread Brandon Armstead
kamailio 5.5.0-dev3 I'm unsure if this is expected behavior, so thought I would ask... When using http_async_query("URI", "ROUTENAME") request_route { route(AUTH); # this does not get executed below route(AUTH) xinfo("[$ci][$rm] we hit this line"); } route[AUTH] { t_newtran();

Re: [SR-Users] htable + event_routes + mod-init + htable:expired

2020-11-02 Thread Brandon Armstead
Nov 2 21:13:28 main kamailio[1331]: INFO:

Re: [SR-Users] htable + event_routes + mod-init + htable:expired

2020-11-02 Thread Brandon Armstead
Daniel, In short kamcmd does not reflect the value set in $sht(server=>auth ::token) It alternates between being set and not being set (reflecting in kamcmd htable.dump root@main:/etc/kamailio# kamcmd htable.dump server { entry: 11 size: 1 slot: { { name: auth::token value: {"data":{"t

Re: [SR-Users] htable + event_routes + mod-init + htable:expired

2020-10-31 Thread Brandon Armstead
going on here, 1) handling htable in memory between htable-mod-init and htable:expired:server and 2) unable to use http_async_client inside htable-mod:init. I've also double checked that these modules are loaded after htable in kamailio config. I look forward to hearing any input anyone may ha

[SR-Users] htable + event_routes + mod-init + htable:expired

2020-10-30 Thread Brandon Armstead
Running 5.5.0-dev3 modparam("htable", "htable", "ipban=>size=8;autoexpire=300;dmqreplicate=1;") modparam("htable", "enable_dmq", 1) modparam("htable", "dmq_init_sync", 1) modparam("htable", "timer_procs", 4) modparam("htable", "timer_interval", 5) modparam("htable", "db_expires", 1) modparam("hta

Re: [SR-Users] Kamailio 3.3.7

2019-10-24 Thread Brandon Armstead
t udphdr* uh, > > >struct in_addr* src, > > > struct in_addr* dst, > > > unsigned short length) > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt - https://skalatan.de/blog/ > > Kamailio se

[SR-Users] Kamailio 3.3.7

2019-10-23 Thread Brandon Armstead
Has anyone seen this error while compiling 3.3.7 raw_sock.c:431: undefined reference to `udpv4_vhdr_sum' system: Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64 GNU/Linux lsmod: Module Size Used by bonding 147456 0 intel_rapl

Re: [SR-Users] Check if an INVITE comes from uac_reg endpoint

2019-07-14 Thread Brandon Armstead
4063-7921 ext. 6299 > Celular: 41 99921-7281 > Skype: diogodhh > > > > > > > Em sex, 12 de jul de 2019 às 03:44, Brandon Armstead > escreveu: > >> Are you looking for a digest validation or perhaps ip south based or >> otherwise a header checksum etc ther

Re: [SR-Users] call stuck and disconnect in kamailio

2019-07-13 Thread Brandon Armstead
I would check signaling on both sides. Also any error logs? Kamailio? Rtpproxy ? On Fri, Jul 12, 2019 at 10:46 PM Gaurav Bmotra wrote: > no it just stuck and disconnected at client end > in SIP logs it show the bye 200 after about 1 min after stuck > > On Sat, Jul 13, 2019 at 10:5

Re: [SR-Users] call stuck and disconnect in kamailio

2019-07-12 Thread Brandon Armstead
Are there any errors, is it an issue with signaling? Is it a normal disconnect? Ie bye 200 etc or? On Fri, Jul 12, 2019 at 10:14 PM Gaurav Bmotra wrote: > hi > i m using kamailio 5.1.2 with ubuntu 18.4 LTS , and rtpproxy (Basic > version: 20040107 > ) > we are using it for video calling everyt

Re: [SR-Users] kamailio 4.4.4 fills IPv6 contact address when sending packet over IPv4

2019-07-11 Thread Brandon Armstead
Are you sure Linphone is not setting it? Get a trace from client side, for some reason I’ve my doubts kamailio is defaulting to an ipv6 address. On Thu, Jul 11, 2019 at 11:42 PM Pali Rohár wrote: > Hi! > > I have not set pua_reginfo parameter. Should I set it? And if yes to > which value? There

Re: [SR-Users] Check if an INVITE comes from uac_reg endpoint

2019-07-11 Thread Brandon Armstead
Are you looking for a digest validation or perhaps ip south based or otherwise a header checksum etc there are various ways you could accomplish this. On Thu, Jul 11, 2019 at 11:41 PM Diogo Hartmann wrote: > Hello Kamailio experts, > > We were already able to register correctly at a SIP Provider

Re: [SR-Users] Log/Alerts Volume

2019-02-14 Thread Brandon Armstead
I would also say - implement your own routing logic / info shaking data you wish to make sense of, then change debug level to lower value, change debug level higher when actually reproducing and investigating a bug/issue. On Thu, Feb 14, 2019 at 6:57 AM Daniel-Constantin Mierla wrote: > Hello,

Re: [SR-Users] How to chain proxies with Route header and loose_route()

2019-02-05 Thread Brandon Armstead
Ivan, This is a very old reference. Check for msg_apply_changes() or some such function as that. Route headers can be preloaded but does not necessarily guarantee order, i.e. a proxy in the chain does not properly loose_route or otherwise. On Tue, Feb 5, 2019 at 4:43 AM Ivan Ribakov wrote:

Re: [SR-Users] Keep requests order

2019-02-05 Thread Brandon Armstead
UDP does not have any guaranteed state or order... On Tue, Feb 5, 2019 at 4:44 AM Duarte Rocha wrote: > Greetings, > > I'm having some problems with keeping the order of the messages in > Kamailio. > > In some cases i'm receiving an ACK for the first INVITE and immediately > after that a RE-INVI

Re: [SR-Users] uri_param function

2019-01-21 Thread Brandon Armstead
Andrew, Perhaps try something like this: if(!($(ru{uri.param,ak}) == "")){ // ak has a value } else { // ak has no value } On Mon, Jan 21, 2019 at 1:28 PM Brandon Armstead wrote: > Andrew, > >I believe per docs it finds a param with no value, so it may not ma

Re: [SR-Users] uri_param function

2019-01-21 Thread Brandon Armstead
21, 2019 at 1:28 PM Brandon Armstead wrote: > Andrew, > >I believe per docs it finds a param with no value, so it may not match > if there is a value on that attribute. > > On Mon, Jan 21, 2019 at 1:24 PM Andrew Chen wrote: > >> Hi all, >> >> Question.

Re: [SR-Users] uri_param function

2019-01-21 Thread Brandon Armstead
Andrew, I believe per docs it finds a param with no value, so it may not match if there is a value on that attribute. On Mon, Jan 21, 2019 at 1:24 PM Andrew Chen wrote: > Hi all, > > Question. I'm executing uri_param() function to look for our customized > Request-URI parameters generated b

Re: [SR-Users] Dynamic UAC Registration

2019-01-20 Thread Brandon Armstead
I suspect you could check $rd or $du ? Although I don’t quite understand why you won’t know the realm to begin with based on the selection? On Sun, Jan 20, 2019 at 03:59 Mack Hendricks wrote: > Hey All, > > So, I want to use the UAC module to handle Digest Auth to upstream > carriers. But, I d

Re: [SR-Users] Redirects - are q values required to implement serial forking?

2018-11-12 Thread Brandon Armstead
Mike, Your likely running into an issue where your changes are not actually applied. Check out msg_apply_changes() or something of the such. On Mon, Nov 12, 2018 at 6:52 AM Mike Montgomery wrote: > We have a situation where we get a redirect from a carrier with a list of > carriers to send

Re: [SR-Users] DMQ and DIALOG

2018-10-24 Thread Brandon Armstead
Set a cookie and relay those subsequent transactions down to proper endpoint that they initially went over. On Wed, Oct 24, 2018 at 1:56 AM Phillman25 Kyriacou wrote: > Hi List! > > I currently have 3 Kamailio's (Version 5.1) in an ACTIVE-ACTIVE-ACTIVE > scenario behind a load balancer all 3 nod

Re: [SR-Users] Server_id expects number only

2018-10-08 Thread Brandon Armstead
Err I'm sorry I didn't pay close enough attention to your int, the network address for 192.168.100.100 would be ... 3232261220 On Mon, Oct 8, 2018 at 4:10 AM Brandon Armstead wrote: > Sorry for late reply - however ; yes -- if it will accept this int - i've > not tried

Re: [SR-Users] Server_id expects number only

2018-10-08 Thread Brandon Armstead
om number. > > пн, 1 окт. 2018 г. в 16:52, Brandon Armstead : > >> You could try using network address for the ip? >> >> On Mon, Oct 1, 2018 at 6:48 AM Denys Pozniak >> wrote: >> >>> Hello! >>> >>> I need to separate Kamailio's dmq_u

Re: [SR-Users] Server_id expects number only

2018-10-01 Thread Brandon Armstead
You could try using network address for the ip? On Mon, Oct 1, 2018 at 6:48 AM Denys Pozniak wrote: > Hello! > > I need to separate Kamailio's dmq_usrloc by server_id and will be much > easily if server_id can accept string values also, like: > server_id="192.168.100.100" > > But currently it ac

Re: [SR-Users] How are SIP messages divided amongst TCP workers?

2018-02-23 Thread Brandon Armstead
Cody, Kamailio should receive from normal TCP / Kernel stack handoff - you may be able to do some tuning with sysctl - however one alternate suggestion that could help spread load on actual Kamailio TCP workers is by firing up additional workers on alternate ports but this still would not ensu

Re: [SR-Users] Very inconsistent calls

2018-02-11 Thread Brandon Armstead
.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > _______ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Sincerely, Brandon Armstead CTO / CRYY.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] can kamailio send 183 to caller

2017-11-29 Thread Brandon Armstead
if(is_method(“INVITE”)){ . sl_send_reply(“183”, “Ringing”); } On Wed, Nov 29, 2017 at 6:44 PM 赵国杰 wrote: > Hello guys, > Is it possible for kamailio to initiate a 183 to caller? > > Thanks > > > > ___ > Kamailio (SER) - Users Mailing Li

Re: [SR-Users] Problem removing headers from FAILURE_ROUTE

2017-10-17 Thread Brandon Armstead
route... (as they were added in > branch_route, maybe it works?) > > Not 100% sure though... > > What do you think? > > > Thanks! > Joel. > > > On Tue, Oct 17, 2017 at 12:43 PM, Brandon Armstead wrote: >> >> Why do you not remove the headers in request_route {

Re: [SR-Users] Problem removing headers from FAILURE_ROUTE

2017-10-17 Thread Brandon Armstead
-ADAPTIVE_WAIT, >> USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, >> HAVE_RESOLV_RES >> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, >> MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB >> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. >> id: unknown >> compiled with gcc 4.9.2 >> >> >> Any suggestions? >> >> Thanks >> Joel. >> >> >> > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Sincerely, Brandon Armstead CTO / CRYY.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Brandon Armstead
Also t_check_status(“200”){ In onreply_route{ And handle there, looks like you have corrrct flag already On Mon, Oct 2, 2017 at 10:08 AM Brandon Armstead wrote: > Check / try the flag to send no reply > > On Mon, Oct 2, 2017 at 5:07 AM Alex Balashov > wrote: > >> Store

Re: [SR-Users] A "success_route" as counterpart to "failure_route" available?

2017-10-02 Thread Brandon Armstead
Check / try the flag to send no reply On Mon, Oct 2, 2017 at 5:07 AM Alex Balashov wrote: > Store what you want in AVPs save that instead? > > On October 2, 2017 8:05:05 AM EDT, Kristijan Vrban > wrote: > >2017-10-02 13:14 GMT+02:00 Alex Balashov : > > > >> Are you sure an onreply_route isn't w

Re: [SR-Users] mysql installation error

2017-09-28 Thread Brandon Armstead
m > Dept **|**Pethahiah Rehoboth INTL. Limited* | *2nd Floor Rubby Block All > seasons Plaza , Lateef Jakande Rd, Agidingbi, Ikeja, Lagos.* | *Mobile:** > +2348052612001,+2348098797928 *|*Skype*: daptims | > htttp://www.pethahiah.com > > > > *From:* sr-users [mailto:sr-users-

Re: [SR-Users] mysql installation error

2017-09-28 Thread Brandon Armstead
dir under used local src} /usr/local/lib64/kamailio/kamctl essentially iirc. On Thu, Sep 28, 2017 at 6:00 AM Brandon Armstead wrote: > I would copy all of the kamctl files over not sure why entirely but I > think there is s bug in the build process or maybe user error but I’ve ran >

Re: [SR-Users] mysql installation error

2017-09-28 Thread Brandon Armstead
Rehoboth INTL. Limited* | *2nd Floor Rubby Block All > seasons Plaza , Lateef Jakande Rd, Agidingbi, Ikeja, Lagos.* | *Mobile:** > +2348052612001,+2348098797928 *|*Skype*: daptims | > htttp://www.pethahiah.com > > > > *From:* sr-users [mailto:sr-users-boun...@lists.kamailio.org] *On

Re: [SR-Users] mysql installation error

2017-09-28 Thread Brandon Armstead
src/utils/kamctl On Thu, Sep 28, 2017 at 4:06 AM Brandon Armstead wrote: > Make sure the kamctl files exist there as in the path in can’t locate if > not copy them from I believe src/Uriel/kamctl to the desired path it is > looking for and or symlink. > > On Thu, Sep 28, 2017 at

Re: [SR-Users] mysql installation error

2017-09-28 Thread Brandon Armstead
Make sure the kamctl files exist there as in the path in can’t locate if not copy them from I believe src/Uriel/kamctl to the desired path it is looking for and or symlink. On Thu, Sep 28, 2017 at 3:27 AM Timothy oladapo olawuyi < dolaw...@pethahiah.com> wrote: > Dear All, > > > > Please help me

[SR-Users] COALESCE Transformation?

2017-09-20 Thread Brandon Armstead
Hello all, I've checked the docs and did some brief searching, curious if this transformation or method exists currently? Such as: https://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html#function_coalesce Thanks! -- Sincerely, Brandon Armstead CTO / CRY

Re: [SR-Users] issue sending http_async_client POST request

2017-07-13 Thread Brandon Armstead
Check data on wire between actual and expected ngrep or tcpdump... it looks like your response is not a kamailio reply, yet web server returns the 400 / response. On Thu, Jul 13, 2017 at 1:40 AM Abdul Basit wrote: > > Hi folks, > > I am using kamailio -v > version: kamailio 5.0.2 (x86_64/linux)