[Home]

Summary:ASTERISK-09071: same extensions for different companies
Reporter:praneeth657 (praneeth657)Labels:
Date Opened:2007-03-21 23:58:43Date Closed:2011-06-07 14:07:54
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:sip.cof
[1000]
type=friend
username=1000
secret=xxxx
context=tutorial
[1001]
type=friend
username=1001
secret=xxxx
context=tutorial
[1002]
type=friend
username=1002
secret=xxxx
context=tutorial1
[1003]
type=friend
username=1003
secret=xxxx
context=tutorial1

exten.conf

[tutorial]
exten=>1,1,Answer
exten=>1,2,Dial(SIP/1000,10)
exten=>1,3,VoiceMail(11@m)
exten=>1,4,HangUp()

exten=>2,1,Answer
exten=>2,2,Dial(SIP/1001,10)
exten=>2,3,VoiceMail(12@m)
exten=>2,4,HangUp()

include=>tutorial1

[tutorial1]
exten=>3,1,Answer
exten=>3,2,Dial(SIP/1002,10)
exten=>3,3,VoiceMail(13@m)
exten=>3,4,HangUp()

exten=>4,1,Answer
exten=>4,2,Dial(SIP/1003,10)
exten=>4,3,VoiceMail(14@m)
exten=>4,4,HangUp

include=>tutorial
include=>abc
include=>bcd

[abc]
exten=>6001,1,Answer
exten=>6001,2,PlayBack(vm-extension)

exten=>101,1,Dial(SIP/1000)
exten=>101,2,Voicemail(15@abc )
exten=>101,3,HangUp()

exten=>102,1,Dial(SIP/1001)
exten=>102,2,VoiceMail(16@abc)
exten=>102,3,HangUp

[bcd]
exten => 6002,1,Answer
exten =>6002,2,Playback(vm-extension)

exten=>101,1,Dial(SIP/1002)

exten=>102,1,Dial(SIP/1003)

this is the dial plan , if i dial 101 extension in company 'bcd' then the cal goes to company 'abc',what we have to do to get connected to required extension
how to split the contexts in order to connect to the required extensions
Comments:By: Clod Patry (junky) 2007-03-22 00:41:21

seems like a config issue.

By: Serge Vecher (serge-v) 2007-03-22 08:26:12

bug-tracker is not a support forum! Please read the bug guidelines before posting any more issues. If you need help with setting up Asterisk, please use the mailing list, #asterisk IRC channel, or consult a book (Asterisk: The Future of Telephony).