Three generic points to check.
In sip.conf, a registration line
In sip.conf, a context pointing to a context in extensions.conf
A context in extensions.conf to route the call
Examples: passwords removed to protect me!
In [general]
register=17476721176:x...@proxy01.sipphone.com
Also in sip.conf
;
[out-gizmo]
context=inbound
type=peer
username=17476721176
secret=XXXX
host=proxy01.sipphone.com
fromdomain=proxy01.sipphone.com
fromuser=17476721176
disallow=all
allow=ulaw
allow=ilbc
allow=gsm
callerid=asreceived
dtmfmode=rfc2833
insecure=very
accountcode=out-gizmo
srvlookup=yes
canreinvite=no
;
;************************************************************
[from-gizmo]
type=friend
context=from-gizmo
disallow=all
allow=ulaw
allow=ilbc
allow=gsm
dtmfmode=rfc2833
host=proxy01.sipphone.com
fromdomain=proxy01.sipphone.com
insecure=very
username=17476721176
secret=XXXX
canreinvite=no
srvlookup=yes
accountcode=fromgizmo
;
You may not want or need two contexts for inbound and outbound
In extensions.conf
;
[from-gizmo]
exten => s,1,NoOp(NAME:${CALLERID(name)}NUM:${CALLERID(num)});
exten => s,2,Goto(inbound,${OFFICECODE}9900,1) ;
exten => s,3,Hangup ;
And to dial out - in the appropriate context
;gizmo account
exten => _81NXXXXXXXXX,1,SetCallerID(John Novack <17476721176>)
exten => _81NXXXXXXXXX,2,Dial(SIP/${EXTEN:1...@out-gizmo,180,Tt)
;
Hope this helps.
Jose Colin wrote:
HI. thanks so much for the community. I have a very important question
that I already made but no answer and should be a easy question for
pros like you. so please if you have this question please share it
the thing is that I install astlinux, it is said that the astlinux by
default is PBX-only so I dont need router or firewall. but the default
install. does not allow me to receive incoming call by default it
sounds busy
I send this problem to the ISP of my sip provider. they have installed
astlinux too. to make test. and they are experiment the same as me.
no incoming calls by default are allowed.
so my question is simple. How I Can revert this and allow incoming
calls ?????
I repeat I dont need router or firewall. Only pbx-only
if by default the pbx block incoming calls. how lot ot people users
can make their pbx allow incoming calls. please share that info. to
help people new with astlinux that have same problem
thanks so much
------------------------------------------------------------------------
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.
--
Dog is my co-pilot
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.