kamctl add VS kamctl ul add under SIPML

199 views
Skip to first unread message

Kobie Reshef

unread,
Feb 11, 2016, 8:44:10 AM2/11/16
to discuss-doubango
Hello Doubango,

When I load a page with SIPml and some php ==> 'kamctl add $username' command, the sip user is created by the SIPml-api. (user created permanently inside the DB)
When I load a page with SIPml and some php ==> 'kamctl ul add <username> <uri> <expires> <path> ' command, the sip user is Not created by the SIPml-api,
but rather, it is being created by Kamailio mi (user created temporarily in the usrloc table - memory).
a. Why? What is the difference?
b. How can I use the kamctl ul command so the sip user is created by SIPml ?

kamctl ul show:
1. created with kamctl add (SIPml "aware")

AOR:: buyer_1455193937827
Contact:: sips:buyer_145...@df7jal23ls0d.invalid;rtcweb-breaker=no;transport=wss Q=
Expires:: 32048
Callid:: 906095b6-2c0b-d32a-a53b-3849c9283373
Cseq:: 32534
User-agent:: n/a
Path:: <sip:+5m6nQWEplAJygbAYyAyE8W8eJ1U490=@192.99.32.50;lr;ob>
State:: CS_NEW
Flags:: 0
Cflag:: 0
Socket:: udp:192.99.32.50:5060
Methods:: 4294967295
Ruid:: uloc-56bb4c0c-14d5-c2
Reg-Id:: 0
Last-Keepalive:: 1455193940
Last-Modified:: 1455193940

2. created with kamctl ul add (SIPml "ignored")

AOR:: buyer_1455198121667
Expires:: 893
Callid:: 3OaR3wW1z...@kamailio.mi
Cseq:: 34
User-agent:: SIP Router MI Server
Path:: <sip:buyer_1455198121667=@192.99.32.50;lr;ob>
State:: CS_NEW
Flags:: 0
Cflag:: 0
Methods:: 4294967295
Ruid:: ulcx-56bb4c0c-14e9-22
Reg-Id:: 0
Last-Keepalive:: 0
Last-Modified:: 0

navaismo

unread,
Feb 11, 2016, 11:17:45 AM2/11/16
to discuss-doubango
That Question must to be posted to the Kamalio forum/mailing list.


El jueves, 11 de febrero de 2016, 7:44:10 (UTC-6), Kobie Reshef escribió:
Hello Doubango,

When I load a page with SIPml and some php ==> 'kamctl add $username' command, the sip user is created by the SIPml-api. (user created permanently inside the DB)
When I load a page with SIPml and some php ==> 'kamctl ul add <username> <uri> <expires> <path> ' command, the sip user is Not created by the SIPml-api,
but rather, it is being created by Kamailio mi (user created temporarily in the usrloc table - memory).
a. Why? What is the difference?
b. How can I use the kamctl ul command so the sip user is created by SIPml ?

kamctl ul show:
1. created with kamctl add (SIPml "aware")

AOR:: buyer_1455193937827
Contact:: sips:buyer_1455193937827@df7jal23ls0d.invalid;rtcweb-breaker=no;transport=wss Q=
Expires:: 32048
Callid:: 906095b6-2c0b-d32a-a53b-3849c9283373
Cseq:: 32534
User-agent:: n/a
Path:: <sip:+5m6nQWEplAJygbAYyAyE8W8eJ1U490=@192.99.32.50;lr;ob>
State:: CS_NEW
Flags:: 0
Cflag:: 0
Socket:: udp:192.99.32.50:5060
Methods:: 4294967295
Ruid:: uloc-56bb4c0c-14d5-c2
Reg-Id:: 0
Last-Keepalive:: 1455193940
Last-Modified:: 1455193940

2. created with kamctl ul add (SIPml "ignored")

AOR:: buyer_1455198121667
Expires:: 893
Callid:: 3OaR3wW1zSn5qHzPFLB@kamailio.mi

Kobie Reshef

unread,
Feb 11, 2016, 6:43:12 PM2/11/16
to discuss-doubango
The first sip user was created by SIPml5. Not by kamailio (after invoking the kamctl add command)
Reply all
Reply to author
Forward
0 new messages