Extension

All installation and configuration problems and questions

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

Extension

Postby mastrit » Fri Mar 28, 2014 3:47 am

Hello,
I have import lists with number (0049xxxxxx, 0041xxxxxx, 0043xxxxxxx, 0046xxxxxx), but from the sip traffic thay say import number on this way because they have different route: (0000049xxxxxx, 0000041xxxxxx, 0000043xxxxxxx, 0000046xxxxxx) , (0000149xxxxxx, 0000141xxxxxxx...etc)

This is my Dial Plan Entry
Its possible to put the zeros '00000' not to change the lists. if yes pls can somebody explain dial plan entry

exten => _25.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _25.,2,Dial(${SIPTRAFFICTRUNK}/${EXTEN:2},,To)
exten => _25.,3,Hangup


Asterisk version=1.4.44-vici
VERSION: 2.6-395a
BUILD: 130221-1736
Standard Edition 4.0.3 ISO
mastrit
 
Posts: 14
Joined: Thu Apr 18, 2013 3:11 am

Re: Extension

Postby striker » Sat Mar 29, 2014 8:34 am

you try the below dialpal which will add 00000 while dialling out

exten => _25.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _25.,2,Dial(${SIPTRAFFICTRUNK}/00000${EXTEN:2},,To)
exten => _25.,3,Hangup
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am


Return to Support

Who is online

Users browsing this forum: No registered users and 94 guests