This has finally broken me. I can't seem to figure out how to configure a SPA-3k to connect to a * host. The SPA is running 2.0.10(GWf) and * is v1.0.1. I have a SPA-2k running fine. I am trying to have the 3k work as a FXO and FXS truly off the * host. The machines are behind a NAT and * is handling a BV connection via NAT. The error that the PSTN Line keeps encountering is: Oct 8 22:05:11 NOTICE[6150]: chan_sip.c:4860 register_verify: Peer 'pstn' is trying to register, but not configured as host=dynamic Oct 8 22:05:11 NOTICE[6150]: chan_sip.c:7532 handle_request: Registration from '<sip:pstn@192.168.234.111>' failed for '192.168.234.21' The entries I have in the SIP.conf are: [general] context=default port=5060 bindaddr=192.168.234.111 maxexpirey=180 defaultexpirey=160 tos=0x08 nat=no srvlookup=yes videosupport=no dtmfmode=inband disallow=all ; Disallow all codecs ;allow=gsm allow=ulaw ;allow=ilbc ;allow=alaw language=en externip=DYNDNSentry localnet=192.168.234.0/255.255.255.0 [pstn] SPA-3k PSTN Line type=peer context=default secret=supersecretpassword port=5061 host=192.168.234.21 dtmfmode=rfc2833 canreinvite=no nat=no [2200] ; SPA-3k Line 1 type=friend context=default port=5060 host=dynamic secret=supersecretpassword2 callerid="Cordless" <2200> mailbox=2200 dtmfmode=rfc2833 ;canreinvite=no nat=no For extensions.conf: [global] PHONES3=SIP/2200 PHONES4=SIP/pstn [local] exten => _9NXXXXXXXXX,1,Dial(SIP/${EXTEN:2}@pstn,60,tr) [default] include=>local exten => pstn,1,Macro(stdexten,2201,${PHONES4}) ; SPA-3k PSTN Line exten => 2200,1,Macro(stdexten,2200,${PHONES3}) ; SPA-3k Line 1 Thanks, Jeff As -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041009/120b91e6/attachment.htm
Benjamin on Asterisk Mailing Lists
2004-Oct-09 07:45 UTC
[Asterisk-Users] SIP SPA-3k & * Configuration
On Sat, 9 Oct 2004 10:10:51 -0400, Jeff owen <owenj@surfree.net> wrote:> Oct 8 22:05:11 NOTICE[6150]: chan_sip.c:4860 register_verify: Peer 'pstn' > is trying to register, but not configured as host=dynamicIf you want a device to register with Asterisk, then you must configure that device as host=dynamic. So, change your SPA3K's definition to dynamic. Otherwise you would have to configure the SPA to not register with Asterisk. rgds benjk -- Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya, Tokyo, Japan. NB: Spam filters in place. Messages unrelated to the * mailing lists may get trashed.