I don't see that this particular header is made available by any of the core
vars or scripting vars.
I tried using $(hdr(P-Called-Party-Id)) but OS comes back
with /usr/sbin/opensips[7981]: P-Called-Party-Id equals
It seems to think that I'm looking for:
/usr/sbin/opensips[7981]: DBG:core:pv_ge
I don't know that its mentioned in the documentation, but I ran across the
same issue and remembered finding something about it by searching nabble's
opensips part.
Its one of those things you chalk up to experience.
Sent from Droid
On Feb 6, 2011 8:54 PM, "Nigel Daniels"
wrote:
> that seems to
that seems to be working, thanks alot ! clearly I need to re-read the docs
On Sun, Feb 6, 2011 at 6:48 PM, Dave Singer wrote:
> Isn't
> $var(my_uri) = "5...@example.com";
> $ru = "sip:" + $var(my_ruri);
> the same as
> rewriteuri("sip:5...@example.com");
> just that using $ru you can use it
Yeah I was wrong about the avpops being an alternative. But if he finds the
mailing list thread I referred him to it will say th exact thing you just
mentioned Dave.
Sent from Droid
On Feb 6, 2011 8:49 PM, "Dave Singer" wrote:
> Isn't
> $var(my_uri) = "5...@example.com";
> $ru = "sip:" + $var(my
Isn't
$var(my_uri) = "5...@example.com";
$ru = "sip:" + $var(my_ruri);
the same as
rewriteuri("sip:5...@example.com");
just that using $ru you can use it just like assigning to other vars
like you are doing.
On Sun, Feb 6, 2011 at 6:36 PM, Duane Larson wrote:
> Avpops
>
> Sent from Droi
Avpops
Sent from Droid
On Feb 6, 2011 8:34 PM, "Nigel Daniels"
wrote:
> the problem is that rewriteuri() does not support variables is there any
> alternative to rewriteuri() for changing the uri
>
> On Sun, Feb 6, 2011 at 6:26 PM, Tyler Merritt wrote:
>
>> I do this as well:
>>
>> $var(origFrom
the problem is that rewriteuri() does not support variables is there any
alternative to rewriteuri() for changing the uri
On Sun, Feb 6, 2011 at 6:26 PM, Tyler Merritt wrote:
> I do this as well:
>
> $var(origFromNumber) = $(re{uri.user});
> $var(finalFromURI) = "sip:81" + $(var(origFromNumber){
He should search the mailing list for rewriteuri
You can't, i believe, use pseudovariables with that function. I believe you
have to use an avp
Sent from Droid
On Feb 6, 2011 8:26 PM, "Tyler Merritt" wrote:
> I do this as well:
>
> $var(origFromNumber) = $(re{uri.user});
> $var(finalFromURI) =
I do this as well:
$var(origFromNumber) = $(re{uri.user});
$var(finalFromURI) = "sip:81" + $(var(origFromNumber){s.substr,1,0}) + "@" +
$fd;
This works fine for me. Takes what is essentially a DID and formats it to a
SIP PEER string as per the carrier.
You say that var(z) prints correctly in th
I have used "if (status=="100")" and "if (is_method("TRYING"))" and placed
these in a variety of places, at the top of route[0], in route[1], in
onreply_route (where it actually works), but nowhere can I get the OUTGOING
100 TRYING packet to change...
I can't figure this out - there isn't very goo
Search
How can I use a pseudovariable or a avp
on the mailing list.
I just did a search of "rewriteuri" and the last one on Nabble talks about
your issue.
Sent from Droid
On Feb 6, 2011 7:55 PM, "Nigel Daniels"
wrote:
> the '+ ' is for concatenation of the 2 strings and $var(z) prints
correctly
Feb 7 01:00:45 opensips /sbin/opensips[26040]:
sip:16505332...@sip.testdomain2.com
> Nevermind I guess you do use the +. I don't have my config in front of me
> so it looked odd. I would still be interested in what your xlog output is.
>
> Sent from Droid
> On Feb 6, 2011 7:37 PM, "Nigel Daniel
Nevermind I guess you do use the +. I don't have my config in front of me
so it looked odd. I would still be interested in what your xlog output is.
Sent from Droid
On Feb 6, 2011 7:37 PM, "Nigel Daniels"
wrote:
> I tried the fallowing and $var(z) looks
> $var(x)=$tu;
> $var(y) = $(var(x){s.sel
the '+ ' is for concatenation of the 2 strings and $var(z) prints correctly
in the log
On Sun, Feb 6, 2011 at 5:45 PM, Duane Larson wrote:
> Why do you have the + outside of the quotation marks when you are declaring
> var(z). Wonder if that is your issue. What is the output for your xlog
> t
Why do you have the + outside of the quotation marks when you are declaring
var(z). Wonder if that is your issue. What is the output for your xlog
that shows what varz is?
Sent from Droid
On Feb 6, 2011 7:37 PM, "Nigel Daniels"
wrote:
> I tried the fallowing and $var(z) looks
> $var(x)=$tu;
> $
I tried the fallowing and $var(z) looks
$var(x)=$tu;
$var(y) = $(var(x){s.select,1,-});
$var(z) = "sip:"+$var(y);
xlog("$var(z)");
rewriteuri("$var(z)");
This is what I get in the log
Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:core:parse_uri: bad
For now, best thing to do is to separate functionality:
- one server doing topology hiding;
- one server doing routing, accounting, rtp proxy, etc.
Regards,
Ovidiu Sas
On Sun, Feb 6, 2011 at 9:23 AM, Maciej Bylica wrote:
> Hi,
>
>> I am running Opensips 1.6.3 and trying to do topology hiding.
Hi,
> I am running Opensips 1.6.3 and trying to do topology hiding.
> This is my scenario: Operator_1 -- > my Opensips --> Operator_2
> The goal is not to convey any information of Operator_2 to Operator_1
> like Contact, User-Agent headers and so on and to do rtp proxying.
> For rtp pr
18 matches
Mail list logo