Which version of Asterisk are you using?

Version 1.2.1

Did you use a STUN server? Are you using NAT?

I meant "qualify" not "quality" :)

I just set it to qualify=no.
It doesn't give me the error anymore of UNREACHABLE (which makes sense).
But I am also still not able to dial the extension of the phone.

-Steve


----- Original Message ----- From: "Waldo Rubinstein" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com>
Sent: Monday, December 19, 2005 11:04 PM
Subject: Re: [Asterisk-Users] Asterisk with Uniden uip200


I meant "qualify" not "quality" :)

- Waldo

On Dec 19, 2005, at 11:02 PM, Waldo Rubinstein wrote:

I've found that I have to disable quality on the UIP200 when I switched to Asterisk 1.2.X. It worked find with 1.0.9 and under. Which version of Asterisk are you using?

- Waldo

On Dec 19, 2005, at 10:34 PM, Steven Job wrote:

Having the strangest time getting the uip200 to work with Asterisk.
We can send outgoing calls, however we can not receive phone calls.

I have tried listening to all of the recommendations in this list such as setting the nat=never in the sip.conf and that didn't work at all (phone
stopped registering).

Anyone want to be so kind and let me know what the heck we are doing wrong?

The asterisk server is located on a static public IP.
The uip200 phones are at a dynamic public IP (different location than the
asterisk machine) but are behind a router using NAT.


When the phone first authenticates we get:

-- Registered SIP 'uip200-2a' at 141.156.50.142 port 64996 expires 3600
Dec 19 22:26:59 NOTICE[5436]: chan_sip.c:11328 sip_poke_noanswer:  Peer
'uip200-2a' is now UNREACHABLE!  Last qualify: 0


Then when you try to dial the extension of the phone we get:

Dec 19 22:29:01 NOTICE[16860]: app_dial.c:1010 dial_exec_full: Unable to
create channel of type 'SIP' (cause 3 - No route to destination)
 == Everyone is busy/congested at this time (1:0/0/1)


Thanks for any help!
-Steve



------sip.conf ------------------

[uip200-2a]
type=friend
secret=verysecret
nat=yes  ; have also tried nat=never and nat=route
host=dynamic
reinvite=no
canreinvite=no
qualify=1000
dtmfmode=auto                ; Choices are inband, rfc2833, or info
dtmf=auto
disallow=all
allow=ulaw
allow=alaw
context=internal



----------------- unidencom.txt  ---------------------------------------

# UIP200 Mass Configuration System Generic File
# Notes:
# 1. Lines start with '#' are comments
# 2. To leave a field value unchanged (as saved on local phone), leave value
to blank.
# 3. To set a field's value to empty, use '-' as value.
# 4. To NOT overwrite user local settings of: programmable key,  one/two
touch keys, VMA
# number, VMWILampIndicator, set "OverwriteLocalSetting = NO". Default is
"YES". This
# key will ALSO affect whether or not THESE settings in uniden<MAC>.txt
be used.
# 5. Any duplicate parameters exist in both unidencom.txt and
uniden<MAC>.txt, MAC settings
#    will be used.
# MAXIMUM FILE SIZE IS 10KB
# Current Limitation: No spaces allowed for a setting's value
# Version: BS4.70


#Overwrite user local settings of programmable keys, one/two touch keys, vma
settings
#If set to no, these current settings on the phone will not be overwritten. OverwriteLocalSettings YES # must be placed on top of config file

# Sip Settings --If only ProxyServer needed, set OutboundProxy1/ Port same as
ProxyServer/Port
ProxyServer serveraddress # can be an IP address or
FDQN
ProxyServerPort               0                # 0 to use default  port
OutboundProxy1 serveraddress # can be an IP address or
FQDN
OutboundProxy1Port 0 # enter a port number or 0
for default (5060)
#OutboundProxy2 192.168.0.2 # can be an IP address or
FQDN
#OutboundProxy2Port 0 # enter a port number or 0 for default
(5060)
#EmergencyProxy                192.168.1.102
#EmergencyProxyPort            0
Registrar1 serveraddress # can be an IP address
or FQDN
Registrar1Port 0 # enter a port number or 0
for default (5060)
#Registrar2 10.15.15.127 # can be an IP address or
FQDN
#Registrar2Port 0 # enter a port number or 0
for default (5060)

RegisterExpireSec             3600
Q_Param                       50
RegisterExpireLimitPercent    10
Register403RetrySec           1200
SipPort                       5060
SRVRecordName                 - #_sip._udp.uniden.com

FailoverRetrySec              4 # For Redundant Outbound proxy server

#InterDigitTimer Value in milli seconds (minimum is 1000ms = 1Second)
InterDigitTimer        4000

# options are ON or OFF
SessionTimerSupport           ON

# options are ON or OFF
SessionTimerRefresher         ON
SessionTimerMin               60
TimerInterval0                300
TimerInterval1                150


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

# options are ENABLE and DISABLE
DiffServMode                  ENABLE
DefaultDiffServParam          40
RTPDiffServParam              41

# options are TRUNKMODE, CASCADEMODE, DISABLE
VlanMode                      DISABLE
VlanID                        1
PcVlanID                     2

#SNTP Settings
# choices are YES and NO
EnableSNTP              yes
# SNTP Server IP address
SntpServerIP            192.5.41.40
TimeZone                -6 # -6 For Central Time Zone
# choices are YES and NO
EnableDST               YES
# Time period (in seconds) before recontacting SNTP server
SntpRetrySec            1800

# preferred codec are listed from most preferred, separated by commas and NO
space
PreferredCodec         g711u,g711a,g729

# choices are English, Spanish, and French
Language                English

#choices are Enable and Disable
CallWaiting             Enable #
EmergencyProxyPrefix    **

# STUN: If Server IP sis 0.0.0.0 STUN is disabled
StunServerAddr 0.0.0.0 # stun.softjoys.com # stun.fwdnet.net # I
have tried both of theve stun servers
StunServerPort            0 # 3478 # i have tried the port 3478 also
#Periodic update in seconds of MEDIA NAT ports (minimum is 10 and set 0 to
disable)
StunServerUpdateSec       0 # 30
#Periodic update in seconds to keep SIP NAT port open (minimum is 10 and set
0 to disable)
StunServerNATKeepAliveSec 0 # 30

# ALLOW IP DIALING with # as the first digit map
DirectIpDialing           Enable #Enable/Disable

# Set YES to AllowSharpAsDial to have # as your DIAL key.
AllowSharpAsDial Yes #Yes/No

#Flash Based Service Parameters:
# DTMFFlashEvent (Enable/Disable) -- Send RFC2833 Event 16 when enabled and
XFER button is pressed.
DTMFFlashEvent Disable
#HotLineDisplay (Enable/Disable) -- Do not display HOTLINE on LCD  when
Hotline Number is set
HotLineDisplay Disable

#User Agent Name Settings. Use Character "^" for space
UseCustomizedUserAgentName           No
CustomizedUserAgentName              Uniden^Customized^UA


#Admin password must be numeric. Max is 6 digits. Format:
oldpassword/newpassword
#AdminPassword            1234/1111

#end_of_file





--------- uniden<mac>.txt ---------------

# UIP200 Mass Configuration System Mac-based File
# Notes: Lines start with '#' are comments
# To leave a field value unchanged (as saved on local phone), leave value to
blank.
# To disable a field, use '-' as value
# MAXIMUM FILE SIZE IS 10KB
# Current Limitation: No spaces allowed for a setting's value
# Version: BS4.70


# Firmware. The items listed in this Firmware section must be in this order. # FirmwareVersion and FirmwareFileName only used if AutoFirmwareUpdate is
YES
# FimrwareFileName only used if FirmwareVersion differ from firmware ver in
Flash
AutoFirmwareUpdate    YES              #choices are YES and NO
FirmwareFileName      uip200_470enc.pac
FirmwareVersion       BS4.70


# Sip Settings
MyLcdDisplay           uip2a
MyDialNumber           uip200-2a
DisplayName            uip2a
UserNameForProxy       uip200-2a
PasswordForProxy       verysecret
UserNameForRegistrar   uip200-2a
PasswordForRegistrar   verysecret

# Programmable Keys. Key functionality must go before key values.
ProgrammableKey1       OneTouchDial
ProgrammableKey2       OneTouchDial
ProgrammableKey3       OneTouchDial
ProgrammableKey4       CallForward
ProgrammableKey5       TwoTouchDial
ProgrammableKey6       DoNotDisturb
ProgrammableKey7       VMA
ProgrammableKey8       Mute

# One and Two-touch keys. Must go after Programmable keys  functionality
definitions.
# Refer to Programmable and Fixed Function Keys for usage guide
# OneTouchKeyX value is used ONLY when ProgrammableKeyX is  OneTouchDial
OneTouchKey1             95558111111
OneTouchKey2             5553456
OneTouchKey3             3456
OneTouchKey4             3457
OneTouchKey5             18175553152
OneTouchKey6             18175553152
OneTouchKey7             18175553152
OneTouchKey8             18175553152

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

# Hotline and vmwi numbers --Must be placed after OneTouchDial's
HotLineNumber            -
VmaDirectCallNo 3685 #value associating with VMA Programmable
key.
VmwiLampIndicator        Enable

TimeDisplay              Enable
ImportPhoneBook          No

#end of file

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to