Running asterisk 1.8.7.1 on gentoo
echo -n ‘dex:asterisk:a’ | md5sum
b5520b27dab0a651cfcdf384ac9a8e76 -
mysql> update ast_sipfriends
SET md5secret
= MD5(‘dex:asterisk:a’) WHERE name
= ‘dex’ LIMIT 1;
Query OK, 0 rows affected (0.00 sec)
Rows matched: 1 Changed: 0 Warnings: 0
mysql> select * from ast_sipfriends
WHERE name
= ‘dex’;
±—±-------±-----±---------------------------------±--------±--------±-------±-----±----±-----------±------------±------------±----------±----------±-------±-------+
| id | type | name | md5secret | context | host | ipaddr | port | nat | regseconds | defaultuser | fullcontact | regserver | useragent | lastms | status |
±—±-------±-----±---------------------------------±--------±--------±-------±-----±----±-----------±------------±------------±----------±----------±-------±-------+
| 72 | friend | dex | b5520b27dab0a651cfcdf384ac9a8e76 | users | dynamic | | | yes | 0 | | | | | 0 | 0 |
±—±-------±-----±---------------------------------±--------±--------±-------±-----±----±-----------±------------±------------±----------±----------±-------±-------+
cat /etc/asterisk/extconfig.conf
[settings]
sipusers => odbc,asterisk,ast_sipfriends
sippeers => odbc,asterisk,ast_sipfriends
cat /etc/asterisk/res_odbc.conf
[asterisk]
enabled => yes
dsn => myodbc-5.1-test
username => asterisk
password => 4st3r1sk
pre-connect => yes
limit => "0"
pooling => no
cat /etc/unixODBC/odbc.ini
[ODBC Data Sources]
myodbc-5.1-test=MySQL ODBC myodbc-5.1.6 Driver Testing DSN
[myodbc-5.1-test]
Description=MySQL ODBC myodbc-5.1.6 Driver Testing DSN
Driver=myodbc-5.1
Socket=/var/run/mysqld/mysqld.sock
Server=localhost
User=asterisk
Database=asterisk
Password=4st3r1sk
Port=3306
Option=3
cat /etc/unixODBC/odbcinst.ini
[myodbc-5.1]
Description=MySQL ODBC myodbc-5.1.6 Driver
Driver=/usr/lib/libmyodbc5.so
UsageCount=1
sip.conf has
udpbindaddr=192.168.1.2
nat = yes
externaddr = 86.106.164.128
localnet = 192.168.1.0/24
rtp.conf has
rtpstart=8000
rtpend=9000
sheevaplug-gentoo asterisk # netstat -plantu | grep -i asterisk
tcp 0 0 192.168.1.2:2000 0.0.0.0:* LISTEN 2608/asterisk
udp 0 0 192.168.1.2:5060 0.0.0.0:* 2608/asterisk
udp 0 0 192.168.1.2:4569 0.0.0.0:* 2608/asterisk
udp 0 0 0.0.0.0:5000 0.0.0.0:* 2608/asterisk
udp 0 0 192.168.1.2:4520 0.0.0.0:* 2608/asterisk
I do know that I don’t need all of them, but I’m not sure what skinny, unistim, iax or dundi do or if I should disable them
The following ports are forwarded to 192.168.1.2 ( asterisk box ) from 86.106.164.128 ( a wndr3700 running openwrt if that matters )
2000(tcp),4520(udp),4569(udp),5000(udp),5060(udp),8000-9000(udp)
Yet when I try to auth, I get this ( from inside the 192.168.1.1 network ):
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:7519 sip_alloc: Allocating new SIP dialog for d0dab248-97fd-e011-8ec3-002710841b54@VPCF13M1E - REGISTER (No RTP)
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:89 custom_prepare: Skip: 0; SQL: SELECT * FROM ast_sipfriends WHERE name = ? AND host = ?
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 1 (‘name’) = ‘dex’
[Oct 25 19:53:28] DEBUG[2795]: res_config_odbc.c:104 custom_prepare: Parameter 2 (‘host’) = ‘dynamic’
[Oct 25 19:53:28] DEBUG[2795]: res_odbc.c:1035 odbc_release_obj2: odbc_release_obj2(0x2051e0) called (obj->txf = (nil))
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27115 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27118 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27120 build_peer: Not an IPv4 nor IPv6 address, cannot get port.
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27123 build_peer: Not an IPv4 nor IPv6 address, cannot set port.
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: db.c:337 ast_db_del: Unable to find key ‘dex’ in family ‘SIP/PeerMethods’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:27136 build_peer: Bah, we’re expired (1319561608/0/1319561608)!
[Oct 25 19:53:28] DEBUG[2795]: db.c:293 ast_db_get: Unable to find key ‘dex’ in family ‘SIP/Registry’
[Oct 25 19:53:28] DEBUG[2795]: chan_sip.c:3325 __sip_xmit: Trying to put ‘SIP/2.0 401’ onto UDP socket destined for 192.168.1.1:5060
I certainly doubt that I typed the password ( ‘a’ ) wrong ! I tried it from my cellphone ( running csipsimple ) and from my computer ( running ekiga ) from some external network ( with asterisk still behind nat ) and from the internal network.
Can anyone point me how can I further debug this problem ?
Thanks in advance.