# Do your OUTGOING call processing customisations here.
case req.URI.User
when /^1/
sys.GoogleVoiceCall("xxxxxx","xxxxx","1747xxxxxxx","#{req.URI.User}")
else sys.Dial("Gizmo5")
endMikeTelis wrote:jay235,
it could be the same problem (500, internal error) I reported on previous page. While the thing works fine on my account it doesn't work for my girlfriend. All settings are identical, the difference is only in e-mail address/password/gizmo numbers.
Go to console, login there, use "event *" filter and check what's going on. If you see infamous 500 internal error message, welcome to the club!
DialPlan 07:18:43:315: New call from tcp:71.263.237.19:50667 successfully authenticated by digest.
DialPlan 07:18:43:440: Using dialplan default for Out call to sip:xxxxxxxxxx@sipsorcery.com.
NewCall 07:18:43:659: Executing script dial plan for call to sip:xxxxxxxxxx@sipsorcery.com.
DialPlan 07:18:44:377: starting dialplan...
DialPlan 07:18:44:377: SDP on GoogleVoiceCall call had public IP not mangled, RTP socket 71.263.237.19:50711.
DialPlan 07:18:44:377: UAS call progressing with Ringing.
DialPlan 07:18:44:377: Logging into google.com for gv_userid@gmail.com.
DialPlan 07:18:45:596: Google Voice home page loaded successfully.
DialPlan 07:18:45:690: Call key 42663+G4Iq0NjtiRMXOqGan3f6o= successfully retrieved for gv_userid@gmail.com, proceeding with callback.
DialPlan 07:18:45:768: Exception on GoogleVoiceCall. The remote server returned an error: (500) Internal Server Error.
DialPlan 07:18:45:768: Sorry, Google Voice Call failed.
DialPlan 07:18:45:924: Dial plan execution completed without answering and with no last failure status.
DialPlan 07:18:45:940: UAS call failed with a response status of 480.
Did you try converting the variable to string as Aaron designed?richardtaur wrote:Just did, but still gets same error. Used it with x-lite.
I used your code:
- Code: Select all
# Do your OUTGOING call processing customisations here.
case req.URI.User
when /^1/
sys.GoogleVoiceCall("xxxxxx","xxxxx","1747xxxxxxx","#{req.URI.User}")
else sys.Dial("Gizmo5")
end
sys.GoogleVoiceCall("xxxxxx","xxxxx","1747xxxxxxx","#{req.URI.User.to_s}") djon wrote:Did you try converting the variable to string as Aaron designed?richardtaur wrote:Just did, but still gets same error. Used it with x-lite.
I used your code:
- Code: Select all
# Do your OUTGOING call processing customisations here.
case req.URI.User
when /^1/
sys.GoogleVoiceCall("xxxxxx","xxxxx","1747xxxxxxx","#{req.URI.User}")
else sys.Dial("Gizmo5")
end
- Code: Select all
sys.GoogleVoiceCall("xxxxxx","xxxxx","1747xxxxxxx","#{req.URI.User.to_s}")
sys.GoogleVoiceCall(string emailAddress, string password, string forwardingNumber, string destinationNumber)
Users browsing this forum: sint and 2 guests