Link to home
Start Free TrialLog in
Avatar of pplb
pplb

asked on

FreePBX | Inbound Calls work Outbound Calls don't (603)

I have put together a FreePBX box. I am using a softphone on the desktop and Google Voice account.
Echo test from softphone (*43) and Inbound calls from google are working.
I'm getting the "The user is temporarily unavailable (603). Declined." message when doing outbound calls.

Could you please help me to find a solution?

SIP Debugging output: http://hastebin.com/puxenemaco.coffee

OS: Linux debian 3.2.0-4-kirkwood #1 Debian 3.2.51-1 armv5tel GNU/Linux
Asterisk 11.7.0
FreePBX 2.11.0.18
Avatar of Phonebuff
Phonebuff
Flag of United States of America image

You should not be wasting your time with GVoice as the XMPP interface that the majority of these links are built around is being withdrawn soon.  

You traced the SIP conversion between your BRIA and the Asterisk box.  You need to check the Asterisk log usually found in /var/log/asterisk/ Named Full or start an interactive session asterisk -vvvvvr  set your verbosity high and then try the call.  

It will have something with to do with our dial string matching an OUTBOUND route and being assigned to a valid truck.

See this thread for an option to GV, or search the forum.

http://pbxinaflash.com/community/index.php?threads/obivoice-gv-replacement.14176/page-4#post-91416
Avatar of pplb
pplb

ASKER

Thank you for responce.

I know about GV upcoming changes. I get the same results with voip.ms as outbound.
http://hastebin.com/kiguvaxamu.coffee

As dial string I use +1NXXNXXXXXX
As dial string I use +1NXXNXXXXXX

What what does your Outbound route say to do with a match to this string ?
Avatar of pplb

ASKER

Please take a look at attached screenshot.
Thanks
outbound.png
ASKER CERTIFIED SOLUTION
Avatar of Phonebuff
Phonebuff
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pplb

ASKER

That was it.
Now voipms is working and an if I select GV as outbound trunk it also works.
Thank you so much.

May I ask you, how should I change Match Pattern for GV so that if I dial "#" or "*" in front or at the end of number, call will got throu GV.
Thank you
Well, you can strip a prefix in the Outbound Route settings if you want, but I am not sure why you would want those characters in a dial string as they have other meanings in Asterisk.

======================