Modifying app_originate

I’m trying to modify app_originate to attempt to ring longer then 30 seconds. I modified the timeout to 60 but it still continues to hangup at 30. I looked at ast_pbx_outgoing_exten() in pbx.c and does not look like its restricting in there. If I set for anything less then 30sec that works fine.

Anyone familiar with modifying the apps?

I modified to add an arg for callerid and that is working.

I suspect something downstream of Asterisk is applying the limit!