Re: [Asterisk-Users] Advice on configuration

2006-03-17 Thread Paul A Brown

Hi Peter,

Sorry it took me so long to get back to you. Most of your config worked 
great but I obviousley did something wrong on the Sipdiscount side :-(


I am getting my contexts confused in extensions.conf

Mar 17 14:25:26 WARNING[7607]: pbx_config.c:1753 pbx_load_module: Unable to 
include context 'sipdiscount-outbound' in context 'home'


I have a contect called [sip-discount-outbound with all my sipdiscount 
details in and then further down I have a context called [home] with the 
following in


exten = 220,1,Dial(${PHONES1},20,Ttm)
exten = 220,2,Macro(vmessage,${PHONES1VM})
exten = 220,3,Hangup
include = sipdiscount-outbound

Any ideas

Paul

- Original Message - 
From: Peter Bowyer [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Tuesday, March 07, 2006 3:55 PM
Subject: Re: [Asterisk-Users] Advice on configuration



Hi Paul

I am looking to see if this is possible and any pointers if it is. It 
seems

straight forward but not too sure.

I have 4 extensions 2000 to 2003

I have one voip external account with Sipdiscount. I want any of the 4
extensions to share that single sipdiscount account.


'share' as in dial out through? Assuming they're SIP phones
several ways to do it, here's my favourite

sip.conf

[phone1]
..
context=sipphones
...

[phone2]
..
context=sipphones
...

[sipdiscount]
stuff about your sipdiscount account


extensions.conf

[sipphones]
other-things-you-want-them-to-be-able-to-dial
include = sipdiscount-outbound

[sipdiscount-outbound]

exten = somepattern,1,Dial([EMAIL PROTECTED])

etc



I also have 2 voip incoming numbers through another company (sipgate). I
want one of these to ring 3 phones and the other one to ring the 4th
extension if dialled.

Is that possible?


Yep

sip.conf

register =:[EMAIL PROTECTED]/111
register =mmm:[EMAIL PROTECTED]/222

[sipgate]
type=friend
host=sipgate.co.uk
insecure=very
context=sipgate-inbound

extensions.conf

[sipgate-inbound]

exten = 11,1,Dial(SIP/2000SIP/2001SIP/2002)

exten = 22,1,Dial(SIP/2003)

Give me a shout if you want more help

Peter

--
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
VoIP: [EMAIL PROTECTED]
FWD: **275*5048707000
VoipTalk: **473*5048707000
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Advice on configuration

2006-03-07 Thread Paul A Brown



Hi All,

I am looking to see if this is possible and any 
pointers if it is. It seems straight forward but not too 
sure.

I have 4 extensions 2000 to 2003

I have one voip external account with Sipdiscount. 
I want any of the 4 extensions to share that single sipdiscount 
account.

I also have 2 voip incoming numbers through another 
company (sipgate). I want one of these to ring 3 phones and the other one to 
ring the 4th extension if dialled.

Is that possible?

Thanks

Paul
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Advice on configuration

2006-03-07 Thread Peter Bowyer
Hi Paul

 I am looking to see if this is possible and any pointers if it is. It seems
 straight forward but not too sure.

 I have 4 extensions 2000 to 2003

 I have one voip external account with Sipdiscount. I want any of the 4
 extensions to share that single sipdiscount account.

'share' as in dial out through? Assuming they're SIP phones
several ways to do it, here's my favourite

sip.conf

[phone1]
..
context=sipphones
...

[phone2]
..
context=sipphones
...

[sipdiscount]
stuff about your sipdiscount account


extensions.conf

[sipphones]
other-things-you-want-them-to-be-able-to-dial
include = sipdiscount-outbound

[sipdiscount-outbound]

exten = somepattern,1,Dial([EMAIL PROTECTED])

etc


 I also have 2 voip incoming numbers through another company (sipgate). I
 want one of these to ring 3 phones and the other one to ring the 4th
 extension if dialled.

 Is that possible?

Yep

sip.conf

register =:[EMAIL PROTECTED]/111
register =mmm:[EMAIL PROTECTED]/222

[sipgate]
type=friend
host=sipgate.co.uk
insecure=very
context=sipgate-inbound

extensions.conf

[sipgate-inbound]

exten = 11,1,Dial(SIP/2000SIP/2001SIP/2002)

exten = 22,1,Dial(SIP/2003)

Give me a shout if you want more help

Peter

--
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
VoIP: [EMAIL PROTECTED]
FWD: **275*5048707000
VoipTalk: **473*5048707000
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users