Go Back   Wireless and Wifi Forums > News > Newsgroups > uk.telecom.voip
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-05-2005, 09:04 PM
Jono
Guest
 
Posts: n/a
Default Outgoing Dial Rules in Asterisk@home

Hello,

I've finally got Voipbuster working as an IAX trunk.

I've configured the Outbound Routing as 9|. so that I can use Voipbuster by
dialling 9. Then all the digits dialled after the 9 are sent to the trunk
(with the 9 stripped)

Then, in Outgoing Dial Rules, I've added 00441274+NXXXXX which simply adds
all the extra bits to our six digit local numbers - this works fine.

The problem I'm having is what to do with other STDs. I would like to dial
9, followed by an 11 digit UK number, then have asterisk strip the 9, then
strip the 1st 0, then add 0044.

This 0|0044+[12]XXXXXXXXX doesn't seem to work.



Reply With Quote
  #2 (permalink)  
Old 10-05-2005, 10:04 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


>
> This 0|0044+[12]XXXXXXXXX doesn't seem to work.
>


Do you want to have to dial a 9?

If not, try this...

Outbound Routing - VoipBuster
00441.
00442.
0|1.
0|2.
0|3.
0|800.
0|808.
[2-8].


Trunks - Voipbuster
0044+XXXXXXXXXX
00441274+XXXXXX

-----------
But if you really want to dial a 9, try this...
Outbound Routing - VoipBuster
901|.
902|.
903|.

Trunks - Voipbuster
0044+XXXXXXXXXX



Sparks...




Reply With Quote
  #3 (permalink)  
Old 10-05-2005, 10:10 PM
Jono
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home



Sparks wrote:
||| This 0|0044+[12]XXXXXXXXX doesn't seem to work.
|||
||
|| Do you want to have to dial a 9?
||
|| If not, try this...
||
|| Outbound Routing - VoipBuster
|| 00441.
|| 00442.
|| 0|1.
|| 0|2.
|| 0|3.
|| 0|800.
|| 0|808.
|| [2-8].
||
||
|| Trunks - Voipbuster
|| 0044+XXXXXXXXXX
|| 00441274+XXXXXX
||
|| -----------
|| But if you really want to dial a 9, try this...
|| Outbound Routing - VoipBuster
|| 901|.
|| 902|.
|| 903|.
||
|| Trunks - Voipbuster
|| 0044+XXXXXXXXXX
||
||
||
|| Sparks...

Thanks for the reply.

Unfortunately, I'm already using 0| for another trunk........

Using your 901|. suggestion, where would the 6 digit local numbers fit in?



Reply With Quote
  #4 (permalink)  
Old 10-05-2005, 10:18 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


>
> Thanks for the reply.
>
> Unfortunately, I'm already using 0| for another trunk........
>
> Using your 901|. suggestion, where would the 6 digit local numbers fit in?


I do apologise, I meant 90|. not 901|. 902|. 903|.

This will catch all 0XXXXXXXXXX (So mobiles too)

If you only want 01 02 03 numbers passed to VoIPBuster, then I think this
will do it

Outbound Routing - VoipBuster
90|[123].

Trunks - Voipbuster
0044+XXXXXXXXXX

Sparks...



Reply With Quote
  #5 (permalink)  
Old 10-05-2005, 10:24 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


>
> Outbound Routing - VoipBuster
> 90|[123].
>
> Trunks - Voipbuster
> 0044+XXXXXXXXXX
>
> Sparks...
>


....and for the local 6 digit number

Outbound Routing - VoipBuster
9.[2-9]XXXXX


Trunks - Voipbuster
00441274+XXXXXX

Sparks...



Reply With Quote
  #6 (permalink)  
Old 10-05-2005, 10:25 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

....sorry, that should be.... (I am tired!!)


Outbound Routing - VoipBuster
9|[2-9]XXXXX


Trunks - Voipbuster
00441274+XXXXXX

Sparks...




Reply With Quote
  #7 (permalink)  
Old 10-06-2005, 08:39 AM
RH
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


"Jono" <no@nospamblueyonder.co.uk> wrote in message
news:WdX0f.122706$G8.23558@text.news.blueyonder.co .uk...
> Hello,
>
> I've finally got Voipbuster working as an IAX trunk.
>

Dont suppose you can share the settings that you are using in A@h trunk
settings?




Reply With Quote
  #8 (permalink)  
Old 10-06-2005, 09:08 AM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


> Dont suppose you can share the settings that you are using in A@h trunk
> settings?


Mine are...

Trunk IAX2/voipbuster

host=213.61.187.150
insecure=very
notransfer=yes
secret=PASSWORD
type=peer
username=USERNAME

Just replace USERNAME and PASSWORD with yours, and you should be laughing!

Make sure you pass the full international number to it, even for UK calls

Dial Rules
0044+XXXXXXXXXX
00441689+XXXXXX (Replace 1689 with your area code)

If you are in an 020 area code, replace the second line with
004420+XXXXXXXX
-----------

Then in Outbound Routing -> VoipBuster

00441.
00442.
00443.
0|1.
0|2.
0|3.
0|800.
0|808.
[2-8].


Sparks...



Reply With Quote
  #9 (permalink)  
Old 10-07-2005, 08:58 PM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

Cheers for posting the settings.

A couple of quck questions...

1) Do you have a registration entry?


2) Any ideas why I get this?...

Oct 7 21:54:40 VERBOSE[1070]: -- Executing Dial("SIP/200-67f5",
"IAX2/vbuster/00441213332xxx") in new stack
Oct 7 21:54:40 WARNING[1070]: No such host: vbuster
Oct 7 21:54:40 NOTICE[1070]: Unable to create channel of type 'IAX2'
Oct 7 21:54:40 VERBOSE[1070]: == Everyone is busy/congested at this
time
Oct 7 21:54:40 DEBUG[1070]: Exiting with DIALSTATUS=CHANUNAVAIL.

Many thanks


Matthew


Reply With Quote
  #10 (permalink)  
Old 10-07-2005, 09:01 PM
Jono
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home



Matt wrote:
|| Cheers for posting the settings.
||
|| A couple of quck questions...
||
|| 1) Do you have a registration entry?
||
||
|| 2) Any ideas why I get this?...
||
|| Oct 7 21:54:40 VERBOSE[1070]: -- Executing Dial("SIP/200-67f5",
|| "IAX2/vbuster/00441213332xxx") in new stack
|| Oct 7 21:54:40 WARNING[1070]: No such host: vbuster
|| Oct 7 21:54:40 NOTICE[1070]: Unable to create channel of type 'IAX2'
|| Oct 7 21:54:40 VERBOSE[1070]: == Everyone is busy/congested at this
|| time
|| Oct 7 21:54:40 DEBUG[1070]: Exiting with DIALSTATUS=CHANUNAVAIL.
||
|| Many thanks
||
||
|| Matthew

I'm using the following to register

username:password@213.61.187.147



Reply With Quote
  #11 (permalink)  
Old 10-07-2005, 09:33 PM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

username:passw...@213.61.187.147

host=213.61.187.150


2 different IP addresses.... now I am really confused!


Reply With Quote
  #12 (permalink)  
Old 10-07-2005, 09:36 PM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

Still get the same error

Oct 7 22:34:19 VERBOSE[1070]: -- Executing Dial("SIP/200-2d52",
"IAX2/vbuster/00441213332XXX") in new stack
Oct 7 22:34:20 WARNING[1070]: No such host: vbuster
Oct 7 22:34:20 NOTICE[1070]: Unable to create channel of type 'IAX2'

Any other ideas?


Reply With Quote
  #13 (permalink)  
Old 10-07-2005, 11:46 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

"Matt" <matthew.humphreys@gmail.com> wrote in message
news:1128720978.564569.72310@g47g2000cwa.googlegro ups.com...
> Still get the same error
>
> Oct 7 22:34:19 VERBOSE[1070]: -- Executing Dial("SIP/200-2d52",
> "IAX2/vbuster/00441213332XXX") in new stack
> Oct 7 22:34:20 WARNING[1070]: No such host: vbuster
> Oct 7 22:34:20 NOTICE[1070]: Unable to create channel of type 'IAX2'
>
> Any other ideas?
>

It sounds like it is trying to lookup a hostname of "vbuster"

Can you post both your trunk and outbound routing for this call here?

....and you dont need it to register, unless you are using it for inbound
calls

Sparks...



Reply With Quote
  #14 (permalink)  
Old 10-08-2005, 06:53 AM
Jono
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home



Sparks wrote:

<snip>

|| ...and you dont need it to register, unless you are using it for
|| inbound calls
||
|| Sparks...

That's interesting. I couldn't get outbound working until I put the Register
line in. Coincidence, perhaps.

It's a while since I downloaded their softfone & paid my I
Euro.............what's my "number" to receive calls on?



Reply With Quote
  #15 (permalink)  
Old 10-08-2005, 12:06 PM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

Cheers everyone,

Trunk Settings...


General Settings
Outgoing Dial Rules
0044+XXXXXXXXXX
00441827+XXXXXX

Trunk Name vbuster

PEER Details
:
host=213.61.187.150
insecure=very
notransfer=yes
secret=xxxxx
type=peer
username=xxxx




Registration

XXXXX:XXXX@213.61.187.147


Outbound Routing

Route Name = vb

Dial Pattern = 0|.

Routing = IAX2/vbuster

Thanks again,


Matthew


PS Don't suppose anyone can help me with BIND DNS Problem too!


Reply With Quote
  #16 (permalink)  
Old 10-08-2005, 04:06 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


"Matt" <matthew.humphreys@gmail.com> wrote in message
news:1128773177.294689.225530@g43g2000cwa.googlegr oups.com...
> Cheers everyone,
>
> Trunk Settings...
>
>
> General Settings
> Outgoing Dial Rules
> 0044+XXXXXXXXXX
> 00441827+XXXXXX


Where exactly is this?
In my Asterisk@home I dont have this in the trunk anywhere, only in the
Outbouund routing.
What version of A@H are you on (I am on 1.3)?

>
> Trunk Name vbuster
>
> PEER Details
> :


What's this : for above?

> host=213.61.187.150
> insecure=very
> notransfer=yes
> secret=xxxxx
> type=peer
> username=xxxx
>
>
>
>
> Registration
>
> XXXXX:XXXX@213.61.187.147


I don't have anything in here, but I dont have an inbound number with
VoIPBuster


> Outbound Routing
>
> Route Name = vb
>
> Dial Pattern = 0|.


My Dial pattern would be what you have in your "Trunk Settings -> General
settings" - maybe you have a different verison of A@H?

> Routing = IAX2/vbuster
>
> Thanks again,
>
>
> Matthew
>
>
> PS Don't suppose anyone can help me with BIND DNS Problem too!
>




Reply With Quote
  #17 (permalink)  
Old 10-08-2005, 04:32 PM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

I''m running AAH 1.5.

The Outgoing Dialing Rules appear on the Edit Trunk Page, under the
general settings.

The : under "Peer Details" is a typo from my cutting and pasting
attempt - sorry to confuse.

I don't have an inbound number, either - but I thought I'd see if it
helped. It doesn't seem to have helped!

> Oct 7 22:34:19 VERBOSE[1070]: -- Executing Dial("SIP/200-2d52",
> "IAX2/vbuster/00441213332XXX") in new stack
> Oct 7 22:34:20 WARNING[1070]: No such host: vbuster
> Oct 7 22:34:20 NOTICE[1070]: Unable to create channel of type


Still can't see why this happens - by outbound routing via sipgate is
fine!

Cheers for all the help.

Matthew


Reply With Quote
  #18 (permalink)  
Old 10-08-2005, 07:56 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

"Matt" <matthew.humphreys@gmail.com> wrote in message
news:1128789158.848293.49640@g14g2000cwa.googlegro ups.com...
> I''m running AAH 1.5.


Ah, they must have changed some things then!

>
> The Outgoing Dialing Rules appear on the Edit Trunk Page, under the
> general settings.
>
> The : under "Peer Details" is a typo from my cutting and pasting
> attempt - sorry to confuse.
>
> I don't have an inbound number, either - but I thought I'd see if it
> helped. It doesn't seem to have helped!
>
>> Oct 7 22:34:19 VERBOSE[1070]: -- Executing Dial("SIP/200-2d52",
>> "IAX2/vbuster/00441213332XXX") in new stack
>> Oct 7 22:34:20 WARNING[1070]: No such host: vbuster
>> Oct 7 22:34:20 NOTICE[1070]: Unable to create channel of type

>
> Still can't see why this happens - by outbound routing via sipgate is
> fine!
>
> Cheers for all the help.
>
> Matthew
>


Maybe I will install AAH 1.5, then we can both ask for help! :-)

It does look like your sustem is trying to resolve the name vbuster to an IP
address for some reason, you could try editing your hosts file, and add the
following line

213.61.187.150 vbuster

That may fix it (but not solve why it is doing it!

Sparks...



Reply With Quote
  #19 (permalink)  
Old 10-08-2005, 09:37 PM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

Getting better....

That gives

Oct 8 22:34:28 VERBOSE[1070]: -- Called vbuster/01213332xxxx
Oct 8 22:34:29 WARNING[1070]: Call rejected by 213.61.187.150: No
authority found
Oct 8 22:34:29 DEBUG[1070]: Immediately destroying 10, having received
reject
Oct 8 22:34:29 DEBUG[1070]: We're hanging up
IAX2/213.61.187.150:4569/10 now...
Oct 8 22:34:29 DEBUG[1070]: Really destroying
IAX2/213.61.187.150:4569/10 now...
Oct 8 22:34:29 VERBOSE[1070]: -- Hungup 'IAX2/213.61.187.150:4569/10'

Is there another IP I can try?


Reply With Quote
  #20 (permalink)  
Old 10-08-2005, 10:46 PM
Sparks
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home


"Matt" <matthew.humphreys@gmail.com> wrote in message
news:1128807444.813876.39690@g14g2000cwa.googlegro ups.com...
> Getting better....
>
> That gives
>
> Oct 8 22:34:28 VERBOSE[1070]: -- Called vbuster/01213332xxxx
> Oct 8 22:34:29 WARNING[1070]: Call rejected by 213.61.187.150: No
> authority found
> Oct 8 22:34:29 DEBUG[1070]: Immediately destroying 10, having received
> reject
> Oct 8 22:34:29 DEBUG[1070]: We're hanging up
> IAX2/213.61.187.150:4569/10 now...
> Oct 8 22:34:29 DEBUG[1070]: Really destroying
> IAX2/213.61.187.150:4569/10 now...
> Oct 8 22:34:29 VERBOSE[1070]: -- Hungup 'IAX2/213.61.187.150:4569/10'
>
> Is there another IP I can try?
>


Well that's the one I use for VoIPBuster!

Are you using the exact same username and passowrd you used to log into
www.voipbuster.com (and can you log into that OK?)

Sparks...



Reply With Quote
  #21 (permalink)  
Old 10-09-2005, 08:50 AM
Matt
Guest
 
Posts: n/a
Default Re: Outgoing Dial Rules in Asterisk@home

Just checked it - can log into voipbuster OK with the same username and
password!


Reply With Quote
Reply

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Here Goes] - 0845 Dial Through Access Numbers with Next Call Function News Reader uk.telecom.voip 6 04-02-2007 11:10 PM
[Here Goes] - 0845 Dial Through Access Numbers with Next Call Function News Reader uk.telecom.mobile 6 04-02-2007 11:10 PM
SPA-3000 Dial Plan with Asterisk@Home Sparks uk.telecom.voip 5 08-06-2005 01:54 PM
Asterisk at Home dial rules Matt uk.telecom.voip 4 08-04-2005 09:59 PM
Asterisk@home Dial Patterns Sparks uk.telecom.voip 8 07-25-2005 08:09 PM


All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45