Terry Gilsenan
2008-Jun-14 09:28 UTC
[asterisk-users] How to append "#" to the number before sending to Zap
Hi, I am using freepbx 2.8 and I am wanting to connect a TDM410P to an Inmarsat M4 terminal. All is working, except that I dont seem to have a way to append a "#" to every number that gets sent to the ZAP channel. I dont want the "#" appended to any dialling of other extensions, just when outward call routing sends the call to the ZAP trunk. Note; this is appended to the end of the dial string, not as a prefix. Thanks for anyone that can point me in the right direction. Regards, T
RoLaNd RoLaNd
2008-Jun-14 09:56 UTC
[asterisk-users] adding funcionatlity to asterisk?! is it possible?!
hello all, im looking for a way to do the following: when a SPECIFIC call comes through to asterisk through sip, i want it to b directed to a pool of specific sip extensions (9 extensions) where asterisk tries one after the other till lhe finds one of them thats actually on.i want to add a step for asterisk to follow which is, when a sip extension doesn't answer or its offline, instead of immediately transferring to voice mail, i want it to dial that sip holder's number so it transfers the call to his cellphone for example. and if he didn't answer his cellphone its then that i want it to direct it to voice mail.i want to add another item to the operator menu, instead of just receiving the call and telling the caller to either dial extension or 100 for operator, i want asterisk to offer the caller an additional option like for example pressing 2, would direct you to a list of key personnels with their respective extensions.please find below my extensions.conf: [sipura-line] exten => 201,1,Answer() ; Answer inbound calls exten => 201,2,Playback(silence/1) exten => 201,3,Background(simzy1) ; input an extension exten => 201,4,Wait(8) include => spa exten => 201,n,Hangup() [spa] exten =>_201,1,GoTo(sipura-line,${EXTEN},1) exten => _1XX,1,Dial(SIP/${EXTEN},15) ;each ring equals to 5 seconds, so it will ring 3 times exten => _1XX,2,VoiceMail(${EXTEN}@default) exten => _1XX,3,HangUp() exten => _2XX,1,Dial(SIP/${EXTEN},15) ;each ring equals to 5 seconds, so it will ring 3 times exten => _2XX,2,VoiceMail(${EXTEN}@default) exten => _2XX,3,HangUp() exten =>_01,1,Dial(SIP/200) exten => 203,1,VoicemailMain exten => _2XX,1,Dial(SIP/${EXTEN},15) _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080614/0ddd5c8a/attachment.htm
Steve Murphy
2008-Jun-14 13:33 UTC
[asterisk-users] How to append "#" to the number before sending to Zap
On Sat, 2008-06-14 at 19:28 +1000, Terry Gilsenan wrote:> Hi, > > I am using freepbx 2.8 and I am wanting to connect a TDM410P to an > Inmarsat M4 terminal. > > All is working, except that I dont seem to have a way to append a "#" to > every number that gets sent to the ZAP channel. > > I dont want the "#" appended to any dialling of other extensions, just > when outward call routing sends the call to the ZAP trunk. > > Note; this is appended to the end of the dial string, not as a prefix. > > Thanks for anyone that can point me in the right direction. > > Regards, > T >Terry-- Have you tried something like Dial(${EXTEN}#,20) ? murf> > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Steve Murphy Software Developer Digium -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3227 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080614/97890b67/attachment-0001.bin
Tilghman Lesher
2008-Jun-14 14:11 UTC
[asterisk-users] How to append "#" to the number before sending to Zap
On Saturday 14 June 2008 08:33:05 Steve Murphy wrote:> On Sat, 2008-06-14 at 19:28 +1000, Terry Gilsenan wrote: > > Hi, > > > > I am using freepbx 2.8 and I am wanting to connect a TDM410P to an > > Inmarsat M4 terminal. > > > > All is working, except that I dont seem to have a way to append a "#" to > > every number that gets sent to the ZAP channel. > > > > I dont want the "#" appended to any dialling of other extensions, just > > when outward call routing sends the call to the ZAP trunk. > > > > Note; this is appended to the end of the dial string, not as a prefix. > > > > Thanks for anyone that can point me in the right direction. > > > > Regards, > > T > > Terry-- > > Have you tried something like Dial(${EXTEN}#,20) ?Or even Dial(Zap/g1/${EXTEN}#,20) ? -- Tilghman
Terry Gilsenan
2008-Jun-14 21:04 UTC
[asterisk-users] How to append "#" to the number before sending to Zap
Tilghman Lesher wrote:> On Saturday 14 June 2008 08:33:05 Steve Murphy wrote: > >> On Sat, 2008-06-14 at 19:28 +1000, Terry Gilsenan wrote: >> >>> Hi, >>> >>> I am using freepbx 2.8 and I am wanting to connect a TDM410P to an >>> Inmarsat M4 terminal. >>> >>> All is working, except that I dont seem to have a way to append a "#" to >>> every number that gets sent to the ZAP channel. >>> >>> I dont want the "#" appended to any dialling of other extensions, just >>> when outward call routing sends the call to the ZAP trunk. >>> >>> Note; this is appended to the end of the dial string, not as a prefix. >>> >>> Thanks for anyone that can point me in the right direction. >>> >>> Regards, >>> T >>> >> Terry-- >> >> Have you tried something like Dial(${EXTEN}#,20) ? >> > > Or even Dial(Zap/g1/${EXTEN}#,20) ? > >/me slaps forehead <sigh> Thanks guys, I was completely brainfried I appreciate the help. T