----- Original Message -----From: Jai RangiTo: EdsonSent: Monday, June 25, 2007 6:33 PMSubject: Re: [Serusers] add prefix to sourceYou 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@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@lists.iptel.org [mailto:serusers-
>bounces@lists.iptel.org] On Behalf Of Szasz Szabolcs
>Sent: segunda-feira, 25 de junho de 2007 08:23
>To: SIP
>Cc: serusers@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@arcdiv.com >
>To: "Szasz Szabolcs" <sszasz@digicomm.ro>
>Cc: <serusers@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@arcdiv.com>
>>>> To: "Szasz Szabolcs" < sszasz@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@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@lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers@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/