Outbound dialing with different users with different provide

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Outbound dialing with different users with different provide

Postby prince.fer » Sat May 24, 2008 1:28 pm

Hello,

I am using asterisk-1.2.10 and astuguiclient-2.0.3. I have 10 users with my system. I want 5 users to dial with X provider and 5 users with Y provider. By changing the context=X for 5 and context=Y for next 5 users it`s dialing from default context only.

I also have X and Y context in extensions.conf. And also in sip.conf in users peer for 5+5 context=X and context=Y.

Do i need to change anything else. ?
prince.fer
 
Posts: 146
Joined: Fri Jun 30, 2006 10:13 am

hello

Postby eliasferreyra » Sat May 24, 2008 8:06 pm

hello
you can make 2 out dialplans

samples:

X-CONTEXT
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(SIP/${EXTEN}@TRUNKX,55,Ttor)
exten => _X.,3,Hangup


Y-CONTEXT
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(SIP/${EXTEN}@TRUNKY,55,Ttor)
exten => _9X.,3,Hangup

and only have to specify on the campaign on the dial prefix, the prefix for each user group

prefix X and prefix 9
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 98 guests