[asterisk-users] problem when using Dial(Local/extension@context)

Mani Sridhar manisridhar at hotmail.com
Mon Apr 23 18:37:48 MST 2007


hi folks,
I use Dial(Local/extension at context) to make calls received on my DID number 
to ring a local extension. I notice that on 8 out of 10 calls, the audio is 
NOT working in the incoming direction (DID provider to asterisk). Local 
extension 2055 maps to SIP destination "homephone", and if i replace the 
Dial(Local/2055 at local) with Dial(SIP/homephone), it works fine 100% of the 
time.

any suggestions?


thanks
sridhar

CLI> core show version
Asterisk 1.4.1 built by root @ astpbx on a i686 running Linux on 2007-03-07 
11:25:52 UTC

extensions.conf
-----------------------
[local]
; Incoming calls on DID number, call lands on the home phone
exten => 845,1,Answer()
exten => 845,n,Dial(Local/2055 at local)

exten => 2055,1,Dial(SIP/homephone,${RINGTIMEOUT})
exten => 2055,n,VoiceMail(2055 at voicemail-context,su)
exten => 2055,n,Hangup()
exten => 2055,102,VoiceMail(2055 at voicemail-context,sb)

[level-zero]
include => local

CLI output with "core set verbose 5"
---------------------------------------------------

-- Executing [845 at level-zero:1]
Answer("SIP/sip.didprovider.com-b7de3400", "") in new stack
-- Executing [845 at level-zero:2]
Dial("SIP/sip.didprovider.com-b7de3400", "Local/2055 at local") in new
stack
-- Called 2055 at local
-- Executing [2055 at local:1] Dial("Local/2055 at local-28da,2",
"SIP/homephone|25") in new stack
-- Called homephone
-- SIP/homephone-08f4ed10 is ringing
-- Local/2055 at local-28da,1 is ringing
-- Call on SIP/homephone-08f4ed10 left from hold
-- SIP/homephone-08f4ed10 answered Local/2055 at local-28da,2
-- Local/2055 at local-28da,1 stopped sounds
-- Local/2055 at local-28da,1 answered SIP/sip.didprovider.com-b7de3400
-- Packet2Packet bridging SIP/sip.didprovider.com-b7de3400 and
SIP/homephone-08f4ed10
== Spawn extension (local, 2055, 1) exited non-zero on 
'Local/2055 at local-28da,2'

(at this point, i can hear the voice of the person at extension 2055, but 
she can't hear me. I give up eventually.)

== Spawn extension (level-zero, 845, 2) exited non-zero on
'SIP/sip.didprovider.com-b7de3400'

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/



More information about the asterisk-users mailing list