Hello,
On 7/4/10 9:23 AM, Brandon Armstead wrote:
Hello,
I am trying to match a multi-line psuedo variable, i.e. $rb
However I am wishing to pull out the payload values
i.e.
"0 18 101"
"18 101"
etc.. etc...
I am having trouble matching this. Any help would be appreciated.
One part t
On Friday 02 July 2010, David wrote:
> At this point, it would be wasteful to use the RTP Proxy as the audio will
> be between two devices on the same network.
Hi David,
depending on your resource situation and the number of calls in the specific
scenario you may find it easier to just proxy th
Hello,
I have problems with rewriting $rU.
Kamailio 3.0.1 on debian squeeze x86_64
In config file I have:
$avp(s:dnumber) = $(ru{re.subst,/^sip:\*99\*(.*)@.*/\1/});
$rU=$avp(s:dnumber);
And log file shows following warnings:
Jul 5 17:22:30 voice /usr/sbin/kamailio[23641]: WARNING:
[rvalue.
Dmitri,
Why not do this instead?
if($rU =~ "^99")
strip(2);
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/
On Jul 5, 2010, at 10:38 AM, Dmitri Korotko
Hi Juha,
> no you can't. searching for longest matching prefix would not really
> slow if prefix could be regex.
>
> dialplan module supports regexs. perhaps you can you that to produce an
> attribute that you can match to lcr prefixes.
What do You mean by saying that?
How to produce an attribu
Maciej Bylica writes:
> > dialplan module supports regexs. perhaps you can you that to produce an
> > attribute that you can match to lcr prefixes.
>
> What do You mean by saying that?
> How to produce an attribute that may be matched to lcr prefixes?
if dp_translate matches a dialplan match_ex
Hi Alex,
There was a simplified example in my previous message. In real I have to
use regexp to extract two parts from the $rU and use one as new $rU and
other one for system purporses.
Br,
Dmitri
05.07.2010 17:52, Alex Balashov пишет:
Dmitri,
Why not do this instead?
if($rU =~ "^99")
str
> if dp_translate matches a dialplan match_exp then corresponding attr
> value is assigned to attrs_pvar. you can then prefix $rU with that
> value and call load_gws().
>
Thanks Juha. I am about to implement what You've said.
Maciej.
___
SIP Express R
Hello,
An example $rb body would be:
v=0#015#012o=- 5 2 IN IP4 192.168.3.100#015#012s=
CounterPath Bria#015#012c=IN IP4 174.37.XX.XXX#015#012t=0 0#015#012m=audio
64192 RTP/AVP 107 0 8 18 101#015#012a=sendrecv#015#012a=rtpmap:107
BV32/16000#015#012a=rtpmap:18 G729/8000#015#012a=fmtp:18
annexb=
Hello,
I upgraded to Kamailio 3.0 and the CANCEL is being sent after it
receives a 100 Trying, as mentioned in RFC3261 section 9.
I stripped down the config file to the bare minimum so that it is
easier to debug ( see attached kamailio.cfg )
I have included my config file as well as a packet
Hello,
Here are the corrected attachments, I sent the email from Window's
wordpad which set it to RTF by default.
Here are proper txt logs.
David
On 2010-07-05 17:47, David wrote:
Hello,
I upgraded to Kamailio 3.0 and the CANCEL is being sent after it
receives a 100 Trying, as mentio
Hi all,
I'm in doubt of the means of setflag()'s parameter. I have looked for
it everywhere including internet and the ser source code, but no any
docs explained it in detail. can anybody tell me about it ?
--
With best regards
by sunone
___
SIP Expres
On 07/05/2010 09:59 PM, zhou tianjun wrote:
I'm in doubt of the means of setflag()'s parameter. I have looked for
it everywhere including internet and the ser source code, but no any
docs explained it in detail. can anybody tell me about it ?
It sets bits in a 32-bit integer (it may be 64-bit
13 matches
Mail list logo