Thank you for your ansver.
How should I use this function? I didn't found sufficient documentation for this.
can you give an axemple?
Szabolcs
----- Original Message -----
From: Jai Rangi
To: Edson
Cc: Szasz Szabolcs ; SIP ; serusers(a)lists.iptel.org
Sent: Monday, June 25, 2007 6:33 PM
Subject: Re: [Serusers] add prefix to source
You can use append_rpid_hf
That way you can add add suffix or prefix in the from URI without breaking RFC. Most of
major service provider user rpid to recognize the caller IDs.
Hope this will help.
-Jai
On 6/25/07, Edson <4lists(a)gmail.com> wrote:
You can use the subst(), but I'm not sure if this wouldn't break RFCs...
Edson
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-
bounces(a)lists.iptel.org] On Behalf Of Szasz Szabolcs
Sent: segunda-feira, 25 de junho de 2007 08:23
To: SIP
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] add prefix to source
The user part of the uri will be the caller-id in my configuration. I would
like to add an 5 as prefix to the from_uris user part when I make outgoing
PSTN calls.
----- Original Message -----
From: "SIP" <sip(a)arcdiv.com >
To: "Szasz Szabolcs" <sszasz(a)digicomm.ro>
Cc: <serusers(a)lists.iptel.org>
Sent: Monday, June 25, 2007 2:15 PM
Subject: Re: [Serusers] add prefix to source
Okay... I'm a bit confused. What part of the
from URI do you consider a
'prefix' ?
N.
Szasz Szabolcs wrote:
> Hi!
> I know the prefix() and the strip() functions, but how can I change the
> from_uri (caller)?
>
> Thanks for the help.
>
>> ----- Original Message -----
>> From: "SIP" <sip(a)arcdiv.com>
>> To: "Szasz Szabolcs" < sszasz(a)digicomm.ro>
>> Sent: Monday, June 25, 2007 12:34 AM
>> Subject: Re: [Serusers] add prefix to source
>>
>>
>>
>>> Use the prefix() function.
>>>
>>> i.e. to add the prefix 555 onto the beginning of a URI,
>>>
>>> prefix("555");
>>>
>>> N.
>>>
>>>
>>> Szasz Szabolcs wrote:
>>>
>>>> Hi all
>>>> I need to add a prefix to the source uri/number.
>>>> How ca I do this? Can you help me guys?
>>>> Thanks a lot
>>>> Szasz Szabolcs
>>>> ---------------------------------------------------------------------
---
>>
>> _______________________________________________
>> Serusers mailing list
>> Serusers(a)lists.iptel.org
>>
http://lists.iptel.org/mailman/listinfo/serusers
>>
>
> --
> This message was scanned for spam and viruses by BitDefender.
> For more information please visit
http://linux.bitdefender.com/
>
>
>
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit
http://linux.bitdefender.com/
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit
http://linux.bitdefender.com/
_______________________________________________
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
------------------------------------------------------------------------------
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit
http://linux.bitdefender.com/
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit
http://linux.bitdefender.com/