[Asterisk-Users] [ISSUE] Unable to divert external calls.
Peter J Dean
peter.john.dean at gmail.com
Sun Jun 25 21:13:04 MST 2006
I have a issue trying to understand why Asterisk-PBX, when a SNOM
(320 or 360) successfully redirects/diverts a call when it is a local
extension, but fails when you enter external number.
Both the local extension dial and external extension dial are within
the same context [from-sip] and both phones are capable of making
external calls.
I have looked at the standard sites, but not finding the information
I need to understand the issue and create a work around.
Your assistance would be greatly appreciated.
Asterisk v1.2.9.1
Linux v2.6.15-1.1830_FC4smp (FC4)
SNOM v6.2.1
<---SNIP--->
[from-sip]
exten => _[2345]XX, 1,Macro(dial_localextension, ${EXTEN})
exten => _0XXXXXXXXX/_[2345]XX,1,Macro(outbound-calling,${EXTEN})
<---------->
Successful call diversion on the SNOM phone to a local extension.
-----------------------------------------------------------------
2006-06-26 13:34:22 VERBOSE[18902] logger.c: -- Executing NoOp
("SIP/225-cdf5", ""Debug [from-sip]: Caller 225 is calling 229"") in
new stack
2006-06-26 13:34:22 VERBOSE[18902] logger.c: -- Executing Dial
("SIP/225-cdf5", "SIP/229|15") in new stack
2006-06-26 13:34:22 VERBOSE[18902] logger.c: -- Called 229
2006-06-26 13:34:22 VERBOSE[31118] logger.c: -- Got SIP response
302 "Moved Temporarily" back from 10.255.6.142
2006-06-26 13:34:22 VERBOSE[18902] logger.c: -- Now forwarding
SIP/225-cdf5 to 'SIP/227 at sip.bisabicara.swsa.com.au' (thanks to SIP/
229-f3ed)
2006-06-26 13:34:22 VERBOSE[31118] logger.c: -- Got SIP response
482 "Loop Detected" back from 10.255.6.2
2006-06-26 13:34:22 VERBOSE[18902] logger.c: -- Now forwarding
SIP/225-cdf5 to 'Local/227 at from-sip' (thanks to SIP/
sip.bisabicara.swsa.com.au-7b9c)
2006-06-26 13:34:22 VERBOSE[18905] logger.c: -- Executing NoOp
("Local/227 at from-sip-1680,2", ""Debug [from-sip]: Caller 225 is
calling 227"") in new stack
2006-06-26 13:34:22 VERBOSE[18905] logger.c: -- Executing Dial
("Local/227 at from-sip-1680,2", "SIP/227|15") in new stack
2006-06-26 13:34:22 VERBOSE[18905] logger.c: -- Called 227
2006-06-26 13:34:22 VERBOSE[18905] logger.c: -- SIP/227-c3f7 is
ringing
2006-06-26 13:34:22 VERBOSE[18902] logger.c: -- Local/227 at from-
sip-1680,1 is ringing
2006-06-26 13:34:23 VERBOSE[18905] logger.c: -- SIP/227-c3f7 is
ringing
2006-06-26 13:34:24 VERBOSE[18905] logger.c: -- SIP/227-c3f7 is
ringing
2006-06-26 13:34:24 VERBOSE[18905] logger.c: == Spawn extension
(from-sip, 227, 17) exited non-zero on 'Local/227 at from-sip-1680,2'
2006-06-26 13:34:24 VERBOSE[18902] logger.c: == Spawn extension
(from-sip, 229, 17) exited non-zero on 'SIP/225-cdf5'
Unsuccessful call diversion on the SNOM phone to an external mobile.
--------------------------------------------------------------------
2006-06-26 12:55:42 VERBOSE[16759] logger.c: -- Executing NoOp
("SIP/225-b434", ""Debug [from-sip]: Caller 225 is calling 229"") in
new stack
2006-06-26 12:55:42 VERBOSE[16759] logger.c: -- Executing Dial
("SIP/225-b434", "SIP/229|15") in new stack
2006-06-26 12:55:42 VERBOSE[16759] logger.c: -- Called 229
2006-06-26 12:55:43 VERBOSE[16759] logger.c: -- SIP/229-a85e is
ringing
2006-06-26 12:55:43 VERBOSE[16759] logger.c: -- SIP/229-a85e is
ringing
2006-06-26 12:55:44 VERBOSE[31118] logger.c: -- Got SIP response
302 "Moved Temporarily" back from 10.255.6.133
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Now forwarding
SIP/225-b434 to 'SIP/0412785041 at sip.bisabicara.swsa.com.au' (thanks
to SIP/229-a85e)
2006-06-26 12:55:44 VERBOSE[31118] logger.c: -- Got SIP response
482 "Loop Detected" back from 10.255.6.2
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Now forwarding
SIP/225-b434 to 'Local/0412785041 at from-sip' (thanks to SIP/
sip.bisabicara.swsa.com.au-506a)
<--->
It is at this point here where I would expect it to match a dial plan
exten => _0XXXXXXXXX/_[2345]XX,1,Macro(outbound-calling,${EXTEN}),
just like it does for the extension number.
<--->
2006-06-26 12:55:44 VERBOSE[16759] logger.c: == Everyone is busy/
congested at this time (1:0/0/1)
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Executing Goto
("SIP/225-b434", "CHANUNAVAIL") in new stack
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Goto (from-sip,
229,226)
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Executing Goto
("SIP/225-b434", "NOANSWER") in new stack
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Goto (from-sip,
229,19)
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Executing
MailboxExists("SIP/225-b434", "229 at swsa") in new stack
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Executing Goto
("SIP/225-b434", "novoicemail") in new stack
2006-06-26 12:55:44 VERBOSE[16759] logger.c: -- Goto (from-sip,
229,229)
....
<--- No voicemail handling --->
....
More information about the asterisk-users
mailing list