In this same topic. Assuming that i want to use exec_dset() and exec_msg() commands to acomplish this task. Is possible to get the variable SIP_ORUI for example... pass it to an external program.. the program modifies the value... then i use the SIP_ORUI variable in my ser.cfg to change the number?
Is this possible?
Thanks in advance.
-----Mensaje original----- De: Ricardo Martinez [mailto:rmartinez@redvoiss.net] Enviado el: Jueves, 21 de Octubre de 2004 15:44 Para: 'serusers@lists.iptel.org' Asunto: [Serusers] Changing Dialed Number.
Hello List. I have succesfully installed SER on my Linux platform. I'm authenticating users and authorizing calls through the RADIUS SER support. What i want to do know is change the dialed number by a user. For this task i would like to know if i can use the same RADIUS system for authorize a call. For example, i make a call, the Radius message goes to my Radius Server, the Radius server adds a parameter called Re-Direct-Number=1234567, this parameter is taken by the SER and inserted in the R-URI parameter in the SIP message?. Is possible to do this? If is not possible, can i use the exec() command to do something like that? I would appreciate any help.
Thanks in advance
Best Regards
Ricardo Martinez
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi
After a couple of weeks of stress, I have managed to get pstn connectivity working fine, to this I am trying to add voicemail with asterisk.
Now when i send out a call to the pstn via cisco, what I want is that if the call is not answered, or abusy signal is sent, that the t_on_failure section kicks in and we are forwarded to asterisk.
My pseudo code is as follows
If uri starts with 9[0-9] then send to route 3
route 3 { if method = INVITE { forward call to cisco } }
Now when the call is not answered, I seem to get method=ACK messages in my logs, so when the conf file is ran through again obvioulsy route 3 is hit, but no match cause the first statement is looking for a INVITE, I have added the ACK method also, and then it works fine.
What I wanted to know is this the norm, and is the method of adding the ACK there okay, or is it a kludge which will break if I change my UA, or change my cisco box. If I cancel the call, then the method is <CANCEL> which is okay, but I just cant see where the ACK method comes from if call not answered
tks
iqbal