[Asterisk-Users] Every SIP on its own FXO
Tomislav Parčina
tparcina at lama.hr
Fri Nov 4 01:33:10 MST 2005
I have two SIP phones and two FXO ports. I would like to be able to define that every SIP phone can call POTS on specific FXO port. How to do that?
Right now I have done it on this way.
In sip.conf for every sip phone (every user) I have defined different context in extensions.conf. And there, by using includes, I call different external contexts (external_sip1 and external_sip2). It works but it doesn't look nice. Imagine how it would look like if I needed to specify 100 lines.
Question.
Can I define one context for all SIP phones and then in dial plan chose - for SIP1 dial on FXO1; for SIP2 dial on FXO2... I hope I have make my self clear :))
Thank you for your time.
--
Tomislav Parčina
Lama d.o.o.
www.lama.hr
tparcina#lama.hr
More information about the asterisk-users
mailing list