I am using this for my customers where the 908e is setup as fxs lines and have a hunt group
voice user 1001
connect fxs 0/1
caller-id-override external-number "your caller ID number here"
As c99hrisb said but make sure sip identity is not assigned on the FXS port so if you have an identity assigned use the no method to remove it. The trunk itself should be registered/authenticated, and handle all sip commands going to the provider not the individual stations the TA 900 will sit in between and do the cross connects between the FXS ports and SIP Provider. There are exceptions to this but the usage is very rare and in those cases the provider would need to allow multiple registrations per account. Think of the TA900 as a very simple PBX (you can actually use it as one that does not provide voicemail) It converts whatever method of talking the handset uses to the method the provider uses. If you add additional sip information to the FXS ports then that will over-ride the trunk configuration. Caller-id-override would be the correct way to change the number for the FXS port.
Thanks for your reply.
Sorry I'm configuring these mostly in the gui.
How do i choose a trunk to use on the FXS port without having to add a sip identity? When i add a sip identity, i put a name for it and only choose the trunk to use, i leave username and password not set so they don't authenticate the FXS port, but SIP station uses that sip identity name as username and screws everything up. Flowroute works though. Or should i do this through cli only? How do i choose the trunk to use without adding that sip identity on the fxs port?
Thanks again for your help.
You don't need to specify unless you have multiple outbound trunks. It uses the switchboard to determine where the best match is for the call to go if the dialed number doesn't match anything exactly on the TA900 it will send the call out a trunk group following least cost routing rules established in the trunk groups I would recommend reviewing Configuring the Switchboard and Dial Plan in AOS for more information if you have multiple trunks. If you have multiple outbound trunks and the FXS ports are only allowed to dial out a particular trunk you would need to leave the registration information out of the trunk itself and then put the actual registration information on the FXS ports but the SIP Provider will need to allow multiple registration or create a separate account for each FXS line. But if you do that you will have issues if trying to do hunt groups.
Thanks a lot for your guys insights, they were extremely helpful.
Turned out, SIP identities are always higher in caller id override priority, and they would always override any other override option.
And yes, not adding any sip identity works and the FSX port chooses the best available trunk or the one that is configured as the only trunk and the regular caller id override feature works on each FXS ports.
Same with inbound calls. Just configure a ring group and add an incoming DID and add FSX ports as members.