[SIP Beyond VoIP] python-sipsimple sip-register auto unregistered
Voipmanvn
voipmanvn at gmail.com
Wed Jun 5 17:18:09 CEST 2019
Hello,
I was tried to run sip-register with -h option. And seem that I have to press Ctr+D to unregistered. But I did not, and the script auto unregistered.
That is content from command line.
sip-register -h
Usage: sip-register [options]
This script registers the contact address of the given SIP account to the SIP
registrar and refresh it while the program is running. When Ctrl+D is pressed
it will unregister.
Options:
-h, --help show this help message and exit
-a NAME, --account=NAME
The name of the account to use. If not supplied, the
default account will be used.
-c CONFIG_DIRECTORY, --config-directory=CONFIG_DIRECTORY
The configuration directory to use. This overrides the
default location.
-s, --trace-sip Dump the raw contents of incoming and outgoing SIP
messages (disabled by default).
-j, --trace-pjsip Print PJSIP logging output (disabled by default).
-n, --trace-notifications
Print all notifications (disabled by default).
-r MAX_REGISTERS, --max-registers=MAX_REGISTERS
Max number of REGISTERs sent (default 1, set to 0 for
infinite).
-b, --batch Run the program in batch mode: reading input from the
console is disabled. This is particularly useful when
running this script in a non-interactive environment.
Please help.
> On Jun 5, 2019, at 17:00, sipbeyondvoip-request at lists.ag-projects.com wrote:
>
> Send SIPBeyondVoIP mailing list submissions to
> sipbeyondvoip at lists.ag-projects.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
> or, via email, send a message with subject or body 'help' to
> sipbeyondvoip-request at lists.ag-projects.com
>
> You can reach the person managing the list at
> sipbeyondvoip-owner at lists.ag-projects.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SIPBeyondVoIP digest..."
>
>
> Today's Topics:
>
> 1. python-sipsimple sip-register auto unregistered (Voipmanvn)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 5 Jun 2019 11:03:32 +0700
> From: Voipmanvn <voipmanvn at gmail.com>
> To: sipbeyondvoip at lists.ag-projects.com
> Subject: [SIP Beyond VoIP] python-sipsimple sip-register auto
> unregistered
> Message-ID: <2B46476C-C55B-4BC7-8104-F9171138D330 at gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I am very new in this lib and trying to make some test. I hope i can get some idea, information from our team. thank you in advance.
>
> I add some account with:
>
> sip-settings -a add 1002 at x.x.x.x <mailto:1002 at x.x.x.x> xxxxxx
> sip-settings -a default 1002 at x.x.x.x <mailto:1002 at x.x.x.x>
>
> Then, i run sip-register
>
> and it return me something like
>
>
> root at sipsimple:~# sip-register
> Using account 1002 at x.x.x <mailto:1002 at x.x.x>.x
> 2019-06-05 03:48:57 Registered contact "sip:92745381 at x.x.x.x:34532" for sip:1002 at x.x.x <sip:1002 at x.x.x>.x at x.x.x.x:5060;transport=udp (expires in 3600 seconds).
> 2019-06-05 03:48:58 Registration ended.
>
> then, i see log registered and unregistered in my asterisk box.
>
> this is some information about lib:
>
> python-sipsimple is already the newest version (3.4.2bionic).
> sipclients is already the newest version (3.4.0bionic).
>
> Please help.
>
> Thanks,
> Thanh Truong
> TDVSS- https://www.tdvss.com
> 71/76 Str 6, Ward 15, GV, HCM, VN
> tel: + 84984480646
> skype: voipmanvn
>
>
>
>
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20190605/84521fc0/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
>
> End of SIPBeyondVoIP Digest, Vol 107, Issue 1
> *********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20190605/db9bd655/attachment-0001.html>
More information about the SIPBeyondVoIP
mailing list