[SR-Users] kamctl add VS kamctl ul add with interacted with SIPML

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 15 11:36:40 CET 2016


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 at 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 at commodisee.com Q=1
>>             Expires:: 893
>>             Callid:: 3OaR3wW1zSn5qHzPFLB at 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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160215/2397b738/attachment.html>


More information about the sr-users mailing list