Dear all, 

 

Long time no type, I have a query that I hope somebody could point me
to, 

I am currently trying to make use of a multiple of outgoing lines,
currently my extensions.conf looks something like below

 

>> 

 

; extensions.conf

; 20th October 2008

 

 

[globals]

sip1=201

sip2=202

sip3=203

sip4=204

 

[general]

autofallthrough=yes

 

[default]

 

[incoming_calls]

 

exten => _89859715,1,Dial(SIP/201)

exten => _89859716,1,Dial(SIP/202)

exten => _89859717,1,Dial(SIP/203)

exten => _89859718,1,Dial(SIP/204)

exten => _89859719,1,Dial(SIP/205)

exten => _89859720,1,Dial(SIP/206)

exten => _89859721,1,Dial(SIP/207)

exten => _89859722,1,Dial(SIP/208)

exten => _89859723,1,Dial(SIP/209)

exten => _89859724,1,Dial(SIP/210)

exten => _89859725,1,Dial(SIP/211)

exten => _89859726,1,Dial(SIP/212)

exten => _89859727,1,Dial(SIP/213)

exten => _89859728,1,Dial(SIP/214)

exten => _89859729,1,Dial(SIP/215)

 

[macro-sipmail]

exten => s,1,Verbose(1,Extension ${ARG1})  ;line req to pick up ext if
it's not reg.

exten => s,n,Dial(SIP/${ARG1},30)

exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)

exten => s,n(unavail),Voicemail(${ar...@default,u)

exten => s,n,Hangup()

exten => s,n(busy),VoiceMail(${ar...@default,b)

exten => s,n,Hangup()

 

[macro-conference]

exten => s,1,Playback(conf-theatre)

exten => s,n,MeetMe(${ARG1},i)

 

[internal]

include => outbound

 

;Voicemail

exten => 8,1,VoiceMailMain()

 

;Conference Rooms

exten => 600,1,Macro(conference,600)

exten => 601,1,Macro(conference,601)

exten => 602,1,Macro(conference,602)

exten => 603,1,Macro(conference,603)

exten => 604,1,Macro(conference,604)

exten => 605,1,Macro(conference,605)

 

;Extensions

exten => 201,1,Macro(sipmail,201)

exten => 202,1,Macro(sipmail,202)

exten => 203,1,Macro(sipmail,203)

exten => 204,1,Macro(sipmail,204)

exten => 205,1,Macro(sipmail,205)

exten => 206,1,Macro(sipmail,206)

exten => 207,1,Macro(sipmail,207)

exten => 208,1,Macro(sipmail,208)

 

;Digium card Channels

exten => 301,1,Dial(Zap/1-1)

exten => 302,1,Dial(Zap/1-2)

 

[outbound]

exten => _9.,1,Dial(SIP/${EXTEN:1...@61289859715,30,tr)

exten => _9.,n,Hangup()

exten => 000,1,Dial(SIP/0...@61289859715)

 

exten => _7.,1,Dial(SIP/${EXTEN:1...@61289859715,30,tr)

exten => _7.,n,Hangup()

exten => 000,1,Dial(SIP/0...@61289859715)

 

[phones]

include => internal

include => incoming_calls

include => outbound

 

>> 

 

Each extension has its own incoming and outgoing account, I know how to
route the incoming number to each particular extension, but how does one

Route outgoing calls from a particular account using a specific line,
ie, for phone no. 89859715 to send an outgoing call using caller id
89859715 and line 89859715? Or 89859716 to use 89859716 line?

 

Thanks for your thoughts.


Rgds,

Clara

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to