[Asterisk-Users] Dialing out on TDM400p 4 port FXO

Henry Devito hdevito at qwest.net
Mon Jan 31 10:20:38 MST 2005


Never mind,  my mistake.  I had a g in the group to dial out on in the
extensions.conf like I saw in one of the wiki's.  I guess that must be
outdated.  I took out the g's and it works fine.

Thanks anyways

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Henry Devito
Sent: Monday, January 31, 2005 11:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Dialing out on TDM400p 4 port FXO

Hi,

I have two small companies that are going to be sharing a * box.  I have 2
TDM400's with 4  fxo ports each.

Each company has its own sales person and they would like the sales people
to always show their own caller id and have their own lines ring directly to
their phones.  Company 1 sales person uses the 1 port on the tdm400 and
company 2 sales person uses the 2nd port of the tdm400.  The other ports
ring to their companies respected Auto attendant. Ports 3-5 ring to one
company and 6-8 ring the other.

The part of ringing in to the sales people work fine.  Line 1 rings to
Extension 500 and Line 2 Rings to extension 600.  How can I make it so
Extension 500 always dials out on line 1 and extension 600 always dials out
on line 2.  Below is the relevant snippets of the extensions.conf, sip.conf,
and Zapata.conf.

extensions.conf

[sales1]
exten => s,1,Dial(SIP/500)
exten => _9.,1,Dial(Zap/g1/${EXTEN}:1)


[sales2]
exten => s,1,Dial(SIP/600)
exten => _9.,1,Dial(Zap/g2/${EXTEN}:1)


zapata.conf

context=sales1
signalling=fxs_ls
channel => 1
group = 1

context=sales2
signalling=fxs_ls
channel => 2
group = 2


sip.conf
 
[500]
type=friend
username=500
secret=500
qualify=200                     
;nat=yes                        
host=dynamic
canreinvite=no
callerid="Mike M" <500>
context=sales1


[600]
type=friend
username=600
secret=600
qualify=200   
;nat=yes 
host=dynamic
canreinvite=no
callerid="Sales Dave" <600>
context=sales2

_______________________________________________
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




More information about the asterisk-users mailing list