Askozia Forums
July 30, 2010, 12:33:00 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Applicaton for calling/forwarding to external phone  (Read 2107 times)
0tt0
Newbie
*

Karma: 0
Posts: 19


View Profile
« on: May 11, 2009, 09:24:16 am »

Hi,

I'm trying to do some redirecting of incoming calls to other external numbers but can't seem to get it to work.

When I use search I find several posts here with somewhat similar questions but they are NOT answered... so they are therefore not to any help.

I'm trying to setup an application that I can use to sometimes redirect an incoming call to a cell phone (or any other external number).

I found a reference to RTFM in one post, and did try to do that, check the Dial() command reference in the /popup_dialplan_element_library.php but I see no clear answer to this.

I looked in the logs and found that outgoing calls from local phones yields entries such as
 Dial( SIP/12345@SIP-PROVIDER-nn||To)

where 12345 is the number being dialed and nn is a large numerical random looking value.

I then tied to copy that command into an application and and dial that extension from local phone and it appears to work. The external number I enter in the parenthesis is being dialed.

However when I chose this application as incoming extension under the provider in question nothing happens if I dial in from the outside.

I had something looking like:

1,Answer()
2,Dial(SIP/12345@SIP-PROVIDER-nn||To)
3,Hangup()

but doesn't work.

I guess I'm missing some interconnecting command perhaps?


Everything is reasonably correctly set up since normal calls are ringing my SIP phone just fine and I'm also phoning out with no problems.

So, what am I missing? How should such an application look like, that forwards an incoming call to an external phone number, can someone post their application structure here perhaps? And also, yet again, is there somewhere a short how-to with such easy examples as this one?

TIA,

Logged
0tt0
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #1 on: May 11, 2009, 10:56:39 am »

Ok, I've done some additional testing.

I added an external phone with this number I want to forward to and calling that extension from the inside seems to work.

I then edited my application and instead of being busy (which it was too earlier) it now did call the external phone. However when answering it I heard no sound either way through the phones.

Is this somehow related to number of lines I have from my SIPprovider or something else?

How-to somewhere?

TIA,

Logged
giovanni.v
Global Moderator
Hero Member
*****

Karma: 27
Posts: 449


View Profile
« Reply #2 on: May 11, 2009, 08:24:41 pm »

I'm trying to do some redirecting of incoming calls to other external numbers

You don't need to reivent the weel... go to Accounts->Phones in the askozia webgui then setup a new external extension. This works like a virtual internal number to map an external one.
After done that you can assign the virtual extension to incoming calls or a ring group.
Logged
fthomas137
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #3 on: May 24, 2009, 03:42:13 am »

I did leave a new thread for this, but it's not working right now. I tried to setup an external extension and I loose the ability to point out providers to the extension. The boxes dissappear on the provider screen.

Frank
Logged
SadZer
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #4 on: February 02, 2010, 06:26:29 am »

Redirecting incoming call to some external numbers should be as easy as ABC. Considering that all the needed system are present. But I think you have already done too much and they are quite complicated. Anyway, what is the brand of the phone, try to undo everything and call the system admin of your phone for detailed instruction. Call Center Software
« Last Edit: February 12, 2010, 03:24:35 pm by SadZer » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.125 seconds with 16 queries.