I have a few UIP200s working just fine. Below is sample sip.conf from a production system as well as the corresponding uniden{MAC}.txt for tftp boot.

sip.conf:

[general]
context=default
port=5060
bindaddr=0.0.0.0
srvlookup=yes
relaxdtmf=yes
rtptimeout=60
rtpholdtimeout=300
localnet=10.0.10.0/255.255.255.0

[3211]
type=friend
username=3211
secret=3211
host=dynamic
context=def_INT
canreinvite=no
;dtmfmode=inband
nat=never
[EMAIL PROTECTED]
callerid="Sample"<3211>
disallow=all
allow=ulaw


uniden{MAC}.txt:
OverwriteLocalSettings        YES

ProxyServer                   10.0.10.13
ProxyServerPort               0
OutboundProxy1                10.0.10.13
OutboundProxy1Port            0
OutboundProxy2                0.0.0.0
OutboundProxy2Port            0
EmergencyProxy                0.0.0.0
EmergencyProxyPort            0
Registrar1                    10.0.10.13
Registrar1Port                0
Registrar2                    0.0.0.0
Registrar2Port                0

RegisterExpireSec             3600
Q_Param                       50
RegisterExpireLimitPercent    10
Register403RetrySec           1200
SipPort                       5060
SRVRecordName                 -

FailoverRetrySec              4

InterDigitTimer               2500

SessionTimerSupport           ON

SessionTimerRefresher         ON
SessionTimerMin               60
TimerInterval0                300
TimerInterval1                150

G711MuTxPacketLength          20
G711MuJitterBufferLength      10
G711MuJitterBufferMax         200
G711ATxPacketLength           20
G711AJitterBufferLength       10
G711AJitterBufferMax          200
G729TxPacketLength            20
G729JitterBufferLength        10
G729JitterBufferMax           200
LongHoldAlertPeriod           360
RTPPortBase                   25000

DiffServMode                  OFF
DefaultDiffServParam          192
RTPDiffServParam              160

VlanMode                      DISABLE
VlanID                        1
PcVlanID                      2
#TftpAddress                   10.0.10.13

EnableSNTP              yes
SntpServerIP            209.132.176.4
TimeZone                -5
EnableDST               YES
SntpRetrySec            1800

PreferredCodec         g711u,g711a,g729

Language                English

CallWaiting             Enable
EmergencyProxyPrefix    **

StunServerAddr            0.0.0.0
StunServerPort            0
StunServerUpdateSec       0
StunServerNATKeepAliveSec 0

DirectIpDialing           Enable

AllowSharpAsDial        Yes

DTMFFlashEvent Disable
HotLineDisplay Disable

UseCustomizedUserAgentName           No
CustomizedUserAgentName              Uniden^Customized^UA

AdminPassword            1234/1111

AutoFirmwareUpdate    YES
FirmwareFileName      uip200_463enc.pac
FirmwareVersion       BS4.63

ProgrammableKey1       OneTouchDial
ProgrammableKey2       OneTouchDial
ProgrammableKey3       OneTouchDial
ProgrammableKey4       CallForward
ProgrammableKey5       TwoTouchDial
ProgrammableKey6       DoNotDisturb
ProgrammableKey7       VMA
ProgrammableKey8       Mute

OneTouchKey1             18005558355
OneTouchKey2             5553456
OneTouchKey3             3456
OneTouchKey4             3457
OneTouchKey5             3458
OneTouchKey6             918005558355
OneTouchKey7             3459
OneTouchKey8             3450

TwoTouchDigit0           3469
TwoTouchDigit1           3450
TwoTouchDigit2           4420
TwoTouchDigit3           4421
TwoTouchDigit4           4422
TwoTouchDigit5           4423
TwoTouchDigit6           4424
TwoTouchDigit7           4425
TwoTouchDigit8           4426
TwoTouchDigit9           4427

HotLineNumber            -
VmaDirectCallNo          3685
VmwiLampIndicator        Enable

TimeDisplay              Enable
ImportPhoneBook          No

MyLcdDisplay         211
MyDialNumber         3211
DisplayName          3211
UserNameForProxy     3211
PasswordForProxy     3211
UserNameForRegistrar   3211
PasswordForRegistrar   3211

- Waldo

On Jul 11, 2005, at 2:39 PM, Heath Oderman wrote:

Adam,

 

I've tried both the [heath] heading and the [31521] heading.

I figure the 31521 was right because the registration error message
says [EMAIL PROTECTED]

I've tried host = dynamic and defaultip = 172.xxxxx

No combination of those above settings scores me a successful registration.

h


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Mark Edwards
Sent: Tuesday, July 05, 2005 5:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Uniden UIP 200 and Asterisk.

 

Unless I'm very much mistaken you want to get rid of either the host=dynamic or the defaultip=<something>

 

host=dynamic indicates the device is getting an IP from dhcp and it will tell * what it is when it registers.

 

defaultip=<something> indicates that the device is staticip.

 

Devices like this are normally dynamic so try losing the defaultip entry

 

cheers

 

Mark

 

On 7/6/05, Heath Oderman <[EMAIL PROTECTED]> wrote:

Hi, I'm new to asterisk, and have a uniden UIP 200 that I got off of ebay.

I'm having trouble getting the phone to register with asterisk.  I've tried
a few different settings.  I'd be extremely grateful if someone with a
similar setting could give me the sip.conf block for the UIP and the
settings you're using in uniden.txt.

Here's what I have currently:

IP of phone is 172.28.184.105

In sip.conf -
[uip200]
username = heath
secret = happy
type = friend
qualify = no
host = dynamic
defaultip = 172.28.184.105
dtmfmode = rfc2833
context = sip
nat=no

In unidenMAC.txt -
# Sip Settings
MyLcdDisplay         31521
MyDialNumber         703XXXXXXX
DisplayName          31521
UserNameForProxy     heath
PasswordForProxy     happy
UserNameForRegistrar   heath
PasswordForRegistrar   happy

The output from asterisk is, of course:
*CLI> Jul  4 15:33:15 NOTICE[22905]: chan_sip.c:7733 handle_request:
Registration from '< sip:[EMAIL PROTECTED]>' failed for
'172.28.184.105'
Jul  4 15:33:45 NOTICE[22905]: chan_sip.c:7733 handle_request: Registration
from '<sip:[EMAIL PROTECTED]>' failed for '172.28.184.105'
Jul  4 15:34:15 NOTICE[22905]: chan_sip.c:7733 handle_request: Registration
from '<sip:[EMAIL PROTECTED]>' failed for '172.28.184.105'

I've tried a few variants without much luck.  Any pointers would be greatly
appreciated.

Thanks in advance for any help you can offer.
heath


Transparent Logic Technologies
Heath Oderman
757-410-2593 x 113
[EMAIL PROTECTED]



_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




--
regards,

Mark P. Edwards
FWD: 667917

_______________________________________________
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to