Hi All,
I added these lines
if (uri=~"^sip:5[0-8][0-9]*@mantragroup.com"){
if (!is_user_in("credentials", "ld")) {
sl_send_reply("403", "No permission");
break;
};
strip(1);
log(1, "Trying to forward to Teliax.\n"); rewriteuri
("sip:username@VOIP-CO2.TELIAX.COM"); rewriteuserpass
("username:password");
rewritehost("VOIP-CO2.TELIAX.COM");
}
I get a respnse error returned not found from ser and If comment
these two lines
#rewriteuri("sip:username@VOIP-CO2.TELIAX.COM");
#rewriteuserpass("username:password");
keeping third line it says error number.
Please help me and tell me how can I do this correctly?
Thanks,
Manoj.
Quoting "Greger V. Teigre" <greger(a)teigre.com>om>:
Teliax is not a DID (Direct Inward Dialing)
provider? But just a
regular provider of VoIP service?
So all calls will have the same caller-id?
If that is right, you need to use the uac module for
authenticating. It think it still has an issue with a CSeq not
being incremented correctly, so if their GW is strict, it will not
work. I'm not sure if this has been fixed in openser, but I
thought I saw something on it.
Good luck,
g-)
----- Original Message ----- From: <mkumar(a)mantragroup.com>
To: "Greger V. Teigre" <greger(a)teigre.com>
Cc: <serusers(a)lists.iptel.org>
Sent: Friday, February 10, 2006 7:11 AM
Subject: Re: [Serusers] SER amd Minute Provider
I contacted Teliax support they have no idea on
how to do this so
I started
searching myself and I need GSM codec support and I found only
Teliax for that
so I have to stick with them even if they do not help me.
Coming to my problem,
I am asking how to send both uri to whom call must be delivered
and username and
password provided by minute provider. Using rewrite I can change
uri for whom
call must be sent and forward will forward calls to particular port and
destination then where can I send username and password provided
by minute
provider so that he can validate and deliver my call to that uri.
Thanks,
Manoj.
Quoting "Greger V. Teigre" <greger(a)teigre.com>om>:
> That's highly non-standard if teliax requires you to rewrite the
> ruri with your credentials. If that is correct, they probably
> have some equally non-standar way to pick up the callee (maybe
> From?) and you should ask them.
> g-)
> ----- Original Message ----- From: <mkumar(a)mantragroup.com>
> To: "Voipers Portugal" <voipers(a)gmail.com>
> Cc: <serusers(a)lists.iptel.org>
> Sent: Friday, February 10, 2006 6:42 AM
> Subject: Re: [Serusers] SER amd Minute Provider
>
>
>> Hi,
>>
>> If I rewriteuri with my account credentials provided by minute
>> provider and
>> forward it to him then where I am passing the actual PSTN or
>> URI for whom the
>> call has to be sent. I have following lines in ser.cfg
>>
>> if (uri=~"^sip:4[0-8][0-9]*@mantragroup.com"){
>> if (!is_user_in("credentials", "ld")) {
>> sl_send_reply("403", "No permission");
>> break;
>> };
>> strip(1);
>> log(1, "Trying to forward to Teliax.\n");
>> rewriteuri("sip:username:password@VOIP-CO2.TELIAX.COM");
>> forward("VOIP-CO2.TELIAX.COM", 5060);
>> }
>>
>> Please tell me what must I do here, I am not finding any related info.
>>
>> Thanks,
>> Manoj.
>>
>> Quoting Voipers Portugal <voipers(a)gmail.com>om>:
>>
>>> Normally you just have to forward the invite message to the
>>> provider (after
>>> rewrite the URI of course).
>>>
>>> Jose Simoes
>>>
>>>
>>> On 2/9/06, mkumar(a)mantragroup.com <mkumar(a)mantragroup.com> wrote:
>>>>
>>>> Hi All,
>>>>
>>>> I purchased some minutes from a minute provider and looking
>>>> to configure
>>>> that
>>>> with SER. But I did not find any documentation or info on how
>>>> to do that?
>>>> Please tell me how can I do this or lead me to related
>>>> documentaion or
>>>> links.
>>>>
>>>> Thanks,
>>>> Manoj.
>>>>
>>>> _______________________________________________
>>>> Serusers mailing list
>>>> serusers(a)lists.iptel.org
>>>>
http://lists.iptel.org/mailman/listinfo/serusers
>>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>>
http://lists.iptel.org/mailman/listinfo/serusers
>>
>
>
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org