News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old May 23rd, 2005, 05:31 AM
sandman sandman is offline
Member
 
Join Date: Dec 2004
Posts: 55
sandman
Default Asterisk@home - FWD - inbound call issue X2 !!!

Hi ALL

I've been running a hacked version of asterisk@home 0.6 for ages without issue. I have upgraded to asterisk@home 1.0 and have experienced an issue with FWD inbound calls.

On my cisco 7960, inbound FWD calls sent to this extension show as 2 incomming calls on the cisco. ie: The cisco shows 2 identical calls hitting the phone on the screen at teh same time. You answer the call and on the debug, you see the second call fail...

This is ONLY on inbound FWD calls. I have MANY other DID's and no issues.

I am running asterisk@home 1.0, a friend has same with CVS version and a 3rd has HEAD version.

On a sidenote, on phones using ATA SPA2K, the symptom is that the phone rings once and then the call diverts to voicemail.

Can anyone offer advice or are we alone ??????

Ta !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old May 24th, 2005, 11:13 AM
philquinney philquinney is offline
Senior Member
 
Join Date: Dec 2004
Posts: 131
philquinney
Default RE: Asterisk@home - FWD - inbound call issue X2 !!!

Can you show us the relevant context from extensions.conf? That would help. Also any debugging information shown on the asterisk console.

Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old May 24th, 2005, 01:14 PM
sandman sandman is offline
Member
 
Join Date: Dec 2004
Posts: 55
sandman
Default

Hi Phil.....

Here is the debug output for an incomming FWD call to extension 7020 internally. I've gone through the extensions.conf and its just something thats a little hard to post up here due to the nesting...I see almost at the top, its calling vm and ringing the extension... weird !

----------------------------------------------------------------------------------

-- Accepting AUTHENTICATED call from 65.39.205.121, requested format = 4,
actual format = 4
-- Executing Goto("IAX2/iaxfwd@fwd/5", "ext-local|7020|1") in new stack
-- Goto (ext-local,7020,1)
-- Executing Macro("IAX2/iaxfwd@fwd/5", "exten-vm|7020@default|7020") in
new stack
-- Executing SetVar("IAX2/iaxfwd@fwd/5", "FROMCONTEXT=exten-vm") in new
stack
-- Executing GotoIf("IAX2/iaxfwd@fwd/5", "0?novm|1:3") in new stack
-- Goto (macro-exten-vm,s,3)
-- Executing GotoIf("IAX2/iaxfwd@fwd/5", "0?novm|1") in new stack
-- Executing Macro("IAX2/iaxfwd@fwd/5", "dial|15|tr|7020") in new stack
-- Executing AGI("IAX2/iaxfwd@fwd/5", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- Accepting AUTHENTICATED call from 65.39.205.121, requested format = 4,
actual format = 4
-- Executing Goto("IAX2/iaxfwd@fwd/6", "ext-local|7020|1") in new stack
-- Goto (ext-local,7020,1)
-- Executing Macro("IAX2/iaxfwd@fwd/6", "exten-vm|7020@default|7020") in
new stack
-- Executing SetVar("IAX2/iaxfwd@fwd/6", "FROMCONTEXT=exten-vm") in new
stack
-- Executing GotoIf("IAX2/iaxfwd@fwd/6", "0?novm|1:3") in new stack
-- Goto (macro-exten-vm,s,3)
-- Executing GotoIf("IAX2/iaxfwd@fwd/6", "0?novm|1") in new stack
-- Executing Macro("IAX2/iaxfwd@fwd/6", "dial|15|tr|7020") in new stack
-- Executing AGI("IAX2/iaxfwd@fwd/6", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: priority = 1
-- dialparties.agi: extension = s
-- dialparties.agi: language = en
-- dialparties.agi: accountcode =
-- dialparties.agi: uniqueid = 1116763505.28
-- dialparties.agi: channel = IAX2/iaxfwd@fwd/5
-- dialparties.agi: callerid = 0409839735
-- dialparties.agi: context = macro-dial
-- dialparties.agi: type = IAX2
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: enhanced = 0.0
-- dialparties.agi: dnid = unknown
dialparties.agi: Caller ID name and number are '0409839735'
-- dialparties.agi: Added extension 7020 to extension map
-- dialparties.agi: request = dialparties.agi
-- dialparties.agi: Extension 7020 cf is disabled
-- dialparties.agi: Extension 7020 do not disturb is disabled
-- dialparties.agi: priority = 1
-- dialparties.agi: extension = s
-- dialparties.agi: language = en
-- dialparties.agi: accountcode =
-- dialparties.agi: uniqueid = 1116763505.29
-- dialparties.agi: channel = IAX2/iaxfwd@fwd/6
-- dialparties.agi: callerid = 0409839735
-- dialparties.agi: context = macro-dial
-- dialparties.agi: type = IAX2
-- dialparties.agi: rdnis = unknown
-- dialparties.agi: enhanced = 0.0
-- dialparties.agi: dnid = unknown
dialparties.agi: Caller ID name and number are '0409839735'
-- dialparties.agi: Added extension 7020 to extension map
-- dialparties.agi: Extension 7020 cf is disabled
-- dialparties.agi: Extension 7020 do not disturb is disabled

[top] Parsing '/etc/asterisk/manager.conf': Found


Parsing '/etc/asterisk/manager_custom.conf': Found

[top] Manager 'admin' logged on from 127.0.0.1


Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 7020 has call waiting disabled

[top] Parsing '/etc/asterisk/manager.conf': Found


Parsing '/etc/asterisk/manager_custom.conf': Found

[top] Manager 'admin' logged on from 127.0.0.1


Manager 'admin' logged off from 127.0.0.1
dialparties.agi: Extension 7020 has call waiting disabled
-- dialparties.agi: DbSet CALLTRACE/7020 to 0409839735
dialparties.agi: Dial string is SIP/7020|15|tr
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("IAX2/iaxfwd@fwd/6", "SIP/7020|15|tr") in new stack
-- Called 7020
-- dialparties.agi: DbSet CALLTRACE/7020 to 0409839735
dialparties.agi: Dial string is SIP/7020|15|tr
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("IAX2/iaxfwd@fwd/5", "SIP/7020|15|tr") in new stack
-- Called 7020
-- SIP/7020-22d9 is ringing
-- SIP/7020-4abd is ringing
-- Nobody picked up in 15000 ms
-- Executing Wait("IAX2/iaxfwd@fwd/6", "1") in new stack
-- Nobody picked up in 15000 ms
-- Executing Wait("IAX2/iaxfwd@fwd/5", "1") in new stack

[top] Spawn extension (macro-exten-vm, s, 5) exited non-zero on 'IAX2/
iaxfwd@fwd/6' in macro 'exten-vm'


Spawn extension (ext-local, 7020, 1) exited non-zero on 'IAX2/iaxfwd@fwd/
6'

[top] Spawn extension (macro-exten-vm, s, 5) exited non-zero on 'IAX2/
iaxfwd@fwd/5' in macro 'exten-vm'


Spawn extension (ext-local, 7020, 1) exited non-zero on 'IAX2/iaxfwd@fwd/
5'
-- Hungup 'IAX2/iaxfwd@fwd/6'
-- Hungup 'IAX2/iaxfwd@fwd/5'

-----------------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old May 24th, 2005, 02:50 PM
philquinney philquinney is offline
Senior Member
 
Join Date: Dec 2004
Posts: 131
philquinney
Default

Hey,

It looks like asterisk is calling your phone twice because of tw commands

1. Context fwd, Priority 5, Command Dial(SIP/7020|15|tr)
2. Context fwd, Priority 6, Command AGI(dialparties.agi)

Basically you've got a script which calls extn 7020 and a hardcoded Dial command. Go through extensions.conf and find [fwd] - you FWD context. Priority 5 is the one you need to remove (try putting a # before it in order to disable it for the time being)

That *should* fix things without breaking asterisk@home - although I can't guarantee it as I haven't used asterisk@home.

Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old May 24th, 2005, 09:24 PM
sandman sandman is offline
Member
 
Join Date: Dec 2004
Posts: 55
sandman
Default

Phil

Thanks so much for the pointer. Had a quick look, its buried somewhere in the scripts, I couldnt find it on 1st glance....
This has taught me a lesson, stay with hand coded scripts .....just leaving for 2 days away, will have a closer look on my return.... I will sort this as it bugs me as I'm not in control of what is going on ! :-)

Regards...Pete
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old May 24th, 2005, 09:24 PM
  #6 (permalink)  
Old May 24th, 2005, 09:39 PM
philquinney philquinney is offline
Senior Member
 
Join Date: Dec 2004
Posts: 131
philquinney
Default

Hehe, looks like we both share the same control tendancies

I love the idea of asterisk at home, but I started with asterisk before it came out. Fortunately I think it was a good thing: sometimes its best to roll your sleeves up and be ready to get your hands dirty!

Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old May 24th, 2005, 09:40 PM
philquinney philquinney is offline
Senior Member
 
Join Date: Dec 2004
Posts: 131
philquinney
Default

PS: I'm pretty sure the incorrect line isn't in a script: its just in extensions.conf. If you're not sure what you're looking for I'll happily take a look at your extensions.conf. Obviously remove personal information / passwords first!

Phil.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Asterisk@home - FWD - inbound call issue X2 !!!
Thread Thread Starter Forum Replies Last Post
asterisk@home inbound from broadvoice does not work. HELP! quibbly Asterisk Support Forum 25 March 7th, 2006 08:27 AM
Asterisk@Home 2.5 seems to be ignoring my inbound routes unixuser101 Asterisk Support Forum 4 March 2nd, 2006 09:06 PM
DID Inbound Routing - Asterisk@home 2.0, Need help ferdies Asterisk Support Forum 2 December 13th, 2005 09:16 AM
Asterisk + FWD IAX inbound not working. Need help! jjoshua Asterisk Support Forum 0 September 18th, 2005 10:01 PM
Asterisk@ home and Telasip IAX ringing issue. bbbeavis Asterisk Support Forum 3 August 7th, 2005 10:13 PM



All times are GMT. The time now is 09:45 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.