[asterisk-bugs] [Asterisk-GUI 0010151]: AsteriskNOW DID into wrong context

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 5 09:42:01 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10151 
====================================================================== 
Reported By:                dmgeurts
Assigned To:                pari
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   10151
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.5 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!): 1127 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-07-2007 10:16 CDT
Last Modified:              09-05-2007 09:42 CDT
====================================================================== 
Summary:                    AsteriskNOW DID into wrong context
Description: 
Two accounts from same ITSP, each with a different DID number. When both
accounts are active and registered, only one picks up the call. This
reproducible and consisted. It is always the same trunk/context that the
incoming call is put into.

Disabling either account will result in correct operation, only reachable
on the DID which is registered not the other.

I have no workaround as I can't manage to catch the call using the called
number. Debugging shows 's' and in the wrong context.
====================================================================== 

---------------------------------------------------------------------- 
 dmgeurts - 09-05-07 09:42  
---------------------------------------------------------------------- 
bkruse,

My fix is the following code:

<code>
[DID_trunk_2]
include = default
exten = _X.,1,Goto(ringroups-custom-3,s,1)
exten = s,1,Goto(ringroups-custom-3,s,1)

[DID_trunk_3]
include = default
exten = _31107142242,1,Goto(ringroups-custom-3,s,1) <<<<<<<<
exten = _X.,1,Goto(ringroups-custom-1,s,1)
exten = s,1,Goto(ringroups-custom-1,s,1)
</code>

It is not a solution but for my simple needs it's enough to get what I
want for now.

Hope this helps,
Djerk 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-05-07 09:42  dmgeurts       Note Added: 0069972                          
======================================================================




More information about the asterisk-bugs mailing list