[Asterisk-Users] Fw: anybody has SIP realtime working ?
Aaron Daniel
amdtech at shsu.edu
Tue Mar 21 15:34:10 MST 2006
We have a few soft-phones working with the realtime setup. What does
the configuration of your phone look like?
Aaron
On Tue, 21 Mar 2006, Frederic
Jean wrote:
> Hello,
>
> I am just asking this because I am note sure if the problem
> is on my side or not, I saw some comments on SIP realtime
> today so I was wondering, has anybody has SIP realtime working
> with a softfone ?
>
> If yes, please confirm, that would give me a light.
> My previous message to the list is below.
>
> Thanks.
>
> Frederic
>
>
> ----- Original Message -----
> From: Frederic Jean
> To: asterisk-users at lists.digium.com
> Sent: Tuesday, March 21, 2006 14:21
> Subject: SIP Realtime 1.2.5 and Username/auth name mismatch ?
>
>
>
> Hello,
>
> I installed 1.2.5 and realtime SIP. The connection to the DB is OK
> because I can get the values from the CLI.
>
> Here are my 3 different cases:
>
> 1- If I put an unexisting user, I get 404 and I am not able to dial.
> 2- If I check "Disable registration" within Firefly it does not register but I am able to dial a destination (...)
> 3- If I leave registration ON, I get the 404 message but I am not able to dial a destination....
>
> This is weird, anyone had this before ?? :- )
>
> Thanks in advance !
> Frederic
>
>
> Mar 21 14:11:36 NOTICE[894]: chan_sip.c:10854 handle_request_register: Registration from '"1111"<sip:1111 at 192.168.1.2:5060;transport=udp>' failed for '192.168.1.5' - Username/auth name mismatch
>
> SNET-PBX*CLI> realtime mysql status
> Connected to CCARDS at 127.0.0.1, port 3306 with username asterisk for 1 minutes, 35 seconds.
>
> SNET-PBX*CLI> realtime load sipusers username 1111
> Column Name Column Value
> -------------------- --------------------
> id 1
> name 1111
> accountcode 1111
> callerid 1111
> canreinvite no
> context internal
> defaultip 0.0.0.0
> host dynamic
> insecure very
> language br
> nat yes
> port 0
> qualify no
> secret 2222
> type friend
> username 1111
> disallow all
> allow g729
> allow ilbc
> allow gsm
> allow ulaw
> allow alaw
> regseconds 0
> ipaddr 0.0.0.0
> cancallforward yes
>
>
> +----------------+--------------+------+-----+-------------------------+----------------+
> | Field | Type | Null | Key | Default | Extra |
> +----------------+--------------+------+-----+-------------------------+----------------+
> | id | int(11) | | PRI | NULL | auto_increment |
> | name | varchar(80) | | UNI | | |
> | accountcode | varchar(20) | YES | | NULL | |
> | amaflags | varchar(13) | YES | | NULL | |
> | callgroup | varchar(10) | YES | | NULL | |
> | callerid | varchar(80) | YES | | NULL | |
> | canreinvite | char(3) | YES | | yes | |
> | context | varchar(80) | YES | | NULL | |
> | defaultip | varchar(15) | YES | | NULL | |
> | dtmfmode | varchar(7) | YES | | NULL | |
> | fromuser | varchar(80) | YES | | NULL | |
> | fromdomain | varchar(80) | YES | | NULL | |
> | fullcontact | varchar(80) | YES | | NULL | |
> | host | varchar(31) | | | | |
> | insecure | varchar(4) | YES | | NULL | |
> | language | char(2) | YES | | NULL | |
> | mailbox | varchar(50) | YES | | NULL | |
> | md5secret | varchar(80) | YES | | NULL | |
> | nat | varchar(5) | | | no | |
> | deny | varchar(95) | YES | | NULL | |
> | permit | varchar(95) | YES | | NULL | |
> | mask | varchar(95) | YES | | NULL | |
> | pickupgroup | varchar(10) | YES | | NULL | |
> | port | varchar(5) | | | | |
> | qualify | char(3) | YES | | NULL | |
> | restrictcid | char(1) | YES | | NULL | |
> | rtptimeout | char(3) | YES | | NULL | |
> | rtpholdtimeout | char(3) | YES | | NULL | |
> | secret | varchar(80) | YES | | NULL | |
> | type | varchar(6) | | | friend | |
> | username | varchar(80) | | | | |
> | disallow | varchar(100) | YES | | all | |
> | allow | varchar(100) | YES | | g729;ilbc;gsm;ulaw;alaw | |
> | musiconhold | varchar(100) | YES | | NULL | |
> | regseconds | int(11) | | | 0 | |
> | ipaddr | varchar(15) | | | | |
> | regexten | varchar(80) | | | | |
> | cancallforward | char(3) | YES | | yes | |
> | setvar | varchar(100) | | | | |
> +----------------+--------------+------+-----+-------------------------+----------------+
>
--
Aaron Daniel
Computer Systems Technician
Sam Houston State University
amdtech at shsu.edu
(936) 294-4198
More information about the asterisk-users
mailing list