Home Forum Developers IP0x Parking Calls problem, as of svn 268, cannot compile ast 1.6

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


luckman212
useravatar
User Info

Parking Calls problem, as of svn 268, cannot compile ast 1.6

scenario:
by the way in my case my feature codes are:
*1=park
*2=blind xfer
*7=on-the-fly record



caller A (outside pbx) dials in.
party B answers the call from analog station.

party B dials *1 to place call on hold.
caller A hears music on hold
party B hears "7-0-1" to indicate that call is parked on extn 701.
party B is disconnected from pbx

caller A remains on hold.

party B dials x701 and is reconnected to the call.

now party B wishes to place caller A on hold AGAIN.
party B dials *1 ... but there is no response from the pbx and call is not parked.

caller A dials *1 -- now party B hears the music on hold!
caller A hears "7-0-1" and then the pbx hangs up on her. (yikes)

Interestingly, *2 (blind xfer) DOES still work even though *1 (park) and *7 (record) do NOT.  Why? not sure.


so the problem here is somehow the dialoptions for the parkedcalls context I think- but I looked in extensions.conf and couldn't figure out where to add them.  Also "caller" should *never* be able to "park themselves" !  pbx should only listen for feature codes from pbx-connected devices.

I did some research and I found these, it may be related to:
https://issues.asterisk.org/view.php?id=16895

also:
http://www.mail-archive.com/asterisk-us … 12253.html

I tested this with svn 257 and also svn 268, using asterisk 1.4.   so I thought it could be an asterisk 1.4 bug, I tried to compile svn 168 w/ asterisk 1.6 but it does not "make".  I got this error:

Code:


    Applying asterisk-1.6.patch using plaintext:
    patching file include/asterisk/compat.h
    patching file res/ael/ael.flex
    patching file res/ael/ael_lex.c
    patching file main/frame.c
    patching file apps/app_voicemail.c
    patching file main/manager.c
    patching file main/http.c
    /root/Desktop/switchfin/config/kernel-patch.sh /root/Desktop/switchfin/build_ip04/asterisk package/asterisk cid-1.6.patch

    Applying cid-1.6.patch using plaintext:
    /root/Desktop/switchfin/config/kernel-patch.sh /root/Desktop/switchfin/build_ip04/asterisk package/asterisk

    Applying asterisk-1.4.makeopts using plaintext:
    patch: **** Only garbage was found in the patch input.
    Patch failed!  Please fix asterisk-1.4.makeopts!
    make: *** [/root/Desktop/switchfin/build_ip04/asterisk-1.6.2.6/.unpacked] Error 1


Administrator has disabled public posting
luckman212
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

I would like to try a build compiled with asterisk 1.6 but as of the new trunk I cannot get it to compile successfully.  I have a feeling this is just related to bugs in asterisk 1.4 that were patched but maybe those patches have not been integrated into the version that is included with switchfin.


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Hi Luke

1.6 should now compile, you should remove your asterisk-1.6.2 dir in the buildip04 dir.

Its also a good idea to run make menuselect again!

Thanks
Jason


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Also to fix the parking issue you need to add:

Code:


parkedcalltransfers = both
parkedcallreparking = both

To the general section of features.conf, the options for these settings are(callee, caller, both, no)

Hope it works!!!

Thanks
Jason


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Here is a list of the other options found in res_features, hope this helps!!

Code:


parkedcallhangup - Who can DISCONNECT after picking up a parked call
parkedcallrecording - Who can AUTOMON after picking up a parked call
parkfindnext - Continue to the 'next' free parking space (next)
adsipark - if you want ADSI parking announcements (yes/no)
transferdigittimeout
featuredigittimeout


Administrator has disabled public posting
luckman212
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Hey Jason thanks!  I am going to try to build from the trunk now, do you think I should do a 1.6 build and test or should I just apply those settings to features.conf and stick with 1.4

I imagine going from ast 1.4 to 1.6 I will have to reset all my configs, yes?


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Hi Luke

It’s probably a good idea to reset your configs when testing 1.6, you might have some issues using the GUI though. Last test I did i couldn’t call external scripts from the AMI in 1.6 (this caused a few issues in the GUI) also the redirect to static/config/index.html doesn’t work so you will have to use the full URL.

http://XXX.XXX.XXX.XXX/static/config/index.html

I would recommend for now sticking with 1.4, as the parkedcallreparking setting should fix most of your issues!!

Im looking at the best way to integrate it into the GUI now to


Administrator has disabled public posting
luckman212
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

got it.  I am compiling a new build with 1.4 as we speak.   I hope to report back shortly.   thanks again Jason!


Administrator has disabled public posting
luckman212
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

its late here so,  can't go into too much detail but----

it works!! smile

I can finally put calls on hold, then pick them up, then place them back on hold.

bravo!! cool
more testing tomorrow...


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Hi Luke

The following should now be set automatically by the GUI
parkedcallreparking, parkedcalltransfers, parkedcallhangup

also I have added parkedcallmixrecording to the automixmonitor patch (this should allow one touch mixmon recording after parking) so make sure you remove asterisk-1.4.32 in the buildip04 dir to make sure its re-patched.

Thanks
Jason


Administrator has disabled public posting
luckman212
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

ok Thanks, yes everything seems to be working great on svn 275.   I will build 277 today.   Thanks so much for your great help on this issue!

one quick question I see in the asterisk documentation for features.conf they make reference to "automon => xxx" but in switchfin we have "automixmon => xxx".   Do I need to have both codes defined or does automixmon replace automon?


Administrator has disabled public posting
Albi90
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

Hi Luke

automon uses the monitor command which records the audio as two files one for each channel, so we back-ported automixmon from asterisk 1.6 which combines both channels into one recording.

automon is still there but not in the GUI as theres no real need for it and most people require single file recordings.


Administrator has disabled public posting
luckman212
useravatar
User Info

Re: Parking Calls problem, as of svn 268, cannot compile ast 1.6

got it, that makes sense.


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 320
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked