Hi All,
Following are the requirement which we want to achieve through Kamailio.
Our "voip client" will not be register in advance.When Kamailio get INIVITE
request for particular "voip client"(multiple client), we send push
notification to make "voip client"(multiple client) alive and get it
register for to Kamailio. Meanwhile INIVITE request will wait. the moment,
"voip client" get register, Kamailio will send INIVITE to all the client
despite their *registration time/status*.for example - if first client get
register with in T+1 second,that should also get INVITE and another client
get register in T+2 second that should also get INVITE.
Could you please help me if this is possible in Kamailio. I have done some
code walk through and have the basic idea to save the INVITE
transaction(similar to suspend and continue), later point of time when i
get the register request, I will use functionality like t_lookup_request
and and lookup(which in turn append_branch) and call the t_realy () again.
Please let me know if this is correct approach or if there is some other
way to solve this.
Thanks,
Amit
Hi,
I have a question regarding calls and Kamailio restarts.
Suppose Kamailio crashes (and started again), is restarted or failed over to a different server (same IP). What then happens with calls?
Let's suppose the following scenario:
- 1000 calls active on the machine
- Some are in call setup, some are in call, some are in teardown phases
- The proxy is stateful
- The proxy forwards calls from B2BUA machines to an ITSP (outbound only)
- Uses record-routing
- Uses loose routing
What will be the likely outcome of the restart with regards to the calls in the different phases and accounting for said calls?
All the best,
Samuel
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 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.
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 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
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", "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
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 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
>
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 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