search for: dialret

Displaying 3 results from an estimated 3 matches for "dialret".

Did you mean: dialnet
2009 Jul 22
0
Attended transfer and 'pbx-invalid' - 1.4.26
Hi, I've created a tiny dialplan to test the return of a call on transfers, like this: (I had to use the DEVSTATE backport here) [phones] exten => _12XX,1,Dial(SIP/${EXTEN},6,tT) exten => _12XX,n,GotoIf($[ "x${BLINDTRANSFER}" = "x" ]?noBT) exten => _12XX,n,Set(DIALRET=${CUT(BLINDTRANSFER,-,1)}); exten => _12XX,n,Goto(dRet) exten => _12XX,n(noBT),GotoIf($[ "x${TRANSFERERNAME}" = "x" ]?sai) exten => _12XX,n,Set(DIALRET=${CUT(TRANSFERERNAME,-,1)}); exten => _12XX,n,GotoIf($[ "${DEVSTATE(${DIALRET})}" = "INUSE" ]?s...
2011 Feb 08
0
Manual Call Transfer // Perl // Asterisk::AGI // MySQL
...waste your time telling me to =) I am using PERL AGI scripts to maintain an "active calls count" field for each phone in a mysql database table, for example (not actual code, just trying to illustrate) $SIG{HUP} = 'IGNORE'; .... mysql_update_call_count($user_id, ($count +1) ); $dialret = $agi->exec('Dial', $dialstring); mysql_update_call_count($user_id, ($count -1) ); This works great, except when doing assisted transfers (or any transfer for that matter). We have Polycom IP550 Phones which can do the transfer with a button, As an example of this process and the prob...
2011 Feb 09
0
Manual Call Transfer (Perl, Asterisk::AGI, MySQL)
...waste your time telling me to =) I am using PERL AGI scripts to maintain an "active calls count" field for each phone in a mysql database table, for example (not actual code, just trying to illustrate) $SIG{HUP} = 'IGNORE'; .... mysql_update_call_count($user_id, ($count +1) ); $dialret = $agi->exec('Dial', $dialstring); mysql_update_call_count($user_id, ($count -1 )); (ignore the count this, did that for clarity) This works great, except when doing assisted transfers (or any transfer for that matter). We have Polycom IP550 Phones which can do the transfer with a but...