Hello,
the 'kamctl add ...' adds a subscriber profile (a permanent user for
authentication purposes with username and password).
The 'kamctl ul ...' is doing user location management, so it adds a
contact for a user.
The two commands are doing different operations, as they are
designed for different purposes.
Cheers,
Daniel
On 15/02/16 10:03, kssyrr wrote:
Hello,
When I load a page with SIPml-api and run some php with 'kamctl
add $username' command, the sip user is created by the
SIPml-api. (user created permanently inside the DB)
When I load the same page with '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).
Any idea why? What is the difference between kamctl add &
kamctl ul add with regard to SIPml-api?
kamctl ul show:
1. created with kamctl add (created actually by SIPml)
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 (and ignored by SIPml client)
AOR:: buyer_1455198121667
Contact:: sips:buyer_1455198121667@commodisee.com
Q=1
Expires:: 893
Callid:: 3OaR3wW1zSn5qHzPFLB@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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu