A Broadband and ADSL forum. BroadbanterBanter

Welcome to BroadbanterBanter.

You are currently viewing as a guest which gives you limited access to view most discussions and other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today.

Go Back   Home » BroadbanterBanter forum » Newsgroup Discussions » uk.telecom.voip (UK VOIP)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

uk.telecom.voip (UK VOIP) (uk.telecom.voip) Discussion of topics relevant to packet based voice technologies including Voice over IP (VoIP), Fax over IP (FoIP), Voice over Frame Relay (VoFR), Voice over Broadband (VoB) and Voice on the Net (VoN) as well as service providers, hardware and software for use with these technologies. Advertising is not allowed.

PING Sparks (Speed dials in [email protected])



 
 
Thread Tools Display Modes
  #1  
Old November 25th 05, 12:21 PM posted to uk.telecom.voip
Jono
external usenet poster
 
Posts: 73
Default PING Sparks (Speed dials in [email protected])

Can you have a look at this thread and see if you can suss out how to get
the speed dial feature to work in [email protected]?

http://voxilla.com/index.php?name=PN...=31382#313 82

I can get the speed dials to store, but can't get them to dial.

The helpful chandave has responded to my plea (again) however, I know not
enough to comprehend his reply :-(



  #2  
Old November 26th 05, 05:05 PM posted to uk.telecom.voip
Ian
external usenet poster
 
Posts: 289
Default PING Sparks (Speed dials in [email protected])


"Jono" wrote in message
. uk...
Can you have a look at this thread and see if you can suss out how to get
the speed dial feature to work in [email protected]?

http://voxilla.com/index.php?name=PN...=31382#313 82

I can get the speed dials to store, but can't get them to dial.

The helpful chandave has responded to my plea (again) however, I know not
enough to comprehend his reply :-(

Hi Jono

That looks very like a rework of a version I posted to voip-info last year

My very simplified version for version 1-0-X is below
for outdialing it uses the defined trunks for example Trunk1 is ZAP/g1 and
trunkiax is the defined string for my IAX trunks

As it stands this supports 99 speed dials but can be changed for 999 by
changing _30xx to _30xxx etc,

I have updated it for 1-2 but dont have it to hand as its on the lab system
due to problems with 1-2

Ian

Code follows

;Storing 11 digit numbers in speeddial database can only be done by sets
with international context
exten = _30XX.,1, DBput(speed/${EXTEN:2:2}=${EXTEN:4:11})
exten = _30XX.,2, Playback(val_sp)
exten = _30XX.,3, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _30XX.,4, Playback(currently)
exten = _30XX.,5, SayNumber(${EXTEN:2:2})
exten = _30XX.,6, Playback(is-set-to)
exten = _30XX.,7, SayDigits(${spnum})
exten = _30XX.,8, Hangup


;Reading the stored number back.
exten = _31XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _31XX,2, Playback(currently)
exten = _31XX,3, SayNumber(${EXTEN:2:2})
exten = _31XX,4, Playback(is-set-to)
exten = _31XX,5, SayDigits(${spnum})
exten = _31XX,6, Hangup

;Retreiving numbers for alog dialing
exten = _39XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _39XX,2, Dial(${TRUNK1}/${spnum})
exten = _39XX,3, Congestion

;Retreiving numbers for iax dialing
exten = _38XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _38XX,2, Dial(${TRUNKiax}/44${spnum:${TRUNKMSD}})
exten = _38XX,3, Congestion

;Retreiving numbers for alog Phonecoop dialing
exten = _37XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _37XX,2, Dial(${TRUNK1}/184088${spnum})
exten = _37XX,3, Congestion


  #3  
Old November 26th 05, 06:11 PM posted to uk.telecom.voip
Jono
external usenet poster
 
Posts: 73
Default PING Sparks (Speed dials in [email protected])


"Ian" spam"AT"bathfordhill.co.uk wrote in message
...

"Jono" wrote in message
. uk...
Can you have a look at this thread and see if you can suss out how to get
the speed dial feature to work in [email protected]?

http://voxilla.com/index.php?name=PN...=31382#313 82

I can get the speed dials to store, but can't get them to dial.

The helpful chandave has responded to my plea (again) however, I know not
enough to comprehend his reply :-(

Hi Jono

That looks very like a rework of a version I posted to voip-info last year

My very simplified version for version 1-0-X is below
for outdialing it uses the defined trunks for example Trunk1 is ZAP/g1 and
trunkiax is the defined string for my IAX trunks

As it stands this supports 99 speed dials but can be changed for 999 by
changing _30xx to _30xxx etc,

I have updated it for 1-2 but dont have it to hand as its on the lab
system
due to problems with 1-2

Ian

Code follows

;Storing 11 digit numbers in speeddial database can only be done by sets
with international context
exten = _30XX.,1, DBput(speed/${EXTEN:2:2}=${EXTEN:4:11})
exten = _30XX.,2, Playback(val_sp)
exten = _30XX.,3, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _30XX.,4, Playback(currently)
exten = _30XX.,5, SayNumber(${EXTEN:2:2})
exten = _30XX.,6, Playback(is-set-to)
exten = _30XX.,7, SayDigits(${spnum})
exten = _30XX.,8, Hangup


;Reading the stored number back.
exten = _31XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _31XX,2, Playback(currently)
exten = _31XX,3, SayNumber(${EXTEN:2:2})
exten = _31XX,4, Playback(is-set-to)
exten = _31XX,5, SayDigits(${spnum})
exten = _31XX,6, Hangup

;Retreiving numbers for alog dialing
exten = _39XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _39XX,2, Dial(${TRUNK1}/${spnum})
exten = _39XX,3, Congestion

;Retreiving numbers for iax dialing
exten = _38XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _38XX,2, Dial(${TRUNKiax}/44${spnum:${TRUNKMSD}})
exten = _38XX,3, Congestion

;Retreiving numbers for alog Phonecoop dialing
exten = _37XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
required bin number
exten = _37XX,2, Dial(${TRUNK1}/184088${spnum})
exten = _37XX,3, Congestion



Thanks Ian, I'll have a play with it shortly.

I found it on giganews newsgroup called
gmane.comp.telephony.pbx.asterisk.user.

There were no posts since 9/9/05 and the one before that was 19/4/05.

The speed dial post was from a chap called paul crick dated 19/4/05.

It looks like the group is actually from the asterisk users mailing
list...........


  #4  
Old November 26th 05, 06:26 PM posted to uk.telecom.voip
Jono
external usenet poster
 
Posts: 209
Default PING Sparks (Speed dials in [email protected])



Ian" spam"AT wrote:
|| "Jono" wrote in message
|| . uk...
||| Can you have a look at this thread and see if you can suss out how to
||| get the speed dial feature to work in [email protected]?
|||
||| http://voxilla.com/index.php?name=PN...=31382#313 82
|||
||| I can get the speed dials to store, but can't get them to dial.
|||
||| The helpful chandave has responded to my plea (again) however, I know
||| not enough to comprehend his reply :-(
|||
|| Hi Jono
||
|| That looks very like a rework of a version I posted to voip-info last
|| year
||
|| My very simplified version for version 1-0-X is below
|| for outdialing it uses the defined trunks for example Trunk1 is ZAP/g1
|| and trunkiax is the defined string for my IAX trunks
||
|| As it stands this supports 99 speed dials but can be changed for 999 by
|| changing _30xx to _30xxx etc,
||
|| I have updated it for 1-2 but dont have it to hand as its on the lab
|| system due to problems with 1-2
||
|| Ian
||
|| Code follows
||
|| ;Storing 11 digit numbers in speeddial database can only be done by
|| sets with international context
|| exten = _30XX.,1, DBput(speed/${EXTEN:2:2}=${EXTEN:4:11})
|| exten = _30XX.,2, Playback(val_sp)
|| exten = _30XX.,3, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be
|| the required bin number
|| exten = _30XX.,4, Playback(currently)
|| exten = _30XX.,5, SayNumber(${EXTEN:2:2})
|| exten = _30XX.,6, Playback(is-set-to)
|| exten = _30XX.,7, SayDigits(${spnum})
|| exten = _30XX.,8, Hangup
||
||
|| ;Reading the stored number back.
|| exten = _31XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
|| required bin number
|| exten = _31XX,2, Playback(currently)
|| exten = _31XX,3, SayNumber(${EXTEN:2:2})
|| exten = _31XX,4, Playback(is-set-to)
|| exten = _31XX,5, SayDigits(${spnum})
|| exten = _31XX,6, Hangup
||
|| ;Retreiving numbers for alog dialing
|| exten = _39XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
|| required bin number
|| exten = _39XX,2, Dial(${TRUNK1}/${spnum})
|| exten = _39XX,3, Congestion
||
|| ;Retreiving numbers for iax dialing
|| exten = _38XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
|| required bin number
|| exten = _38XX,2, Dial(${TRUNKiax}/44${spnum:${TRUNKMSD}})
|| exten = _38XX,3, Congestion
||
|| ;Retreiving numbers for alog Phonecoop dialing
|| exten = _37XX,1, DBget(spnum=speed/${EXTEN:2:2}) ;sets spnum to be the
|| required bin number
|| exten = _37XX,2, Dial(${TRUNK1}/184088${spnum})
|| exten = _37XX,3, Congestion

What would be wrong with running this on version 1.2 as is?


  #5  
Old November 26th 05, 11:33 PM posted to uk.telecom.voip
Ian
external usenet poster
 
Posts: 289
Default PING Sparks (Speed dials in [email protected])

SNIP
What would be wrong with running this on version 1.2 as is?



Loads of debug errors , and this method will not be supported for ever so
its worth changing it now as is the case with all the other changes.

part of the 1-2 version is at http://www.voipuser.org/forum_topic_3123.html
on the second page.

I think i first posted my first version in august 2004 to
http://asterisk.xvoip.com/ now sadly dead :-( my final version was written
in jan this year, But its a very simple database store and call routine

Ian


  #6  
Old November 27th 05, 10:15 AM posted to uk.telecom.voip
Jono
external usenet poster
 
Posts: 73
Default PING Sparks (Speed dials in [email protected])


"Ian" spam"AT"bathfordhill.co.uk wrote in message
...
SNIP
What would be wrong with running this on version 1.2 as is?



Loads of debug errors , and this method will not be supported for ever so
its worth changing it now as is the case with all the other changes.

part of the 1-2 version is at
http://www.voipuser.org/forum_topic_3123.html
on the second page.

I think i first posted my first version in august 2004 to
http://asterisk.xvoip.com/ now sadly dead :-( my final version was
written
in jan this year, But its a very simple database store and call routine

Ian



I'm currently using [email protected] 1.3 which has asterisk 1.0.9.

I am thinking of trying [email protected] 2.0 (with asterisk 1.2)................will I
find I'll have to re-work everything I've done?!

Should I stick with v1.0.9? What would you say are the benefits of v1.2?


  #7  
Old November 27th 05, 04:37 PM posted to uk.telecom.voip
Ian
external usenet poster
 
Posts: 289
Default PING Sparks (Speed dials in [email protected])

Hi

I'm currently using [email protected] 1.3 which has asterisk 1.0.9.

I am thinking of trying [email protected] 2.0 (with asterisk 1.2)................will I
find I'll have to re-work everything I've done?!

Should I stick with v1.0.9? What would you say are the benefits of v1.2?


Well thats the million dollar question. There are new apps and the code is
tighter, It sort of depends on what you are doing and if you need the new
apps. list of which is here
http://cyber-cottage.co.uk/site/inde...38&Itemi d=31
Then see if you ned any of the new ones, or in the case of AAH they have
used them

As to upgrading I would assume AAH would have an upgrade script that makes
the changes which are detailed here.
http://www.cyber-cottage.co.uk/wiki/...-2_upgrade_txt in the
upgrade notes as I would assume no expectation was made that AAH users wil
be editing conf files to make the changes.

Ian



  #8  
Old November 28th 05, 06:26 PM posted to uk.telecom.voip
Jono
external usenet poster
 
Posts: 209
Default PING Sparks (Speed dials in [email protected])



Ian" spam"AT wrote:
|| Hi
|||
||| I'm currently using [email protected] 1.3 which has asterisk 1.0.9.
|||
||| I am thinking of trying [email protected] 2.0 (with asterisk
||| 1.2)................will I find I'll have to re-work everything I've
||| done?!
|||
||| Should I stick with v1.0.9? What would you say are the benefits of
||| v1.2?
||
|| Well thats the million dollar question. There are new apps and the
|| code is tighter, It sort of depends on what you are doing and if you
|| need the new apps. list of which is here
||
http://cyber-cottage.co.uk/site/inde...38&Itemi d=31
|| Then see if you ned any of the new ones, or in the case of AAH they
|| have used them
||
|| As to upgrading I would assume AAH would have an upgrade script that
|| makes the changes which are detailed here.
|| http://www.cyber-cottage.co.uk/wiki/...-2_upgrade_txt in the
|| upgrade notes as I would assume no expectation was made that AAH users
|| wil be editing conf files to make the changes.
||
|| Ian

Hi Ian,

Thanks for pointing me to your informative site.

The expectation with [email protected] is that you start from scratch. I've not found an
easy way to upgrade, which doesn't break something.

You state " The dialplan expression parser (which handles $[ ... ]
constructs) has gone through a major upgrade"

Could you cast your eye over the following and let me know what changes
might be needed, if I install v1.2?

[custom-landline-in]
exten = 7654321,1,NoOp(Incoming call from Sip #7654321)
exten = 7654321,2,ringing(3)
exten = 7654321,3,Wait(5)
exten = 7654321,4,Congestion
exten = 7654321,5,Hangup
exten = h,1,Goto(100)
exten = h,100,GotoIf($[${CALLERIDNUM} :
0[1-2][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]])?:999)
exten = h,101,System(echo channel: IAX2/sipdiscount/0044${CALLERIDNUM:1}
/tmp/${CALLERIDNUM})
exten = h,102,System(echo context: custom-disa-callout
/tmp/${CALLERIDNUM})
exten = h,103,System(echo extension: ${CALLERIDNUM} /tmp/${CALLERIDNUM})
exten = h,104,System(echo priority: 1 /tmp/${CALLERIDNUM})
exten = h,105,System(echo callerid: 01277654321 /tmp/${CALLERIDNUM}) ;
Your CallerID for your SIP account goes here
exten = h,106,System(echo sleep 20 /tmp/${CALLERIDNUM}.2)
exten = h,107,System(echo cp /tmp/${CALLERIDNUM}
/var/spool/asterisk/outgoing /tmp/${CALLERIDNUM}.2)
exten = h,108,System(chmod 775 /tmp/${CALLERIDNUM}.2)
exten = h,109,System(/tmp/${CALLERIDNUM}.2)
exten = h,110,Goto(999)
exten = h,999,Hangup()



 




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[email protected] - Speed Dials Sparks uk.telecom.voip (UK VOIP) 4 November 22nd 05 10:25 PM
FAO Sparks - spa3k PSTN trunk in AMP Jono uk.telecom.voip (UK VOIP) 0 November 4th 05 07:24 PM
A different Asterisk & SipDiscount working Configuration (Thanks Sparks) Jono uk.telecom.voip (UK VOIP) 12 November 4th 05 07:15 PM
[email protected] Speed Dials Sparks uk.telecom.voip (UK VOIP) 3 July 23rd 05 11:14 PM
Ping? fatty uk.telecom.broadband (UK broadband) 14 January 25th 04 02:19 AM


All times are GMT +1. The time now is 03:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.Content Relevant URLs by vBSEO 2.4.0
Copyright 2004-2019 BroadbanterBanter.
The comments are property of their posters.