> I can't seem to keep my Asterisk box registered with stanaphone for
> inbound calls. It works for about 5 minutes after a restart or reload,
> then calls to my Stanaphone number say I'm unavailable. I can't really
> blaim their end because if I configure my Sipura 2000 to talk directly to
> them, things work fine. 
> 
> register => number:[EMAIL PROTECTED]
> 
Try adding your DDI number to the end of the register:

    register => NUMBER:[EMAIL PROTECTED]/NUMBER

> 
> [stanaphone]
> fromdomain=sip.stanaphone.com
> fromuser=NUMBER
> type=peer
> secret=PASSWORD
> auth=MD5
> username=NUMBER
> host=sip.stanaphone.com
> qualify=yes
> dtmfmode=info
> context=fromstanaphone
> canreinvite=no
> disallow=all
> insecure=very
> allow=ulaw
> allow=ilbc
> 
> Everything works, for 5 minutes, then poof, no inbound calls.
> sip show registry still shows it registered.
> 
The following works for me.  I only have a lazy "friend" setup for
StanaPhone, but it could easily be modified if extra flexibility was
required on that connection for some reason:

    [stanaphone]
    type = friend
    context = incoming-stanaphone
    host = sip.stanaphone.com
    username = NUMBER
    secret = PASSWORD
    insecure = very
    qualify = 500

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    [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

Reply via email to