Google Call Back Clarification

<< < (6/6)

Koby:
Don't know if anyone has mentioned it yet but this article, "How it used to be done: How to use Google Voice for free outgoing calls on an Asterisk/FreePBX system (the no-XMPP way)" showed how to implement the callback method in Asterisk.  Since it's pretty easy nowadays to set up a functional Asterisk PBX on a miniscule computer (see "Asterisk for Raspberry Pi", "Asterisk for BeagleBone Black"), that might be an option if you don't want to pay for SipSorcery or would like to have some of the features offered in a real PBX.

tyeske:
azrobert:

I tried your latest version and now I get the number instead of "unknown" where the name/city state should be. Is this an easy correction? I rang my phone, but I didn't answer.

I checked and now I can't make any outgoing calls.

Here is my log from the console.

Monitor 00:59:34:539: basetype=console, ipaddress=*, user=XXXXX, event=*, request=*, serveripaddress=*, server=*, regex=.*.
Registrar 00:59:51:633 sip1(5520): Binding update request for tXXXXX@sipsorcery.com from udp:97.116.165.126:5061, expiry requested 120s granted 120s.
RegisterSuccess 00:59:51:665 sip1(5520): Registration successful for XXXXX@sipsorcery.com from udp:97.116.165.126:5061, binding sip:XXXXX@97.116.165.126:5061;expiry=120.
DialPlan 01:00:00:977 sip1(18384): Using dialplan Working Simple Dial Plan 3-3-14 for In call to sip:XXXXX@sipsorcery.com.
NewCall 01:00:01:009 sip1(18384): Executing script dial plan for call to XXXXX.
DialPlan 01:00:01:055 sip1(18384): CallerID:   7630000000
DialPlan 01:00:01:055 sip1(18384): WebGet attempting to read from https://api.opencnam.com/v2/phone/7630000000?format=text.
DialPlan 01:00:01:556 sip1(18384): Error in WebGet for https://api.opencnam.com/v2/phone/7630000000?format=text.
DialPlan 01:00:01:556 sip1(18384): CallerName:
DialPlan 01:00:01:556 sip1(18384): There was a missing method exception in your dial plan: undefined method `split' for nil:NilClass.
DialPlan 01:00:01:556 sip1(18384): Dialplan cleanup for tyeske.
DialPlan 01:00:02:040 sip1(18384): Dial plan execution completed without answering and had an execution error message of Dial plan missing method.
DialPlan 01:00:02:040 sip1(18384): UAS call failed with a response status of 500 and Dial plan missing method.

Since we couldn't get this to work, I tried a couple of other dial plans out there. It was more important to see the name and number and I already had a pretty big table. I tried this one and it worked for me.

http://code.google.com/p/google-voice-sipsorcery-dialplans/source/browse/trunk/SIP%20Sorcery%20Dial%20Plans/Contrib/Simple%20Dial%20Plan%20with%20CNAM%20and%20VM/SDP_with_CNAM_and_VM

It still shows the number instead of city state, but the CNAM works for everyone on my table.

kccasey:
How do I edit my Dial plan since I have GV setup as my SP to include OpenCNAM API script?

azrobert:
This script is for the SipSorcery service and not for an OBi. You route the call to SipSorcery and it adds the CNAM.

http://www.sipsorcery.com/mainsite/Home/Pricing

SteveInWA:
Quote from: kccasey on September 10, 2015, 08:29:07 am

How do I edit my Dial plan since I have GV setup as my SP to include OpenCNAM API script?


You've been posting similar questions in multiple unrelated threads.  Please read the replies before peanut-buttering the forum with the same issue.

OBi 1xx, 2xx and 3xx ATA devices do not directly support querying a LIBD for CNAM, nor do they have an internal phone book as do the OBi 1000 series IP phones.

irosenman has already described a solution that involves piping the calls through a local PBX running on a Raspberry Pi, if you must have CNAM, or you can forward your GV calls to a SIP VoIP service provider like Callcentric that does include CNAM, as azrobert pointed out.

Navigation

[0] Message Index

[*] Previous page