Google Call Back Clarification

<< < (2/6) > >>

tyeske:
I'm currently using Ipkall & Sipsorcery. Lately my CNAM isn't working, but I see I'm not the only one. I have a whitepages key, but it may have died.

I originally tried to set up my SS dialplan so that my OBI would ring SS then route the outbound call to GV.

Currently my calls are routed directly from my OBI202 to GV, but I can't seem to fix my SS dialplan to route the calls to SS first.

Can anyone help me?

Hortoristic:
Just curious, with SS being so expensive, why are you solutioning with them? Maybe it was free at one time?

gderf:
SS was free. But they now charge for it.

azrobert:
Quote from: tyeske on February 26, 2014, 12:40:37 pm

I'm currently using Ipkall & Sipsorcery. Lately my CNAM isn't working, but I see I'm not the only one. I have a whitepages key, but it may have died.

I originally tried to set up my SS dialplan so that my OBI would ring SS then route the outbound call to GV.

Currently my calls are routed directly from my OBI202 to GV, but I can't seem to fix my SS dialplan to route the calls to SS first.

Can anyone help me?


I'm confused at what you want to do.
Do you want to route outbound calls from the OBi phone port to SS?
If yes, assuming GV is on SP1 and SS on SP2 you can try changing the Phone Port Primary Line from SP1 Service to SP2 service.

I switched CNAME over to OpenCnam
Here is the code:
 
Code:

 cid = req.Header.From.FromURI.User
  cid = "#{$1}" if cid =~ /^1(\d{10})$/    
  @OpenCName ||= sys.WebGet("https://api.opencnam.com/v2/phone/#{cid}?format=text",4)
   sys.log("OpenCName: #{@OpenCName}")
   prs = @OpenCName.split(' ')
   State = prs[-1]
   if City = prs[-2]
      @cname = "#{City} #{State}"
    else
      @cname = "#{@OpenCName}"
    end
   @cname = @cname.tr(',',' ')
   sys.log("CName: #{@cname}")

Use variable @cname to display CallerID name on your phone.
If the result is a city and state it will look something like "Scottsdale        AZ".
I then remove some of the blanks and move it to variable @cname like "Scottsdale AZ"
I also remove any commas.
SS has trouble using a comma in cname.

Edit:
cid must be 10 digits.
I added code to above to remove the country code.

tyeske:
Azrobert thanks for the suggestions, but when I make SS my Phone Port Primary, I can initiate the call, but I can't get the call to go through. I get the call was rejected by service provider 480 error.

Here is what the SS console shows:
DialPlan 22:04:14:533 sip1(7784): Calling 1763XXXXXXX via Google Voice
DialPlan 22:04:14:533 sip1(7784): SDP on GoogleVoiceCall call had public IP not mangled, RTP socket 97.116.165.126:16804.
DialPlan 22:04:14:533 sip1(7784): UAS call progressing with Ringing.
DialPlan 22:04:14:549 sip1(7784): Logging into google.com for XXXXX@gmail.com.
DialPlan 22:04:14:580 sip1(7784): Google Voice pre-login page loaded successfully.
DialPlan 22:04:14:580 sip1(7784): GALX key XXXXXXXXXX successfully retrieved.
DialPlan 22:04:15:549 sip1(7784): Google Voice home page loaded successfully.
DialPlan 22:04:15:565 sip1(7784): Call key GWOkPogBcpVy/y81hHNjcQNB/tU= successfully retrieved for XXXXX@gmail.com, proceeding with callback.
DialPlan 22:04:15:565 sip1(22492): SIP Proxy setting application server for next call to user XXXXX as udp:67.222.131.147:5070.
DialPlan 22:04:15:627 sip1(7784): Google Voice Call to 1763XXXXXXX initiated, callback #1763XXXXXXX, phone type 1, timeout 15s.
DialPlan 22:04:30:627 sip1(7784): Google Voice Call timed out waiting for callback.
DialPlan 22:04:30:721 sip1(7784): Google Voice Call to 1763XXXXXXX was successfully cancelled.
DialPlan 22:04:30:721 sip1(7784): Dialplan cleanup for XXXXX.
DialPlan 22:04:30:752 sip1(7784): Dial plan execution completed without answering and with no last failure status.
DialPlan 22:04:30:752 sip1(7784): UAS call failed with a response status of 480.

Can you tell me what is going wrong?

Also, I tried your OpenCnam script. I inserted it right below my white pages script. I put a # in front of my white pages script. After adding your script, I couldn't receive any calls.

Do I need to make edits to my dialplan somewhere else in order to use your OpenCnam? I'm not very technical, so please use layman terms.

Thanks!

I went back in and changed my dialplan to the Simple_Dialplan and only made the necessary 4 edits. There must have been an error in my old dialplan. Now I can call out using SS. Every incoming call still has the number 206.682.0185. I used to have a name table, but that doesn't work anymore either. If I could get OpenCnam to work and or get my name table working again, that would be great.

Navigation

[0] Message Index

[#] Next page

[*] Previous page