[Serusers] add prefix to source

Szasz Szabolcs sszasz at digicomm.ro
Mon Jun 25 13:22:48 CEST 2007


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 at arcdiv.com>
To: "Szasz Szabolcs" <sszasz at digicomm.ro>
Cc: <serusers at 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 at arcdiv.com>
>>> To: "Szasz Szabolcs" <sszasz at 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 at 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/





More information about the sr-users mailing list