Cannot register username is truncated

lol24h

Joined
Jul 16, 2010
Messages
12
Likes
0
Points
0
#1
I'm struggling with Elastix 2.0RC, Asterisk 1.6.29. I used webgui to configure
it. Using "sip show registry" in Asterisk CLI ir seems to truncate my
Username in trunk!
Code:
asterisknew*CLI> sip show registry
Host                                    dnsmgr Username       Refresh State
Reg.Time
213.218.xxx.xx:5060                     N      xxxxxxxtest0       120 Auth.
Sent
1 SIP registrations.
The username should be "xxxxxxxtest001" instead of "xxxxxxxtest0".
In sip_additional.conf:

Code:
[inotel]
disallow=all
host=213.218.xxx.xx
username=xxxxxxxtest001
secret=superpass
fromuser=xxxxxxxtest001
type=peer
allow=alaw
insecure=port,invite
context=from-trunk

[inotel-in]
type=user
context=from-trunk
host=213.218.xxx.xx
Podobnie w bazie mysql:
Code:
mysql> select * from sip;
+-----------+-------------+------------------------------------------+-------+
| id        | keyword     | data                                     | flags |
+-----------+-------------+------------------------------------------+-------+
| tr-reg-2  | register    | xxxxxxxtest001:superpass6@213.218.xxx.xx |     0 |
| tr-user-2 | host        | 213.218.xxx.xx                           |     5 |
| tr-user-2 | context     | from-trunk                               |     4 |
| tr-user-2 | type        | user                                     |     3 |
| tr-user-2 | account     | inotel-in                                |     2 |
| tr-peer-2 | context     | from-trunk                               |    11 |
| tr-peer-2 | insecure    | very                                     |    10 |
| tr-peer-2 | allow       | alaw                                     |     9 |
| tr-peer-2 | disallow    | all                                      |     8 |
| tr-peer-2 | fromuser    | xxxxxxxtest001                           |     6 |
...
| tr-peer-2 | type        | peer                                     |     7 |
| tr-peer-2 | secret      | superpass                                |     5 |
| tr-peer-2 | username    | xxxxxxxtest001                           |     4 |
| tr-peer-2 | host        | 213.218.xxx.xx                           |     3 |
| tr-peer-2 | account     | inotel                                   |     2 |
+-----------+-------------+------------------------------------------+-------+
I also tried the newest SVN version.
Code:
Asterisk SVN-trunk-r276989, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk SVN-trunk-r276989 currently running on asterisknew (pid = 10940)
Verbosity is at least 3
asterisknew*CLI>
Please, help! Por favor! :D
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top