I have on-premise Asterisk, and phone are using internet telephony provider, phones calls are working outbound and inbound, but here is the catch.
when I dial outside. the receiving party is seeing my number with a + in front.
so if my number is 123.456.7812 and I dial an external number, the external number sees a call from +123.456.7891
this means, if I call is missed, and then returned, the calls gets no where.
how can I make sure the + is not added on my outbound calls to external?
I have raised a ticket with the telephone provider ( voip.ms) and they suggested to look into my Asterisk.
Asterisk will not do this unless explicitly told to do so. In fact, unless told otherwise, Asterisk will pass on the number received from the originating line, unmodified.
If you are adding the + remove the code that does so. Otherwise you need to talk to your service provider.
It is possible that you are sending type of number as international, and the provider is interpreting this as requiring a +. However, unless your originating devices are sending all 10 digits, you must either still have configured Asterisk to do this, or the provider is doing it themselves.
[voipms-outbound]
exten => _1NXXNXXXXXX,1,Noop(Dialing to ${EXTEN})
same => n,Set(CALLERID(num)=1234567891)
same => n,Dial(SIP/${EXTEN}@voipms)
same => n,Hangup
;;;and so on
using directive same is more comfortable inseatd non-stop repeat full mask