Koozali.org: home of the SME Server

Blind transfer with Aliases

Offline ldkeen

  • *
  • 405
  • +0/-0
Blind transfer with Aliases
« on: January 14, 2008, 10:35:04 AM »
Hey Jeff (again),
While I was in a typing mood I thought I throw this one down as well. I can't get the Blind Transfer option (#) to work with Aliases? I'm sure it used to work before. If I ring an extension from another extension the Blind Transfer function works perfectly BUT when I ring an Alias from an extension it doesn't work. When I push the # key on the dialpad (in fact any key) asterisk comes back with Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20 and just ignores to tone. Here's the full output of what is going on:
Code: [Select]
    -- Executing [5300@internal:1] AGI("SIP/5005-08bcefe8", "selintra|OutCluster|5300") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
AGI Tx >> agi_request: selintra
AGI Tx >> agi_channel: SIP/5005-08bcefe8
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1200300743.6
AGI Tx >> agi_callerid: 5005
AGI Tx >> agi_calleridname: 5005
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 5300
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: internal
AGI Tx >> agi_extension: 5300
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << SET PRIORITY 1
AGI Tx >> 200 result=0
AGI Rx << SET EXTENSION 5300
AGI Tx >> 200 result=0
AGI Rx << SET CONTEXT default
AGI Tx >> 200 result=0
    -- AGI Script selintra completed, returning 0
    -- Executing [5300@default:1] AGI("SIP/5005-08bcefe8", "selintra|Alias|SIP/5000 SIP/5003|5300") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
AGI Tx >> agi_request: selintra
AGI Tx >> agi_channel: SIP/5005-08bcefe8
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1200300743.6
AGI Tx >> agi_callerid: 5005
AGI Tx >> agi_calleridname: 5005
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 5300
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 5300
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << EXEC Dial SIP/5000&SIP/5003|30|wW
    -- AGI Script Executing Application: (Dial) Options: (SIP/5000&SIP/5003|30|wW)
    -- Called 5000
    -- Called 5003
    -- SIP/5000-08bd0a20 is ringing
    -- SIP/5003-08bd9d08 is ringing
    -- SIP/5000-08bd0a20 answered SIP/5005-08bcefe8
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
    -- Packet2Packet bridging SIP/5005-08bcefe8 and SIP/5000-08bd0a20
AGI Tx >> 200 result=-1
  == Spawn extension (default, 5300, 1) exited non-zero on 'SIP/5005-08bcefe8'
    -- Executing [h@default:1] Hangup("SIP/5005-08bcefe8", "") in new stack
  == Spawn extension (default, h, 1) exited non-zero on 'SIP/5005-08bcefe8'
 
The transfer button on my GXP2000 works fine it's just the # key on the other phones that doesn't work. It's not a huge problem for me, I'm just trying to give a bit of feedback.
Many thanks,
Lloyd

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Blind transfer with Aliases
« Reply #1 on: January 14, 2008, 08:25:26 PM »
Hi Mate

This is interesting and worth a word or two....

That # key is nasty nasty nasty.  Don't use it unless you have clunky old analogue units or phones that won't transfer any other way.  Instead, Use the nice SIP re-invite for everything. 

The reason alias groups don't respond to # is due to the dial we do... (from your trace)...

Code: [Select]
EXEC Dial SIP/5000&SIP/5003|30|wW
In a normal dial we do...

Code: [Select]
EXEC Dial SIP/5000|30|TtwW

The Tt tells Asterisk to accept # transfers (from both ends).  Now, I don't actually know why Sam disallows # transfer on Aliase group dials (I'll have to ask hm) but you can still transfer with a SIP reinvite (at least you can on the -587/1.4 test image we have here - I just tried it).

Best

S



Offline jibe

  • ****
  • 128
  • +0/-0
Re: Blind transfer with Aliases
« Reply #2 on: July 03, 2008, 03:11:22 PM »
Hi,

Did you asked Sam why # is disallowed on aliases ?

I should like to make transfers with an old analogic phone... Better if I'm not obliged to change this phone !

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Blind transfer with Aliases
« Reply #3 on: July 03, 2008, 06:12:50 PM »
They are disallowed because they can crash asterisk in 1.4


Kind Regards

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Blind transfer with Aliases
« Reply #4 on: July 04, 2008, 11:52:48 AM »
Hi,

Thanks for your reply !

Finally, I discovered that it's possible to use the 'R' key. It's not really the same, but it's a nice and useful workaround  :-)

best regards.