How to view originate string

Is there a log of the actual string that Asterisk sends to a SIP trunk on an originate request.
Or is there a way to view the string that Asterisk sends to a SIP trunk on an originate request.

Thanks in advance.

sip set debug on at the cli. Is that what you are looking for?

Thanks. Thats exactly what I was looking for.