How to make Asterisk [pjsip] dial without using an extension?

I have the context

[inbound_calls]
exten => s,1,Dial(PJSIP/1234567@obi_200)
  same => n,Hangup()

and it seems to work Ok. Is there a better way to write this? I simply want to dial the Obi and pass along the caller ID??

exten => s,1,Dial(PJSIP/obi_200)

I thought the ‘s’ extension was only supposed to be used with analog trunks?

the s is for when you recive a call where call has not defined an extension

is your problem with reciving or making calls ?

Never mind. I was just trying to tighten security. I changed it and took out the ${EXTEN}. Using ‘s’. Just wondered if there was a better way. I’ll take another look at the docs.

Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.