Nextiva is a cloud based VoIP phone system, hosting lots of small and medium sized businesses nationwide. the provides
UNLIMITED business calling for only $19.95 a month!!
Click here for the detail about this promotion!!
Hello together,
I did not solve a problem with the CallerID and wars it.
I have a notification for internal calls, where it is indicated who whom call. There the CallerID is indicated. The code is:
Code:
exten => _555X., 1, NoCDR ()
exten => _555X., n, system (echo “it an internal call of $ became {CALLERID (num)} at $ {EXTEN} at `the DATE `set off” > /tmp/asteriskmail)
exten => _555X., n, system (mail - s call notification mail@meinemail.de < /tmp/asteriskmail)
exten => _555X., n, dial, SIP/$ {EXTEN}|10|tr
exten => _555X., n, Voicemail ($ {EXTEN})
Here the CLI indicates then:
Code:
Executing [5551109@default: 1] NoCDR (“SIP/5553107-082e6618”, "") in new stack
-- Executing [5551109@default: 2] System (“SIP/5553107-082e6618”, “echo “it was set off an internal call from 5553107 at 5551109 at `the DATE `” > /tmp/asteriskmail ") in new stack
-- Executing [5551109@default: 3] System (“SIP/5553107-082e6618”, “mail - s call notification mail@meinemail.de.de < /tmp/asteriskmail ") in new stack
-- Executing [5551109@default: 4] Dial (“SIP/5553107-082e6618”, “SIP/5551109|10|tr”) in new stack
-- Called 5551109
-- SIP/5551109-082f2ca0 is ringing
The caller ID is thus along-sent apparent nevertheless.
And if I make the same now for external calls.
Code:
exten => _X., 1, SetCallerId, 123456e0
exten => _X., 2, system (echo “it an external call of $ became {CALLERID (num)} at $ {EXTEN} at `the DATE `set off” > /tmp/asteriskmail)
exten => _X., 3, system (mail - s call notification mail@meinemail.de < /tmp/asteriskmail)
exten => _X., 4, dial (SIP/$ {EXTEN} @Anrufausgang, 60, tr)
exten => _X., 5, Hangup
arrives at the CLI and then also at the Mail no ID. Here the message:
Code:
Executing [01701234567@default: 2] System (“SIP/5553107-082e6618”, “echo “it was set off an external call from at 01701234567 at `the DATE `” > /tmp/asteriskmail ") in new stack
-- Executing [01701234567@default: 3] System (“SIP/5553107-082e6618”, “mail - s call notification mail@meinemail.de < /tmp/asteriskmail ") in new stack
And so really I cannot reconstruct it.
Have you ne idea?
Thanks in advance!
Already solved!!
The set CallerID must simply behind the Mail!!
Nevertheless thanks.