Get CONNECTEDLINE Info From Other Asterisk System Via IAX2

Report
Question

I have been racking my brain attempting to get the remote CALLERID information for calls made to extensions on another Asterisk system connected via IAX2 but nothing has worked. To clarify, I would like to display the number AND name on the calling phone when calling extensions on another Asterisk system. I seem to be able to 'send' all the information I want to the system I am calling but cannot 'return' or lookup any information. I can use CALLERID and IAXVAR to 'send' information just fine. Is this as expected or does anyone have any ideas? I am using…

Asterisk Users 2.5 years ago 0 Answer

Google Talk Under Asterisk 11.0.1

Report
Question

I followed https://wiki.asterisk.org/wiki/display/AST/Calling+using+Googleto get incoming and outgoing using Google Voice working.

However, when calling from google talk client, I see strange behaviour (describe below):

Here is my configuration:

motif.conf ============ [google] context=in-google disallow=all allow=alaw allow=ulaw allow=h264 connection=google

xmpp.conf ================ [google] type=client serverhost=talk.google.com username=mygmail@gmail.com secret=mypassword priority=1 portR22 usetls=yes usesasl=yes status=available statusmessage="Asterisk" timeout=5

ael dial plan ==================== context in-google { s => { Wait(1); Set(crazygooglecid=${CALLERID(name)}); Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)}); Set(CALLERID(all)=${stripcrazysuffix}); Answer(); SendDTMF(1); //Voicemail(${DEF_MAILBOX}@default,su); goto in-various|ringphones|1; hangup(); } }

Given the above context, when someone called, it stucked at the Wait(1) forever. -- Executing [s@in-google:1] Wait("Motif/wk-f2e2", "1") in new stack

If I replaced the Wait and SendDTMF above with Dial()…

Asterisk Users 2.6 years ago 1 Answer

If Would Possible Use A Custom Function In Asterisk Dialplan

Report
Question

Hello,

If would be possible to use a "function concept" in side of Asterisk DialPlan

For example:

I have following logic in my dial plan remove country code a add an "0" before the rest of the numbers

exten => _X.,1, NoOp( call ID ${CALLERID(num)} exten: ${EXTEN})) ; remove my country code exten => _X.,n, GotoIf($["${CALLERID(num):0:4}"="${country-code}"]?international-format:national-format) exten => _X.,n(international-format), Set(CALLERID(num)=0${CALLERID(num):4}) exten => _X.,n(national-format), NoOp(call ID: ${CALLERID(num)} exten: ${EXTEN}))

Do you think if would be possible that I could write a function something like "REMOVEMYCOUNTRYCODE(${NUM})" with a return value of a number with out country code and with an "0" add in front…

Asterisk Users 2.7 years ago 2 Answer

TON Always Unknown In RDNIS (outgoing Calls)

Report
Question

Hello,

first of all, this is my first time asking for advice on this mailing list, so I apologize and thank in advance for your help. Also, besides having access to rather advanced equipment, maybe some of the terms I will use will be incorrect or ambiguous. I hope to be able to clarify any doubt you should have about it.

I am currently in the process of upgrading a SIP/TDM gateway from Asterisk 1.4.23 to 1.8.17. The gateway is designed to terminate SIP calls via TDM through a switching equipment. Among the features for this gateway there is handling for redirected…

Asterisk Users 2.7 years ago 2 Answer

Digium D40 Phones And Caller ID

Report
Question

First post to this mailing list. I'll keep it brief: My D40 phones don't show the "name" component of CALLERID. It only displays the number. This includes calls originating from PSTN with their own CID already set, and calls where we've specifically filled in this data. Changing the destination of my test extension to a softphone (zoiper in this case) correctly displays the information. sip.conf already contains sendrpid=pai.

From what I can tell, this appears to be a Digium phone limitation. Or am I missing something crucial?

Asterisk Users 2.8 years ago 5 Answer