Hi Bogdan
Thanks for your reply. I know Xlite! But tell me how i can add users in
openser and how i must configure my xlite client. I want to know if in
the outbound proxy, i must put the ip adress of the external part of
the media proxy ( proxy server in the openser documentation).
best regards
Serge
Hi,
if in a system i need to have more that one PSTN gateway to try for a
destination in sequential order (note that gateways are dinamyc and may
change call by call) and the order is important because them can be ordered
for costs of the call from the less cost to the higher.
There is a way for example to append all of them as branch and try them in
sequence?? Otherwise i have to process them in a separate route block and
have a temporary table in a database where take next gateways to try for that
destination and that specific call, removing every cycle the used gateway.
Any ideas to accomplish it in one step and let SER manage it??
Thanks,
Bye,
Marcello
right...you need the new header on the top...
I'm afraid there is no way to control the insertion point from the
script (default is at the end).......
maybe having an extra parameter on the function to say top or
bottom?.....not sure....
regards,
bogdan
Gustavo García Bernardo wrote:
>Hi Bogdan,
>
>I had seen that function, but i think append_hf appends headers at the
>bottom of the message, and I need to put those Route headers above any other
>existing Route header.
>
>Any other solution?
>
>Thanks once more.
>
>regards
>G.
>
>-----Mensaje original-----
>De: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>Enviado el: jueves, 10 de noviembre de 2005 13:00
>Para: Gustavo García Bernardo
>CC: users(a)openser.org
>Asunto: Re: [Users] How to add Route headers?
>
>Hi Gustavo,
>
>if you have fixed content, it's even simpler. Use the textops module to
>add the headers. See the append_hf() function:
>http://www.openser.org/docs/modules/1.1.x/textops.html#AEN189
>
>regards,
>bogdan
>
>Gustavo García Bernardo wrote:
>
>
>
>>Hi Bogdan, thx for your response
>>
>>I need to put two fixed route headers, like these:
>>
>>Route: user(a)as.domain.com
>>Route: user(a)cscf.domain.com
>>
>>Can I do that with AVPops module? I think is not suitable for this task.
>>
>>BR,
>>
>>G.
>>
>>-----Mensaje original-----
>>De: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>Enviado el: jueves, 10 de noviembre de 2005 0:28
>>Para: Gustavo García Bernardo
>>CC: users(a)openser.org
>>Asunto: Re: [Users] How to add Route headers?
>>
>>Hi Gustavo,
>>
>>you can generate the body of the Route header(s) into AVP(s) be loading
>>them from database of by building them via avpops functions (like
>>avp_printf()).
>>then just set the AVP(s) into Route header(s) via the avp_pushto()
>>
>>
>function:
>
>
>>http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_pushto
>>
>>mostly depends of the content you want to push into the headers.
>>
>>regards,
>>bogdan
>>
>>Gustavo García Bernardo wrote:
>>
>>
>>
>>
>>
>>>Hi,
>>>
>>>Is posible to add more route headers to a request before relaying it?
>>>
>>>I’m trying to implement the IMS mechanism before relaying a request to
>>>an application server, which consists in adding two route headers.
>>>
>>>Thx in advance.
>>>
>>>G.
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Users mailing list
>>>Users(a)openser.org
>>>http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
Does this tool generate also RTP traffic in thoese simultaneous calls?
Thanks,
Marcos
-----Mensaje original-----
De: Atle Samuelsen [mailto:clona@cyberhouse.no]
Enviado el: viernes, 11 de noviembre de 2005 11:11
Para: Rodríguez García, Marcos
CC: serusers(a)lists.iptel.org
Asunto: Re: [Serusers] Test tool to generate 30 simultaneous SIP calls
signalling, you could use sipp..
/A
* Rodr?guez Garc?a, Marcos <mrogarcia(a)indra.es> [051111 11:03]:
> Do you know any test tool that I could use to generate 30 simultaneous SIP calls from one PC?
>
>
>
> Thanks in advance,
>
> Marcos Rodr?guez
>
> -------------------------------------------------------------------------------------------------------------------
> Este correo electr?nico y, en su caso, cualquier fichero anexo al mismo, contiene informaci?n de car?cter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgaci?n, copia o distribuci?n a terceros sin la previa autorizaci?n escrita de Indra. En el caso de haber recibido este correo electr?nico por error, se ruega notificar inmediatamente esta circunstancia mediante reenv?o a la direcci?n electr?nica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTR?NICO CONSIDERE SU APORTACI?N A LA CONSERVACI?N DEL MEDIO AMBIENTE POR LA REDUCCI?N DE CONSUMO DE PAPEL.
>
> The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. POR FAVOR, ANTES DE IMPRIMIR ESTE CORREO ELECTRÓNICO CONSIDERE SU APORTACIÓN A LA CONSERVACIÓN DEL MEDIO AMBIENTE POR LA REDUCCIÓN DE CONSUMO DE PAPEL.
The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINTING THIS E-MAIL.
Hi,
We'd like to force the following SIP INVITE routing
scenario: UA1->P1->P2->R->P2->P1->UA2.
Unfortunately the Route is not known apriori and
must be built dynamically. P1 knows the Route from
P1 to R, R knows the Route from R to P1/UA2.
The INVITE sent by UA1 is loosely routed to R based
on the Route (Route: <sip:P2;lr>,<sip:R;lr>)
that is added by P1 to UA1's INVITE. This works.
The message arrives correctly to the registrar, Route
header contains Route: <sip:R;lr> as it should.
What we'd like to do:
1) Lookup the contact (lookup("location");)
2) Rewrite the Route field to the value
Route: <sip:P2;lr>,<sip:P1;lr> that is
stored by R in an AVP.
3) Forward the Invite on this route to UA2
Can someone please give some hints on how this
is typically done in OpenSER?
Although we rewrite the Invite's Route header field
(new value stored in an AVP) at the Registrar,
loose_route() does not work. We tried several
alternatives including re-writing the Route header,
pushing hard-coded strings into the Route, etc. but
none of these solutions does what we want.
What does work is if R self-forwards the Invite and
only then adds a new Route header. Apparently
loose_route() in R acts on the route header of the
incoming INVITE - if present - and ignores route header
changes done within the script.
Thanks in advance
--Joachim
Hi!
I use xlog to log certain responses. I want to log the request method of
a response. Using $rm in the reply prints <null>. Using $cs prints only
the CSeq number, but no the method.
Is there a way to achieve this?
regards
klaus
Hi,
NatHelper documentation says fix_nated_contact is rewriting contact
header with request source address:port but it seems the function
doesn't work properly with my SER config...
Indeed, when you analyze a SIP Request Packet you have the following :
Message Header :
Contact : <sip:352621@192.170.10.32:5060> #192.170.10.32:5060 is
the private IP/Port
and if this function was working properly, I understand you should get
the following :
Message Header :
Contact: <sip:352621@80.114.25.8:2014> #80.114.25.8:2014 is the
public IP/Port
But the SIP packets that are getting out from SER Proxy to SIP Registrar
Server have not their contact header field modified with public IP/Port...
So, is the function not working ? or something else ?
Thanks,
Hi
I need something similar so fix_nated_contact but with parametars so I
can set up my own values for host:port.
Can I do this in OpenSer? Can avp_pushto do this?
Regards,
Taras
Valued Colleagues,
Can anyone tell me what is the scope of avp_write?!
Is it global / per-transaction / per-message?!
I would like to have something similar to it with global scope so that I
can
set the string "callfwd" once by executing:
avp_write("sip:211@10.1.10.22:5060", "s:callfwd");
and then keep using it for each SIP message processing using:
avp_pushto("$ruri", "s:callfwd");
Also, do the avp_write and avp_pushto involve Database access
operations?!
i.e. Does avp_write store the string in database and avp_pushto looks it
up
form the database or is the information stored in memory?!
I want to avoid database access to ensure improved performance.
Thanks
ramin