On 23 Jul 2006 at 15:30, Bruce Nik wrote:
> I am using a2billing with trixbox. A2billing requires a trunk to be specified
> to make calls out. I want
> to use SPA3000 as the FXO gateway in this case. The problem is that SPA3k
> registers to my
> trixbox as a sip extension and I don't know how to set it so that there is a
> trunk that is connected
> to SPA3k.
>
> Right now I can dial SPA3k extension and get dial tone but I want only one
> stage dialing.
>
> I know that there should be a solution. What would it be?
The PSTN can be a trunk inbound, such as
[spa300-in]
exten => 9051234567,1,Wait(2)
exten => 9051234567,2,Zapateller(Answer|nocallerid)
exten => 9051234567,3,Goto(some-exten-or-menu,4001,1)
in sip.conf have a section for context=spa3000-in which has all
the required parameters
The PSTN port is on 5061, you should be able to dial out to it
exten => _9.,1,SIP/${EXTEN:[EMAIL PROTECTED]:5061