I have a chan_sip trunk, working properly to a carrier, however they are requesting a password “202424#” in order to dial the call.
the customer wants that the agent, just dial and do not enter a password.
is there a way to automate this task?
how can I send digits to dial, wait 5 seconds and send the password in a script or using the outbound routes?
Assuming that you supply the number to be called in the SIP URI as usual, the carrier answers the call before requesting the password and you have a pjsip trunk to them named foo, create a Custom trunk with Custom Dial String: PJSIP/$OUTNUM$@foo,300,D(ww202424#)
and set up an Outbound Route to send agent calls to the custom trunk.
If for some reason you can’t get the trunk working with pjsip, I believe the equivalent dial string is: SIP/foo/$OUTNUM$,300,D(ww202424#)
but I haven’t tested that.