Author Topic: Transferred calls show extension s instead of extension number  (Read 3977 times)

cursor

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
I am having a problem tracking transferred calls.  They are shown in the reports but only external transfers (outside the call center) show the number dialed.  When the call is transferred to an internal extension I just get "s" as the destination.  Why would this happen?  The only thing I can think of is that my internal extension macro uses s to process the call.  Any idea on how to correct this?  I am using plain Asterisk 1.8 on Centos.  All dialplan logic is coded by hand.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Transferred calls show extension s instead of extension number
« Reply #1 on: September 26, 2013, 09:48:48 »
How do you do the transfer? the issue is that QM will of course report on what is logged....

cursor

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
Re: Transferred calls show extension s instead of extension number
« Reply #2 on: September 26, 2013, 18:45:27 »
Transfers are done using the SIP phones transfer button, not with the Asterisk function.  Here are some log entries for transfers:

1379433548|1379433498.2515|ventas2|SIP/1527|TRANSFER|s|macro-stdexten|7|42|1
1379438586|1379438459.3325|ventas|SIP/1513|TRANSFER|s|macro-stdexten|1|124|1
1379440824|1379440639.3638|ventas|SIP/1513|TRANSFER|s|macro-stdexten|1|183|1
1379541764|1379541247.14829|ventas5|SIP/1729|TRANSFER|952017800|oficina|4|512|1
1379686450|1379685157.6295|RCI|SIP/1902|TRANSFER|952831111|oficina|35|1249|1

The ones that go to internal phones using the stdexten macro are the ones reporting s, calls to outside phones do have the correct number.
« Last Edit: September 26, 2013, 18:48:51 by cursor »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Transferred calls show extension s instead of extension number
« Reply #3 on: September 27, 2013, 12:13:34 »
What does the agent enter when do do an internal transfer?

cursor

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
Re: Transferred calls show extension s instead of extension number
« Reply #4 on: September 27, 2013, 18:41:12 »
They press the transfer button on the phone and then dial a 4 digit extension number.

Extensions are defined in the dialplan as:

exten => 1501,1,Macro(stdexten,1501,SIP/1501)
« Last Edit: September 27, 2013, 18:43:17 by cursor »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Transferred calls show extension s instead of extension number
« Reply #5 on: September 30, 2013, 13:13:15 »
Trying not to use a macro, just for testing what gets logged?