Hello!
I'm trying to add an character in the final length of an avp. The avp
that I need to modify contain all SDP message.
The script code that I'm using is the following:
xlset_attr("$sdpnew","%$sdp;")
XLOG:xl_print_log: buffer overflow -- increase the buffer size...
2(8682) Pos: 0, Add: 664, Len: 256, Buf:
2(8682) xl_printstr: Error while formating result
2(8682) ERROR: avp.c:807: xlset_attr:Error while expanding xl_format
How can I overcome this problem? If there is another way to do this, please
tell me
Best regards,
--
Nuno Ribeiro
Hi,
I wish to forward busy and no answer calls to Asterisk, and have the RTP
stream go through mediaproxy. At the moment, some calls use mediaproxy and
some don't. If the call is not using mediaproxy to get it too. I have noticed
that I can't call use_media_proxy() from failed route. I don't want to use
mediaproxy for every call between UA's, if not needed. Any suggestions on how
I might be able to get calls to use mediaproxy if forwarded ?
current fail route:
failure_route[1] {
if (t_check_status("487")) {
break;
};
if (isflagset(26) && t_check_status("486")) {
avp_delete("s:fwdbusy");
resetflag(26);
revert_uri();
rewritehostport("202.168.41.218:5060");
append_branch();
t_relay_to_udp("202.168.41.218", "5060");
break;
};
if (isflagset(27) && t_check_status("408")) {
avp_delete("s:fwdnoanswer");
resetflag(27);
revert_uri();
rewritehostport("202.168.41.218:5060");
append_branch();
t_relay_to_udp("202.168.41.218", "5060");
break;
};
end_media_session();
}
Thanks
--
Shaun Hofer
Hi
I'm having some trouble getting SER working. I am using example Hello
World example ser.cfg (in Ser-GettingStarted.pdf). My client can
REGISTER using UDP successfully, but when I to REGISTER with TCP, it fails.
I performed a wireshark trace, and the problem is when the client sends
a SYN, SER responds with an RST, so the TCP 3 way handshake doesn't finish.
The output of SER shows:
Listening on
udp: 132.181.9.24 [132.181.9.24]:5060
tcp: 132.181.9.24 [132.181.9.24]:5060
Aliases:
tcp: cosc4101.cosc.canterbury.ac.nz:5060
udp: cosc4101.cosc.canterbury.ac.nz:5060
What have I done wrong?
Thanks
Andrew
I have a problem that I *think* SER can help with, but looking through the docs
and samples, I don't see anything quite like what I need to do.
Here's my situation:
I have an Asterisk box setup internally with a few PSTN trunks. We have
another box in a colo that we're using to communicate to a SIP trunk from
bandwidth.com. Currently we have Asterisk running there, too.
What we want to do is:
* Have all outbound calls from Asterisk go to the SIP trunk at the colo.
We have this working now using Asterisk at the colo.
* Have all incoming calls from the SIP trunk (it has several DID numbers)
be routed to the internal Asterisk box just like the existing PSTN
trunks. I haven't been able to get this part working using Asterisk
(which is why I'm looking at SER now)
There is NAT involved between the colo server and bandwidth.com.
Is this possible?
Dear all,
I am trying to use the Open SER for SIP NNI. I would
like all calls with the prefix 077 to be routed to
another SIP server and add a prefix (+49). I am using
the following code:
if (uri=~"^sip:077[0-9]*@*") {
strip(1);
prefix("+49");
rewritehost("172.17.2.35");
# forward( 172.17.2.35, 5060 );
route(1);
}
Normally, i believe that when i run this code and i am
sending an INVITE from my user to a number e.g.
0771234567, the SER server should send this invite to
the IP 172.17.2.35. But i don't see this. The SER
responsds directly with a 404 NOT FOUND message.
Do you have any idea of how i could solve the problem?
I am using Suse Linux and attached you can find my
configuration file.
Thank you all,
K.N.
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
Hi All,
I have installed openser version 1.1.1-notls(i386/linux).
I am trying to configure the openser to route all calls to a gateway. For this I have added the following rules in openser.cfg
route {
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
}
record_route();
if (src_ip==1.1.1.1) {
forward_tcp(4.4.4.4, 5060);
}
else {
forward_udp(1.1.1.1, 5060);
}
}
Now when I bring up the server I get the following error
[root@localhost openser-1.1.1-notls]# /usr/local/sbin/openser -n 1 -ddddd -E -l tcp:47.100.105.195:5060
-l
udp:47.100.105.195:5060
0(18381) read 3133282016 from /dev/urandom
0(18381) seeding PRNG with 9917133
0(18381) test random number 521145638
0(18381) parse error (27,46-50): parse error
0(18381) parse error (27,50-51): bad arguments
0(18381) parse error (30,28-29): parse error
0(18381) parse error (30,41-42): bad arguments
ERROR: bad config file (4 errors)
What is wrong with the syntax or am I missing any modules ?
Thanks in advance
-Biju
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
Hello Users,
Good Morning,
What are Type of the NAT is used for OpenSER for production , OpenSER is
inside the NAT (router/firewall )
1) I tested with 2 SJ phones and 2 cisco ATA phones, UAC's
are in Behind the NAT, UACs are in the Same N/w with one public_address,
SJ phone show the NAT type is Symmetric NAT
this case is Working Fine,
For example :
[Behind the NAT1 ] [Behind the NAT2] [Behind the
NAT1 ]
SJphone -------------------------------> OpenSER---------------------> ATA
phone
2) When SJ phones or HardPhones are in Different network behind
the NAT of the OpenSER server,
here SJ phone shows the Port Restricted core NAT
Here media is not is signaling at all , in this
Case....
For example :
[Behind the NAT1 ] [Behind the NAT2] [Behind the
NAT3 ]
SJphone -------------------------------> OpenSER---------------------> ATA
phone
SIP NAT Traversal support only Symmetric NAT , ?
Then How to solve this issue ? Please Help ?
--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara(a)hyperion-tech.com
M:+91 9985077535
www.hyperion-tech.com
Client and Parent company :- www.august-networks.com
Hello Users,
Good Morning,
What are Type of the NAT is used for OpenSER for production , OpenSER is
inside the NAT (router/firewall )
1) I tested with 2 SJ phones and 2 cisco ATA phones, UAC's
are in Behind the NAT, UACs are in the Same N/w with one public_address,
SJ phone show the NAT type is Symmetric NAT in
Display...
this case is Working Fine,
2) When SJ phones or HardPhones are in Different network behind
the NAT of the OpenSER server,
here SJ phone shows the Port Restricted core NAT
Here media is not is signaling at all , in this
Case....
SIP NAT Traversal support only Symmetric NAT , ?
Then How to solve this issue ? Please Help ?
--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara(a)hyperion-tech.com
M:+91 9985077535
Client and Parent company :- www.august-networks.com
Hello,
the PIN is sent usually via IVR codes. OpenSER is just a signaling
proxy, it doen't interpret media stream. To get auth via PIN, you need a
media server in the midle, like Asterisk.
Cheers,
Daniel
On 02/14/07 01:30, Jobson Andrade wrote:
>
> Hi All,
>
>
>
> I,m use openser 1.0.1
>
>
>
> We imagined the following setting:
>
>
>
> 1- It Receive the connections of a pstn that sends all of the
> requisition for my one openser
>
>
>
> 2- it authenticate the coming calls of that IP
>
>
>
> 3- It Receive the PIN, authenticate and direct the call for the routes
>
>
>
> The question is like do that verification of the PIN´s and send the
> calls after that verification
>
>
>
> It plan is:
>
>
>
> It receives itself 0800 123 123 of an ONLY IP, through the
> src_ip==xxx.xxx.xxx.xxx sends for a route
>
>
>
> I obtained to remove with the strip I number him 0800 123 123 and with
> the prefix (""); send with the rewritehostport for a route
>
>
>
> I need that be attended, authenticated the PIN and receive of the side
> "A" I number of fate and sent for the route of smaller cost
>
>
>
> How to made this????
>
>
>
> Please help-me!!
>
>
>
> Thanks in advanced!!
>
>
>
>
>
>
>
> Jobson Andrade
>
>
>
> Projetos & Desenvolvimento
> Obelisk - The Asterisk & VoIP Experts
>
>
>
> phone/fax: (11) 2164-4808 ext. 115
> cell Phone: (11) 8175-9916 / 8271-0480
> email: jandrade(a)obelisknet.com.br <mailto:jandrade@obelisknet.com.br>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>