Hi,
stun module allows you to run a stun server on the opensips platform...
so your device sith the stun client uses your proxy ip(s) to access a
stun server.
Paul
CheeWii wrote:
> Hi,
>
>I want to solve the nat traversal problem, and I read the great
> book "Building Telephony System wit
Hi Jeff
I think xlog was a separate module in 1.4, but merged into core by 1.6.
The example you are looking at is not loading the module, hence you get
the error.
http://www.opensips.org/html/docs/modules/1.4.x/xlog.html
If you follow the doc in the above link it should get you up and running
ll line :)
>
> so, do:
>
> avp_subst("$avp(s:msg)/$avp(s:dtmf)/g","/(^.*Signal=)([\+\#0-9]+)(.*$)/\2 :
> /s");
>
>
> See the "s" flag at the end for ignoring new lines in subst
>
> Regards,
> Bogdan
>
>
> Paul Smith wrote:
&
Hi Bogdan,
Thanks for all the support, should I raise a bug report somewhere?
Paul.
Bogdan-Andrei Iancu wrote:
Hi Paul,
Paul Smith wrote:
Hi Bogdan,
There is something else going on. I tried the match you suggested and
see the same result as previously in my log:
extracted
properly.
Regards,
Paul
Bogdan-Andrei Iancu wrote:
> Hi Paul,
>
> the subst is too permissive and the string to the end is matched by the
> second token.
>
> try:
>
> avp_subst("$avp(s:msg)/$avp(s:dtmf)/g","/(^.*Signal=)([0-9]+)(.*$)/\2 : /");
>
> R
Sorry I replied to "Opensips Cluster thread"... obviously this is unrelated!
I have made a little more progress but the avp_subst is still not
behaving as I expect.
if I use the following code:
# look for "Signal=" and append following character to collected dtmfs
$avp(s:msg)=$rb;
Hi,
I am sure this is trivial... but I'm getting lost again.
I would like to extract and log a value from the Content of a SIP INFO
message... for example during a call I can send DTMF as SIP-INFO
messages, how can I extract the value of the key pressed from the
message? The relevant bit of th
is
performance killer for DB.
Paul Smith wrote:
OK I have a working solution now... code still needs tidying up and
optimizing but I'll post it here in case anyone comes looking for this
in the future.
The significant bit is that avp_db_query() can run any MYSQL SELECT
query, a
7; and domain='$fd' and '\$pU' REGEXP
expcallerid","$avp(s:callerid)");
xlog("preferred callerid $pU tested, using callerid:
$avp(s:callerid)");
}
xlog("callerid now set to $avp(s:callerid)");
Thanks for
wrote:
Hi Paul,
you need a substitution, replacement or simply matching ?
Regards,
Bogdan
Paul Smith wrote:
Hi Bogdan,
Thanks for the reply. I am using dialplan module for mangling the
dialled number to local valid service codes and e164 destinations.
I was hoping to use a simple field
id (P-Preferred-Identity) ranges.
I'll have to have a think about how to use dialplan to do this, and
still keep my simple user provisioning gui...
*Paul Smith | Technical Director | Clarity Telecom*
Number One, Lanyon Quay, Belfast, BT1 3LG
Phone: 0800 91 21 000 | 1800 855 111
FAX:
How can I do a regular expression substitution on an avp where the
pattern is loaded from the user subsrciption or usr_preference table?
For example I need to limit callerid presented to a pre-determined range
owned by my customer, and perform substitution eg add a prefix. If a
UAC sets P-Pref
message body 476 with
length 476
Sep 14 16:52:25 echo /sbin/opensips[30442]: length 476
I am obviously wrong but the way I read it the opensips server is
receiving an invite with content-length of 476. 476 is recorded in the
header, and 476 is the length of the received body $rb string....how
13 matches
Mail list logo