[Serusers] add prefix to source

Jai Rangi jprangi at gmail.com
Mon Jun 25 17:33:33 CEST 2007


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 at 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 at lists.iptel.org [mailto:serusers-
> >bounces at lists.iptel.org] On Behalf Of Szasz Szabolcs
> >Sent: segunda-feira, 25 de junho de 2007 08:23
> >To: SIP
> >Cc: serusers at 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 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/
> >
> >
> >_______________________________________________
> >Serusers mailing list
> >Serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070625/37393ec1/attachment.htm>


More information about the sr-users mailing list