sip.conf file content as below
[general]
context=LOCAL
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yes
accept_outofcall_message=yes
outofcall_message_context=LOCAL
auth_message_requests=yes
qualify=yes
qualifyfreq=60
disallow=all
allow=alaw,gsm
allowguest=no
[8001]
type=friend
host=dynamic
secret=1111
[8002]
type=friend
host=dynamic
secret=1111
[8003]
type=friend
host=dynamic
secret=1111
[7005]
type=friend
host=dynamic
secret=1111
extension.conf file as below
[general]
static=yes
writeprotect=no
priorityjumping=no
autofallthrough=yes
clearglobalvars=no
[LOCAL]
exten => 8001,1,Dial(SIP/8001,20)
exten => 8002,1,Dial(SIP/8002,20)
exten => 8003,1,Dial(SIP/8003,20)
exten => 7005,1,Dial(SIP/7005,20)
Question: Now I want to make new another Dialplan for context called WORLD (new feature). This context has extension 8001,8002,8003 same as context LOCAL and instead of 7005 context, this new feature has 7003 extension
I need guidance/help on how to do that.
sip.conf file content as below
[general]
context=LOCAL
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yes
accept_outofcall_message=yes
outofcall_message_context=LOCAL
auth_message_requests=yes
qualify=yes
qualifyfreq=60
disallow=all
allow=alaw,gsm
allowguest=no
[8001]
type=friend
host=dynamic
secret=1111
[8002]
type=friend
host=dynamic
secret=1111
[8003]
type=friend
host=dynamic
secret=1111
[7005]
type=friend
host=dynamic
secret=1111
extension.conf file as below
[general]
static=yes
writeprotect=no
priorityjumping=no
autofallthrough=yes
clearglobalvars=no
[LOCAL]
exten => 8001,1,Dial(SIP/8001,20)
exten => 8002,1,Dial(SIP/8002,20)
exten => 8003,1,Dial(SIP/8003,20)
exten => 7005,1,Dial(SIP/7005,20)
Question: Now I want to make new another Dialplan for context called WORLD (new feature). This context has extension 8001,8002,8003 same as context LOCAL and instead of 7005 context, this new feature has 7003 extension
I need guidance/help on how to do that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.