[Home]

Summary:ASTERISK-17289: When using u and g in dial if the call is bridged there is no audio once called hangs up
Reporter:dovid (dovid)Labels:
Date Opened:2011-01-26 08:50:10.000-0600Date Closed:2011-02-10 13:14:46.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) full.0.log
Description:Hi,

When using the u and g option with dial if the call is bridged if the called party hangs up then it continues (because of the g option) however when Asterisk plays tt-monkeys the caller does not hear anything. If the called party hangs up in the go sub and the call is not bridged then the caller does hear tt-monkeys.

****** ADDITIONAL INFORMATION ******

[dovid]
Exten => _X.,1,Answer
Exten => _X.,2,Dial(SIP/${EXTEN}@fpp,60,gU(do_dtmf_cc-take-call,s,1)F(db_test^1^1))
Exten => _X.,3,Playback(tt-monkeys)
Exten => _X.,4,Playback(tt-monkeys)
Exten => _X.,5,Playback(tt-monkeys)

Exten => h,1,Noop(ABCDEFGHIJKLMNOPQRSTUVWXYZ)

[do_dtmf_cc-take-call]
Exten => s,1,AGI(agi://127.0.0.1:4579/update_call_status?status=60)
Exten => s,2,SendDtmf(123456)
Exten => s,3,AGI(agi://127.0.0.1:4579/update_call_status?status=70)
Exten => s,4,Set(wavb_start=${EPOCH})
Exten => s,5,Background(/etc/cb/wav/incoming_cb_call)
Exten => s,6,AGI(agi://127.0.0.1:4579/check_wavb_played?wavb_start=${wavb_start})
Exten => s,7,Goto(s,5)

Exten => _X,1,AGI(agi://127.0.0.1:4579/update_call_status?status=80)

[db_test]
Exten => 1,1,Noop(HELLO)
Comments:By: dovid (dovid) 2011-01-26 08:54:29.000-0600

212.7.117.61 -> Caller (soft phone)
208.211.92.75 - ngn4.mydomian.com -> Asterisk PBX
FPP -> peer called (called party)

Will upload log shortly.

By: Paul Belanger (pabelanger) 2011-01-26 19:01:42.000-0600

If you play a prompt before you dial, do you hear it?

By: dovid (dovid) 2011-01-27 06:00:09.000-0600

Yes. You will also hear it after if the call is NOT bridged.

By: Paul Belanger (pabelanger) 2011-01-27 08:27:24.000-0600

Are you using directmedia=no ? If you remove NAT of the equation, is this still an issue?

By: dovid (dovid) 2011-01-27 08:54:42.000-0600

pabelanger:

1) I am not using: directmedia
2) I do not have a phone that I can give a public IP to. I do not understand why NAT should be a factor here. If there was a NAT issue I would never hear anything.

By: Paul Belanger (pabelanger) 2011-01-27 09:21:42.000-0600

1) Set directmedia=no, retry.
2) That is what we are trying to figure out, if you remove it from the picture, is it still an issue?  

I still believe you don't have your Eyebeam setup properly, and this is a configuration issue. And to prove this, setup the same test on a local network, and see what happens.

By: Leif Madsen (lmadsen) 2011-01-31 13:54:23.000-0600

Set to feedback while awaiting information requested by pabelanger.

By: dovid (dovid) 2011-02-01 05:22:38.000-0600

For some reason I can not reproduce now (did not make any changes). If I can I will request to re-open the ticket.

By: Leif Madsen (lmadsen) 2011-02-10 13:14:46.000-0600

Closed for now.