Vicidial Custumization for Germany / europe dialplan

All installation and configuration problems and questions

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

Vicidial Custumization for Germany / europe dialplan

Postby martin.kudlek » Mon Feb 25, 2008 2:49 pm

What has to be done to customize is phantastic product for Germany / Europe ?

1) From our german point of view dialing out is much different :

e.g. making international calls to the uk to london
we dial out : 0044 20 XXXX XXXX

making international calls to Zurich / Switzerland
we dial out 0041 44 XXXX XXXX

making a call to Berlin / Germany in the international way we dial out
0049 30 XXXX XXXX

Any examples, any tips for the extensions.conf ?

this example doesn´t work for me in Germany :

; dial a long distance outbound number to the UK
exten => _901144XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901144XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
exten => _901144XXXXXXXXXX,3,Hangup

2) we want to use different prefixes in the range from 01-99 for our outbound trunks because we want to use different outbound trunks for the campaigns.

Which modifications are necessary ?

Does anyone have a sample dialplan for vicidial for Europe / Germany ?

Thank you for any tips

Martin
martin.kudlek
 
Posts: 10
Joined: Mon Feb 25, 2008 2:16 pm

Postby Michael_N » Mon Feb 25, 2008 3:57 pm

exten => _90044.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90044.,2,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
exten => _90044.,3,Hangup


With prefix 9 for calls to UK
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Vicidial Custumization for Germany / europe dialplan

Postby martin.kudlek » Mon Feb 25, 2008 5:31 pm

Michael_N wrote:exten => _90044.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90044.,2,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
exten => _90044.,3,Hangup


With prefix 9 for calls to UK


Thank you Michael, i am using a sip trunk for Germany :

exten => _90049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90049.,2,Dial(SIP/${EXTEN}@SIPtrunk,55,tTo)
exten => _90049.,3,Hangup

executes :

AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("SIP/samoa200-006cc0e0", "SIP/900492131209000@SIPtrunk|55|tTo") in new stack
-- Called 900492131209000@SIPtrunk

and gets me someone in the town because the first two digits have do be ommited for the correct dial string :

00492131209000 should be the correct dial number, how can we strip of the first two digits ?
martin.kudlek
 
Posts: 10
Joined: Mon Feb 25, 2008 2:16 pm

Postby Op3r » Mon Feb 25, 2008 8:30 pm

by adding EXTEN:2 on your dialplan
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Vicidial Customization for Germany / europe dialplan

Postby martin.kudlek » Tue Feb 26, 2008 2:11 am

Great !

This works for me in Germany :
Code: Select all
exten => _90049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90049.,2,Dial(SIP/${EXTEN:1}@SIPtrunk,55,tTo)
exten => _90049.,3,Hangup


with 9 i get an outside trunk, but the prefix 9 is ommited whe dialing.

Code: Select all
Executing AGI("SIP/samoa200-006c3190", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing Dial("SIP/samoa200-006c3190", "SIP/00492131209549@SIPtrunk|55|tTo") in new stack
    -- Called 00492131209549@SIPtrunk
    -- SIP/SIPtrunk-006cea60 is making progress passing it to SIP/samoa200-006c3190
martin.kudlek
 
Posts: 10
Joined: Mon Feb 25, 2008 2:16 pm

Vicidial Customization for Germany dialplan dial 2 trunks

Postby martin.kudlek » Tue Feb 26, 2008 2:28 am

Ok, now i have two outgoing trunks with two different telco providers:

Code: Select all
exten => _90049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90049.,2,Dial(SIP/${EXTEN:1}@SIPtrunk1,55,tTo)
exten => _90049.,3,Hangup

exten => _80049.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _80049.,2,Dial(SIP/${EXTEN:1}@SIPtrunk2,55,tTo)
exten => _80049.,3,Hangup


we want to install a failover dial logic :

if SIPtrunk1 is unavailiable, busy etc. SIPtrunk2 is used.

Thank you for any tips !
martin.kudlek
 
Posts: 10
Joined: Mon Feb 25, 2008 2:16 pm


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 249 guests