Author Topic: Outgoing caller number when transfering call to external number  (Read 1063 times)

florian_n

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Hello,

the question might be easy to solve and the solution obvious, but i am unable to find a solution.

What i want to achieve:

I want to have an extension which is forwarded to an mobile phone. On the mobile phone, i want to see the original caller id.
This works when i call from an internal phone, from any external phone i only see the default caller id...
We are using AskoziaPBX 3.3.3

Any ideas how to forward / transfer external calls automatically to an external phone and still see the original caller id of the calling party?
Any help appreciated!

Thanks, Florian

MIp

  • Hero Member
  • *****
  • Posts: 230
  • Karma: 9
  • Askozia Certified Partner ***
    • View Profile
Re: Outgoing caller number when transfering call to external number
« Reply #1 on: August 24, 2016, 02:07:26 PM »
Hi Florian,

what kind of Telephony type are you using? SIP/ISDN/Analog?
With SIP we implemented following code in Provider Settings -> Manual Dialplan Outgoing:
Code: [Select]
ExecIf($["${CALLERID(num):0:1}" = "0"]?Set(CALLERID(num)=49${CALLERID(num):1}))If the Caller has the CallerID starting with 0 the CallerID will be replaced with the Original CallerID and parsed for the outgoing CallerID Format. This is just an examlpe for sipgate. The first digit (0) will be replaced with 49 because sipgate needs this format to transmit the CallerID.
Versions using:
3.4
4.1.x
5.x
Phones using:
Tiptel 31xx, Snom 7xx/3xx, Yealink SIP T4x

florian_n

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Outgoing caller number when transfering call to external number
« Reply #2 on: August 24, 2016, 02:59:40 PM »
Hi,

we are currently using M-Net ISDN as provider.
Any similar functionality for ISDN?

Thanks, Florian

MIp

  • Hero Member
  • *****
  • Posts: 230
  • Karma: 9
  • Askozia Certified Partner ***
    • View Profile
Re: Outgoing caller number when transfering call to external number
« Reply #3 on: August 24, 2016, 03:04:49 PM »
I don't think so, that you have to parse the Numbe. Maybe you'll try this Code:
Code: [Select]
ExecIf($["${CALLERID(num):0:1}" = "0"]?Set(CALLERID(num)=${CALLERID(num)}))You don't have to insert the code in the Provider Settings, it should be enough to add this code in the settings of the external Phone.
Versions using:
3.4
4.1.x
5.x
Phones using:
Tiptel 31xx, Snom 7xx/3xx, Yealink SIP T4x

florian_n

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Outgoing caller number when transfering call to external number
« Reply #4 on: August 25, 2016, 09:56:10 AM »
Thanks for your suggestions.
Unfortunately it does not seem to work.

I set up an additional provider (SIP via sipgate basic), added the provided code even to the provider manual outgoing dialplan and configured my external phone to use the sipgate provider.

When i call the number of my external phone i now see my sipgate number instead of the caller number.
I am confused...

MIp

  • Hero Member
  • *****
  • Posts: 230
  • Karma: 9
  • Askozia Certified Partner ***
    • View Profile
Re: Outgoing caller number when transfering call to external number
« Reply #5 on: August 25, 2016, 11:01:10 AM »
did you used the first code? sipgate Needs the 49 (if it is a german Number) to transmit the number corectly.
Versions using:
3.4
4.1.x
5.x
Phones using:
Tiptel 31xx, Snom 7xx/3xx, Yealink SIP T4x