P
P
pr0r0k_d2015-12-16 20:30:44
Asterisk
pr0r0k_d, 2015-12-16 20:30:44

How to sign a trunk in Asterisk?

How to make a custom signature for a trunk? I need the user to be transferred to the sip client the number of the caller and an arbitrary word that determines through which trunk he is being called.
We use different numbers on different sources of advertising and need to respond to them differently.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor, 2015-12-17
@pr0r0k_d

In FreePBX, in the incoming routing, the Prefix item - write Msk- there and the call will come with the Msk-89068775982 prefix.
For those who like to write by hand exten => s, 1, Set((CALLERID(name))=Msk-${CALLERID(num)})

F
fluffybear, 2015-12-16
@fluffybear

Pass desired text to CALLERID(name)?
exten => s, 1, Set(CALLERID(name)="MYTEXT")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question