Hya,
i did change at the admin page the host to "dynamic" and protocol to "SPA".
Nothing changed, spa3102 showing
PSTN Line Status
Hook State: On Line Voltage: 66 (V)
Loop Current: 0.0 (mA) Registration State: Failed
So i did access the mysql asterisk table and under sipdevices, i've found that port was set to 5060, when it should be 5061 (see:
http://wiki.linuxmce.org/index.php/Linksys_SPA3102). My older 8.10 also was configured to port 5061
peer details:
allow=ulaw
canreinvite=no
context=from-trunk
dtmfmode=rfc2833
host=dynamic
incominglimit=1
nat=never
port=5061
qualify=yes
secret=lmce
type=friend
username=spa3102
So, i did change 5060 to 5061.
Host: localhost
Database: asterisk
Generation Time: Sep 12, 2012 at 08:35 PM
Generated by: phpMyAdmin 3.3.2deb1 / MySQL 5.1.63-0ubuntu0.10.04.1
SQL query: SELECT * FROM `sip_devices` LIMIT 0, 30 ;
Rows: 2
id name context callingpres deny permit secret md5secret remotesecret transport host nat type accountcode amaflags callgroup callerid defaultip dtmfmode fromuser fromdomain insecure language mailbox pickupgroup qualify regexten rtptimeout rtpholdtimeout setvar disallow allow fullcontact ipaddr port defaultuser subscribecontext directmedia trustrpid sendrpid progressinband promiscredir useclientcode callcounter busylevel allowoverlap allowsubscribe allowtransfer ignoresdpversion template videosupport maxcallbitrate rfc2833compensate session-timers session-expires session-minse session-refresher t38pt_usertpsource outboundproxy callbackextension registertrying timert1 timerb qualifyfreq contactpermit contactdeny lastms regserver regseconds useragent
1 200 from-internal allowed_not_screened NULL NULL stsnt6114jeps7r3 NULL NULL udp,tcp NULL NULL friend NULL NULL NULL device <200> NULL NULL NULL NULL NULL NULL 200@device NULL NULL NULL NULL NULL NULL NULL alaw;ulaw NULL NULL 5061 200 NULL no NULL NULL NULL NULL NULL NULL NULL yes yes yes no NULL no NULL yes accept 1800 90 uas NULL NULL NULL yes 500 NULL 120 NULL NULL 0 NULL 0 NULL
2 2122498618 from-trunk allowed_not_screened NULL NULL lmce NULL NULL udp,tcp dynamic never friend NULL NULL NULL 2122498618 NULL NULL spa3102 dynamic port,invite NULL NULL NULL yes NULL NULL NULL NULL NULL alaw;ulaw NULL NULL 5061 spa3102 NULL no NULL NULL NULL NULL NULL NULL NULL yes yes yes no NULL no NULL yes accept 1800 90 uas NULL NULL NULL yes 500 NULL 120 NULL NULL 0 NULL 0 NULL
Then i changed the protocol to SIP, and the asterisk log shows:
[Sep 12 21:06:36] ERROR[23452]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo("dynamic", "(null)", ...): No address associated with hostname
[Sep 12 21:06:36] WARNING[23452]: acl.c:582 resolve_first: Unable to lookup 'dynamic'
[Sep 12 21:06:36] WARNING[23452]: acl.c:711 ast_ouraddrfor: Cannot connect
[Sep 12 21:06:36] ERROR[23452]: chan_sip.c:3808 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
[Sep 12 21:06:36] NOTICE[23452]: chan_sip.c:13135 sip_reg_timeout: -- Registration for 'spa3102@dynamic' timed out, trying again (Attempt #7)
So, it did not work either.
Anyone do have the spa3102 working with lmce 1004?
Another question, regarding the dial rules, outbound, trunk sequences, registration string, etc: is there a way to define the dial rules? trunk sequence? registration string?
Thx in advance!
Paulo