Hello!
I want to get $fU and $tU from event_route[msrp:frame-in] in order to filter out MSRP messages sent by a specific sender and received by a specific receiver, I know I can get message content from $msrp(buf), the message content is like this:
MSRP 7a57f552155926c0 SEND
To-Path: msrp://172.18.0.14:6060/9d8da4a34dc2102959e7;tcp msrp://172.18.0.12:5060/msrp-6142fc2b-84-1;tcp msrp://172.18.0.2:34862/2a67b54ae0750b7d82aa;tcp
From-Path: msrp://172.18.0.14:6060/c71ae3675e114d08216b;tcp msrp://172.18.0.12:5060/msrp-6142fc2b-83-1;tcp msrp://172.18.0.2:34858/8baea7c52ba8755322fd;tcp
Byte-Range: 1-197/197
Failure-Report: yes
Success-Report: yes
Message-ID: c792c94039b8a969
Content-Type: message/cpim
From: sip:alice@ims.mnc001.mcc001.3gppnetwork.org
To: sip:bob@ims.mnc001.mcc001.3gppnetwork.org
DateTime: 2021-09-16T09:23:49.339805+00:00
MIME-Version: 1.0
Content-Type: text/plain
hello
-------7a57f552155926c0$
I want to get alice and bob from the content below:
From: sip:alice@ims.mnc001.mcc001.3gppnetwork.org
To: sip:bob@ims.mnc001.mcc001.3gppnetwork.org
DateTime: 2021-09-16T09:23:49.339805+00:00
someone can suggest some method. In other route like request_route we can use $fU and $tU to access them.
Regrads
HANG LI
hello Ben
I was using development functions and the C code of this function did not
exist. I needed to manually add a contact to kamailio but this does not
work and I used the HTable module to solve the problem.
Thanks for the tips
Hi,
I have looked at lots of postings but can't seem to find the answer I seek.
I have 6 phones (Grandstream GXP2170, etc) connected to Kamailio 5.2.1
running default config file with changes per
https://kb.asipto.com/kamailio:presence:k43-blf
On x301, I have the 3 BLFs setup to monitor x302, x303 and x304.
If I dial 303 from 301, the BLFs work (flash, red, then green) as expected.
But, when the phone initially boots up, the BLFs are all dead - until
the first PUBLISH event.
So, the question is, how do I get the BLFs to become valid and with the
correct status when the phone boots up???
regards,
Jerry
Hi,
is it possible to add a listen directive during kamailio runtime ?
The reason I'm asking this is in a situation when I add a new peering trunk
(from a different network segment), I need to add a network interface to
the kamailio server and then add a specific listen directive for that
interface to reference the socket by name.
listen=udp:10.1.1.11 name "mySN1"
so i can further reference to a specific socket name when routing SIP
messages.
Please advise,
Regards,
Tihomir.
I don't think you understood.
The issue is in v5.2.5, and I tried to update kamailio but it still remains.
I honestly think this is a machine problem, since I can't even send the
notifications to 0.0.0.0:5090. It is very weird.
Best Regards,
José Santos