Search found 19 matches

by AndrewZ
Fri Nov 19, 2010 5:18 pm
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 2831

Re: Different codecs for different VSP

MikeTelis wrote: Thus, we need to use the names from original SDP (or am I missing something?).
Agree - we need to use all the names found in the original SDP and try to keep those names correct on the SIP UA side.
by AndrewZ
Fri Nov 19, 2010 3:01 pm
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 2831

Re: Different codecs for different VSP

I'm not adding 'a' to G.729 codec name, I'm using the name transmitted by SIP client (or proxy, depending on the call direction). Here is actual SDP transmitted by my SPA-3102: a=rtpmap:18 G729a /8000 It should not be transmitted by client(s) as well. For some reasons Linksys/Sipura devices have th...
by AndrewZ
Fri Nov 19, 2010 10:49 am
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 2831

Re: Different codecs for different VSP

MikeTelis wrote: sdp.priority 'PCMA, PCMU, G729A'
Mike,
You shouldn't add "A" to "G729".
Please refer to rfc3551, section 6 for the codec names.

For codec variations, like Annex for example, "fmtp:" should be used:

Code: Select all

a=fmtp:18 annexb=yes
by AndrewZ
Thu Nov 18, 2010 2:58 pm
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 2831

Re: Different codecs for different VSP

Try different provider.
Some VSPs are ignoring your preference order and providing connection using their own preferences but keeping in mind your capabilities.
by AndrewZ
Thu Nov 18, 2010 12:17 pm
Forum: Technical Support
Topic: Different codecs for different VSP
Replies: 21
Views: 2831

Re: Different codecs for different VSP

Question: in order to change codec preference, is it enough to rearrange payload types in the m=* string or I also need to resort a=rtpmap lines in order as they appear in the m=* line? Yes, it's enough. a=rtpmap lines may be even missing in SDP if they are "describing" static payload types (per RF...
by AndrewZ
Tue Nov 16, 2010 8:23 pm
Forum: Technical Support
Topic: filtering allowed characters
Replies: 4
Views: 363

Re: filtering allowed characters

This works! Thanks, Mike!
by AndrewZ
Tue Nov 16, 2010 5:14 pm
Forum: Technical Support
Topic: filtering allowed characters
Replies: 4
Views: 363

Re: filtering allowed characters

MikeTelis wrote:Check out regular expressions.
Cannot find the right syntax...
Could you please give an example for filtering digits 0-9 in a given variable.

Thanks
by AndrewZ
Tue Nov 16, 2010 4:29 pm
Forum: Technical Support
Topic: filtering allowed characters
Replies: 4
Views: 363

filtering allowed characters

Hello

Cannot find the answer searching the forums... Sorry if it was already asked/answered.
Is there a Ruby equivalent for the FILTER function found in Asterisk?

Code: Select all

FILTER(<allowed-chars>,<string>)
Thanks!
by AndrewZ
Tue Nov 16, 2010 9:50 am
Forum: Technical Support
Topic: P-ASSERTED-IDENTITY
Replies: 6
Views: 764

Re: P-ASSERTED-IDENTITY

Make sure you're sending the number you previously verified with them. http://www.callcentric.com/faq/31/219 Also check with them the right format - i.e. initial 1 may not be required. Edit after my exercises with voip.ms lately: sys.SetCustomSIPHeader("Remote-Party-ID", "<sip:#{req.Header.From.From...
by AndrewZ
Mon Nov 15, 2010 9:21 pm
Forum: Technical Support
Topic: P-ASSERTED-IDENTITY
Replies: 6
Views: 764

Re: P-ASSERTED-IDENTITY

Code: Select all

sys.SetCustomSIPHeader("P-ASSERTED-IDENTITY", "1xxxxxxxxxx@callcentric.com")