Hello,
I'm trying to replace the M part in the SDP Body.
Seems not working as expected ( I changed the "s" part without problems )
Code :
if ( subst_body('/(^m=.*)/m=testing of rewrite.\r/') ) { $var(s)=""; };
Here's the incoming body message
c=IN IP4 217.112.180.235.
t=0 0.
m=audio 49152 RTP/AVP 8 9 18 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
After subst. ( note the .10840 on the m …
[View More]line)
c=IN IP4 217.112.180.10.
t=0 0.
m=testing of rewrite..10840
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=nortpproxy:yes.
[View Less]
Hi folks,
I am using kamailio -v
version: kamailio 5.0.2 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC,
TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-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 …
[View More]method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 10:02:27 Jul 4 2017 with gcc 4.9.2
I was trying to send http POST request to my web server example.com
following example Example 1.12. http_async_query() usage
<https://www.kamailio.org/docs/modules/5.0.x/modules/http_async_client.html#…>
https://www.kamailio.org/docs/modules/5.0.x/modules/http_async_client.html
according to that we should send parameters in body like
# POST
$http_req(body) = "{'r_uri':'" + $rU + "', 'f_uri':'" + $fU + "'}";
http_async_query("http://example.com/test.php", "HTTP_REPLY");
But its not working out of the box as described with error message from
server:
INFO: <script>: route[HTTP_REPLY]: status 400
INFO: <script>: route[HTTP_REPLY]: body Insufficient parameters.
I even tried adding additional parameters
$http_req(hdr) = "Content-Type: application/x-www-form-urlencoded";
$http_req(method) = "POST";
But again it didn't work.
I tried the alternative way which worked fine.
# POST
$http_req(body) = "r_uri=$rU&f_uri=$fU";
http_async_query("http://example.com/test.php", "HTTP_REPLY");
Is there any issue with documentation or i am missing something for POST
request?
--
regards,
abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445
[View Less]
Hi folks,
I am using
I was trying to send http POST request to my web server example.com
following example Example 1.12. http_async_query() usage
<https://www.kamailio.org/docs/modules/5.0.x/modules/http_async_client.html#…>
https://www.kamailio.org/docs/modules/5.0.x/modules/http_async_client.html
according to that we should send parameters in body like
# POST
$http_req(body) = "{'r_uri':'" + $rU + "', 'f_uri':'" + $fU + "'}";
http_async_query("http://example.com/test.php", "…
[View More]HTTP_REPLY");
But its not working out of the box as described with error message from
server:
INFO: <script>: route[HTTP_REPLY]: status 400
INFO: <script>: route[HTTP_REPLY]: body Insufficient parameters.
I even tried adding additional parameters
$http_req(hdr) = "Content-Type: application/x-www-form-urlencoded";
$http_req(method) = "POST";
But again it didn't work.
I tried the alternative way which worked fine.
# POST
$http_req(body) = "r_uri=$rU&f_uri=$fU";
http_async_query("http://example.com/test.php", "HTTP_REPLY");
Is there any issue with documentation or i am missing something for POST
request?
--
regards,
abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445
[View Less]
Dear Team,
I have installed Kamailio-5.0, and i have included subscriber table as well.
Two users have successfully registered but cant able to place the call in
between the users.
Kindly help me for placing the call.
Thanks in Advance,
Logesh
Hi.
I found where was my problem. I had a misunderestanding. I used public
domaim as outbound proxy and i could register to ims.
On 11 Jul 2017 15:00, "Mojtaba" <mespio(a)gmail.com> wrote:
> Hi Daniel.
> Let me describe more clearly the network. Let me suppose these
> configurations:
> Private IMS Domain: kamailio0ims.test (192.168.100.200)
> username: bob(a)kamailio-ims.test
> secret: bob
> outboundproxy: pcscf.kamailio-ims.test (192.168.100.101)
> With these …
[View More]informations, all things works correctly.
> Now suppose we have one public IP with predefined
> domain(sbc.ims-domain.com) that is set on PCSCF.(This node has two ip
> address, one private ip and on public ip),
> How can the bob register to network like as before?because the domain
> sbc.ims-domain.com is not validate on IMS network.
> should i use the sems-sbc? becuase in this situation the private
> domain is not reachables.
> If it is needed, let me to describe more.
> Thanks
>
>
>
> On Tue, Jul 11, 2017 at 2:24 PM, Daniel-Constantin Mierla
> <miconda(a)gmail.com> wrote:
> > Hello,
> >
> > do you want the entire platform to be behind a single public ip, or each
> > node in the network to run on a private ip but have also a public ip
> > associated?
> >
> > Cheers,
> > Daniel
> >
> >
> > On 11.07.17 11:31, Mojtaba wrote:
> >> Hello, I am working on IMS core network. In this network we have these
> >> node with private IP:
> >> P-CSCF: 192.168.100.101(pcscf.kamailio-ims.test)
> >> I-CSCF: 192.168.100.102(icscf.kamailio-ims.test)
> >> S-CSCF: 192.168.100.103(scscf.kamailio-ims.test)
> >> HSS: 192.168.100.200(hss.kamailio-ims.test)
> >> I have two default users (bob and alice) and all things right great.
> >> Now i want use this network with one public IP behind nat. Let me know
> >> What should i do?
> >> In one way i could use SEMS-SBC and set public IP on it, How should i
> >> config sems-sbc to work correctly?
> >> Thanks.With Regads.
> >> M.ES.S
> >>
> >> _______________________________________________
> >> Kamailio (SER) - Users Mailing List
> >> sr-users(a)lists.kamailio.org
> >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >
> > --
> > Daniel-Constantin Mierla
> > www.twitter.com/miconda -- www.linkedin.com/in/miconda
> > Kamailio Advanced Training - www.asipto.com
> > Kamailio World Conference - www.kamailioworld.com
> >
>
>
>
> --
> --Mojtaba Esfandiari.S
>
[View Less]
Dear Kamailio users,
Recently has been added to Kamailio two new modules : CDP and CDP_AVP
There is not the TS 29.273 in it but I wanted to know if we can use it to
emulate SWx interface? or add it with a non-hardcoded solution?
I have seen the kamailio conference online and one session told about
emulate IMS HSS with those two modules.
Is someone tried to do it and want to share is experience with me ?
Some DIAMETER functions in these modules are closed from the SWx.
Best …
[View More]regards
Igor Potjevlesch
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
[View Less]
Hello, I am working on IMS core network. In this network we have these
node with private IP:
P-CSCF: 192.168.100.101(pcscf.kamailio-ims.test)
I-CSCF: 192.168.100.102(icscf.kamailio-ims.test)
S-CSCF: 192.168.100.103(scscf.kamailio-ims.test)
HSS: 192.168.100.200(hss.kamailio-ims.test)
I have two default users (bob and alice) and all things right great.
Now i want use this network with one public IP behind nat. Let me know
What should i do?
In one way i could use SEMS-SBC and set public IP on it, …
[View More]How should i
config sems-sbc to work correctly?
Thanks.With Regads.
M.ES.S
[View Less]
Hello,
there is some ongoing work on Siremis (web management interface for
kamailio) to make it fully compatible with Kamailio 5.0.x as well as
update some of its legacy components:
- https://github.com/asipto/siremis
So I thought to start a discussion here and see if some of those changes
are going to impact too much existing installations or what are the best
options to use for the future.
Done so far:
1) implemented the JSONRPC client using UDP and unix domain sockets, to
work in pair …
[View More]with jsonrpcs module as a replacement for removed MI
interface. The old JSONRPC over HTTP is still an option.
2) charts system has been migrated from open flash chart (ofc) to
echarts (pure html5/javascript) -- therefore no more requiring to enable
flash in browser. Configuration is the same and the charts should look
pretty similar. If you upgrade, apart of different html view for the
charts, the config files should not be changed. If you notice something
broken, open an issue on github project linked above.
Planned to be done:
3) Relocate siremis/modules/ser to siremis/modules/sipadmin -- this
purely for more suggestive name for the admin module related to the SIP
services offered by Kamailio, and be in pair with the module sipuser.
This is mainly search and replace over php and xml files, however, it is
going to impact if you developed your own internal extensions for
siremis and placed them in the 'ser' module. It will require that you do
the same search+replace
4) Review existing database tables views and add fields for missing columns.
5) Add views for other database tables. First in my mind being the table
for rtpengine module. If you use some modules with tables not yet
managed by siremis, reply and list them to set a list of priorities.
Should have other things to report about siremis and are not yet listed
on project's issue tracker, let's discuss here.
Testing and feedback for 1) and 2) are very appreciated!
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com
[View Less]