Hi,
I have a kamailio v5.0 setup where cdrs are enabled using acc module. Is
there a way to enable / disable cdrs on per call basis in kamailio script?
For example i want to allow cdrs only for offnet calls and disable them for
onnet calls?
May be a dialog flag configurable in module parameters to signal acc module
whether or not to generate cdr for current dialog at the end of call?
Dears
i'm using kamilio 5.2.0 as IMS with Zoiper client and RTP Engine
when i'm trying to terminate a video call ,BYE message does not arrived to destination with error from S-cscf side "forbidden domain not served "
has any one had the same issue before ? and is there any ideas about how to solve it ?
?
thanks in advance
Is anyone using dialog module with DMQ to share dialogs across multiple
kamailio instances?
i've been testing it and it seems unreliable. sometimes the dialog data is
sent from nodeA to nodeB, sometimes it is not.
im wondering if im missing some settings or it's a bug. I tested latest
master branch and version 5.1.4
Thanks!
Emmanuel
Hello
I have faced when case when private var defined as $var(json_request) is
share between different SIP messages.
In my case first time this var is used from registration processing route.
Then var with same name is used PUBLISH messge processing. And i be able to
this value defined from registration processing.
I expecting that vars is not shared between threads and message handling
routes for var defined as $var(name). Is that not true?
How i can prevent race condition between different message processing
routes when two thread simultaneously change same variable?
Sergey
Hello,
Can someone explain to me why statement A returns True and statement B
returns False.
Statement A:
is_myself("$ru")
Statement B:
uri == myself
Isn't uri and $ru referencing the same data?
With my current config i am expecting the is_myself to return True; i was
expecting the same for Statement B but unfortunately it is returning False.
Thanks,
Karthik
Hello,
I'm using Kamailio 4.2 as proxy with nathelper enabled.
Yet , the ACK packet sent from the proxy to the origination's private IP.
The ACK is sent as reply on the following 200 OK sent from the origination :
8m2EJN41BN/6WSIP/2.0 200 OK
From: <sip:+4444331234567@X.X.X.X;user=phone>;tag=XQBQNjvjgp4Ze
To: <sip:+905362695933@172.16.45.65;user=phone>;tag=12033368836000
Via: SIP/2.0/UDP
X.X.X.X:5065;branch=z9hG4bK2959.233ecbc5eff949f946d8763ce25e5e6d.0;received=
X.X.X.X,SIP/2.0/UDP
X.X.X.X;received=X.X.X.X;rport=5060;branch=z9hG4bKN93cXvv26vDDN
Record-Route: <sip:X.X.X.X:5065;lr;ftag=XQBQNjvjgp4Ze>
Call-ID: CbeX8453909200habfGhEfElPce(a)BC00.XXXXXXXXXXXXXX
CSeq: 125698370 INVITE
Accept: application/sdp
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,UPDATE
P-Charging-Vector:
icid-value=B0912C3D70-0720-09394507;icid-generated-at=BC00.XXXXXXXXXXXXXX.XX
;orig-ioi=MXXXXXXXXXXXXXX
Content-Type: application/sdp
Contact: <sip:172.16.45.65:5060;transport=UDP>
Content-Length: 268
v=0
o=- 5838243 5838244 IN IP4 BC00.XXXXXXXXXXXXXX
s=-
c=IN IP4 172.16.45.144
t=0 0
a=sendrecv
m=audio 47588 RTP/AVP 18 96
c=IN IP4 172.16.45.144
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
a=maxptime:20
Following is the header of the sent ACK packet:
Request-Line: ACK sip:172.16.45.65:5060;transport=UDP SIP/2.0
Record-Route: <sip:X.X.X.X:5065;lr;ftag=XQBQNjvjgp4Ze>
Via: SIP/2.0/UDP
X.X.X.X:5065;branch=z9hG4bK2959.871535fd341bbe3099d0bf60d6460e18.0
Via: SIP/2.0/UDP
X.X.X.X;received=X.X.X.X;rport=5060;branch=z9hG4bKQUpy0jy90etjc
Max-Forwards: 69
From: <sip:+4444331234567@X.X.X.X;user=phone>;tag=XQBQNjvjgp4Ze
To: <sip:+905362695933@172.16.45.65;user=phone>;tag=12033368836000
Call-ID: CbeX8453909200habfGhEfElPce(a)BC00.XXXXXXXXXXXXXX
CSeq: 125698370 ACK
Content-Length: 0
Where X.X.X.X is Kamailio server public IP.
Following is part of my config file :
route {
route(NATDETECT);
record_route();
if(!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
exit;
}
# Maybe some sanity_check() here.
if(has_totag()) {
if(loose_route()) {
route(DLGURI);
if(!t_relay())
sl_reply_error();
exit;
} else {
if(is_method("ACK")) {
route(DLGURI);
if(t_check_trans()) {
t_relay();
}
} else
sl_send_reply("403", "Forbidden");
}
exit;
}
.....
}
route[NATDETECT] {
#!ifdef WITH_NAT
force_rport();
if (nat_uac_test("19")) {
if (is_method("REGISTER")) {
fix_nated_register();
} else {
add_contact_alias();
}
setflag(FLT_NATS);
}
#!endif
return;
}
route[DLGURI] {
#!ifdef WITH_NAT
if(!isdsturiset()) {
handle_ruri_alias();
}
#!endif
return;
}
Can you please check why the ACK is still sent on private IP ?
Thanks
Ali Taher
Dear all,
I'm trying Kamailio 5.1.4 and IMS module.
When registering to Kamailio IMS using the same ip and port for 30 users
(different contact user part), the P-CSCF get the same hash number and aor
value.
The function get_aor_hash(_d, &_ci->via_host, _ci->via_port, _ci->via_prot)
in ims_usrloc_pcscf pcontact.c seems the problem.
Because hashing with host, port, prot will get the same hash value.
Anyone can help this ?
Hello list,
When the dialog state for a call is < 4, is it possible to use dlg_bye()
function to end the call?
Best regards
Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167