Darin Iv
2012-Sep-26 13:49 UTC
[asterisk-users] Asterisk call forward to mobile numbers if ringroup is not picking up the call
Hi team, I had setup an asterisk with freepbx and I want to forward the calls to mobile when nocone is picking up calls in the ringroup. I have already added custom ext and given string as Local/mobno/from -internal. But now reciever is geting pilot number only I need to get the callers number in the forwarded mobile. Can you tell me how to do it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120926/14dc74e8/attachment.htm>
Danny Nicholas
2012-Sep-26 13:51 UTC
[asterisk-users] Asterisk call forward to mobile numbers if ringroup is not picking up the call
You have to set the caller ID before dial because it's a new call: [default] Exten => s,1,answer Exten => s,n,Set(CALLERID(num)=${EXTEN}) Exten => s,n,dial. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Darin Iv Sent: Wednesday, September 26, 2012 8:50 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Asterisk call forward to mobile numbers if ringroup is not picking up the call Hi team, I had setup an asterisk with freepbx and I want to forward the calls to mobile when nocone is picking up calls in the ringroup. I have already added custom ext and given string as Local/mobno/from -internal. But now reciever is geting pilot number only I need to get the callers number in the forwarded mobile. Can you tell me how to do it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120926/0b7668bd/attachment.htm>
A J Stiles
2012-Sep-26 17:02 UTC
[asterisk-users] Asterisk call forward to mobile numbers if ringroup is not picking up the call
On Wednesday 26 September 2012, Darin Iv wrote:> Hi team, > > I had setup an asterisk with freepbx and I want to forward the calls to > mobile when nocone is picking up calls in the ringroup. I have already > added custom ext and given string as Local/mobno/from -internal. But now > reciever is geting pilot number only I need to get the callers number in > the forwarded mobile. Can you tell me how to do it.You can't :( Even if you do Set(CALLERID(num)=whatever) in the dialplan for the second leg of the call, your telecommunications provider will notice that you are trying to use a caller ID number that you are not entitled to, and silently *remove* the ident. Otherwise, anybody could pretend to be anybody else; and chaos would surely ensue. However, depending on the telco, they *might* allow you to ident as some other number *iff* you can prove that it belongs to you. -- AJS Answers come *after* questions.