No subject


Tue Sep 5 14:32:44 MST 2006


register=9146186144:notyoursecret at sip.stanaphone.com/9146186144

[stanaphone]
fromdomain=sip.stanaphone.com
fromuser=9146186144
type=peer
secret=notyoursecret
auth=MD5
username=9146186144
host=sip.stanaphone.com
dtmfmode=info
context=default
canreinvite=no
disallow=all
allow=ulaw
allow=ilbc

It looks like the only big difference is with the fromuser thing.  I had a
really hard time with it, and ended up searching alot until I found this setup
in some cablemodem fansite.  Outgoing always seems to work fine, incoming I have
problems with, sometimes it fails on the registration with unauthorized errors.

Pulu

----
Afe.to ANTS
POB 1478
Nuku'alofa, Tonga
Ph: Country code 676 - 27946 or 878-1332
http://www.afe.to
http://svcs.affero.net/rm.php?r=pulu


Quoting Travis Conway <tconway at tritonmanagementgroup.com>:

> I am trying to get Asterisks to connect to our StanaPhone so that I can use
> it to route my outgoing PSTN calls to.  We have a free account and if I can
> get this working are willing to pay for an actual minutes with them.
> 
> Here is what I have in my sip.conf:
> 
> [stanaphone]
> type=friend
> secret=pAsSwOrD             ; skewed for this message.
> username=3475341914
> host=sip.stanaphone.com
> fromdomain=sip.stanaphone.com
> insecure=very
> nat=yes
> 
> extensions.conf:
> 
> exten => _1NXXXXXXXXX,1,SetCallerId,3475341914
> exten => _1NXXXXXXXXX,2,Dial(SIP/${EXTEN}@stanaphone)
> exten => _1NXXXXXXXXX,3,Playback(invalid)
> exten => _1NXXXXXXXXX,4,Hangup
> 
> When it calls it goes to playing invalid and on my console I see where they
> gave me an error 503 "Service Unavailable" but when I connect directly to
> StanaPhone using a SIP softphone, I can dial out with no problems.  Do any of
> you use stanaphone and happen to have some configs that work?
> 
> Travis Conway
> EFS, Inc.
> Information Technology
> Desk:   (334) 215-6551
> Mobile: (334) 391-4450
> mailto:travis at homeoffice.quikpawn.com
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-------------------------------------------------
This mail sent from Tonga's Premiere Internet Cafe
Visit us online at http://www.cafe.afe.to 
discussions @ http://www.nomoa.com/index.php
generic info @  http://www.tongatapu.net.to



More information about the asterisk-users mailing list