Originate Command issue with # in dialstring

I have a problem with Asterisk 11 that works with Asterisk 1.8.

When i either create a *.call file or if i send the text over telnet to the manager port, it fails the call to my outbound provider.

My File/Telnet command look like below
By File

Channel: SIP/CARRIER1/11223344#8675309
Context: myContext
Extension: 8675309
Priority: 1

By Telnet

ACTION: Originate
Channel: SIP/CARRIER1/11223344#8675309
Context: myContext
Exten: 8675309
Priority: 1
Callerid: 123456789
Timeout: 30000

Both ways result in the same problem.

This is the wireshark from my Asterisk 11
SIP/SDP Request: INVITE sip:112233344[color=#FF0000]%23[/color]8675309@sip.outprovider.com:5060

This is the wireshark from my Asterisk 1.8
SIP/SDP Request: INVITE sip:112233344[color=#FF0000]#[/color]8675309@sip.outprovider.com:5060

For some reason it is HTML encoding my # sign. Is there a configuration in Asterisk 11 that I’m missing.

Thank you so much!

Just in case anybody wants to know the answer to this…

There was a setting in sip.conf that a user on IRC pointed out. Pedantic=yes is the default setting… After setting Pedantic=no, my calls went through.