Special character in bridge

I am tryting to bridge to ip and I am using # character in uri:
sofia/external/3333#123123123@xxx.xxx.xxx.xxx

But uri is encoded in sofia/external/3333%23123123123@xxx.xxx.xxx.xxx and same then in invite header.

But if I bridge to gateway without @xxx.xxx.xxx.xxx on the end it does not encode.

Any hints?

You must URL encode the #, the SIP spec says its a MUST. Sounds like your provider hates that?

Can you give me some more details on how you’re trying to use this?