I'm trying to understand what you are doing here. Sounds more like you
want to do address-translation on the from-header not create a mapping
table. The CID_MAP will do nothing until you use it somewhere. If
you want to use the CID_MAP just append it to the end of a routing
destination line.
I've never tried to change URI's with mapping tables but I strip/add
digits all the time...
Example:
routing-table called-e164 TAB_IN
route default dest-service OUTBOUND
route *28.. dest-interface IF_PRI_2 REMOVE*
mapping-table called-e164 to called-e164 REMOVE*
map *(.%)$ to \1
On Sun, Jan 24, 2010 at 9:21 PM, Eric Varsanyi <[email protected]> wrote:
> I have a Patton 4114 FXO box and its working well but I'd like to change the
> 'From' URI from 'anonymous' if no CID is received to something else (the
> depends on the FXO interface the call was received on). I tried creating a
> mapping table in the cs switch context:
>
> mapping-table calling-e164 to calling-uri CID_MAP
> map default to [email protected]
>
> However I still get From: [email protected] (where the nn's are the
> address of the patton).
>
> I suspect I'm just not getting how to attach this mapping table to the
> (implied?) routing table that handles called from the FXO to the SIP gateway
> in the call router.
>
> Any hints would be appreciated, I have 3 different classes of 'anonymous' I'd
> like to categorize based on which FXO port the call comes in on.
>
> Thanks,
> -Eric Varsanyi
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/