View previous topic :: View next topic |
Author |
Message |
Plankto planetFreshman
Joined: 03 Jan 2006 Posts: 2
|
Posted: Tue Jan 03, 2006 3:47 am Post subject: Dial plan issues |
|
|
Hi there, I have searching on the web and reading the asterisk wiki, which is how I came across this forum. The problem I'm having is to do with the dial plan in extensions.conf, whats happening is that after I dial say FWD using a prefix _393. it places the call and it all works fine, but then tries to dial out from a wildcard that traps all entered numbers to go out via voip provider.
So I dial say 393612 for the fwd time recording, I get the recording, asterisk hangs up the IAX2 channel then asterisk procedes to the next context 'voip-outgoing' and tries to dial 393612 from there.
Here is a snip of the extensions.conf:
[default]
include => fwdout
include => voip-outgoing
[fwdout]
exten => _393.,1,SetCallerID(${FWDUSERID})
exten => _393.,2,SetCIDName(${FWDUSERNAME})
exten => _393.,3,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r)
exten => _393.,4,Playback(invalid)
exten => _393.,5,Hangup
[voip-outgoing]
exten => _XXXXXXXX,1,Dial(${TRUNK}/02${EXTEN}|60,t)
exten => _XXXXXXXX,2,Congestion
exten => _.,1,Dial(${TRUNK}/${EXTEN}|60,t)
exten => _.,2,Congestion
Thanks!
Nigel |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
planetWayne Site Admin
![](images/avatars/218783e3c1ccb54daa.gif)
Joined: 30 Jan 2003 Posts: 280
|
Posted: Fri Jan 06, 2006 12:18 am Post subject: |
|
|
Hiya,
Looking at your dial string, you have a ',r' in there.
Quote: | exten => _393.,3,Dial(IAX2/${FWDNUMBER}:${FWDPASSWORD}@iax2.fwdnet.net/${EXTEN:3},60,r) |
This may be causing you problems - Looking at the Wiki's Dial Command the ,r looks like it carries on with commands after dialing, this may well be giving you the non required results. Have you tried removing it and giving it a go?
Cheers for dropping by!
Wayne. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Plankto planetFreshman
Joined: 03 Jan 2006 Posts: 2
|
Posted: Mon Jan 16, 2006 10:47 pm Post subject: |
|
|
Thanks for te reply Wayne, I tried removing the ",r" and it still had the same effect. Here is a snip of the asterisk cli when I dial 393612 which is the fwd time server:
-- Executing SetCallerID("SIP/line3-87be", "472XXX") in new stack
-- Executing SetCIDName("SIP/line3-87be", "User") in new stack
-- Executing Dial("SIP/line3-87be", "IAX2/:password@iax2.fwdnet.net/612|60") in new stack
-- Called :password@iax2.fwdnet.net/612
-- Call accepted by 192.246.69.186 (format ulaw)
-- Format for call is ulaw
-- IAX2/192.246.69.186:4569/8 is ringing
-- IAX2/192.246.69.186:4569/8 answered SIP/line3-87be
-- Hungup 'IAX2/192.246.69.186:4569/8'
== Spawn extension (default, 393612, 3) exited non-zero on 'SIP/line3-87be'
-- Executing Dial("SIP/line3-87be", "IAX2/voipiax/h|60|t") in new stack
-- Called voipiax/h
-- Call accepted by 202.xxx.xxx.xxx (format g729)
-- Format for call is g729
-- Hungup 'IAX2/voipiax/4'
== Spawn extension (default, h, 1) exited non-zero on 'SIP/line3-87be' |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
planetWayne Site Admin
![](images/avatars/218783e3c1ccb54daa.gif)
Joined: 30 Jan 2003 Posts: 280
|
Posted: Fri Oct 12, 2007 8:18 pm Post subject: |
|
|
Hiya Nigel,
Sorry its been a while - been 'away' for a while :0 - I see what you mean from that debug and I must admit that I'm a bit stumped with this !
I take it you do actually 'hear' the time recoding from FWD? (do you still suffer from this problem?) If you have fixed it and you don't mind - I would appreciate an update
Cheers
Wayne. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|