Search found 179 matches

by davidnewton
Sat Feb 08, 2014 1:46 pm
Forum: Technical Support
Topic: Dialplan: identify sub-account started outgoing call
Replies: 2
Views: 1036

Re: Dialplan: identify sub-account started outgoing call

Aaron wrote:Your code sample is close you just need to extract the username from the From header rather than using the full header which will contain the domain name and other stuff.
Arron: Thanks a lot. This works perfect.
by davidnewton
Fri Feb 07, 2014 3:21 pm
Forum: Technical Support
Topic: Dialplan: identify sub-account started outgoing call
Replies: 2
Views: 1036

Dialplan: identify sub-account started outgoing call

I am trying to use different providers for different subaccounts in the dialplan for outgoing calls. Here is the code I am trying to use. Could anyone tell me if there is anything wrong with this code? Thanks a lot. subfrom= req.Header.From.to_s case subfrom when/subacct1/ sys.Dial(xxx@provider1) wh...
by davidnewton
Fri Nov 22, 2013 12:44 pm
Forum: Technical Support
Topic: GV calls from SS on 3G network
Replies: 0
Views: 9721

GV calls from SS on 3G network

I searched this forum and found many old topics about the no-sound issue for GV calls from SS on 3G network. It seems that the same problem never goes away after several years. While there is no problem to use CSipSimple or other sip apps on WIFI on Android phones, there is no way for me to figure o...
by davidnewton
Wed Feb 02, 2011 12:24 am
Forum: Technical Support
Topic: Socket Connection Closed After 300s
Replies: 8
Views: 1768

Re: Socket Connection Closed After 300s

Aaron: I have a friend using sipsorcery with xlite. It looks like the connection is through tcp instead of udp. He told me that many times, his call can only last about 5 minutes and then drop off. Is this related to the issue about the tcp timeout? Thanks.
by davidnewton
Mon Jan 31, 2011 9:54 pm
Forum: Technical Support
Topic: Right syntax to set a P-src-ip header
Replies: 8
Views: 2311

Re: Right syntax to set a P-src-ip header

Interesting to note when you get FUP as it is a bit at odds with my findings. I have a pretty much static IP as I am on cable BB and when using my own ATA/PBX to connect directly to betamax, I never got FUP with poivy or justvoip. The only time I get FUP is if going through SS or voxalot. Sometimes...
by davidnewton
Mon Jan 31, 2011 5:30 am
Forum: Technical Support
Topic: Right syntax to set a P-src-ip header
Replies: 8
Views: 2311

Re: Right syntax to set a P-src-ip header

The betamax FUP is just a joke. There is no way to find out how it works. I am using SPA3000 gateway to make calls through one of betamax clone (voipraider), so, I don't have the ip problem for people using sipsorcery or voxalot. But I still get many unexpected FUP charge even though my call minutes...
by davidnewton
Wed Nov 17, 2010 5:41 am
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 5515

Re: Different codecs for different VSP

Aaron: Thanks for the reply. It will be very helpful to choose codecs in the dialplan. Do you have any quick sample dialplan for this purpose, or tell me which function could accept the codec as arguments in the Ruby dialplan script?

Best Regards,
David
by davidnewton
Tue Nov 16, 2010 8:50 pm
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 5515

Different codecs for different VSP

I am trying to figure out if it is possible in SS to use different codecs for different VSPs. My scenario is: I would like to use G726 for the calls between SS accounts without VSP, while use G711u for voip.ms to call PSTN (voip.ms does not support G726). Right now, if I set my ATA's preferred codec...
by davidnewton
Sat Sep 25, 2010 6:39 pm
Forum: General VoIP Discussions
Topic: PAP2 dialplan/Betamax FUP solution
Replies: 21
Views: 8671

Re: PAP2 dialplan/Betamax FUP solution

this is my dial plan on spa1001. it worked fine, noticed that it only accept 00+11digits to use nonoh, everything else goes to sipsorcery. (<011:00>xxxxxxxxxxxS0 <:@sip.nonoh.net:5060>|00xxxxxxxxxxxS0 <:@sip.nonoh.net:5060>|[x*][x*].) I tried to use this one, but with this one everything goes to si...
by davidnewton
Thu Sep 16, 2010 8:43 pm
Forum: Technical Support
Topic: PAP2 and Dial plan
Replies: 10
Views: 3226

Re: PAP2 and Dial plan

The '<:>' and '<*:*>' parts of your PAP2 dial plan are totally useless and accomplish nothing whatsoever. Try this for your PAP2 dial plan: ([0-9]xxxxxxxxxxS0 <:@sip.voipraider.com>|[x*][x*].) Note the space after 'S0', it's required. This will send all 11 digit numbers to voipraider. Everything el...