Page 1 of 1

Forwarding Inbound calls to a mobile phone SOLVED

PostPosted: Tue Nov 20, 2012 1:37 pm
by dcxm
Hi

I have an Inbound already working, it's working great. But today I've been asked if it's posible to transfer the call to a mobile phone, so this is what I tried

In /etc/asterisk/extensions.conf I changed the line:

exten => 8001000001,1,AGI(agi-DID_route.agi)

to

exten => 8001000001,1,Dial(${SIPtrunk}/XXXXXXXXXX,60,o)

What i get is this:

[Nov 20 13:25:25] -- Executing [8001000001@default:1] Dial("SIP/xx.xxx.xxx.xx-00000038", "SIP/trunkgrn/XXXXXXXXXX|60|o") in new stack
[Nov 20 13:25:25] -- Called trunkgrn/XXXXXXXXXX
[Nov 20 13:25:25] WARNING[3133]: chan_sip.c:13482 handle_response_invite: Received response: "Forbidden" from '"15595158391" <sip:15595158391@xxx.xx.xxx.xxx>;tag=as232463b8'
[Nov 20 13:25:25] -- SIP/trunkgrn-00000039 is circuit-busy
[Nov 20 13:25:25] == Everyone is busy/congested at this time (1:0/1/0)
[Nov 20 13:25:25] == Auto fallthrough, channel 'SIP/xx.xxx.xxx.xx-00000038' status is 'CONGESTION'
[Nov 20 13:25:25] -- Executing [h@default:1] DeadAGI("SIP/xx.xxx.xxx.xx-00000038", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Nov 20 13:25:25] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

Hope you can help me!

Re: Forwarding Inbound calls to a mobile phone

PostPosted: Tue Nov 20, 2012 10:12 pm
by williamconley
undo any and all changes you have made directly to any .conf files.

after you have "unbroken" your vicidial (harsh, I know, but ... well, it is what it is, LOL) ...

use a remote agent and an ingroup/campaign (for an elegant solution, easily redefined and with all the power of the Ingroup/DID/Campaign available ...) or just change the inbound DID to go to an extension with the full dialplan entry (such as "913522690000") in the extension field.

That is what the DID definition is for. It allows you to "point" an inbound DID to wherever you like (such as a phone on the system ... an ingroup ... a menu ... or any extension which can be any phone number in the world ...).

You could be really cool and have the DID point to an IVR for "you have reach the bob johnson corporation, press 1 to talk to bob" and have "1" call Bob's cell phone via an Ingroup with a remote agent ... but have other digits available to go to Bob's voicemail or sales or Bob's supervisor ... :) The Ingroup would then have MOH and the ability to "fail over" to somewhere else. Bob could also "log in" directly to his Ingroup when in the office with a higher ranking and have his desk phone ring instead of his cell phone ... :) all sorts of things can be done if you handle it within the system.

Thanks for posting your system specs. Everything but the motherboard. Pretty good.

Re: Forwarding Inbound calls to a mobile phone

PostPosted: Tue Dec 18, 2012 9:05 am
by dcxm
William thanks a Lot, sorry for delaying my response!
Your ideas were excellent!
Issue Solved!