• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Asterisk automatic selection of outgoing line

Hey, so far I have
in my sip.conf  under the phone im using
context=sipoutgoing

then in extensions.conf
I have
[sipoutgoing]
exten => s,1,Dial(Zap/1)
but that doesnt work I just want to be able to call outside via Zap/1-8

Tom
0
T0masz
Asked:
T0masz
  • 3
  • 2
1 Solution
 
T0maszAuthor Commented:
[sip]
exten => _.,1,Dial(Zap/1/${EXTEN})
exten => _.,2,Hangup

now I tried defining group1 in my zapata.conf
group=1
signalling=fxs_ks
callerid="" <0>
mailbox=
group=2
context=default
channel => 1-4
but If I call exten => _.,1,Dial(Zap/g1/${EXTEN})
then it says unable to create channel of type Zap

Let me know
Tom
0
 
scampgbCommented:
Hi T0masz,
You seem to have "group=2" in your zapata.conf, yet you're using "g1" in your dial string.

You need to put "group=1" in the zapata.conf, or put "g2" in your dial string.

Also, you need to make sure that you have the wcfxs &  zaptel modules loaded.  You can check this with "lsmod".

Does that help?
0
 
scampgbCommented:
Hi T0masz,

Was the above of use, or do you need some further help with this?

0
 
T0maszAuthor Commented:
ill post within the next day, i didnt get a chance to test it yet. Ill let you know.

Tom
0
 
scampgbCommented:
Glad I could help :-)


0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now