Re: [Asterisk-Users] Prepending for 9NxxNxxx - adding the area code for 7 digit dialing {Scanned}

2004-06-12 Thread Christopher Wilber
If I have understood correctly then this is what you want:

exten = _55.,1,Dial(IAX2/userid:[EMAIL PROTECTED]/441332${EXTEN}||r)

The last line is what you are after I think. All local calls in my area begin 
with 5-7 so I pattern match this and then extend it with 44 (UK code) and 
1332 (local trunk) before passing to my VOIP/PSTN gateway.

Regards
Chris Wilber

On Saturday 12 June 2004 09:14, Jacob Hunter wrote:
 How do you prepend.  I want to be able to dial 7 digits instead of of
 11 for local calls.

 Can someone post there extensions.conf part that is relavent?

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: [Asterisk-Users] Prepending for 9NxxNxxx - adding the area code for 7 digit dialing {Scanned}

2004-06-12 Thread Christopher Wilber
Jason,
I changed my mind about how to do this and didn't change what I cut/pasted 
into my reply to you. Should have said:
[5-7]X,1,Dial(IAX2/userid:[EMAIL PROTECTED]/441332${EXTEN}||r)

I think the way I originally gave would mean that internal extensions couldn't 
begin with 5, 6 or 7 which would affect parking.
Regarding your later post where you mention you are US - is there and 
particular significance of this?

Regards
Chris

On Saturday 12 June 2004 10:54, Christopher Wilber wrote:
 If I have understood correctly then this is what you want:

 exten = _55.,1,Dial(IAX2/userid:[EMAIL PROTECTED]/441332${EXTEN}||r)

 The last line is what you are after I think. All local calls in my area
 begin with 5-7 so I pattern match this and then extend it with 44 (UK code)
 and 1332 (local trunk) before passing to my VOIP/PSTN gateway.

 Regards
 Chris Wilber

 On Saturday 12 June 2004 09:14, Jacob Hunter wrote:
  How do you prepend.  I want to be able to dial 7 digits instead of of
  11 for local calls.
 
  Can someone post there extensions.conf part that is relavent?
 
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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