Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


jlg84

63 posts

Master Geek


#113646 23-Jan-2013 09:58
Send private message

One of the reasons for my switch to VoIP was the ability to have calls to my home/business reach me on my cell phone when I'm out and about. I have set up a Ring Group in FreePBX that includes all the internal extensions that I want to ring when a call comes in, and also my cell phone. But when the call comes in to my cell it always says that the caller is myself, rather than whoever is actually calling. Is there a way to preserve the caller ID of the actual caller? 

Also, on a somewhat related topic, the call will ring on my cell phone just once and then go to voicemail, even though I have set the system to ring for 40 seconds before going to VM (within FreePBX). Surely I must have missed some other setting too, to give me more of a chance to answer the call.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
Zeon
3916 posts

Uber Geek

Trusted

  #749355 23-Jan-2013 10:02
Send private message

Hmm I'm not sure as that would involve spoofing the CID since your PBX system is making an additional call to your mobile then bridging them. Not sure if the phone networks would let you do this?




Speedtest 2019-10-14




sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #749359 23-Jan-2013 10:05
Send private message

You need to use a SIP302 redirect (if your VoIP provider supports it).

Depending on where in the call flow inside Asterisk you're trying to do this you may not be able to do this from FreePBX, it will require custom code in Asterisk to set the correct SIP headers to do it. 

Doing a SIP302 redirect to call a mobile while ringing internal extensions at the same time is impossible.





jlg84

63 posts

Master Geek


  #749369 23-Jan-2013 10:18
Send private message

What about having the internal ring group ring for 3-4 rings before moving on to the mobile?



sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #749371 23-Jan-2013 10:22
Send private message

Yip that'll work.

ajobbins
5052 posts

Uber Geek

Trusted

  #749401 23-Jan-2013 11:03
Send private message

I've been wondering this too, and it's one of the main reasons I am reluctant to move away from using 2talk natively to my own Asterisk install.

With 2talk now, I can have a 'ring all' group including SIP registrations and mobiles that can ring simultaneously and display A party CID correctly on all endpoints (inc mobiles). I guess they can do this, as the provider they can send out any CID they wish.

I wish there was something in the SIP standard that allowed you to send a specific header, like a 302 but at the same time as ringing within the PBX as well, perhaps the SIP provider would have to be performing a check to ensure there was still an incoming call ringing from that CID before it allowed it to be presented as outgoing CID from the PBX.




Twitter: ajobbins


joshp
205 posts

Master Geek

Trusted
WorldxChange

  #749603 23-Jan-2013 14:59
Send private message

In terms of preserving your original A Parties CID, dependant on your provider, you can send a diversion header inside the INVITE going out to your mobile, this allows you to write the from party as your original A party ANI, but use the diversion header for your ITSP to do the look up on when validating your call.

In asterisk you can assign the call forward function to write this into the INVITE under dialparties.agi (/var/lib/asterisk/agi-bin/dialparties.agi)

First declare the following variable (you will see where other variables are being declared):

$didname = $AGI->request['agi_dnid'];
Then you need to locate the call forward section and enter in the below, the new line is the $AGI etc:

$count = 0;
foreach( $ext as $k)
{
        $cf  = $AGI->database_get('CF',$k);
        $cf  = $cf['data'];
        if (strlen($cf))
        {
                // append a hash sign so we can send out on chan_local below.
                $ext[$count] = $cf.'#';
                debug("Extension $k has call forward set to $cf", 1);
                $AGI->set_variable("__SIPADDHEADER","Diversion: <sip:$didname@58.28.158.24>;reason=unconditional;counter=1;privacy=off");
                debug("$AGI->set_variable");
        }
        else
        {
                debug("Extension $k cf is disabled", 3);
        }
        $count++;
}

See how you go with this, this could be slightly different by now, I haven't looked at this for quite some time but should give you a pretty good idea on what you need to do :)

Cheers

Josh








jlg84

63 posts

Master Geek


  #749641 23-Jan-2013 15:33
Send private message

Oh my goodness, thank you for the help, but I am a total tyro (and not at all a professional) and cannot even begin to put any of what you have suggested into practice.

 
 
 
 

Shop now for Lenovo laptops and other devices (affiliate link).
jlg84

63 posts

Master Geek


#750219 24-Jan-2013 14:23
Send private message

So, would anyone be willing to help see if the commands given to me in the response above would solve my wee problem? I am not about to try to do this myself, since that is just destined to end badly... 

igorportugal
82 posts

Master Geek

Trusted

  #750222 24-Jan-2013 14:29
Send private message

We solve this by having an App on the mobile phone - iPhone / Android - that shows the CID. Works better on Android as it runs on the background and we modified the default phone application to feed the CID to the screen. We also put call hold and transfer buttons on the phone app in the Android.

This means even though the phone system makes a second call, the person receiving the call can still sees the caller ID and can hold the call in the phone system or transfer it to another extension.




jlg84

63 posts

Master Geek


  #750227 24-Jan-2013 14:34
Send private message

Is that app generally available? I use an iPhone, so if it's available in iOS that'd be great.

igorportugal
82 posts

Master Geek

Trusted

  #750230 24-Jan-2013 14:39
Send private message

Unfortunately not to wider public, sorry - only to our customers

What I meant to say was that we didn't find any other way around the CID issue, so had to develop it as an app.




jlg84

63 posts

Master Geek


  #750231 24-Jan-2013 14:40
Send private message

Well, interesting as that is, it doesn't help me at all... Cry

igorportugal
82 posts

Master Geek

Trusted

  #750233 24-Jan-2013 14:48
Send private message

jlg84: Well, interesting as that is, it doesn't help me at all... Cry


Sorry about that, typed first thought later - should've done the other way around. I realise no this was not be that helpful.

One thing that may be helpful to you though is you can use a SIP phone with push notification, Acrobits for example. Have the soft-phone register against your SIP extension. When a call comes in you will get a push notification before your phone starts ringing. you don't use the soft-phone for 3G based calls - just to get that push notification to see who is calling briefly before your phone starts ringing.




jlg84

63 posts

Master Geek


  #750300 24-Jan-2013 16:29
Send private message

Have downloaded Acrobits and it seems not to preserve the DID info; and using the 2Talk softphone app on the iPhone makes calls go to the iPhone rather than to my VoIP handsets, so that's not an option either. Next idea?

igorportugal
82 posts

Master Geek

Trusted

  #750369 24-Jan-2013 18:38
Send private message

Do you need DID as well as CLI info?




 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.