Multi-lines without caller id


#1

I have two phone lines for my house. I want to use both with asterisk, one for the house, and one for my business.

I do not have caller id on either. Is it possible by zaptel trunks to specify a caller id number for the line so they can be routed approperiatly

Thanks for your help,
Dan


#2

dont understand about the callerid part but if you want to route to differnet things just set each line up in its own context then you could have say calls coimng in on the house line ring the phones and calls coming in on the buisness line go to a menu or ring differnet phone or what ever you want it too


#3

That is exactly what I would like to do, but the only way i see how to route calls is by caller id numbers. How would I route them via “context”?


#4

how are the phone lines connected to asterisk? Digium card or ATA


#5

The are connected via x100p clones.

Thanks,
Dan


#6

ok then in zapata you should have something like

signalling=fxo_ls
immediate=no
context=home
Channel=1

signalling=fxo_ls
immediate=no
context=office
Channel=2

Now in extensions.conf create to context 1 name home and 1 name office

[home]
exten => s,1,Dial(sip/100)

[office]
exten => s,1,Background(office_menu)

anything coming in on channel 1 will do whatever you put in the context[home]

anything coming in on channel 2 will do what you put in context [office]


#7

Thank you so much, I will try it today

Dan