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.



54 posts

Master Geek


Topic # 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
2941 posts

Uber Geek
+1 received by user: 154

Trusted
Subscriber

  Reply # 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?





19266 posts

Uber Geek
+1 received by user: 1134

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 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.







54 posts

Master Geek


  Reply # 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?

19266 posts

Uber Geek
+1 received by user: 1134

Moderator
Trusted
Biddle Corp
Subscriber

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

Yip that'll work.

Awesome
3845 posts

Uber Geek
+1 received by user: 367

Trusted
Subscriber

  Reply # 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

204 posts

Master Geek
+1 received by user: 1

Trusted
WorldxChange

  Reply # 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:$[email protected]>;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










54 posts

Master Geek


  Reply # 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.



54 posts

Master Geek


Reply # 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... 

82 posts

Master Geek
+1 received by user: 3

Trusted

  Reply # 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.






54 posts

Master Geek


  Reply # 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.

82 posts

Master Geek
+1 received by user: 3

Trusted

  Reply # 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.






54 posts

Master Geek


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

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

82 posts

Master Geek
+1 received by user: 3

Trusted

  Reply # 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.






54 posts

Master Geek


  Reply # 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?

82 posts

Master Geek
+1 received by user: 3

Trusted

  Reply # 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




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Hierarchy of a mistake: Gerry Brownlee
Created by joker97, last reply by nathan on 26-Jul-2014 04:30 (68 replies)
Pages... 3 4 5


Logitech K400r HTPC Cordless Keyboard Half Price
Created by Dynamic, last reply by Blanch on 28-Jul-2014 22:16 (25 replies)
Pages... 2


Checking UHF aerial is working
Created by OnceBitten, last reply by B1GGLZ on 28-Jul-2014 21:49 (21 replies)
Pages... 2


Dick Smith in Continual Sale Mode
Created by Dynamic, last reply by KiwiNZ on 29-Jul-2014 09:13 (61 replies)
Pages... 3 4 5


Is chorus going to deliberately slow adsl internet down
Created by rugrat, last reply by juha on 26-Jul-2014 14:25 (54 replies)
Pages... 2 3 4


2 x PS4s to give away. Geekzone members only.
Created by BigPipeNZ, last reply by BigMal on 29-Jul-2014 10:12 (34 replies)
Pages... 2 3


What Size iphone 6 will you be buying?
Created by mattbush, last reply by myopinion on 26-Jul-2014 20:19 (35 replies)
Pages... 2 3


Cleaning out the dust
Created by waikariboy, last reply by JWR on 28-Jul-2014 19:24 (15 replies)


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.

Alternatively, you can receive a daily email with Geekzone updates.