Sorry for the lack of information, I’ll provide some configuration:
extension.conf
[call2trunk]
exten => _0X!,1,Set(newnum=${FILTER(0-9,${EXTEN})})
same => n,Set(newnum=500033${newnum:1})
same => n,Goto(call2trunk-outgoing,${newnum},1)
exten => _+33X!,1,Set(newnum=500033${FILTER(0-9,${EXTEN:3})})
same => n,Goto(call2trunk-outgoing,${newnum},1)
exten => _0033X!,1,Set(newnum=500033${FILTER(0-9,${EXTEN:4})})
same => n,Goto(call2trunk-outgoing,${newnum},1)
[call2trunk-outgoing]
exten => _50X!,1,Dial(PJSIP/${EXTEN}@maniterm)
same => n,Hangup()
[trunk2call]
exten => _X.,1, NoOp(Appel entrant : ${CALLERID(num)})
same => n,Goto(trunk2call-incoming,${EXTEN},1)
[trunk2call-incoming]
exten => 33xxxxxxx,1,Dial(PJSIP/1001&PJSIP/1002&PJSIP/1003,20)
[main-context]
include => call2trunk
include => trunk2call
pjsip.conf
[maniterm]
qualify = yes
[maniterm]
type = aor
contact = sip:185.101.180.190
qualify_frequency = 60
[maniterm]
type = identify
endpoint = maniterm
match = 185.101.180.190
[maniterm]
type = endpoint
context = call2trunk
disallow = all
allow = alaw,ulaw,g729
rtp_symmetric = yes
rewrite_contact = yes
rtp_timeout = 60
direct_media = no
aors = maniterm
allow_overlap = yes
[manivox]
qualify = yes
[manivox]
type = aor
contact = sip:185.101.180.252
qualify_frequency = 60
[manivox]
type = identify
endpoint = manivox
match = 185.101.180.252
[manivox]
type = endpoint
context = trunk2call
disallow = all
allow = alaw,ulaw,g729
rtp_symmetric = yes
rewrite_contact = yes
rtp_timeout = 60
direct_media = no
aors = manivox
allow_overlap = yes
[1001] ; identical for all extensions
type = endpoint
context = main-context
disallow = all
allow = alaw,ulaw,g729
auth = test
aors = test
[1001]
type = auth
auth_type = userpass
password = supersecret
username = 1001
[1001]
type = aor
max_contacts = 1
Could there be elsewhere an issue with my setup that could prevent a softphone to accept a call correctly on another continent?
Thanks again for advise and inside!
Best regards