[asterisk-bugs] [Asterisk 0015630]: Problem with IP extention for incomming calls

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 2 20:21:07 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15630 
====================================================================== 
Reported By:                aliali786
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15630
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.2.X 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.2  
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-02 06:59 CDT
Last Modified:              2009-08-02 20:21 CDT
====================================================================== 
Summary:                    Problem with IP extention for incomming calls
Description: 
MY configuration details fr asterisk 1.2 
extentions conf is like this 
[from-pstn2]
exten => 19,1,Macro(gsm-enable)
exten => 19,2,Macro(record-id)
exten => 19,3,Set(CALLERID(number)=${CALLS})
exten => 19,4,Answer
exten => 19,5,Macro(vmail4)

[from-pstn3]
exten => 22,1,Macro(gsm-enable)
exten => 22,2,Macro(record-id)
exten => 22,3,Set(CALLERID(number)=${CALLS})
exten => 22,4,Answer
exten => 22,5,Macro(vmail5)

[macro-record-id]
exten => s,1,Set(CALLS=${MACRO_EXTEN:2})

[macro-gsm-enable]
exten => s,1,AGI(set-timestamp.agi)
exten => s,2,Set(CALLFILENAME=${timestamp}-${MACRO_EXTEN})
exten => s,3,MixMonitor(${CALLFILENAME}.gsm)

[macro-vmail4]
exten => _X.,1,GoTo(from-vmail4,s,1)
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,Set(TIMEOUT(digit)=5)
exten => s,4,Set(TIMEOUT(response)=60)
exten => s,5,Queue(4com|tH|||36000)
exten => s,6,PlayBack(vm-goodbye)

[macro-vmail5]
exten => _X.,1,GoTo(from-vmail5,s,1)
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,Set(TIMEOUT(digit)=5)
exten => s,4,Set(TIMEOUT(response)=60)
exten => s,5,Queue(5com|tH|||36000)
exten => s,6,PlayBack(vm-goodbye)

My SIP conf

register=19:secret at 217.12.12.12/19
register=22:secret at 217.12.12.12/22

[19]
canreinvite=no
context=from-pstn2
dtmfmode=rfc2833
fromdomain=217.12.12.12
host=217.12.12.12
insecure=very
language=en
nat=yes
qualify=yes
secret=secret
type=friend
username=19

[22]
canreinvite=no
context=from-pstn3
dtmfmode=rfc2833
fromdomain=217.12.12.12
host=217.12.12.12
insecure=very
language=en
nat=yes
qualify=yes
secret=secret
type=friend
username=22

my queues.conf

[4com]
music = default
strategy = random
timeout = 15
retry = 10
announce-frequency = 45
announce-holdtime = yes
member => Zap/2
member => Zap/5

[5com]
music = default
strategy = random
timeout = 15
retry = 10
announce-frequency = 45
announce-holdtime = yes
member => Zap/3
member => Zap/10

the Problem I am facing is I configured 22 extention later one while 19
was already working but as I configured 22. extention 19 stoped woring adn
22 working fine then I disable 22 and same time 19 start working . 
can't get into the solution any one please help me out in this senario . 
Please.  this is only for incomming calles 

====================================================================== 

---------------------------------------------------------------------- 
 (0108522) russell (administrator) - 2009-08-02 20:21
 https://issues.asterisk.org/view.php?id=15630#c108522 
---------------------------------------------------------------------- 
Asterisk 1.2 has not been supported for a very, very long time. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-02 20:21 russell        Note Added: 0108522                          
2009-08-02 20:21 russell        Status                   new => resolved     
2009-08-02 20:21 russell        Resolution               open => no change
required
2009-08-02 20:21 russell        Assigned To               => russell         
2009-08-02 20:21 russell        Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list